Skip to main content
GET
Map URLs
From 1 credit See the guide for examples and usage.

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer <API_KEY>. Keys have full access unless restricted to specific permissions.

Query Parameters

domain
string
required

Domain to map, such as stripe.com.

Minimum string length: 3
Example:

"stripe.com"

includeSubdomains
boolean
default:false

Include URLs on subdomains.

Maximum number of URLs to return.

Required range: 1 <= x <= 100000
sitemapUrl
string<uri>

Fetch this sitemap instead of discovering sitemaps. Must belong to the domain or a subdomain.

urlRegex
string

Only return URLs matching this regex. Only matches count toward maxLinks.

Maximum string length: 256
Example:

"^https?://[^/]+/blog/"

excludeUrlRegex
string

Leave out URLs matching this regex, even when they match urlRegex.

Maximum string length: 256
Example:

"/tag/|/author/"

Filter URLs by a topic or phrase, most relevant first.

Required string length: 2 - 200
Example:

"help center and troubleshooting articles"

headers
object

HTTP headers to send to the target site. Requests with headers skip the cache.

timeoutOpts
object

Request deadline and what to return when it passes.

zdr
enum<string>
default:disabled

enabled turns on zero data retention. Returns 403 ZDR_NOT_ENABLED unless your organization has ZDR.

Available options:
enabled,
disabled
tags
string[]

Comma-separated labels for this request, such as production,team-alpha. Filter usage and request logs by them. Labels for this request. Filter usage and request logs by them in the dashboard or with GET /org/logs.

Maximum array length: 20
Required string length: 1 - 50
Example:
policies
string[]

Comma-separated access policy IDs to apply; each URL must pass all of them. Requires access policies enabled for your organization; otherwise returns ACCESS_POLICIES_NOT_ENABLED.

Response

URLs found on the domain, with page metadata when available.

success
enum<boolean>
required

Always true on success.

Available options:
true
domain
string
required

Normalized domain that was mapped.

urls
object[]
required

URLs found on the domain, with page metadata when available.

request_id
string<uuid>
required

Unique ID of this request, also in X-Request-Id. Include it when contacting support.

Example:

"3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91"

partial
boolean

true when the deadline passed with timeoutOpts.behavior set to return-partial. Only results finished in time are included.

key_metadata
object

Credits this request used and your remaining balance.