A city’s listings in a few requests: first steps with Events API

From an API key to a ready list of concerts in Lviv: cities, events, filters, one event in detail, and updates without downloading everything again.

Guide16 November 20263 min read

Events API gathers concerts, theatre, stand-up, festivals and cinema from Ukrainian ticket sites into one base. This is the shortest way from a key to your own city listings. Every example is a real API answer from 16 November 2026.

The key and the first request

You create a key in your account, under API keys. Send it in the X-API-Key header (or Authorization: Bearer …) with every request. To check the key:

curl -H "X-API-Key: events_live_…" "https://api.event.d.ua/api/v1/ping"

Every call costs one request from your plan; failed calls (status 400 and above) are not counted. The free plan gives 100,000 requests a month and 120 a minute. What is left is in the X-RateLimit-Remaining header of every answer.

Step 1. Which cities there are

/cities returns cities with the number of upcoming events. Online events are not a city: they have the format=online filter.

{"ok": true, "count": 272, "items": [
  {"slug": "kyiv", "name": "Київ", "events": 4104},
  {"slug": "odesa", "name": "Одеса", "events": 595},
  {"slug": "kharkiv", "name": "Харків", "events": 562},
  {"slug": "dnipro", "name": "Дніпро", "events": 490},
  {"slug": "lviv", "name": "Львів", "events": 394}
]}

From here on a city is given by its slug (lviv) or its name (Львів). When sites spell a city differently, the answer has other_slugs and other_names, and city= takes any of the spellings.

Step 2. A city’s events

curl -H "X-API-Key: events_live_…" \
  "https://api.event.d.ua/api/v1/events?city=lviv&dedupe=1&per_page=20"

Events come soonest first. Each has a title, categories, a venue with coordinates, a start in ISO 8601 with its time zone, price_min and price_max in currency, ticket availability (availability) and a link to the seller’s page.

Always add dedupe=1 when you show listings to people. One show is often sold by several sites, and without it you get several identical cards. With dedupe=1 the show comes once, and offers lists every site that sells it, with prices. How we decide it is the same show is a separate article: One show, several sellers.

Step 3. Filters

  • category=concerts,theater — categories; /categories lists them with Ukrainian and English names.
  • date_from=2026-11-20&date_to=2026-11-23 — events that overlap this span (a weekend, a week).
  • price_max=500 — no more than 500 hryvnias.
  • near=49.8419,24.0315&radius=3 — within 3 km of a point; with sort=distance the closest come first and the answer has distance_km.
  • availability=in_stock — only those with tickets left.
  • q=orchestra — search by words; then results are sorted by relevance.

Filters combine: “concerts in central Lviv this weekend under 500 hryvnias” is one request.

Step 4. One event in detail

/event?id=… returns the event with its description, also_on (the same show on other sites) and price_history — price and availability after every change since we first saw it. That is ready data for a price chart on an event page.

Step 5. Keeping listings fresh

There is no need to reload everything every hour. Three ways to get only the changes:

  1. The /changes feed — new, changed, removed and returning events in order. Pass back next_cursor from the previous answer and you miss nothing. The cursor does not expire.
  2. Webhooks — the same changes POSTed to your URL within a minute. Set them up in your account, with city and category filters.
  3. The daily dump /dumps — the whole base as one NDJSON file at 06:30 Kyiv time, handy for the first fill.

What next

Every parameter and field is in the documentation. Besides events, the API has catalogues of venues, performers and productions, Multiplex and Planeta Kino film sessions, museums of Ukraine, holidays and name days, exchange rates and fuel prices.

Try it yourselfFree plan: 100,000 requests a month, no card.

Get an API key

More articles