Travel API

A small, read-only JSON API that answers the questions a hockey family or travelling team asks: where the rinks are, what each arena has, which hotels are nearby and where to get skates sharpened or an early breakfast.

What it is for

The API is a travel information service for AI agents and apps. It is not a database export: every call needs a search or a known ID, results are bounded, and the complete lists stay on the website.

Anonymous access is the default. There is no sign-up, playground or SDK.

Quick start

Three calls plan a weekend tournament trip:

  1. Find the city: https://hockeyrinks.ca/api/v1/cities/search?q=penticton
  2. List its rinks: https://hockeyrinks.ca/api/v1/cities/{city_id}
  3. Plan the trip around one rink (hotels with a pool): https://hockeyrinks.ca/api/v1/rinks/{rink_id}/trip?hotel_amenities=pool

Operations

All operations are GET requests under https://hockeyrinks.ca/api/v1/. The machine-readable contract is /openapi.json.

  • GET /api/v1/cities/search — searchCities: Communities matching a name, with province and kind for disambiguation.
  • GET /api/v1/cities/{city_id} — getCity: A community with up to 20 rinks, its featured rental, sponsor and nearby towns.
  • GET /api/v1/rinks/search — searchRinks: Rinks by name (former names too), by city, or near a point.
  • GET /api/v1/rinks/{rink_id} — getRink: One rink: address, ice surfaces, LiveBarn, seasons, home team, amenities and photo.
  • GET /api/v1/rinks/{rink_id}/hotels — getRinkHotels: Listed hotels near a rink, nearest first, with an amenities filter.
  • GET /api/v1/rinks/{rink_id}/nearby — getRinkNearby: Skate sharpening, hockey shops, coffee, breakfast and more near a rink.
  • GET /api/v1/rinks/{rink_id}/trip — getRinkTrip: Everything for a trip: the rink, 5 hotels, featured rental and nearby services.
  • GET /api/v1/resolve — resolveUrl: The city or rink behind a HockeyRinks.ca URL.
  • GET /api/v1/status — getStatus: Service status.

Response conventions

  • Every response is {data, meta}. meta.source.url is the HockeyRinks.ca page that best answers the request; cite it.
  • Unknown is never false. Facts such as livebarn, summer_ice and open_to_public are true, false or null (not known). Amenity lists contain confirmed features only: absence means not confirmed.
  • Optional values (phone, website, dimensions) are omitted when unknown. Estimates are flagged.
  • Distances are straight-line kilometres, never driving or walking times. Units are metric.
  • IDs are opaque and stable (ct_, rk_, sf_, ht_, bz_, vr_ followed by 8 characters) and identical in both languages.
  • lang=en (default) or lang=fr. Official names are never translated. Enum values are language-neutral identifiers; their labels are listed below.
  • When more results exist than were returned, meta.more gives the total and links to the complete public page. There is no pagination.
  • Errors are RFC 9457 problem details (application/problem+json). Unknown parameters are rejected with 400, not ignored.

Limits

Anonymous limits per IP address:

  • 10 requests per minute
  • 100 requests per day
  • 250 returned entities per day (every city, rink, ice surface, hotel, rental, business and sponsor in a response counts, nested ones included)
  • At most 20 results per request and 30 counted entities per response

When a limit is reached the API answers 429 with Retry-After and RateLimit headers. Cached responses count too. Back off and retry after the indicated time.

Approved integrations (a travel app, a tournament platform) can ask for a key with higher limits. Keys raise limits only; they never unlock additional fields.

Attribution

Please credit HockeyRinks.ca and link the page in meta.source.url or the entity’s url. Photos carry a credit when their licence requires one: show it with the image.

Commercial labels

featured_rentals are paid or partner placements: present them as Featured. city_partner is the city’s exclusive advertiser: present it as Sponsored. A sponsor that is also a nearby business carries sponsored: true at its true distance position.

Hotels are ranked by straight-line distance only. booking_url, availability_url and the sponsor’s website_url are HockeyRinks.ca referral links; label hotel links Check availability. The API returns no prices or availability.

Value labels

Hotel amenities

  • pool — Pool
  • indoor_pool — Indoor pool
  • outdoor_pool — Outdoor pool
  • heated_outdoor_pool — Heated outdoor pool
  • hot_tub — Hot tub
  • pet_friendly — Pet friendly
  • fitness_centre — Fitness centre
  • ev_charging — EV charging
  • kitchenette — Kitchenette
  • free_breakfast — Free breakfast
  • free_parking — Free parking
  • guest_laundry — Guest laundry

Rink amenities

  • parking — Parking
  • free_parking — Free parking
  • accessible_parking — Accessible parking
  • wheelchair_access — Wheelchair access
  • accessible_seating — Accessible seating
  • accessible_washrooms — Accessible washrooms
  • elevator — Elevator
  • concession — Concession
  • restaurant — Restaurant
  • licensed_lounge — Licensed lounge
  • pro_shop — Pro shop
  • skate_sharpening — Skate sharpening
  • skate_rental — Skate rental
  • wifi — Wi-Fi
  • heated_seating — Heated seating
  • warm_room — Warm room
  • lockers — Lockers
  • showers — Showers
  • ev_charging — EV charging
  • transit_access — Transit access

Nearby categories

  • skate_sharpening — Skate sharpening
  • hockey_shop — Hockey shop
  • sports_store — Sports store
  • coffee — Coffee
  • breakfast — Breakfast
  • restaurant — Restaurant
  • pub — Pub
  • grocery — Grocery

Tool definitions

Ready-made definitions for agents you build. Your code performs the HTTP request and passes the JSON back to the model.

MCP

A remote MCP server with the same tools and limits is planned for a later phase. Publishing this documentation does not make the API available inside ChatGPT or Claude by itself.

Terms

Fair use for travel questions. No bulk extraction, mirroring or systematic collection. Attribution is requested. See the terms of use.

Higher limits and questions

For an API key or anything else, contact us.

Machine-readable discovery: /openapi.json, /.well-known/api-catalog and /llms.txt.