Call it
curl https://api.peume.com/v1/call/parse-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/parse-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/parse-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: parse-page-content.
Parameters
urlRequiredstringPage URL to fetch, including the scheme.
custom_user_agentstringCustom user agent (default Mozilla/5; e.g. Mozilla/5.0)
browser_presetstringPreset for browser screen parameters (values: desktop, mobile, tablet desktop preset will apply the following values)
browser_screen_widthintegerBrowser screen width
browser_screen_heightintegerBrowser screen height
browser_screen_scale_factornumberBrowser screen scale factor (max 3)
store_raw_htmlbooleanStore HTML of a crawled page (default false)
disable_cookie_popupbooleanDisable the cookie popup (default false)
accept_languagestringLanguage header for accessing the website
enable_javascriptbooleanLoad javascript on a page (default false)
enable_browser_renderingbooleanEmulate browser rendering to measure Core Web Vitals (default false set to true to obtain Core Web Vitals (FID, CLS, LCP) metrics in)
enable_xhrbooleanEnable XMLHttpRequest on a page (default false)
switch_poolbooleanSwitch proxy pool
ip_pool_for_scanstringProxy pool (values: us, de)
markdown_viewbooleanReturn page content as markdown (default false)
