Tavily Search API

Web search with crawl, extract, and URL mapping for fast, structured retrieval across pages and domains for downstream pipelines.

TavilyResearch & SearchProprietary Endpoint

About Tavily Search

Web search with crawl, extract, and URL mapping for fast, structured retrieval across pages and domains for downstream pipelines.

web searchcrawlextractmap

Tavily Search specs

Model ID
tavily-search
Provider
Tavily
Category
Research & Search
Input
text
Output
text
Endpoints
POST /v1/search

Tavily Search API pricing

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

Type
Spec
Rate
Search (Basic/Fast/Ultra-Fast)
per search
$0.0096
Search (Advanced)
per search
$0.019
Search (Advanced + Answer)
per search
$0.029
Extract (Basic)
per 5 URLs
$0.0096
Extract (Advanced)
per 5 URLs
$0.019
Crawl/Map (basic)
per 10 pages
$0.0096
Compare on the full pricing page

How to call the Tavily Search API

Tavily Search answers live queries through POST /v1/search. Send the search query with the model id tavily-search and read structured results from the response. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/search \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tavily-search",
    "query": "latest developments in solid-state batteries"
  }'
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/search",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "tavily-search",
        "query": "latest developments in solid-state batteries",
    },
)
print(response.json())
Full Tavily Search API reference

Tavily Search API parameters

Request parameters supported by the Tavily Search API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
querystring--The natural-language search query.
operation_modeenumSearchSearch, Crawl, Extract, Mapsearch | extract | crawl | map. Determines which Tavily endpoint runs.
search_depthenumbasicbasic, advancedbasic = fast and cheap, advanced = deeper crawl per result with full content.
search_chunks_per_sourcenumber31 to 3Number of relevant content chunks to extract per source.
search_topicenumgeneralgeneral, news, financeSearch topic preset (general, news, finance, etc.). Alias of topic.
include_answerbooleantrue-basic | advanced | false. Returns a synthesized answer alongside the results.
include_raw_contentbooleanfalse-Include the raw HTML content alongside cleaned text.
include_imagesbooleanfalse-Include image URLs from the search results.
include_image_descriptionsbooleanfalse-Include AI-generated descriptions of returned images.
include_faviconbooleanfalse-Include the favicon URL of each source.
auto_parametersbooleanfalse-Let Tavily auto-pick search_depth and other knobs based on the query.
max_resultsnumber51 to 20Maximum number of results to return (1-50).
time_rangeenum-day, week, month, yearday | week | month | year. Restrict results to this recency window.
start_datestring--Only include sources published after this date (YYYY-MM-DD).
39 more parameters in the docs

Good to know

Operations

  • Search, Crawl, Extract, Map

Search depths

  • basic, advanced, fast, ultra-fast

Topics

  • general, news, finance

Tavily Search API: common questions

How much does the Tavily Search API cost?

On EmpirioLabs, Tavily Search is billed pay as you go: Search (Basic/Fast/Ultra-Fast) $0.0096 per search; Search (Advanced) $0.019 per search; Search (Advanced + Answer) $0.029 per search. The live rate card on this page always matches what the API charges.

Which endpoint does Tavily Search use?

Tavily Search is served through POST /v1/search on api.empiriolabs.ai with standard bearer-token authentication.

Can I try Tavily Search in the browser before integrating?

Yes. The EmpirioLabs playground runs Tavily Search in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Tavily Search API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.

Ready to use better endpoints?

Explore our models, or contact us about business inquiries, custom deployments, or anything else.