API documentation

Every request needs an X-API-Key header. Free-tier keys are issued after manual review — see sign up.

GET /api/v1/events/sample

Free tier. Returns up to 10 events for a city, fixed for the day — no filtering beyond city.

curl -H "X-API-Key: ck_live_..." \
  "https://cityking.com/api/v1/events/sample?city=prague"

GET /api/v1/events

Pro/Business tiers. Full filtering and pagination.

ParamDescription
cityCity slug, e.g. prague, london
categoryFilter by category
from / toISO date range on start time
limitMax 200, default 50
offsetPagination offset
curl -H "X-API-Key: ck_live_..." \
  "https://cityking.com/api/v1/events?city=london&category=Music&limit=20"

Rate limits

TierRequests/dayBest for
Free100Evaluating the API
Pro50Sites that cache our data and refresh a few times a day
Business5,000Sites that call us live on every visitor's page load

Responses are cached server-side for 24h, matching how often the underlying data actually changes.

Response shape

{
  "tier": "pro",
  "limit": 50,
  "offset": 0,
  "count": 12,
  "results": [
    {
      "id": 543100,
      "title": "...",
      "category": "Music",
      "city": "prague",
      "venue_name": "...",
      "venue_address": "...",
      "venue_lat": 50.08,
      "venue_lon": 14.43,
      "starts_at": "2026-08-19T16:50:00+00:00",
      "ends_at": null,
      "price_min": null,
      "price_max": null,
      "price_currency": "CZK",
      "url": "...",
      "image_url": "..."
    }
  ]
}