Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Tavily Site Map

API dokümanları
https://api.sandbase.ai/v1/api/tavily/map

Discovers the URL structure of a target website without extracting full page content. Accepts a starting URL, maximum traversal depth, and URL discovery limits.

Fiyat
Başlangıç fiyatı $0.04USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 2 isteğe bağlı

Oynatma Alanı

Girdi
The starting URL to map.
15
Maximum traversal depth from the starting URL. Aralık: 1 ile 5 arasında.
11000
Maximum number of URLs to discover. Aralık: 1 ile 1000 arasında.
ÇıktıÖrnek
Yanıtoutputs · 667 B · 11 satır
{
  "base_url": "https://static.sandbase.ai/examples/b1ca8e2d-8fe7-4358-99d8-4dac64d43e91/output/d074facb-a5df-4233-a4c1-223f9367b21c.com",
  "request_id": "0667ef21-2631-4422-a5bf-cde05b0cd663",
  "response_time": 0.09,
  "results": [
    "https://static.sandbase.ai/examples/b1ca8e2d-8fe7-4358-99d8-4dac64d43e91/output/d862898d-0dbb-4e43-8eb8-e5cb4bd32747.bin",
    "https://static.sandbase.ai/examples/b1ca8e2d-8fe7-4358-99d8-4dac64d43e91/output/5749e619-f363-4045-b3f1-9ecd37412b81.bin",
    "https://static.sandbase.ai/examples/b1ca8e2d-8fe7-4358-99d8-4dac64d43e91/output/bbc5f220-7079-4a2d-9e00-7e31ae1d9b6d.bin",
    "… 7 more items in the full response"
  ]
}

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

API README

Tavily Site Map API

Returns a list of URLs found on a website, starting from the url you provide. It does not return page content. You can set max_depth (1 to 5) and limit (1 to 1000) to bound the crawl.

Use cases

  • Map a documentation site to see which pages exist before you pull their content.
  • Build a list of page URLs on one domain to feed into a content extraction step.
  • Check whether a page such as a changelog or a Markdown version of a page is reachable from the start URL.
  • Compare the URL lists from two runs to spot added or removed pages.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tavily/map" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://docs.tavily.com"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesThe starting URL to map.
limitintegerNoMaximum number of URLs to discover.
max_depthintegerNoMaximum traversal depth from the starting URL.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "base_url": "https://docs.tavily.com",
  "request_id": "fc2b750c-6921-4ef2-835a-fc35e907522f",
  "response_time": 0.07,
  "results": [
    "https://docs.tavily.com/"
  ],
  "usage": {
    "credits": 2
  }
}

Response fields

FieldMeaning
base_urlThe starting URL that was mapped, echoed back from the request.
results[]List of discovered page URLs on the site. Each item is a full URL string.
request_idUnique ID for this request, as a UUID string.
response_timeTime the mapping took, as a number. The response does not state the unit.
usage.creditsNumber of credits this call used, as reported in the response.

Notes

  • Only url is required. Add max_depth and limit to keep the result small on large sites.
  • The results list holds plain URL strings with no titles or page text. Pass them to Tavily URL Content Extraction to get page content.
  • To find pages by topic instead of by site structure, use Tavily Search.

Pricing

Billed like Tavily's pay-as-you-go price of $0.008 per credit, where 10 returned pages use 1 credit (tavily.com, checked 2026-11-22 UTC): $0.0008 per page returned, or $0.0016 per page when you pass natural-language instructions. A map that returns 23 pages costs $0.0184. Tavily counts credits across calls, so small maps are not rounded up to a full credit. The estimate before a call assumes limit pages are returned (50 by default, $0.04). Failed calls are not charged.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
TavilyKullanım başına $0.04'den itibarenJSON
TavilyKullanım başına $0.0016'den itibarenJSON
TavilyKullanım başına $0.008'den itibarenJSON

Kılavuzlar:Tavily alternatives: compare Exa and Firecrawl searchExa vs Tavily vs Firecrawl for AI agents

Sorular

SSS

Tavily Site Map API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/tavily/map adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Tavily Site Map API'sinin fiyatı nedir?

çağrı başına $0.04'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Tavily Site Map API'si hangi parametreleri kabul eder?

Gerekli: url (string). İsteğe bağlı: max_depth (integer) ve limit (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Tavily Site Map API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Tavily geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Tavily Site Map, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Tavily API erişimi için ayrıca başvuru yapmanız gerekmez.