Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Tavily Site Map

API दस्तावेज़
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.

मूल्य
से $0.04USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 2 वैकल्पिक

प्लेग्राउंड

इनपुट
The starting URL to map.
15
Maximum traversal depth from the starting URL. सीमा: 1 से 5.
11000
Maximum number of URLs to discover. सीमा: 1 से 1000.
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 667 B · 11 पंक्तियाँ
{
  "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"
  ]
}

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

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.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Tavily Site Mapयह API
Tavily
$0.04 प्रति कॉल सेJSON
Tavily$0.0016 प्रति कॉल सेJSON
Tavily$0.008 प्रति कॉल सेJSON

गाइड्स:Tavily alternatives: compare Exa and Firecrawl searchExa vs Tavily vs Firecrawl for AI agents

प्रश्न

FAQ

Tavily Site Map API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/tavily/map पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Tavily Site Map API की लागत कितनी है?

$0.04 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Tavily Site Map API कौन-से parameters स्वीकार करती है?

आवश्यक: url (string)। वैकल्पिक: max_depth (integer) और limit (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Tavily Site Map API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Tavily developer account या API key चाहिए?

नहीं। Tavily Site Map SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Tavily API access के लिए आवेदन करने की आवश्यकता नहीं है।