PeumeAPI

Search & SEO

Get page contents by URL

Get the full page contents, summaries, and metadata for a list of URLs.

$0.0015 per callBackup source if the first one failsUsually answers in about a second

Call it

curl https://api.peume.com/v1/call/get-page-contents-by-url \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "urls": [
      "https://en.wikipedia.org/wiki/Hierarchical_navigable_small_world"
    ],
    "text": {
      "maxCharacters": 2000
    }
  }
}'

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: get-page-contents-by-url.

Parameters

urlsRequiredarray

one or more page URLs; each page is billed per content type requested

Example: ["https://en.wikipedia.org/wiki/Hierarchical_navigable_small_world"]

textboolean

true, or {maxCharacters: N} — the page as clean text. $0.001 per page

Example: {"maxCharacters":2000}

highlightsboolean

true, or {query, maxCharacters} — the passages most relevant to `query`. $0.001 per page

summaryobject

{query} — an AI summary of the page focused on `query`. $0.001 per page

maxAgeHoursinteger

serve cache if younger than this, else live-crawl; omit for default freshness

livecrawlTimeoutinteger

ms, default 10000

subpagesinteger

also crawl N linked subpages (each billed as a page)

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.