PeumeAPI

Web scraping

Crawl Sitemap

Discover every URL in a website's sitemap.

$0.003 per credit

Call it

curl https://api.peume.com/v1/call/crawl-sitemap \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "domain": "your domain"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: crawl-sitemap.

Parameters

domainRequiredstring

Domain to build a sitemap for, e.g. 'example.com'.

maxLinksinteger

Maximum number of links to return. Default 10000, max 100000.

sitemapUrlstring

Explicit sitemap URL. When provided, exactly this sitemap is crawled instead of discovering the domain's sitemaps.

urlRegexstring

RE2-compatible pattern. Only matching URLs are returned and counted against maxLinks.

timeoutMSinteger

Upstream timeout in milliseconds (max 300000). aborts the call with a 408 when exceeded. Keep it below the endpoint's requestTimeoutMs so the provider answers before the platform's own budget expires.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.