Map API Reference
Discover every URL on a website in seconds. Uses sitemap.xml with a link-crawl fallback.
POST
/webdata/mapmap
curl -X POST https://api.stack0.dev/v1/webdata/map \-H "Authorization: Bearer sk_live_..." \-H "Content-Type: application/json" \-d '{"url": "https://docs.example.com","search": "api","limit": 5000}'
SDK
map-sdk.ts
const { urls } = await stack0.map.createAndWait({url: "https://docs.example.com",search: "api",});console.log(urls.length, "URLs discovered");