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 maplimit(integer): Most URLs to return (default 5000)maxCrawlPages(integer): Most pages to read when the site has no sitemap (default 250)maxDepth(integer): Default 8includePaths/excludePaths(string[]): Path scope filtersincludeSubdomains(boolean): DefaultfalseonlyRootDomain(boolean): Restrict to the root domainselectedDomains(string[]): Only these hosts; supports*.example.comtimeout(integer): Milliseconds
Related
- Crawl to read the pages you discover
- Free URL extractor tool
- API reference