PeumeAPI

Search & SEO

Fetch cleaned page content (not source HTML)

Fetches web pages, renders JavaScript-heavy pages when needed, and returns clean extracted content in your preferred format (Markdown, cleaned semantic HTML, or a structured JSON tree), with optional links, metadata, and selectors.

$0.0015 per pageUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/fetch-cleaned-page-content-not-source-html \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "urls": [
      "https://example.com"
    ],
    "format": "markdown",
    "links": false,
    "image_links": false,
    "page_metadata": false,
    "include_etag_and_last_modified": 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: fetch-cleaned-page-content-not-source-html.

Parameters

urlsRequiredarray

Example: ["https://example.com"]

purposestring
formatstring

markdown (default) for LLM consumption; html returns cleaned semantic HTML, not the page source — head scripts (including application/ld+json), forms, mailto targets and many attributes are removed; json returns a structured document tree. has no raw/source-HTML format on this route; for HTML as the browser received it (head and scripts intact), use.web.scrape with formats including html.

Example: markdown

linksboolean

Example: false

image_linksboolean

Example: false

page_metadataboolean

Example: false

ttlinteger

cache lifetime in seconds; 0 requests a fresh fetch.

per_url_timeout_msinteger
if_none_matchstring
if_modified_sincestring
include_etag_and_last_modifiedboolean

Example: false

include_selectorsarray
exclude_selectorsarray

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.