Skip to main content
GET
Paginated event search

Query Parameters

q
string
required

Search query, 1–64 characters after trimming (else 400 query_too_short / query_too_long). Sent more than once, as an object (q[x]=…), or containing a NUL character → 400 invalid_query.

Required string length: 1 - 64
offset
integer
default:0

0-based offset, defaults to 0.

Required range: x >= 0
limit
integer

Page size, ≤ 50.

Required range: 1 <= x <= 50

Response

OK

items
object[]
required
hasMore
boolean
required
nextOffset
integer | null
required

Next offset to request, or null at the end.

didYouMean
string | null
required

RND-3864. Set on the first page (offset 0) when the events came only from a synonym (man utd → manchester united) or the typo fallback (antropic → anthropic): the query they answer. null when the query matched by itself, on an empty page, on every later page, and in 0x mode. When a query word was read as a typo of a known synonym (RND-4766), the query is searched as typed right and didYouMean is that corrected query (bitcion price → bitcoin price) whenever its own words or synonyms find an event (on the pages where it is set). Only the typo word is replaced: every other word keeps what was typed, case, accents and punctuation included (Bitcion: $100k? → bitcoin: $100k?; RND-5467). RND-5620: a typo correction is the query's own, the same on every search endpoint and kind (madird → madrid); a synonym the query typed is never corrected (bitcoin decmber → bitcoin december). RND-5647: no typo correction for a query spelled right (at least one event the view lists holds every typed word).

suggestion
string | null
required

RND-4243. As suggestion on GET /api/search; first page only (null on later pages and in 0x mode).

suggestionCount
integer | null
required

RND-4243. As suggestionCount on GET /api/search; null without a suggestion.

suggestions
string[]
required

RND-4249. Chips for a zero-result answer, at most 5, each a query of 1–64 characters to search next: the query's own words of 3 or more characters that find events alone (for a query of two or more words; never a typo match), then popular searches that share one of those words, then tags of the events those words find. Words and popular searches are lower-case; tags keep their name. Empty otherwise, and when none is found. When the chips could not all be read in time the answer is sent with Cache-Control: no-store, so a retry can fill them. Filled only on an empty first page (offset 0); always empty in 0x mode.