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

ParameterTypeDescription
urlrequiredstringThe domain or URL to map.
includeSubdomainsbooleanInclude subdomains. Default false.
limitnumberMax URLs to return. Default 5000.

Response

json
{
  "success": true,
  "credits_used": 1,
  "urls": ["https://vercel.com", "https://vercel.com/docs", "..."]
}