Tavily Search API
by docs.tavily.com
AI search and web reading
Added on October 31st, 2026
Visit docs.tavily.com →
What it does
Tavily is a web search API made for AI agents and apps: send a question and get relevant, up-to-date search results with clean content snippets, and optionally a short generated answer, ready to use in an AI prompt. Other endpoints extract the content of given pages and crawl sites. Responses are JSON. Free plan with 1,000 API credits per month and no credit card needed; paid plans for more. An official MCP server at https://mcp.tavily.com/mcp/ lets AI agents search, extract, map and crawl the web.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free plan with 1,000 API credits per month and no credit card needed; paid plans for more.
- Formats
- JSON
- Interface
- REST, MCP
- Provider
- docs.tavily.com
More information: https://docs.tavily.com/
Compare: Tavily Search API vs Jina Reader
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl -X POST 'https://api.tavily.com/search' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"query": "hello"}'
JavaScript
const response = await fetch("https://api.tavily.com/search", {
method: 'POST',
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({"query":"hello"}),
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.post(
"https://api.tavily.com/search",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={
"query": "hello",
},
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key.