Search API
The Search API gives programmable access to Kagi's premium search results.
API Reference
The full Search API reference is available at kagi.redocly.app/openapi.
Example
shell
curl -H "Authorization: Bot $TOKEN" \
"https://kagi.com/api/v1/search?q=kagi+search"Additional Settings
The Search API inherits settings from your account. For example:
- Block or promote websites (results personalization)
- Select longer or shorter search snippets (Settings → Search)
Legacy API
The previous v0 Search API is documented in Search API (Legacy).