Opening Hours
Public JSON feed of a venue’s opening hours on api.valmeer.com: the gym, bookable hours, and every facility, with closures and special days. Read-only — no API key required, CORS open for browser embeds.
A venue’s gym, its bookable hours and each of its facilities can all keep different hours, so the feed publishes each one separately. Venues set them in Valmeer; this host serves the published copy.
Overview
Use this feed for “open now” badges, opening-hours tables on the venue’s website, signage, or partner listings. Each tenant path is the same opaque org-{uuid} segment the What’s On feed uses.
- Base URL —
https://api.valmeer.com - Horizon — special days for a rolling 90 days from today in the venue timezone
- Shape — usual weekly hours (
regular) plus the dates that differ from them (special) - Freshness — republished at least hourly, and about a minute after the venue changes hours, closures or facilities.
publishedAtsays when this copy went out - Content-Type —
application/json; charset=utf-8
Authentication
None. The feed is publicly readable. Do not put secrets or staff tokens in client code that calls this host.
Get feed
/{tenant}/opening-hours/feed.json
Returns the whole feed in one file — there are no further pages.
curl -sS \
"https://api.valmeer.com/org-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/opening-hours/feed.json"
{
"publishedAt": "2026-12-01T09:00:00.000Z",
"timezone": "Europe/London",
"windowFrom": "2026-12-01",
"windowTo": "2027-02-28",
"organisation": {
"name": "Example Leisure",
"logoUrl": "https://api.valmeer.com/org-…/whats-on/logo.png",
"website": "https://example.org",
"place": { "name": "Example Leisure", "address": "1 High Street", "postcode": null }
},
"gym": { "regular": { /* mon … sun */ }, "special": [ /* dates that differ */ ] },
"bookings": { "regular": { /* … */ }, "special": [ /* … */ ] },
"groups": [ /* see Group object */ ],
"facilities": [ /* see Facility object */ ]
}
Path parameters
| Name | Type | Description | |
|---|---|---|---|
tenant |
string | Required | Opaque tenant segment org-{uuid}. Not an integer site id. |
Response schema
| Name | Type | Description |
|---|---|---|
publishedAt |
string (ISO-8601) | When this copy was published, as UTC. Always the first key. |
timezone |
string | IANA timezone all dates and times are in (often Europe/London). |
windowFrom / windowTo |
string (YYYY-MM-DD) | Inclusive range the special lists cover — today and the next 89 days. |
organisation |
object | null | Venue summary: name, logoUrl, website, place — the same block as the What’s On feed. |
gym |
Schedule | null | The gym’s opening hours. null when the venue doesn’t publish gym hours. |
bookings |
Schedule | null | The venue’s hours for booked activity. null when bookable hours aren’t set up. |
groups |
array | null | One per facility group (for example a sports hall and its courts). See Group object. |
facilities |
array | null | Each bookable facility, in the venue’s order. See Facility object. |
Schedule object
Every set of hours in the feed — gym, bookings, each group and each facility — has the same two fields.
| Name | Type | Description |
|---|---|---|
regular |
object | Usual hours by weekday: keys mon, tue, wed, thu, fri, sat, sun, each a Day. |
special |
array | Dates in the window whose hours differ from regular — closures, holiday hours, part-day closures — each a Day with a date (YYYY-MM-DD) and a note, in date order. Empty when nothing differs. |
Day
| Name | Type | Description |
|---|---|---|
closed |
boolean | true when there are no sessions that day. |
allDay |
boolean | true when open the whole day (one session, 00:00–24:00). |
sessions |
array | Open periods as { "open": "HH:MM", "close": "HH:MM" }, 24-hour venue-local time, in order and never overlapping. "24:00" means midnight. A day with a part-day closure has more than one session. Sessions never run past midnight. |
note |
string | null | Special days only. The venue’s reason for the change (for example Christmas Day), when the venue has chosen to show it; otherwise null. Plain text, up to 160 characters; several reasons on one day are joined with · . |
Which hours are which
- gym — the gym’s own opening hours. They are kept apart from bookings: a closure on the bookable spaces doesn’t close the gym, and the other way round.
- bookings — the venue’s default hours for booked activity, with venue-wide date changes. Time when every facility is closed (for example a full-day closure over the holidays) is taken out; one closed court doesn’t close the venue.
- facilities — each bookable space. A facility can keep its own hours (opening earlier or closing later than the venue), have its own date changes and closures, and part-day closures split its day into sessions.
- groups — open whenever at least one of the group’s facilities is open.
Facility & group objects
Facility
A Schedule plus:
| Name | Type | Description |
|---|---|---|
id |
string | Stable facility id within this venue. |
name |
string | The venue’s name for it (for example Court 1). |
group |
string | null | Name of its group in groups. |
type |
string | null | The venue’s facility type (for example Court, Studio). |
availableFrom / availableUntil |
string | null | First and last day it’s offered (YYYY-MM-DD), or null for no limit. Outside these dates it isn’t open; those days are not listed in special. |
Group
A Schedule plus name (string) and facilityIds (array of facility ids, in the venue’s order).
Hours on a date
- Work out the date and weekday in the feed’s
timezone, not the visitor’s. - For a facility, check the date is between
availableFromandavailableUntil. - If the date is in
special, use that entry. - Otherwise use
regularfor the weekday.
Dates after windowTo have no special days published yet, so treat their regular hours as provisional. The fetch example shows the steps in code.
Privacy rules
- A reason for a closure or date change is published only when venue staff tick “Show this reason on the public opening hours” for it. Otherwise
noteisnull. - No bookings, customers or staff details. What’s booked is in the What’s On feed, under its own rules.
- Only facilities that are active and offered during the window are listed.
Headers & cache
| Header | Value |
|---|---|
Access-Control-Allow-Origin |
* |
Access-Control-Allow-Methods |
GET, HEAD, OPTIONS |
Access-Control-Expose-Headers |
ETag, Content-Length, Content-Type |
Cache-Control (feed JSON) |
public, max-age=60, must-revalidate |
Only GET, HEAD, and OPTIONS are allowed. Other methods return 405.
Status codes
| Status | Meaning |
|---|---|
| 200 | Feed found; body is JSON. |
| 204 | OPTIONS preflight succeeded (empty body). |
| 404 | Unknown path, or the venue hasn’t published opening hours yet. Body is plain text Object Not Found (not JSON). |
| 405 | Method not allowed (use GET / HEAD / OPTIONS). Allow header set. |
Discovering your URL
Do not invent tenant ids. The feed sits beside the venue’s What’s On feed: replace whats-on/feed.json with opening-hours/feed.json. Or ask the venue’s Bookings host (usually under the /bookings path prefix):
/bookings/api/public/opening-hours
Unauthenticated. Use the absolute feedUrl from the response; when it’s missing, check enabled and reason. If Bookings is mounted at the site root, omit the /bookings prefix.