# Tavily Site Map via Locus x402

> Tavily Site Map via Locus x402 is a paid API for AI agents from tavily.x402.paywithlocus.com, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-13).

Discovers and returns a structured list of URLs from a given website using configurable crawl depth, breadth, and natural language instructions.

## Facts

- Endpoint: POST https://tavily.x402.paywithlocus.com/tavily/map
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tavily-site-map-via-locus-x402-ad582aa1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p3fpMy8HK_sT98Mp4Yd2T

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tavily-site-map-via-locus-x402-ad582aa1 -d '<json body>'
```

Example prompt: Can you map out all the URLs on docs.example.com, going up to 3 levels deep, with a maximum of 100 URLs, and focus on finding pages related to API reference documentation?

## When to prefer this

Use this endpoint when you need to discover the URL structure of an entire website or subsection rather than fetching content from a single page. Prefer this over a single-page scrape when your goal is site auditing, SEO analysis, link enumeration, or building a crawl queue. The natural language instructions parameter makes it especially useful when you want to bias discovery toward specific topics or sections without hardcoding URL patterns.

## Known failure modes

- Invalid or unreachable URL returns an error with no URL list
- Exceeding crawl limits may return a partial URL list
- Robots.txt restrictions may block discovery of certain pages
- Rate limiting or bot detection on the target site may reduce results
- Malformed input schema returns a validation error
- Payment failure via x402 protocol prevents the request from executing

## How this service works

AI-optimized web search, content extraction, site mapping, and crawling API.

## Output

Returns a JSON object containing a list of discovered URLs from the target website, respecting the configured depth and breadth limits and any natural language guidance. Also includes payment settlement info (USDC amount), a unique request ID, and a status URL for tracking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "limit": {
   "type": "number"
  },
  "max_depth": {
   "type": "number"
  },
  "max_breadth": {
   "type": "number"
  },
  "instructions": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tavily-site-map-via-locus-x402-ad582aa1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tavily.x402.paywithlocus.com](https://www.zero.xyz/host/tavily.x402.paywithlocus.com/llms.txt)
