Web-Crawler
About Web-Crawler von Tavily
Eine Website ausgehend von einer Start-URL crawlen und den Inhalt ihrer Seiten zurückgeben. Wird als asynchroner Job ausgeführt.
Web-Crawler von Tavily ist das Standardmodell von Tavily für die Aufgabe „Web-Crawler“, verfügbar auf Eden AI, ab 0,008 $ / Token. Rufen Sie es mit demselben API-Schlüssel wie alle anderen Eden-AI-Modelle auf, indem Sie seinen Modell-String an den Universal-AI-Endpoint senden, mit Verarbeitung in den USA.
Tasks and prices
Web-Crawler von Tavily is available on Eden AI for 1 tasks. Jede Aufgabe hat ihren eigenen Modell-String und Preis: Senden Sie diesen String an den Universal-AI-Endpoint, um das Modell für diese Aufgabe zu nutzen.
Parameters
What you send and what you get back when you call Web-Crawler von Tavily through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Eingabe
- url (Pflichtfeld): Text. Stamm-URL zum Crawlen (asynchrone Aufgabe)
Antwort
- pages
- status
- total
- completed
- base_url
Estimate your monthly cost
Enter your monthly volume for Web-Crawler to compare Web-Crawler von Tavily with its cheapest alternatives.
Call Web-Crawler von Tavily with Eden AI
Senden Sie den Modell-String an den Universal-AI-Endpoint. Um ein anderes Modell zu nutzen, kopieren Sie dessen String aus der Tabelle oben.
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 Web-Crawler von Tavily
On Eden AI, Web-Crawler von Tavily costs 0,008 $ / Token for Web-Crawler. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Web-Crawler von Tavily is available for: Web-Crawler. Input: URL. Output: Seiten, Status, Gesamt, Abgeschlossen, Basis-URL.
Eden AI offers Web-Crawler from 2 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Web-Crawler
Other Web-Crawler models you can call with the same key, cheapest first.
More from Tavily
Other Tavily models on Eden AI, for every task.
