The business's hours on your site, in your site's design
OPEN knows at every moment whether a business is open, and until when. This page explains how a site shows that in its own design.
The address is public. No sign-up, no access key and no account are needed.
The easy way: one line
If you do not need your own design, paste this code where the hours should appear, and you are done.
<div data-open-hours="your-business" data-lang="en" data-theme="light"></div><script async src="https://openow.app/embed.js"></script>
The data address
A request to this address returns the business's live state:
GET https://openow.app/api/v1/hours/your-business
Replace the last part of the address with the business's name as it appears in the address of its OPEN page.
What the answer holds
| Field | What it holds | Values |
|---|---|---|
| slug | The business's id in the address. | |
| name | The business's name. | |
| url | The link to the business's OPEN page, in Hebrew and English. | |
| status | The state: open, closed, temporarily closed, or unknown. | OPEN · CLOSED · TEMP_CLOSED · UNKNOWN |
| tone | The colour for the state: open, closing soon, closed, or unknown. | open · closing · closed · unknown |
| label | The sentence to show, in Hebrew and English. Show this. | |
| until | The moment the current state ends, when it is known. Otherwise empty. | |
| today | Today’s hours. A closed day is marked closed. A day with no hours is unknown, not closed. Empty while the business is temporarily closed. | |
| week | The next seven days, from today. A special day, such as a holiday, is marked as one. | |
| weekRows | The week as a site prints it, in Hebrew and English: from Sunday, neighbouring days with the same hours on one line, and today's line marked. | |
| note | The business's update or promo, if there is one. Show it as plain text. | |
| calendar | Whether the professional's calendar answers for today. Always false for a business that is not a professional. | |
| availabilityToday | The free windows left today from the calendar, in 24-hour time. Empty without a calendar or when no window is left. | |
| dayBar | Today's bar for a professional with a calendar: free and busy stretches, hour marks and where now is, as shares of the day. Hebrew draws it right to left. Empty without a calendar. | |
| timezone | The business's time zone. | |
| checkedAt | When the state was worked out. | |
| refreshSeconds | How often, at most, to ask again, in seconds. |
A sample answer
This is what an answer looks like, with sample data only:
{
"slug": "your-business",
"name": "דוגמה · קפה",
"url": {
"he": "https://openow.app/he/b/your-business",
"en": "https://openow.app/en/b/your-business"
},
"status": "OPEN",
"tone": "open",
"label": {
"he": "פתוח עד 20:00",
"en": "Open until 08:00 PM"
},
"until": "2026-12-01T18:00:00.000Z",
"today": {
"hours": "07:00-20:00",
"closed": false
},
"week": [
{
"date": "2026-12-01",
"hours": "07:00-20:00",
"closed": false,
"special": false
},
{
"date": "2026-12-02",
"hours": "07:00-20:00",
"closed": false,
"special": false
},
{
"date": "2026-12-03",
"hours": "07:00-14:00",
"closed": false,
"special": true
},
{
"date": "2026-12-04",
"hours": null,
"closed": true,
"special": false
},
{
"date": "2026-12-05",
"hours": null,
"closed": false,
"special": false
},
{
"date": "2026-12-06",
"hours": "07:00-20:00",
"closed": false,
"special": false
},
{
"date": "2026-12-07",
"hours": "07:00-20:00",
"closed": false,
"special": false
}
],
"weekRows": {
"he": [
{
"days": "א׳-ד׳",
"value": "07:00-20:00",
"closed": false,
"today": true
},
{
"days": "ה׳",
"value": "07:00-14:00",
"closed": false,
"today": false
},
{
"days": "ו׳",
"value": "סגור",
"closed": true,
"today": false
}
],
"en": [
{
"days": "Sun-Wed",
"value": "07:00-20:00",
"closed": false,
"today": true
},
{
"days": "Thu",
"value": "07:00-14:00",
"closed": false,
"today": false
},
{
"days": "Fri",
"value": "Closed",
"closed": true,
"today": false
}
]
},
"note": {
"kind": "PROMO",
"text": "קפה שני בחצי מחיר"
},
"calendar": false,
"availabilityToday": [],
"dayBar": null,
"timezone": "Asia/Jerusalem",
"checkedAt": "2026-12-01T09:15:02.113Z",
"refreshSeconds": 60
}Three rules
- Show the sentence as it arrives. Do not work out open or closed yourself.
- When the status is unknown, never show "closed".
- Ask again whenever the page loads, at most once a minute.
When there is no answer
A business that does not exist, or has no owner on OPEN yet, answers "not found". When the service is briefly unavailable, the answer is "unavailable". In both cases, show nothing.
A complete example
The code shows the sentence inside the first element and marks it with the colour of the state. If the request fails, it shows nothing.
<div id="open-hours"></div>
<script>
(function () {
var el = document.getElementById('open-hours');
function load() {
fetch('https://openow.app/api/v1/hours/your-business')
.then(function (r) { return r.ok ? r.json() : null; })
.then(function (d) {
if (!d) { el.textContent = ''; return; }
el.textContent = d.label.en;
el.dir = 'auto';
el.setAttribute('data-tone', d.tone);
})
.catch(function () { el.textContent = ''; });
}
load();
setInterval(load, 60000);
})();
</script>