When to use
- You want to preview a Crawl’s scope before running it.
- You need a list of a site’s URLs to filter down and feed into a Batch.
- You want to find pages matching a term (e.g. every URL containing
pricing).
Example request
Send aPOST to /v1/web/map. Narrow the results with search, limit, and discovery options.
Example response
Request options
string
required
The site whose URLs you want to enumerate. Must be
http(s).boolean
default:"false"
Also include same-site links found on the starting page, not just the site’s page list.
number
Maximum number of URLs to return. 1–5000.
string
Keep only discovered URLs containing this term (e.g.
"pricing"). Up to 200 characters.string
Whether to use the site’s published page list:
skip it, include it alongside discovered links, or use it only.boolean
default:"false"
Also include URLs on subdomains of the site.
boolean
default:"false"
Treat URLs that differ only by query string as one.
Response fields
object
Map is one credit regardless of how many URLs come back, and it returns synchronously. It is the cheapest way to size up a site before a crawl or batch.
Next steps
Map API reference
Full request and response schema with a live playground.
Crawl a whole site
Turn a mapped scope into scraped pages.
Scrape a list of URLs
Feed mapped URLs into a batch job.
Scrape one URL
Scrape any single discovered URL.