Mercestack

Mercestack Search API

The same search, for your app: one request, many sources, ranked and de-duplicated, with an honest status for every source. SORA Browser uses it too.

Your keys

Sign in to make keys Searching without a key works too, at a lower rate.

Search

GET /api/v1/search

qWhat to search for. Operators: site: filetype: intitle: inurl: before:YYYY-MM-DD after: "exact" -without
categoryall (default), web, images, videos, news, code, academic, community
providersOnly these sources, comma-separated (ids from /api/v1/providers)
page1 to 20
timeday, week, month, year — sources that can't filter by date are skipped (status skipped)
safeon (default) or off
curl "https://mercestack.com/api/v1/search?q=rust+web+frameworks&category=code" \
  -H "Authorization: Bearer mss_…"
{
  "query": "rust web frameworks",
  "category": "code",
  "page": 1,
  "results": [{
    "title": "tokio-rs/axum",
    "url": "https://github.com/tokio-rs/axum",
    "snippet": "Ergonomic and modular web framework built with Tokio, Tower, and Hyper",
    "provider": "github",
    "sources": [{ "id": "github", "name": "GitHub", "rank": 1 }],
    "type": "code",
    "details": { "Language": "Rust", "Stars": "21k" }
  }],
  "providers": [
    { "id": "github", "name": "GitHub", "status": "success", "latency_ms": 412, "count": 10 },
    { "id": "gitlab", "name": "GitLab", "status": "timeout", "count": 0, "message": "Didn't answer in time." }
  ],
  "related": [], "cached": false, "took_ms": 430
}

Each source's status is one of success, empty, timeout, rate_limited, error, not_configured, circuit_open, skipped. A search with some sources down still returns what the others found.

Also

GET /api/v1/suggest?q= — suggestions as someone types.

GET /api/v1/providers — every source, whether it's on, and its health.

OpenAPI description · Limits: 30 searches a minute without a key, 300 with one (bursts of 120). Too many → 429 with Retry-After.