Skip to main content
POST
Reference example
List a site’s URLs from a root url without fetching any page content. Steer it with natural-language instructions and regex select_paths / exclude_paths / select_domains filters. Returns base_url and results — a flat array of URL strings, not objects — with response_time and request_id. Fast and cheap: measured at about 1.5 seconds. Use it to size a site before committing to a crawl, then fetch only the parts that matter with post_tavily_extract. When you want the content rather than the shape, post_tavily_crawl does both in one call.
First time? Point any MCP client at https://mcp.aisa.one/mcp — Claude Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client opens a browser, you click Allow once, and there is no key to paste. Your agent then reaches every endpoint through a few meta tools: search, list_categories, get_details and batch_quote are free, batch_use is billed per call. Setup per client is in Connect via MCP; the live tool list and what each call costs are on aisa.one/mcp.
Set this endpoint up in your agent →

Request contract

  • Method and path: POST /apis/v1/tavily/map
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/tavily/map
  • Runtime facts: ea2301436db90d0b30e55885326cd5057bea93ff7d26d9bced8e1ae7f1911ef4
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.064 USD (not a fixed price). Declared unit rate: $0.008 USD per tavily_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.064
  • Declared unit rate (USD): 0.008
  • Billing unit: tavily_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

The root URL to begin the mapping.

Example:

"docs.tavily.com"

allow_external
boolean
default:true

Include external domain links in the final results list.

exclude_domains
string[]

Regex patterns to exclude specific domains or subdomains from mapping.

exclude_paths
string[]

Regex patterns to exclude URLs with specific path patterns.

include_usage
boolean
default:false

Include credit usage information in the response.

instructions
string

Natural language instructions for the crawler.

limit
integer
default:50

Total number of links the crawler will process before stopping.

Required range: x >= 1
max_breadth
integer
default:20

Max number of links to follow per level of the tree.

Required range: 1 <= x <= 500
max_depth
integer
default:1

Max depth of the mapping.

Required range: 1 <= x <= 5
select_domains
string[]

Regex patterns to select crawling to specific domains or subdomains.

select_paths
string[]

Regex patterns to select only URLs with specific path patterns.

timeout
number<float>
default:150

Maximum time in seconds to wait for the map operation.

Required range: 10 <= x <= 150

Response

Map results returned successfully.

base_url
string

The base URL that was mapped.

request_id
string

Unique request identifier.

response_time
number<float>

Time in seconds it took to complete the request.

results
string[]

URLs discovered during the mapping.

usage
object