Web dataMap

GET /v1/map

Discover the URLs under a domain. Returns a deduplicated list of URLs found in the site's sitemaps.

curl "https://api.chuger.com/v1/map?url=https://example.com" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "url": "https://example.com",
  "total": 342,
  "truncated": false,
  "sources": ["sitemap"],
  "urls": [
    "https://example.com/",
    "https://example.com/about",
    "https://example.com/blog/first-post",
    "https://example.com/pricing"
  ]
}

Discover the URLs under a domain.

GET https://api.chuger.com/v1/map

Give it any URL and Chuger maps the site: it reads the domain's robots.txt for declared sitemaps, falls back to the well-known locations (/sitemap.xml, /sitemap_index.xml), follows sitemap index files into their sub-sitemaps, and returns one deduplicated list of URLs. Use it to scope a crawl before spending credits on /v1/content or /v1/content/bulk.

Authentication

Bearer token in the Authorization header. See Authentication.

Cost

PlanCredits per request
Basic3
Pro3
Business3

Credits are only deducted on success — a domain with no discoverable sitemap costs nothing.

Query parameters

query
urlstring
Required

Any URL on the domain to map. Must be HTTP or HTTPS, max 180 characters. Raw IP hosts and non-default ports are rejected. Only the host is used — https://example.com/some/page maps the same domain as https://example.com.

query
limitinteger

Maximum number of URLs to return, between 1 and 1000. When the sitemaps contain more URLs than the limit, the response is capped and truncated is true.

Example

Response fields

urlstring
Required

The URL you asked to map.

totalinteger
Required

Total number of URLs found in the domain's sitemaps. When this exceeds the number of urls returned, the result was capped by limit.

truncatedboolean
Required

true when more URLs were found than returned — raise limit (up to 1000) to get more.

sourcesstring[]
Required

The discovery sources that produced the list. Currently always ["sitemap"]; more sources may be added later.

urlsstring[]
Required

The discovered URLs, deduplicated case-insensitively (trailing slashes ignored for comparison), in sitemap order.

Errors

StatusWhen
401Missing / invalid token
402No plan, or insufficient credits
422url missing, malformed, too long, raw IP, or non-default port; limit out of range
429Rate limit or monthly quota exceeded
503No sitemap could be discovered for the domain

See Errors for the full reference.

Tips

Results come from the site's own sitemaps, so coverage depends on what the site publishes. Pages missing from the sitemap won't appear, and sites without any sitemap return 503 (and are not billed).

Pair /v1/map with /v1/content/bulk: map the domain first, pick the URLs you care about, then extract them in one bulk job.