API documentation

Base URL (auto-detected): . Public, read-only, JSON, no keys. All searches (website + API) share 5,000 searches per UTC day; there is also a per-IP limit of 30 searches/minute.

Playground

Press Run to see the real JSON response.

GET /api/v1/search

ParameterMeaning
qRequired, ≤200 chars. Words are ANDed; "quoted phrases"; the last word is prefix-matched while typing (no trailing space). If nothing matches all words and there are several, results matching any word are returned (match_mode: any_term_fallback).
limit / pagelimit 1–20 (default 10), page 1–20. total is capped at 1000 (total_capped).
languageComma list, e.g. en,fr.
domain / exclude_domainComma lists (max 5), exact hostnames.
typeContent type, e.g. article, tutorial, recipe.
from / toYYYY-MM-DD on publication date. Documents without a known date are excluded when used.
fieldsSubset of title,url,domain,description,excerpt,language,content_type,published_at,indexed_at,source_type,relevance.
safe searchNot offered: the index holds no content-safety data yet, so a setting would be meaningless.

Excerpt highlights use the control characters U+0001 (start) and U+0002 (end); HTML-escape the text, then replace them with your own markup.

Other endpoints

GET /api/v1/suggest?q=Title suggestions (prefix match, ≥2 chars). Does not use the daily quota; per-IP limited.
GET /api/v1/document?id= or ?url=Stored document (body truncated to 5000 chars).
GET /api/v1/healthDatabase + schema status.
GET /api/v1/statsCounts and quota: quota.remaining, quota.resets_at.
GET /api/v1/setupSetup checklist (also shown at /setup).

Errors

JSON {"error":{"code","message"}}. 400 invalid input · 404 · 405 · 429 (daily_quota_exhausted with quota and Retry-After, or ip_rate_limited) · 503 (database missing or unavailable — no search is performed and no quota is bypassed). Search responses carry X-Quota-Limit, X-Quota-Remaining, X-Quota-Reset.

Example