Web Search

web/search/tavily by Tavily
Web Search+ more tasksProvider defaultAsyncSyncPDF inputImage inputAudio inputVideo inputText inputURL inputEU hosting
Price from
$0.008 / token
Tasks
1
Web Search
Regions
United States
Mode
sync
Input
Text
Output
query, results, answer, sources, images

About Tavily Web Search

Search the web for a query and return ranked results (title, URL, and a snippet or the page content).

Tavily Web Search is Tavily's default model for Web Search available on Eden AI for Web Search, from $0.008 / token. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint, with processing in the United States.

Learn more about Web Search APIs on Eden AI

Tasks and prices

Tavily Web Search is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.

Task
Price
Regions
Mode
Docs
Playground
Web Searchweb/search/tavily
$0.008 / token
sync

Parameters

What you send and what you get back when you call Tavily Web Search through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Input

  • query (required): text. The web search query
  • max_results: number. Max number of search results to return
  • depth: enum. Search depth tier (billed per tier; priced pre-call)

Response

  • query
  • results
  • answer
  • sources
  • images

Estimate your monthly cost

Enter your monthly volume for Web Search to compare Tavily Web Search with its cheapest alternatives.

Call Tavily Web Search with Eden AI

Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.

import requests

response = requests.post(
    "https://api.edenai.run/v3/universal-ai",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "",
        "input": {},
    },
)
print(response.json())

Questions about Tavily Web Search

On Eden AI, Tavily Web Search costs $0.008 / token for Web Search. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, Tavily Web Search is available for: Web Search. Input: Text. Output: query, results, answer, sources, images.

Yes. Tavily Web Search is processed in Europe for at least one task: see the Regions column in the Tasks and prices table.

Asynchronous: you start a job, then get the result by polling it or through a webhook. This suits long files such as audio, video or multipage documents.

Eden AI offers Web Search from 3 providers, all callable with the same API key. The cheapest models are compared just below.

More from Tavily

Other Tavily models on Eden AI, for every task.

No items found.