# Compatible APIs

> Keep code written for SearXNG, Tavily, Exa, Firecrawl, Jina, Bing Web Search, Brave Search or Google CSE, and point it at Search1API by changing the base URL and key.

Canonical URL: https://s1.dev/docs/compatibility/overview

Search1API answers the request and response formats of nine other search APIs, including basic Google Custom Search JSON API (CSE) web search and the DeepSeek Search API that DeepSeek Harness uses. If your project already calls one of them, change its base URL and API key, and keep the rest of the code: the supported SDK calls, request parameters and result parsing. Check the protocol’s limits first; Google CSE supports only first-page web search and does not import old `cx` settings.

| API | Base URL or endpoint | Operations |
| --- | --- | --- |
| [SearXNG](https://s1.dev/docs/compatibility/searxng) | `https://api.search1api.com/compat/searxng/YOUR_API_KEY` | Search, news, images |
| [Tavily](https://s1.dev/docs/compatibility/tavily) | `https://api.search1api.com/compat/tavily` | Search, extract |
| [Exa](https://s1.dev/docs/compatibility/exa) | `https://api.search1api.com/compat/exa` | Search, contents |
| [Firecrawl](https://s1.dev/docs/compatibility/firecrawl) | `https://api.search1api.com/compat/firecrawl` | Scrape, search (v1 and v2) |
| [Jina](https://s1.dev/docs/compatibility/jina) | `https://api.search1api.com/compat/jina/r` and `/compat/jina/s` | Reader, search |
| [Bing Web Search v7](https://s1.dev/docs/compatibility/bing) | `https://api.search1api.com/compat/bing/v7.0/search` | Web, news, image search |
| [Google Custom Search JSON API](https://s1.dev/docs/compatibility/google) | `https://api.search1api.com/compat/google/customsearch/v1` | First-page web search, up to 10 results |
| [Brave Search](https://s1.dev/docs/compatibility/brave) | `https://api.search1api.com/compat/brave/res/v1/web/search` | Web, news, image search |
| [DeepSeek Search API](https://s1.dev/docs/compatibility/deepseek) | `https://api.search1api.com/compat/deepseek` | Search, page fetch |

Use your Search1API API key wherever the client expects the other service's key. Each page lists the setting or SDK parameter to change.

## Migration guides

Choose a migration overview for your current client: [SearXNG](https://s1.dev/compatible-apis/searxng), [Google CSE](https://s1.dev/compatible-apis/google-cse) or [Bing v7](https://s1.dev/compatible-apis/bing). These explain the switch; the references below document parameters and response differences.

## How requests are handled

A compatible request is translated into the matching Search1API request (`/search`, `/news` or `/crawl`) and answered in the original API's response format. As a result:

- **Credits and limits are those of the native API.** A compatible search costs what the equivalent `/search` or `/news` request costs. See [Credits and limits](https://s1.dev/docs/essentials/credits-and-limits).
- **Reading page content is charged per page.** When a request asks for the full text of search results (Tavily `include_raw_content`, Exa `contents.text`, Firecrawl `scrapeOptions.formats`, Jina search by default), each page read successfully adds 1 credit, as with `crawl_results`. Reading an explicit URL (Tavily extract, Exa contents, Firecrawl scrape, Jina Reader) costs 1 credit per page read.
- **A request can count more than once against the rate limit.** A request that searches several engines or sources makes one native request per kind of search (web or news), and each one counts toward the per-minute limit.
- **Unknown or unsupported options are ignored.** The request normally succeeds; the option has no effect. Google CSE is an exception for pagination, image search, SafeSearch and non-JSON output: these return `400` rather than a misleading response. Ignored CSE options are listed in `X-Search1API-Ignored`. Each page lists which options are translated.
- **Fields with no Search1API equivalent come back empty.** For example, Tavily's `answer` is `null` and Brave's `extra_snippets` is omitted. Values are never invented to fill them.
- **Errors use the original API's error format** and Search1API's status codes, such as `401` for an invalid key, `402` when credits run out and `429` when the rate limit is reached.

> **info:** Google CSE supports only the first page (up to 10 results); `start` other than `1` returns `400` without a search charge. For the other compatible protocols, every engine can return the first 50 results of a query, so pagination parameters work for the first pages. Beyond result 50, only Bing, Baidu, Chinese Bing and Grokipedia can continue, starting at a multiple of 10. Pages that cannot be reached return an empty result list and are not charged.

## What is not supported

Compatible APIs cover search, news, image search and reading single pages. Generated answers and summaries, structured extraction, screenshots, browser actions, site maps and asynchronous crawl jobs are not available through them. For full-site crawling and structured extraction, use Search1API's own [`/deepcrawl`](https://s1.dev/docs/advanced/deepcrawl), [`/sitemap`](https://s1.dev/docs/advanced/sitemap) and [`/extract`](https://s1.dev/docs/advanced/extract).

## Tested clients

These clients were run unchanged against the compatible endpoints:

| API | Clients |
| --- | --- |
| SearXNG | LangChain `SearxSearchWrapper` (Python) and `SearxngSearch` (JS); the request formats of Open WebUI, Perplexica and gpt-researcher |
| Tavily | `tavily-python` 0.8.5, `@tavily/core` 0.7.14 |
| Exa | `exa-py` 2.26.0, `exa-js` 2.26.0 |
| Firecrawl | `@mendable/firecrawl-js` 4.51.0; `firecrawl-py` 4.54.0 `V1FirecrawlApp` and `AsyncFirecrawl` |
| Jina | Open WebUI's Jina search request format |
| Bing Web Search v7 | LangChain `BingSearchAPIWrapper`; Open WebUI's Bing request format |
| Google Custom Search JSON API | `google-api-python-client` 2.201.0 `cse().list()`, with an API endpoint override |
| Brave Search | LangChain `BraveSearchWrapper` |

Other versions and clients are likely to work if they use the same requests, but have not been tested.

- [SearXNG](https://s1.dev/docs/compatibility/searxng)

- [Tavily](https://s1.dev/docs/compatibility/tavily)

- [Exa](https://s1.dev/docs/compatibility/exa)

- [Firecrawl](https://s1.dev/docs/compatibility/firecrawl)

- [Jina](https://s1.dev/docs/compatibility/jina)

- [Bing Web Search v7](https://s1.dev/docs/compatibility/bing)

- [Google CSE migration](https://s1.dev/docs/compatibility/google)

- [Brave Search](https://s1.dev/docs/compatibility/brave)