PeumeAPI

Web scraping

Browser Agent

Run an AI browser agent against any website from a natural language goal — navigate, interact, and extract structured data.

$0.024 per step

Call it

curl https://api.peume.com/v1/call/browser-agent \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "your url",
    "goal": "your goal"
  }
}'

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: browser-agent.

Parameters

urlRequiredstring

Target website URL to automate — must be an absolute URL including the scheme (a bare domain like 'example.com' is rejected). Example:

goalRequiredstring

Natural language description of what to accomplish on the website. Be specific about the data to extract or the actions to take. Example: 'Extract every product name and price on page 1, return JSON'.

max_stepsinteger

Step limit — the primary cost control: the run is billed per step, so capping steps bounds cost (see the pricing note on overshoot). The run stops at the cap and returns partial results with a note. Defaults to 150.

max_duration_secondsinteger

Soft wall-clock budget in seconds — the agent honours it voluntarily and returns partial results when it runs out (elapsed time can overshoot ~2x). Use max_steps to bound cost. Example: 300.

profileIdstring

Attach a Browser Context Profile YOU OWN (saved login state — provision one via /browser-profiles/provision, log in via /browser-profiles/setup-session, save it, then pass its id here). The run starts with the saved cookies/storage.

browser_profilestring

Browser build: 'lite' (standard, fast — default) or 'stealth' (anti-detection — for sites showing CAPTCHAs or 'Access Denied').

lite · stealth

proxy_configobject

Route the browser through a proxy — pair with browser_profile: 'stealth' for protected sites.

output_schemaobject

Optional JSON-schema subset for the result shape (type/properties/required). Adherence is best-effort — always validate the returned result. Example: {"type": "object", "properties": {"title": {"type": "string"}}, "required": ["title"]}.

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.