Skip to main content
SIRS is Piramyd’s self-hosted multi-engine search service, powered by SearXNG. Submit a natural-language or keyword query and receive ranked results with titles, snippets, source engines, relevance scores, and publication dates. Set include_content: true to concurrently scrape each result via CROWD, attaching full page markdown directly to each result object — useful when you want enriched context without a separate scrape call.
When you need full page content alongside search results, prefer POST /v1/crowd/search — it uses Firecrawl’s native search-and-scrape pipeline in a single optimized call, rather than performing parallel scrapes after the fact.

Endpoint

Authentication: Authorization: Bearer sk-<key>

Request Parameters

string
required
The search query to run across all configured engines.
integer
default:"5"
Maximum number of results to return. Accepted range: 1–20.
boolean
default:"false"
When true, each result is enriched with a full_content field containing the full page markdown, fetched concurrently via CROWD (Firecrawl).
string
default:"auto"
BCP-47 language code to filter results (e.g. "en", "pt") or "auto" to let SIRS infer from the query.
string
default:"general"
Search category. One of: general, news, science, it, social media, videos, music, files, images, map.
integer
default:"30"
Maximum time in seconds to wait for upstream engines to respond. Accepted range: 5–60.

Response

array
Array of ranked search result objects.
string[]
Query suggestions returned by the search engines.
string[]
Spelling corrections suggested for the query, if any.
integer
Number of results returned in this response.
string
The original query string as received by the API.

Code Example


Errors

All error responses follow the standard Piramyd error shape: { "error": { "message": "...", "type": "...", "code": "..." } }. Retry 502, 504, and 500 with exponential backoff (base 1 s, max 8 s, with jitter). Respect Retry-After on 429.