What you send

POST a JSON body to /v1/map with your API key in the X-API-Key header.

url
The start URL. Required.
limit
Up to 1,000 URLs (default 200). Above 200, run it as an async job.
maxDepth
How many links deep to follow, 0–10 (default 2).
includeSubdomains, includeExternal
Also list subdomains or other sites (both off by default).
includePatterns, excludePatterns
Keep or drop URLs by pattern, up to 50 each.
useSitemap
Read the sitemap as well as links (default on).
queryPolicy
preserve, drop, or drop_tracking (default) for query strings.

What you get back

result.links lists each URL with its depth, where it was found (seed, sitemap, or html_link), and its title when known.

ResponseAbridged; URLs are placeholders.
{
  "success": true,
  "data": {
    "operation": "map",
    "state": "completed",
    "result": {
      "url": "https://example.com",
      "count": 3,
      "links": [
        { "url": "https://example.com/", "depth": 0, "source": "seed" },
        { "url": "https://example.com/pricing", "depth": 1, "source": "sitemap" },
        { "url": "https://example.com/blog", "depth": 1, "source": "html_link" }
      ]
    },
    "usage": { "settledCredits": 1 }
  }
}

Map runs synchronously by default and answers within 120 seconds; use async mode for more than 200 URLs.

What Map costs

Before a job starts, its maximum cost is reserved. When it finishes, only what was delivered is charged and the rest is released. Failed pages and failed jobs are not charged.

Web Context credit costs
Operation or optionCreditsNotes
Map1 per 100 URLsUp to 100 URLs cost 1, 101–200 cost 2, and so on.

See plans and all credit costs →

Make your first request in minutes

Create an account, choose a monthly plan or one-time credits, and try any operation in the dashboard playground before you write code.