Crawler web
About Crawler web di Tavily
Esegue la scansione di un sito partendo da un URL iniziale e restituisce il contenuto delle sue pagine. Viene eseguito come processo asincrono.
Crawler web di Tavily è il modello predefinito di Tavily per l’attività «Crawler web», disponibile su Eden AI, a partire da 0,008 $ / token. Chiamalo con la stessa chiave API di tutti gli altri modelli di Eden AI, inviando la sua stringa del modello all’endpoint Universal AI, con elaborazione negli Stati Uniti.
Tasks and prices
Crawler web di Tavily is available on Eden AI for 1 tasks. Ogni attività ha la propria stringa del modello e il proprio prezzo: invia quella stringa all’endpoint Universal AI per usare il modello per quell’attività.
Parameters
What you send and what you get back when you call Crawler web di Tavily through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Input
- url (obbligatorio): testo. URL principale da scansionare (attività asincrona)
Risposta
- pages
- status
- total
- completed
- base_url
Estimate your monthly cost
Enter your monthly volume for Crawler web to compare Crawler web di Tavily with its cheapest alternatives.
Call Crawler web di Tavily with Eden AI
Invia la stringa del modello all’endpoint Universal AI. Per usare un altro modello, copia la sua stringa dalla tabella qui sopra.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "web/crawl_async/tavily",
"input": {"url": "https://www.edenai.co"},
},
)
print(response.json())
curl https://api.edenai.run/v3/universal-ai \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "web/crawl_async/tavily", "input": {"url": "https://www.edenai.co"}}'
const response = await fetch("https://api.edenai.run/v3/universal-ai", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "web/crawl_async/tavily",
input: {"url": "https://www.edenai.co"},
}),
});
console.log(await response.json());
"url": "https://www.edenai.co"
Questions about Crawler web di Tavily
On Eden AI, Crawler web di Tavily costs 0,008 $ / token for Crawler web. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Crawler web di Tavily is available for: Crawler web. Input: URL. Output: pages, status, total, completed, base_url.
Eden AI offers Crawler web from 2 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Crawler web
Other Crawler web models you can call with the same key, cheapest first.
More from Tavily
Other Tavily models on Eden AI, for every task.
