PeumeAPI

Web scraping

Scrape

Scrape one URL into clean, LLM-ready markdown or JSON.

From $0.0015 per call

Call it

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

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: scrape.

Parameters

urlRequiredstring

The https URL to scrape.

formatsarray

Output formats (default markdown). LLM extraction is the separate 'json' option.

jsonboolean

Extract structured JSON from the page with an LLM — costs five times a plain scrape (see the price card's JSON tier).

jsonSchemaobject

JSON Schema the extracted object must conform to (with json: true).

jsonPromptstring

What to extract from the page (with json: true).

onlyMainContentboolean

Strip headers, navs, and footers (default true).

includeTagsarray
excludeTagsarray
maxAgeinteger

Cache-reuse window in ms — a fresh-enough cached copy returns much faster. 0 forces a live fetch.

waitForinteger

Extra ms to wait after load for JavaScript-heavy pages.

mobileboolean
blockAdsboolean
removeBase64Imagesboolean
proxystring

'auto' (default) retries with enhanced anti-bot proxies when the plain fetch is blocked — no extra charge either way.

basic · enhanced · auto

locationobject
timeoutinteger

Per-page deadline in ms; time queued for a browser counts too.

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.