POST /v1/map

Hosted: https://api.fastcrw.com · Self-hosted: http://localhost:3000

Auth (hosted only): Authorization: Bearer $CRW_API_KEY

Self-hosted: no auth required by default. See configuration.

Request body

{
  "url": "https://example.com",
  "limit": 100,
  "search": "blog",
  "includeSubdomains": false
}

limit defaults to 100 (max 5000). search is an optional substring filter applied to discovered URLs. includeSubdomains widens discovery beyond the apex host.

Response

{
  "success": true,
  "data": {
    "links": [
      "https://example.com/",
      "https://example.com/blog/",
      "https://example.com/blog/post-1"
    ],
    "droppedActionCount": 0,
    "strippedTrackingCount": 3
  }
}

Python

# Run with: python3 map.py
import os, requests

resp = requests.post(
    "https://api.fastcrw.com/v1/map",
    headers={"Authorization": f"Bearer {os.environ['CRW_API_KEY']}"},
    json={"url": "https://example.com", "limit": 50, "search": "blog"},
    timeout=60,
)
resp.raise_for_status()
body = resp.json()  # {"success": true, "data": {"links": [...]}}
for href in body["data"]["links"]:
    print(href)

Related endpoints

← CRW docs home