What is Browser Automation?
Parallel AI can execute browser tasks described in plain natural language. You submit a task description, receive a task ID, and poll for results when they’re ready. This lets you automate complex web interactions without writing brittle selectors or scripts.Session Types
Choose the session type that fits your use case:Submit a Task
Send aPOST request to /api/v0/browser-task with your task description and session type.
Poll for Results
Retrieve the current status and result of a task by callingGET /api/v0/browser-task/{task_id}.
Example completed response:
Poll at a reasonable interval (e.g. every 2–5 seconds) to avoid unnecessary API calls. Most tasks complete within 30 seconds.
Cancel a Task
Send aDELETE request to cancel a task. Cancellation is only possible while the task is in pending or running status.
Authenticated Sessions
Useauthenticated sessions to run tasks inside accounts you’ve connected via Parallel AI integrations (e.g. LinkedIn, Twitter).
1
List available integrations
First, retrieve your saved integrations to find the correct
integrationId:2
Submit with an integrationId
Pass
sessionType: "authenticated" and the integrationId in your task request:Residential Proxy
Route your browser session through a residential IP address. Provide a US ZIP code to target a specific location:Vision Mode
EnableuseVision: true to switch to screenshot-driven automation. In vision mode, the browser agent perceives pages as images rather than DOM elements — useful for visually complex or canvas-based interfaces.
For the full Browser Automation API reference, see Submit a Browser Task.
