POST/v1/map

Map

Discover all URLs on a website by combining sitemap.xml parsing, robots.txt discovery, and link crawling. Returns a flat list of URLs with metadata.

Target Latency

1.2s - 4.5s

Credits

1 cr/req

Parameters

NameTypeRequirementDescription
urlstringREQUIREDThe website URL to map.
searchstringoptionalFilter URLs matching this search string.
limitnumberoptionalMaximum number of URLs to return.
include_subdomainsbooleanoptionalInclude URLs from subdomains.
use_sitemapbooleanoptionalParse sitemap.xml for URL discovery.

cURL Example

curl -X POST "https://api.datablue.dev/v1/map" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://docs.python.org",
  "limit": 200,
  "include_subdomains": false
}'

System Responses

200 OK

Request processed successfully.

401 UNAUTHORIZED

Missing or invalid API key.

429 RATE LIMIT

System capacity exceeded.

500 SYSTEM FAILURE

Internal core exception.

EXAMPLE RESPONSE
{
  "success": true,
  "total": 187,
  "links": [
    {
      "url": "https://docs.python.org/3/",
      "title": "Python 3 Documentation",
      "lastmod": "2026-03-28"
    },
    {
      "url": "https://docs.python.org/3/tutorial/index.html",
      "title": "The Python Tutorial"
    },
    {
      "url": "https://docs.python.org/3/library/index.html",
      "title": "The Python Standard Library"
    },
    {
      "url": "https://docs.python.org/3/reference/index.html",
      "title": "The Python Language Reference"
    }
  ]
}