# isopen

> isopen keeps opening hours in one place. Owners set weekly hours and exceptions once; anyone can read them from a public page or a JSON API.

This is the full text of isopen.co.uk for language models. A shorter index is at http://isopen.co.uk/llms.txt.

## Overview

Owners sign up, add each place they manage, receive a generated location code for it (32 characters, lowercase letters and digits), and enter its weekly opening hours and any exceptions such as holidays. Each location then has an unlisted page at `http://isopen.co.uk/l/{code}` and a JSON API. Locations are never listed or searchable: you need a location's code to read its hours. isopen is for shops, cafés, clinics and anyone whose hours change with the day, the season or the bank holiday, and for developers who need to show those hours without maintaining them by hand.

## How opening hours work

- Times are local to the location's timezone and written as 24-hour `HH:MM`. A location has one timezone.
- A location has a weekly schedule: for each weekday, zero or more opening times, such as 09:00 to 13:00 and 14:00 to 17:30. A weekday with none is closed.
- If a closing time is earlier than the opening time, the place stays open past midnight (18:00 to 02:00 is open until 2am the next morning). The hours are listed on the day they start.
- If the opening and closing time are the same, the place is open for 24 hours.
- A season is a different weekly schedule that applies between two dates, or from a date onwards, and replaces the weekly schedule on those dates. If seasons overlap the shorter one wins. An exception can repeat every year on the same dates.
- An exception covers one date or a range of dates, and says closed or gives different hours, with an optional label such as "Christmas Day". An exception replaces the weekly schedule for the dates it covers.
- If several exceptions cover the same date, the shortest range wins; a tie goes to the most recently created one.
- A time you enter does not move when the clocks change. "Today" means today in the location's timezone.

## API reference

### Get opening hours

`GET http://isopen.co.uk/api/v1/locations/{code}/hours`

Parameters (all optional):

- `?date=YYYY-MM-DD` returns that single day.
- `from=YYYY-MM-DD&to=YYYY-MM-DD` returns an inclusive range of at most 366 days. `from` and `to` go together and `from` must not be after `to`.
- With no parameters it returns today, in the location's timezone.
- `set=kitchen` returns one of the location's other named sets of hours (kitchen, bar, delivery) instead of its main hours, and the reply includes `set`. A set that does not exist is a 404. Exceptions such as holidays apply to every set.

The code is the 32-character string generated for the location. It is not case sensitive. Example: `GET http://isopen.co.uk/api/v1/locations/{$this->exampleCode()}/hours?from=2026-12-25&to=2026-12-26`

```json
{
  "code": "k7m2x9q4d8w3n5v6b1c0z8r4t2y7u9aj",
  "timezone": "Europe/London",
  "updated_at": "2026-11-20T09:14:02Z",
  "confirmed_at": "2026-11-20T09:14:02Z",
  "days": [
    {"date": "2026-12-25", "open": false, "label": "Christmas Day", "note": null, "intervals": []},
    {"date": "2026-12-26", "open": true, "label": null, "note": null, "intervals": [{"from": "10:00", "to": "16:00"}]}
  ]
}
```

`updated_at` is when the location's hours last changed (UTC). `confirmed_at` is when the owner last changed them or confirmed they are still right (null if never). Responses carry an `ETag` and may be cached for 60 seconds; send it back as `If-None-Match` to get a `304` with no body when nothing changed. Each day has `date`, `open` (true when there is at least one interval), `label` (the name of an exception that applies, otherwise null), `note` (the owner's reason for the exception, otherwise null) and `intervals` (a list of `from` and `to` times). An interval is listed on the date it starts, and a `to` earlier than `from` means it runs past midnight.

### OpenAPI

The full machine-readable API description is at `http://isopen.co.uk/api/v1/openapi.json`.

### Several locations at once

`GET http://isopen.co.uk/api/v1/hours?locations=code1,code2&date=YYYY-MM-DD` returns `results`: one entry per requested location in order, each with `location` (as asked) and the same fields as the single-location call, or `error: not_found`. Up to 25 locations, ranges of up to 31 days, counted as one request for rate limiting.

### Open now

