Note: A new v2 version of this API is now available with improved features and performance.
Map
1 min read
post/map
Request example
Response
post/map
Authorization
Body
application/jsonThe base URL to start crawling from
Search query to use for mapping. During the Alpha phase, the 'smart' part of the search functionality is limited to 500 search results. However, if map finds more results, there is no limit applied.
Timeout in milliseconds. There is no timeout by default.
Location settings for the request. When specified, this will use an appropriate proxy if available and emulate the corresponding language and timezone settings. Defaults to 'US' if not specified.
Show child attributesHide child attributes
ISO 3166-1 alpha-2 country code (e.g., 'US', 'AU', 'DE', 'JP')
Default: "US"
Pattern: ^[A-Z]{2}$
Preferred languages and locales for the request in order of priority. Defaults to the language of the specified location. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language
Per-request Threat Protection override. Fields you provide replace the corresponding fields of your organization's policy for this request only; omitted fields keep their organization-level values. Requires Threat Protection to be enabled for your team (enterprise feature) — otherwise the request is rejected with a 403. If your organization has disabled request overrides, any request that includes this object is rejected with a 403. If Threat Protection is enforced for your team,
mode may not be set to off.Show child attributesHide child attributes
URL scanning mode for this request.
normal checks URLs against Google Web Risk (+2 credits per URL scanned).Options:
offnormalNormalized risk score (0–100) at or above which a classifier verdict blocks the URL. Lower is stricter.
Range: 0–100
Domains to always block, as plain domains (
example.com) or wildcard globs (*.example.com). No protocol, path, or port.Items: max 1000
Domains to always allow, as plain domains or wildcard globs. Wins over every other rule.
Items: max 1000
Top-level domains to block outright, lowercase without the leading dot (e.g.
zip).Items: max 1000
What to do when the classifier can't be reached:
closed blocks the request, open allows it.Options:
openclosedResponses
application/json
Successful response

