Skip to content
Menu
Read · Map · POST /v2/map

Every URL of a site, in seconds, without fetching content

Map reads the sitemap and the site's links and returns the URL list — with titles and descriptions where known. The fast first step before a targeted scrape or crawl.

Endpoint
POST /v2/map
Mode
Synchronous
Credits
1 per call
Also
POST /v1/map (links as plain strings) · MCP tool engine_map

What it's for

Find the right page

Map with search: "pricing" and scrape only the page you need instead of crawling the site.

Plan a crawl

See the size and shape of a site before you spend credits on it.

Change discovery

Compare today's map with yesterday's to spot new sections.

How it works

  1. Sitemap

    sitemap.xml files are read (or skipped, or used alone); when the operator enables sitemap dates, links also carry published and lastmod.

  2. Links

    Pages are sampled for links within the domain (and subdomains by default).

  3. Rank

    With search, matching URLs are ranked first; query strings are stripped and duplicates removed.

Request parameters

Full docs →
FieldType DefaultDescription
urlrequiredstring—The site to map.
searchstring—Filter and rank URLs by this text (up to 500 characters).
sitemapstring"include"include, skip or only.
includeSubdomainsbooleantrueInclude subdomains.
ignoreQueryParametersbooleantrueStrip query strings and dedupe.
limitinteger5000Maximum URLs, 1–5000.
timeoutinteger (ms)30000Clamped to 5000–120000.

Unknown fields do not fail the request — they are listed in the response warning, as are values that were clamped to the engine's limits.

Example request

bash
curl -X POST https://crawl.echolotnews.com/v2/map \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com",
  "search": "pricing",
  "limit": 100
}'
python · requests
import requests

API = "https://crawl.echolotnews.com"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}

resp = requests.post(f"{API}/v2/map", headers=HEADERS, json={
    "url": "https://example.com",
    "search": "pricing",
    "limit": 100,
}, timeout=120)
resp.raise_for_status()
for link in resp.json()["links"]:
    print(link["url"], link.get("title", ""))
javascript · fetch
const API = "https://crawl.echolotnews.com";
const headers = { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" };

const res = await fetch(`${API}/v2/map`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "url": "https://example.com",
    "search": "pricing",
    "limit": 100
  }),
});
const json = await res.json();
json.links.forEach((l) => console.log(l.url, l.title ?? ""));
mcp
# 1. Connect once (Claude Code)
claude mcp add --transport http echolot https://crawl.echolotnews.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

# 2. Ask in plain words — the agent calls engine_map, e.g.
#    "Which pages on example.com are about pricing?"
# Tool call it makes:
{
  "name": "engine_map",
  "arguments": {
    "url": "https://example.com",
    "search": "pricing",
    "limit": 100
  }
}

Example response

json · trimmed
{
  "success": true,
  "links": [
    { "url": "https://example.com/pricing", "title": "Pricing", "description": "Plans and limits" },
    { "url": "https://example.com/pricing/enterprise", "title": "Enterprise" },
    { "url": "https://example.com/docs/billing" }
  ]
}
WhatCredits
One map call, any size up to 5000 URLs1

Start with 500 free credits

No card required. Every endpoint, REST and MCP.