Docs

Map

POST /v1/map returns page URLs for a site without reading bodies. Costs 1 credit. View as Markdown

POST /v1/map returns page URLs for a site without reading them. Costs 1 credit.

Product page: /map.

Example

curl -s -X POST https://webcrawl.app/v1/map \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","limit":200,"includePaths":["/docs/*"]}'

Request body

  • url (string (required)): Site to map
  • limit (integer): Most URLs to return (default 5000)
  • maxCrawlPages (integer): Most pages to read when the site has no sitemap (default 250)
  • maxDepth (integer): Default 8
  • includePaths / excludePaths (string[]): Path scope filters
  • includeSubdomains (boolean): Default false
  • onlyRootDomain (boolean): Restrict to the root domain
  • selectedDomains (string[]): Only these hosts; supports *.example.com
  • timeout (integer): Milliseconds

Related