SearXNG Search
OpenClaw supports SearXNG as a self-hosted, key-freeweb_search provider. SearXNG is an open-source meta-search engine
that aggregates results from Google, Bing, DuckDuckGo, and other sources.
Advantages:
- Free and unlimited — no API key or commercial subscription required
- Privacy / air-gap — queries never leave your network
- Works anywhere — no region restrictions on commercial search APIs
Setup
Run a SearXNG instance
Config
baseUrl field also accepts SecretRef objects.
Environment variable
SetSEARXNG_BASE_URL as an alternative to config:
SEARXNG_BASE_URL is set and no explicit provider is configured, auto-detection
picks SearXNG automatically (at the lowest priority — any API-backed provider with a
key wins first).
Plugin config reference
| Field | Description |
|---|---|
baseUrl | Base URL of your SearXNG instance (required) |
categories | Comma-separated categories such as general, news, or science |
language | Language code for results such as en, de, or fr |
Notes
- JSON API — uses SearXNG’s native
format=jsonendpoint, not HTML scraping - No API key — works with any SearXNG instance out of the box
- Auto-detection order — SearXNG is checked last (order 200) in auto-detection, so any API-backed provider with a key takes priority over SearXNG, and SearXNG sits behind DuckDuckGo (order 100) as well
- Self-hosted — you control the instance, queries, and upstream search engines
- Categories default to
generalwhen not configured
Related
- Web Search overview — all providers and auto-detection
- DuckDuckGo Search — another key-free fallback
- Brave Search — structured results with free tier