
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "tavily",
"path": "/map",
"method": "POST",
"body": {
"url": ""
}
}'
{
"success": true,
"data": {
"results": [ 1 item ],
"base_url": "{base_url}",
"request_id": "{request_id}",
"response_time": 1
}
}
Example values, built from the documented fields.
The final charge depends on what comes back. It shows after Run.
$0.01per 10 results returned
Response-basedYou pay for what comes back, never more than the price shown before you run.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 100% success · 2,297 ms median · 30 days
About this endpoint
Tavily Map traverses websites like a graph and can explore hundreds of paths in parallel with intelligent discovery to generate comprehensive site maps.
Body parameters
urlrequiredstringThe root URL to begin the mapping.instructionsstringNatural language instructions for the crawler. When specified, the cost increases to 2 API credits per 10 successful pages instead of 1 API credit per 10 pages. On Orthogonal this doubles the price to $0.02 per started 10 pages of limit.max_depthintegerMax depth of the mapping. Defines how far from the base URL the crawler can explore.max_breadthintegerMax number of links to follow per level of the tree (i.e., per page).limitintegerTotal number of links the crawler will process before stopping (minimum 1, default 50). The price is $0.01 per started 10 pages of limit ($0.05 at the default).select_pathsstringRegex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*).select_domainsstringRegex patterns to select crawling to specific domains or subdomains (e.g., ^docs\.example\.com$).exclude_pathsstringRegex patterns to exclude URLs with specific path patterns (e.g., /private/.*, /admin/.*).exclude_domainsstringRegex patterns to exclude specific domains or subdomains from crawling (e.g., ^private\.example\.com$).allow_externalbooleanWhether to include external domain links in the final results list.timeoutnumber<float>Maximum time in seconds to wait for the map operation before timing out. Must be between 10 and 150 seconds.Response types
results[]stringbase_urlstringrequest_idstringresponse_timenumber