Swarmnest Search

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

Built for LLMs and Agents

These return cleaned text, snippets or answers that go straight into a model's context.

NameWhat You GetFree StartPaidMCP
Tavily
Swarmnest Listing
Search, extract and crawl endpoints that return cleaned page content for LLMs, not just links1,000 API credits a month, no card neededPay as you go at $0.008 per credit, or monthly plans from $30Official 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 neededSearch from $4 per 1,000 requests (lite) or $7 (auto), up to 10 results eachRemote: https://mcp.exa.ai/mcp
Parallel
Swarmnest Listing
Search, extract and multi-step research (Task) APIs aimed at agentsFree 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 requestsFree 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 fallbackPrepaid credits; a card is requiredSearch: $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 sources4,000 free queriesSearch: $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.

NameWhat You GetFree StartPaidMCP
Serper
Swarmnest Listing
Google results as JSON in 1 to 2 seconds: organic, knowledge graph, news, images and more2,500 free queriesPrepaid credits from $1.00 per 1,000 down to $0.30 per 1,000 at volume; credits last 6 monthsCommunity servers
SerpApi
Swarmnest Listing
Structured results from Google and many other engines, including Maps, Shopping and Scholar250 searches a monthFrom $25 a month for 1,000 searches; $75 for 5,000Official 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 itYour own hosting costs onlyCommunity servers

How to Choose

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)

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.