`GET http://isopen.co.uk/api/v1/locations/{code}/status` returns `code`, `timezone`, `open` (true when the location is open at this moment) and `next_change`: an object with `at` (ISO 8601 timestamp with the location's UTC offset) and `to` (`closed` while open, `open` while closed). `next_change` is null when nothing changes within a year, for a location with no hours or one open round the clock.

### Authentication and rate limits

No API key is needed. Anonymous requests are limited to 60 requests per minute per IP address. Signed-in owners can create API keys, and a request that sends `Authorization: Bearer <key>` is limited to 600 requests per minute for that key. The API allows requests from browsers on any website (CORS).

### Errors

- `401` the API key is wrong or revoked. It is never silently treated as anonymous.
- `404` there is no location with that code.
- `422` a parameter is malformed, `from` and `to` are not given together, `from` is after `to`, or the range is longer than 366 days.
- `429` too many requests. The `Retry-After` header says how many seconds to wait.
- `503` the service is down (health check only).

### Health check

`GET http://isopen.co.uk/api/v1/health` returns `{"status":"healthy"|"partial"|"down","checks":{...}}`. It answers 200 when healthy or partially degraded and 503 when down, and is not rate limited. The status page at http://isopen.co.uk/status shows a green, orange or red bar for each day of the month.

## Features

**For the people who run the place**

### Split shifts

Open 9 to 1 and 2 to 5:30? Add as many opening times a day as you need. Each weekday takes as many opening times as you need, so a lunch break or an evening session is just another row. Times on the same day can't overlap, and the editor tells you when they do. Copy one day to the others in a click.

Page: http://isopen.co.uk/features/split-shifts

### Past midnight

A bar that closes at 2am is open 18:00 to 02:00. A place that never closes is open 24 hours. Enter the closing time as it is on the clock. If it is earlier than the opening time, you are open past midnight, and the hours are listed on the day they start, so a Friday 18:00 to 02:00 shows under Friday. Give the same opening and closing time to mean open 24 hours.

Page: http://isopen.co.uk/features/past-midnight

### Holidays and exceptions

One day or a whole range, closed or with different hours, each with a label like "Christmas Day". An exception covers one date or a range. It can mark you closed or give different hours, with a label that appears on the public page and in the API. When two exceptions cover the same date the shorter one wins, so "closed for the week" and a half day on Christmas Eve work together. Tick "Every year" and an exception such as "closed on 25 December" applies in every year without entering it again.

Page: http://isopen.co.uk/features/holidays-and-exceptions

### Seasonal hours

Summer hours, winter hours, or new hours from a date, each a full week of its own. Add a season with a start date, an end date or both, and set its week. It replaces your weekly hours on those dates and you go back to normal when it ends. Leave the end date empty for hours that begin on a date and carry on, so a change you know about in advance switches over by itself. A season with no hours means closed. Exceptions such as holidays still win.

Page: http://isopen.co.uk/features/seasonal-hours

### Several sets of hours

Kitchen, bar, delivery: give each its own week and read it with ?set=. Add a set called Kitchen and it starts as a copy of your weekly hours, which you then change. Each set has its own weekly hours and seasons, and people ask for one by adding the set's name to the API address. Holidays and other exceptions apply to every set, so you only enter Christmas Day once.

Page: http://isopen.co.uk/features/several-sets-of-hours

### Holiday calendars

Import a ready-made list of bank holidays into your location and skip dates you've already set. The UK lists update themselves. Calendars for England and Wales, Scotland and Northern Ireland are refreshed every day from the official gov.uk list, so next year's dates and any one-off holidays appear without anyone typing them in. Admins can also keep their own calendars. Pick one, choose a date range and each holiday becomes a closed exception with its name. Dates you've already set are left alone, so importing twice changes nothing, and you can edit or delete any imported date afterwards.

Page: http://isopen.co.uk/features/holiday-calendars

### Many locations, one login

Manage every shop or branch you own from one account. One account can own as many locations as you need. Each has its own generated code, timezone, weekly hours and exceptions. If someone else should run a location, an admin can move it to their account.

Page: http://isopen.co.uk/features/many-locations-one-login

### Private locations

Keep a location's hours for your own apps and team only. Switch a location to private and the API only answers a key belonging to you, your team or an admin. Its page needs you to be signed in. To anyone else it gives the same "not found" as a location that does not exist. Private locations are never in the sitemap and cannot be embedded on other websites.

Page: http://isopen.co.uk/features/private-locations

### Team access

Invite a colleague by email so they can keep the hours up to date. Send an invitation to someone's email address. When they sign in with that address and accept, they can change the weekly hours, seasons and exceptions of that location. They cannot delete it, move it or invite anyone else, and you can remove them at any time. Invitations work for seven days.

Page: http://isopen.co.uk/features/team-access

### Readable names

Give a location a short name like my-shop to use instead of its long code. Every location has a generated code that nobody can guess. If you would rather have an address you can read out loud, add a readable name. It works in the API and page addresses wherever the code does. Because it can be guessed, a location with a readable name can be found by anyone who tries it, so leave it empty if you want to stay unlisted.

Page: http://isopen.co.uk/features/readable-names

### Bulk tools

Copy a week to other locations, close several at once, or import hours from a spreadsheet. For owners with many places. Copy one location's weekly hours onto others, add the same closure to every location you tick, or paste CSV rows of location, day, opens and closes to set up many locations in one go. If any row of a CSV is wrong nothing is changed, and every bulk change is recorded in each location's history.

Page: http://isopen.co.uk/features/bulk-tools

### Dashboard

See at a glance which of your places are open right now and which still need hours. After you log in, the dashboard lists each of your locations with an Open now or Closed now badge, worked out in its own timezone. A location with no weekly hours is flagged with a link straight to where you set them.

Page: http://isopen.co.uk/features/dashboard

### Live preview

See your next seven days the way customers do, updated as you save. The edit page shows the same seven days your public page and the API will show, including holiday labels and an Open now badge. It refreshes the moment you save your weekly hours or an exception, so you can check a change before anyone else sees it.

Page: http://isopen.co.uk/features/live-preview

### Change history

See who changed your hours and when, and put any earlier version back. Every change to the weekly hours, seasons, sets and exceptions is saved with the time and the person who made it. One click restores the whole schedule to how it was at any point in the last 100 changes. The restore is recorded too, so you can undo it.

Page: http://isopen.co.uk/features/change-history

### Reminders and last confirmed

A nudge before Easter and Christmas, and a date that shows how fresh your hours are. Two weeks before Easter and Christmas we email owners whose hours have not been looked at for a month, with a list of the places to check. One click on "These hours are correct" tells everyone, including apps using the API, when you last confirmed them. You can turn the reminders off on your account page.

Page: http://isopen.co.uk/features/reminders-and-last-confirmed

### Ownership history

See who has run a location, who moved it and when. Every location page lists its ownership changes, newest first, with the date, the previous and new owner and the admin who moved it. Only names are shown, never email addresses.

Page: http://isopen.co.uk/features/ownership-history

### Local time

Hours are in your location's own timezone and don't shift when the clocks change. Each location has a timezone, and hours are stored as the clock times you enter, not converted. They stay the same on the days the clocks change, and "today" means today where the location is, even if the caller is on the other side of the world.

Page: http://isopen.co.uk/features/local-time

**For everyone who needs the answer**

### JSON API

Ask for a day or a date range and get the open and closed times back, holidays included. Send a location code and a date, or a range of up to 366 days. For each date you get whether it is open, the opening times and the label of any holiday. No sign-up is needed to use it, and the documentation has examples.

Page: http://isopen.co.uk/features/json-api

### Open now

One request tells you whether a place is open right now and when that next changes. The status endpoint answers in the location's own timezone. You get whether it is open this minute and the next time it opens or closes, as a timestamp with its UTC offset, so you can show "Closes at 5pm" without working it out yourself. Overnight hours and exceptions are taken into account.

Page: http://isopen.co.uk/features/open-now

### API keys

No key needed to start. Create one when you need a higher request limit. Keys can expire and be rotated. Anonymous requests get 60 a minute per IP address. Create a key, send it as a bearer token, and that key gets 600 a minute of its own. A key is shown once and stored only as a hash, revoking it takes effect straight away, you can see how many requests each key made over the last 14 days, and a wrong key is an error rather than quietly falling back to the lower limit.

Page: http://isopen.co.uk/features/api-keys

### Works from any website

The API allows requests from browsers on any site. The API sends open cross-origin headers, so a page on your own website can call it directly from the visitor's browser, with or without a key.

Page: http://isopen.co.uk/features/works-from-any-website

### Embeddable widget

Paste one line into your own website to show your hours there. Each location has a bare, lightweight hours view made to sit in an iframe. Copy the snippet from your location page and paste it into your site. It always shows the current next seven days, so you never edit your website when your hours change.

Page: http://isopen.co.uk/features/embeddable-widget

### Public page for every location

A simple page showing the next seven days, ready to link from anywhere. Every location gets a page at /l/ and its code, showing the next seven days in the location's timezone with holidays labelled and closed days marked. The page is unlisted: it is in no directory or sitemap and search engines are asked to skip it, so people reach it through a link you share. It never shows who owns the location.

Page: http://isopen.co.uk/features/public-page-for-every-location

### Status page and health check

See whether isopen is up, with a day-by-day record for every month. The status page checks the service as you open it and keeps a green, orange or red bar for every day of the month, so you can see when there were problems and for how long. Monitoring tools can poll the health endpoint, which answers 200 when healthy or partly degraded and 503 when the service is down.

Page: http://isopen.co.uk/features/status-page-and-health-check

### Email-verified accounts

Only people with a confirmed email address can add and edit locations. You confirm your email address before you can add or edit anything, so every location belongs to a real, reachable person.

Page: http://isopen.co.uk/features/email-verified-accounts

### Account settings

Change your name, email and password, or delete your account, yourself. Change your details whenever you need to. A new email address is confirmed before it counts, and a new password needs your current one. You can delete your account and API keys from the same page, as long as you no longer own any locations, so a location's public hours are never left without someone responsible for them.

Page: http://isopen.co.uk/features/account-settings

### Download your data

Take everything you have put in with you, in one file. One click on your account page downloads your profile, every location you own with its weekly hours, seasons and exceptions, the locations shared with you and the names of your API keys, as a JSON file.

Page: http://isopen.co.uk/features/download-your-data

### Admin tools

Admins can move a location to a new owner and manage who has which role. Admins get an overview of the whole service: totals and recent ownership changes, a searchable log of every transfer, every location, and a page for each user with their roles, locations and keys. They can move a location to a new owner, assign roles, resend a verification email and keep the holiday calendars up to date.

Page: http://isopen.co.uk/features/admin-tools

## Frequently asked questions

**Who can see my opening hours?**

Anyone who has your location's code. Its page and the API answer to whoever knows the code, but locations are never listed, searched or shown in a directory, and search engines are asked to leave them out. Treat a code like a link you share, not a password. Your name and email are never shown.

**Do I need an API key?**

No. Without a key the API allows 60 requests a minute per IP address. With a key from your account you get 600 a minute for that key.

**What happens at midnight and when the clocks change?**

You enter times as they appear on your clock, in your location's timezone, and they stay that way. A closing time earlier than the opening time means you stay open past midnight, and the hours are listed on the day they start.

**How do I find my location's code?**

Every location gets a random 32-character code when you add it, made of lowercase letters and digits. You'll find it on the location's page in your account, with the API address and the embed snippet ready to copy.

**Can I choose my own code?**

Not at the moment. Codes are generated so that they cannot clash and are hard to guess. A location that was set up by mistake can be moved to the right owner by an admin.

**Can I get holidays without typing them in?**

Yes. Admins keep calendars of holidays, and you can import a date range from any calendar into your location. Dates you have already set are left alone.

## Pages

- [Home](http://isopen.co.uk/)
- [Features](http://isopen.co.uk/features)
- [API documentation](http://isopen.co.uk/docs)
- [About](http://isopen.co.uk/about)
- [Terms of use](http://isopen.co.uk/terms)
- [Privacy notice](http://isopen.co.uk/privacy)
- [Status](http://isopen.co.uk/status)
