Docs API reference
API reference
6 read endpoints over the same canonical record the directory and MCP serve. JSON, cursor pagination, problem+json errors, key optional on the free tier.
Open /openapi.json Coding agents read the spec and integrate themselves — it is documentation and onboarding in one file.
| path | returns |
|---|---|
GET /events | Filter by city, date range, category, price, free flag, quality floor. Cursor paginated. |
GET /events/nearby | Radius search on lat/lng, ordered by distance then start time. |
GET /events/{id} | One canonical record with sources, confidence, quality score and last_verified. |
GET /cities | Coverage and alias resolution: ?q=milano returns the canonical slug. |
GET /cities/{slug}/summary | Counts by category and timeframe for one city — the hub, as data. |
GET /changes | Created, updated, cancelled and expired records since a cursor. Growth tier and above. |
Request
curl -H "X-API-Key: $EVENTINDEX_KEY" \ "https://staging.eventindex.ai/v1/events?city=paris\ &date_from=2026-12-01&is_free=true&limit=2"
Response · 200
{
"count": 1,
"next": null,
"results": [
{
"id": "evt_XYEKMpOe",
"status": "live",
"title": "Growing Spurts 2025 - San Bernardino, CA 2008",
"summary": "Growing Spurts 2025 - San Bernardino, CA 2008: event at Rialto Sea Turtles Swim Club in San Bernardino on September 30, 2008–September 1, 2030.",
"category": "other",
"start": "2008-09-30T07:00:00Z",
"end": "2030-09-01T06:59:59Z",
"timezone": "America/New_York",
"venue": {
"id": "ven_TrW8N89W",
"name": "Rialto Sea Turtles Swim Club",
"address": "25865 Holly Vista Blvd",
"lat": 34.1444448,
"lng": -117.2400539,
"h3_r8": "8829a00c3dfffff",
"geocode_confidence": 0.9
},
"city": {
"slug": "san-bernardino",
"name": "San Bernardino",
"country": "us"
},
"is_online": false,
"price": {
"min": null,
"max": null,
"currency": "",
"is_free": null
},
"tickets_url": "https://www.active.com/san-bernardino-ca/water-sports/swimming-registrations/growing-spurts-2025-2008",
"url": "https://staging.eventindex.ai/us/san-bernardino/e/growing-spurts-2025-san-bernardino-ca-2008-evt_XYEKMpOe",
"quality_score": 0.5725,
"confidence": "single_source",
"last_verified": "2026-12-01T05:30:19.294654Z"
}
]
}
Errors
RFC 9457Errors are application/problem+json with type, title, status and detail. Rate limits state the window and the reset time. Nothing is silently truncated: if a filter is unknown you get 400, not an empty list.
Field reference
rendered from /docs/schema.mddocs content block · the canonical field table renders here
same names in the ORM, the serializer and the markdown frontmatter
read it as markdown →