Browserless Agent API

Run autonomous browser agents. `POST /agent/run` starts an asynchronous run and returns an id to poll via `GET /agent/run/:id`; `POST /agent/run/:id/continue` sends it a follow-up task (not enabled in v1). `/chromium/agent` connects over WebSocket for a persistent, JSON-RPC-driven agentic browser session instead.

GitHub OpenAPI
Business capability
Agent Infrastructure & Agentic Commerce AE-100

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /agent/run List my AI agent runs · /agent/run #
Ask an LLM
“Which AI agent runs have I started recently?”
“Can I filter my agent runs by status?”
Tell an agent
List my agent runs.
Show agent runs with status {status}.
POST /agent/run Start an AI agent run · /agent/run #
Ask an LLM
“How do I get an AI agent to fill in a form for me?”
“Can I cap how many steps an agent run takes?”
Tell an agent
Start an agent run that {query}.
Run {query} with at most {maxSteps} steps.
DELETE /agent/run/* Cancel or delete an agent run · /agent/run/* #
Ask an LLM
“How do I cancel an agent run that's still running?”
“Can I abort an agent run that is waiting on a human?”
Tell an agent destructive · confirm first
Cancel the active agent run using token {token}.
Abort the in-flight turn of my agent run and delete it.
GET /agent/run/* Poll an agent run's status and transcript · /agent/run/* #
Ask an LLM
“Is my agent run still busy or has it finished?”
“Where can I see the latest step rationale of an agent run?”
Tell an agent
Poll my agent run using token {token} and show its status and transcript.
Check whether my agent run is done and list its turn results.
POST /agent/run/*/continue Continue a multi-turn agent run · /agent/run/*/continue #
Ask an LLM
“Can I send a follow-up task to an agent run that has multiple turns?”
“Which endpoint takes a new turn query for an existing agent run?”
Tell an agent
Continue my agent run with the follow-up task {query}.
Send a new turn {query} to my existing agent run.
GET /chromium/agent Connect to an agentic browser over WebSocket · /chromium/agent #
Ask an LLM
“Can I send commands to a browser controlled by an agent over a WebSocket?”
“Is there a way to control a browser session with a simple JSON-RPC protocol?”
Tell an agent
Connect to the agentic browser agent and start sending JSON-RPC commands.
Open an agentic browser session and send starter commands like goto or click.

Documentation

Specifications

SDKs

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/browserless:browserless-agent-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

browserless-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Browserless Agent API
  version: 2.57.0
  description: 'This is the API reference for **Browserless Enterprise and Cloud** deployments. You''ll find endpoints for capturing screenshots and PDFs, scraping content, running custom browser functions, solving CAPTCHAs, bypassing bot detection with stealth browsing, managing authenticated browser profiles, and orchestrating crawls.


    The API includes REST endpoints (JSON in, JSON or binary out), WebSocket connections for direct CDP/Playwright/Puppeteer access, and CDP extensions that expose Browserless-specific commands like `liveURL`, `solveCaptcha`, and `reconnect`. For the open-source container API, see the GitHub repository.


    ## Just Getting Started?


    Check out the Quick Start guide to launch your first session, or explore the BrowserQL IDE for a GraphQL-based automation workflow.


    ## Base URL


    All API requests go to your deployment''s base URL. For Browserless Cloud:


    ```plaintext

    https://production-sfo.browserless.io

    ```


    Self-hosted Enterprise deployments use the host and port where the container is running (default `http://localhost:3000`).


    ## Authentication


    Include your API token as a query parameter on every request:


    ```plaintext

    https://production-sfo.browserless.io/chromium/content?token=YOUR_API_TOKEN

    ```


    Tokens are managed from the Account dashboard. Self-hosted deployments set the token via the `TOKEN` environment variable. See connection details for all authentication options.


    ## Changelog


    For release notes and version history, see the Enterprise Changelog.


    ## Software keys


    Self-hosted Enterprise deployments use time-limited software keys for offline licensing. No external connections or callbacks are required. Keys are cryptographically secure and can''t be reverse engineered. When a key expires, the container exits with a semantic error code.


    To use a software key, set the `KEY` environment variable when running the container:


    ```bash

    docker run -e KEY=your-generated-key browserless/enterprise

    ```'
servers:
- url: https://production-sfo.browserless.io
security:
- tokenAuth: []
tags:


# --- truncated at 32 KB (47 KB total) ---
# Full source: https://artifacts.apis.io/browserless/openapi/browserless-agent-api-openapi.yml