Call it
curl https://api.peume.com/v1/call/extract-web-page-content \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/extract-web-page-content", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/extract-web-page-content",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"url": "your url"
}
},
)
print(res.json()["output"])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: extract-web-page-content.
Parameters
urlstringidentity
Other ways to do it
Same job, other sources, cheapest first.
Extract pages by URL — content and classificationExtract clean content or highlights from up to twenty URLs, with per-URL status and mode.Fetch rendered web contentFetch a public HTTP(S) page and return LLM-ready contentScrape or read a web page as clean Markdown, HTML or PDFScrape one URL, a web page or a PDF, into clean, LLM-ready Markdown text and/or HTML. picks the cheapest engine that works (archive, plain fetch, real browser that renders JavaScriWeb ScrapeScrape any web page and get its content back as clean Markdown (or HTML, or raw HTML) plus title and metadata.Extract a web pageReturn clean content from one public URL.Extract web pagesReturn focused excerpts or full Markdown content from up to 20 public URLs.
