PeumeAPI

Web scraping

Run Browser Agent

Run an AI browser agent on a natural-language task and get its result, optionally as JSON.

$0.015 per 100 credits

Call it

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

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

Parameters

taskRequiredstring

What the agent should do, in natural language. Example: 'Open and return the titles of the top 5 stories as JSON'.

modelstring

The model that drives the agent. Defaults to 'gpt-6-luna' (fast and cheap). Larger models (e.g. 'claude-opus-5-5', 'gpt-6.1-sol') are more accurate on hard tasks and cost more.

mimo-v2.6-pro · mimo-v2.6-flash · deepseek-v4.1-flash · glm-5.2 · grok-4.5 · grok-4.6 · glm-5.3-flash · deepseek-v4-flash-vision · kimi-k3 · minimax-m3 · claude-opus-4.7 · claude-opus-4.8 …

modelParamsobject

Provider-native model parameters, forwarded unchanged (e.g. {"reasoning": {"effort": "low"}} for OpenAI models).

outputSchemaobject

JSON Schema the final 'output' must follow. Example: {"type": "object", "properties": {"price": {"type": "number"}}, "required": ["price"]}.

agentRunIdstring

Continue a conversation: the runId returned for one of your earlier successful /agent/run runs in it (any run of the conversation works). Omit to start a new conversation. A follow-up gets a fresh browser (profile state is kept, open tabs are not). The conversation lasts until you end it with /agent-sessions/release.

profileIdstring

A browser profile YOU OWN (/browser-profiles/provision) that a released cloud browser saved a login into: the agent's browser starts with its cookies and logins.

proxyCountryCodestring

Residential proxy country (lowercase ISO code, e.g. 'de'), or null for no proxy. Defaults to 'us'. Proxy traffic is billed at $5/GB; no proxy at $0.20/GB.

screenWidthinteger

Browser width in pixels (set together with screenHeight).

screenHeightinteger

Browser height in pixels (set together with screenWidth).

allowResizingboolean

Let the agent resize the window (makes the browser easier to detect). Default false.

judgeobject

Ask an LLM judge to grade the finished run; the verdict is returned as 'judgement'. Its model cost is billed to the run.

maxCostUsdnumber

Budget in USD for this run's model and search spend (default 2, max 25). The run stops when it is reached. Browser time and proxy traffic are billed on top.

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.