PeumeAPI

Search & SEO

Crawl a whole site as a background job

Crawls one site level by level from a start URL, inside the site, through include and exclude filters, cut at max_pages; runs only as a job. Poll.web.crawl.status: a done job returns its pages (url, level, title, status, links, markdown or html).

$0.00038 per pageUsually answers in about a second

Call it

curl https://api.peume.com/v1/call/crawl-a-whole-site-as-a-background-job \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "https://docs.example.com/",
    "depth": 2,
    "max_pages": 100,
    "include_subdomains": false,
    "content": "md"
  }
}'

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-a-whole-site-as-a-background-job.

Parameters

urlRequiredstring

the start page, an http(s) URL

Example: https://docs.example.com/

depthinteger

Example: 2

max_pagesinteger

Example: 100

includestring

follow only matching URLs: a path prefix or a glob with *

excludestring

never follow matching URLs, same form as include

include_subdomainsboolean

Example: false

contentstring

md · html · none

Example: md

Other ways to do it

Same job, other sources, cheapest first.

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.