# Map

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

Product page: [/map](/map).

## Example

```bash
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

- [Crawl](/docs/crawl) to read the pages you discover
- [Free URL extractor tool](/tools/website-url-extractor)
- [API reference](/docs/api)

## Docs index

- [Overview](https://webcrawl.app/docs)
- [Scrape](https://webcrawl.app/docs/scrape)
- [Crawl](https://webcrawl.app/docs/crawl)
- [Map](https://webcrawl.app/docs/map)
- [Search](https://webcrawl.app/docs/search)
- [Extract](https://webcrawl.app/docs/extract)
- [MCP server](https://webcrawl.app/docs/mcp)
- [MCP setup](https://webcrawl.app/docs/mcp-setup)
- [Self-hosting](https://webcrawl.app/docs/self-hosting)
- [SDKs and CLI](https://webcrawl.app/docs/sdks)
- [API reference](https://webcrawl.app/docs/api)

HTML: https://webcrawl.app/docs/map
