Skip to main content

Enumerate a site's URLs

POST 

/v1/map

Discovers the reachable URLs of a site. Accepts JSON or form-encoded bodies.

Request body​

5 of 5
urlstringrequired
The site to enumerate. The host must be publicly resolvable.
Values
absolute http/https URL
countrystring
Access region.
Default
US
Values
uppercase two-letter code
domain_filterstring
Whether off-site links are returned.
Default
all
Values
domain (same host only), all (include external links)
limitinteger
Upper bound on returned URLs.
Default
5000
Values
1 … 100000
sitemapstring
How sitemaps are used: ignored, merged, or the only source.
Default
include
Values
skip, include, only

Reading the result​

  • data.outputs is an array of {url, title?, description?}; it is null when nothing was discovered.
  • data.meta.result describes the entry page: status_code may be null when the entry HTML was never fetched, and url echoes the URL you sent.
  • Like the other capabilities, a failure may arrive as data.success: false inside a 200 response.

Request​

Responses​

Discovered URLs, possibly a platform-level failure in data

Response Headers
    Cache-Control

    Always no-store — no intermediary may cache these responses.

    X-Upstream-Request-Id

    The fetch service's own request identifier for this call. Quote it together with the envelope's request_id in support requests.