API · Web
GET /web/map
A site’s URLs from its sitemaps and links.
| Request | GET /v1/web/map |
| Operation id | web.map.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A site’s URLs from its sitemaps and links.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | A public http(s) URL. Example: https://example.com/. |
search | string | no | |
limit | integer | no | |
sitemap | "include" | "skip" | "only" | no | One of include, skip, only. |
include_subdomains | "true" | "false" | no | One of true, false. |
ignore_query_parameters | "true" | "false" | no | One of true, false. |
fresh | "true" | "false" | no | One of true, false. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The URLs found. | |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | That host does not resolve or the page does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Web is temporarily unavailable. Retryable; nothing was charged. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.