Match news
Score the corpus against a text or vector query, or omit the query to page the corpus chronologically.
Authorizations
Your RapidAPI key. Also send X-RapidAPI-Host with the value shown on the Clair RapidAPI page.
Body
Send at most one of vector or text. Sending neither is valid and means "no query": the corpus, newest-first.
Embedding-space id for vector mode. Only "bge-m3" at launch. Ignored for text mode (we always embed into bge-m3).
The entity's 1024-dim, L2-normalized bge-m3 vector. Omit when using text or when you want no query.
1024 elementsA plain-language entity/query (e.g. a name plus a sentence). We embed it with bge-m3 server-side, so no local model is needed. Omit when using vector or when you want no query.
1 - 4000Newest-first (time, default) or best-first (relevance). relevance needs a query and has no cursor.
relevance, time Cosine floor; articles below this are dropped. Ignored when there is no query.
-1 <= x <= 1Inclusive ISO-8601 lower bound on event_time.
Inclusive ISO-8601 upper bound on event_time.
Page size. The same cap applies to every mode, so an article costs the same however you asked for it.
1 <= x <= 100Opaque keyset cursor from a previous page's next_cursor. Only valid with order=time.
Publishers edit articles in place (same URL, new headline/body). Every revision is stored, but by default a result is one row per article: the FIRST-published version, with its original timestamp. Set true to return the full edit history (e.g. to study how coverage of an event evolved). Default false, so results are deduplicated.
Restrict results to these sources, given by the exact name strings GET /v1/sources returns. Mutually exclusive with exclude_sources. An unknown name is rejected with invalid_request (never a silent empty page). Note: a very selective include over a broad query can under-fill a page (matches become sparse in relevance order), so widen the source set or the query if so.
1 - 50 elementsDrop these sources from results, given by the exact name strings GET /v1/sources returns. Mutually exclusive with sources. An unknown name is rejected with invalid_request.
1 - 50 elements