Best Web Search APIs for AI Agents
An agent that can search the web needs an API that returns results it can read. These are 8 search APIs that agent builders actually use, with each one's free allowance, its price per search, and whether it has an MCP server. Prices checked Nov 23, 2026.
Quick Picks
- Best all-round for agents: Tavily or Exa. Both return usable page content, not just links.
- Cheapest per search: Parallel, from $1 per 1,000 requests, with $5 of free usage a month.
- Independent index: Brave Search API, which never falls back to Google or Bing.
- Google result pages: Serper for price, SerpApi for the most engines and result types.
- Free and self-hosted: SearXNG.
Built for LLMs and Agents
These return cleaned text, snippets or answers that go straight into a model's context.
| Name | What You Get | Free Start | Paid | MCP |
|---|---|---|---|---|
| Tavily Swarmnest Listing | Search, extract and crawl endpoints that return cleaned page content for LLMs, not just links | 1,000 API credits a month, no card needed | Pay as you go at $0.008 per credit, or monthly plans from $30 | Official Tavily MCP server |
| Exa Swarmnest Listing | Search built for LLMs, with page text and highlights in the same call, plus deep research and answer endpoints | $10 in credits that resets to $10 each month, no card needed | Search from $4 per 1,000 requests (lite) or $7 (auto), up to 10 results each | Remote: https://mcp.exa.ai/mcp |
| Parallel Swarmnest Listing | Search, extract and multi-step research (Task) APIs aimed at agents | Free hosted search MCP with no account. API: $5 a month free with a card on file, plus signup credit. | Search from $1 per 1,000 requests | Free hosted Parallel Search MCP |
| Brave Search API Swarmnest Listing | Web, news, image and video results plus an LLM Context endpoint, all from Brave's own index with no Google or Bing fallback | Prepaid credits; a card is required | Search: $5 per 1,000 requests. Answers: $4 per 1,000 requests plus $5 per million tokens. | Brave Search MCP server |
| Linkup Swarmnest Listing | Search that returns sourced answers or raw results, with a focus on premium and licensed sources | 4,000 free queries | Search: $0.005 to $0.006 per request. Deep research: $0.25 to $2.50. | Linkup MCP server |
Google Results and Self-Hosted Search
These give you search engine result pages as JSON. You will usually fetch the pages yourself afterward.
| Name | What You Get | Free Start | Paid | MCP |
|---|---|---|---|---|
| Serper Swarmnest Listing | Google results as JSON in 1 to 2 seconds: organic, knowledge graph, news, images and more | 2,500 free queries | Prepaid credits from $1.00 per 1,000 down to $0.30 per 1,000 at volume; credits last 6 months | Community servers |
| SerpApi Swarmnest Listing | Structured results from Google and many other engines, including Maps, Shopping and Scholar | 250 searches a month | From $25 a month for 1,000 searches; $75 for 5,000 | Official SerpApi MCP server |
| SearXNG Swarmnest Listing | Self-hosted metasearch that queries many engines and can return JSON (enable the json format in settings) | Free and open source (AGPL-3.0); you run it | Your own hosting costs only | Community servers |
How to Choose
- Count calls, not plans. Agents often search several times per task. Multiply your expected searches by the per-request price, and check whether page content costs extra (Exa bills contents separately; Tavily's advanced search uses more credits).
- Content in the same call saves tokens and time. APIs that return extracted text spare you a second scrape step.
- Check where results come from. Brave runs its own index. Serper and SerpApi return Google results. SearXNG combines many engines.
- Treat results as untrusted input. Web pages can contain instructions aimed at your agent. Keep search results separate from your system prompt and tool permissions.
See all Search APIs and the MCP Servers directory, or add the Swarmnest MCP server so your agent can look tools up itself.
FAQ
What is the best web search API for AI agents?
For most agents, start with Tavily or Exa: both return page content an LLM can use directly, both have a free monthly allowance, and both ship MCP servers. Pick Brave if you want an independent index with no Google or Bing underneath, Parallel if you want the lowest per-search price or multi-step research, and Serper or SerpApi if you specifically need Google result pages.
Is there a free web search API for AI agents?
Yes, within limits. Tavily gives 1,000 credits a month, Exa resets to $10 of credit each month, Parallel offers a free hosted search MCP and $5 a month of API credit with a card, Linkup gives 4,000 free queries, Serper gives 2,500, and SerpApi gives 250 searches a month. SearXNG is free if you host it yourself.
What happened to the Bing Search API and Google Custom Search?
Microsoft retired the Bing Search APIs in 2025 and points developers to grounding through Azure AI Agents instead. Google closed the Custom Search JSON API to new customers and is ending it on January 1, 2027. That is why most agent builders now use one of the APIs on this page.
Do I need a search API if I use an MCP server?
Usually the MCP server is just a wrapper around the same API, so you still need an API key and pay the same rates. The exception here is Parallel, whose hosted search MCP works without an account for personal use.
Search API or scraping API?
A search API finds pages for a query. A scraping or extraction API, such as Firecrawl or Jina Reader, turns a known URL into clean text. Tavily, Exa, Parallel and Linkup do both, which saves a second call. See our Browser Automation guide when the agent has to click through pages.
Sources (Checked Nov 23, 2026)
- Tavily pricing
- Exa pricing
- Parallel pricing
- Brave Search API plans
- Linkup pricing
- Serper
- SerpApi pricing
- SearXNG on GitHub
Updated Nov 23, 2026. Prices and limits come from each provider's site on that day and can change. Sponsorship never affects which tools appear in a guide or their order. Questions or corrections: hello@swarmnest.ai.