PeumeAPI

Search & SEO

Scrape a web page

Fetch one page as clean Markdown, HTML, text or a hosted screenshot.

$0.003 per callUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/scrape-a-web-page-3 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url_to_scrape": "https://example.com",
    "formats": [
      "markdown"
    ],
    "max_age": 0,
    "remove_images": false
  }
}'

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-a-web-page-3.

Parameters

url_to_scrapeRequiredstring

Example: https://example.com

formatsarray

Structured parsers, JSON extraction and llm_extract are deliberately excluded because they have separate variable credit prices.

Example: ["markdown"]

max_ageinteger

Reuse an scrape no older than this many seconds; 0 requests a fresh scrape.

Example: 0

remove_imagesboolean

Example: false

transformerstring

postlight · none

links_on_pageobject

Other ways to do it

Same job, other sources.

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.