Search API
Search
bash
POST /searchSearch the web using built-in backends. No API keys needed.
| Field | Type | Default | Description |
|---|---|---|---|
query | string | (required) | Search query |
limit | number | 10 | Max results |
backend | string | "lite" | lite, bing, brave, meta, searxng |
Example: Meta-search
bash
curl -X POST http://127.0.0.1:9090/search \
-H 'content-type: application/json' \
-d '{
"query": "rust async runtime",
"limit": 5,
"backend": "meta"
}'json
{
"results": [
{
"title": "Tokio - Asynchronous runtime",
"url": "https://tokio.rs",
"snippet": "A runtime for writing reliable asynchronous applications..."
},
{
"title": "Async Rust",
"url": "https://async.rs",
"snippet": "Async programming in Rust..."
}
],
"total": 5,
"backend": "meta"
}Backends
| Backend | Description |
|---|---|
lite | DuckDuckGo Lite HTML scraper (default) |
bing | Bing HTML scraper with cite-breadcrumb extraction |
brave | Brave HTML scraper with clean URLs |
meta | All three concurrently, interleaved and deduped |
searxng | Self-hosted SearXNG aggregator (requires config) |
See the Search Guide for backend configuration and SearXNG setup.