API reference
Map
Discover every URL on a domain, fast.
POSThttps://api.scrapeflow.dev/v1/web/map1 credit
Returns a list of URLs for a domain with titles and descriptions where available. Great for seeding a crawl or a batch.
Request
curl -X POST ${SCRAPEFLOW_API_URL}/v1/web/map \
-H "Authorization: Bearer $SCRAPEFLOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "url": "https://vercel.com", "limit": 2000 }'Parameters
| Parameter | Type | Description |
|---|---|---|
| urlrequired | string | The domain or URL to map. |
| includeSubdomains | boolean | Include subdomains. Default false. |
| limit | number | Max URLs to return. Default 5000. |
Response
json
{
"success": true,
"credits_used": 1,
"urls": ["https://vercel.com", "https://vercel.com/docs", "..."]
}