Skip to documentation
Browse documentation

Map Site

Build a deterministic, robots-aware public URL inventory from the starting page, robots.txt, and bounded recursive sitemap indexes. Classifies pages and files without deeply fetching every discovered URL and supports opaque pagination cursors.

Capability ID web.site.map
Cost 1 credit per request
Maximum runtime 120 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

cursor string optional

Opaque cursor from the preceding map response using the same options.

discover_sitemaps boolean optional

No additional description is provided for this parameter.

Example true
exclude_patterns array<string> optional

No additional description is provided for this parameter.

include_patterns array<string> optional

No additional description is provided for this parameter.

include_subdomains boolean optional

No additional description is provided for this parameter.

max_sitemaps integer optional

No additional description is provided for this parameter.

max_urls integer optional

Maximum URLs returned in this response page.

Example 100
respect_robots boolean optional

No additional description is provided for this parameter.

Example true
url string required

Public http(s) site URL to inventory.

Example https://example.com/

Response

Successful output is returned in results[0].data. Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The full redacted fixture is shown in the response panel.

Illustrative output fields

Derived from the sample above for orientation only. These observed fields are not a fixed response schema.

PathObserved typeExample
final_url string https://example.com/
origin string https://example.com
robots object 6 fields
robots.applied boolean true
robots.fetched boolean false
robots.sitemaps array 0 items
robots.status_code integer 404
robots.url string https://example.com/robots.txt
robots.warnings array 0 items
sitemaps array 1 items
sitemaps array 1 items
stats object 7 fields
stats.elapsed_ms integer 1484
stats.estimated_result_bytes integer 657
stats.inventory_count integer 1
stats.offset integer 0
stats.response_compacted boolean false
stats.returned_count integer 1
stats.sitemap_count integer 1
url string https://example.com/
urls array 1 items
urls array 1 items
warnings array 0 items

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.