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.
| Param | Description |
|---|---|
city | City slug, e.g. prague, london |
category | Filter by category |
from / to | ISO date range on start time |
limit | Max 200, default 50 |
offset | Pagination offset |
curl -H "X-API-Key: ck_live_..." \ "https://cityking.com/api/v1/events?city=london&category=Music&limit=20"
Rate limits
| Tier | Requests/day | Best for |
|---|---|---|
| Free | 100 | Evaluating the API |
| Pro | 50 | Sites that cache our data and refresh a few times a day |
| Business | 5,000 | Sites 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": "..."
}
]
}