Skip to main content

Overview

The Rusty Browser API gives you full programmatic control over browsers. Create a browser, issue commands, inspect state, and close it when done, all over HTTP.

Base URL

For a local self-hosted server:
Use the hostname and port for your own deployment in production examples.

Authentication

Open-source deployments do not require authentication by default. If your rusty-server config enables X-API-Key, include it with each request:

Capacity

Concurrency and throughput depend on your server, Redis, Flux setup, browser agents, and the compute capacity you provide.

Endpoints

Sessions

Commands

All commands operate on an existing browser via its id.

UI Map

Contexts

Lifecycle

Response Format

Response shapes are documented on each endpoint page. Most command endpoints return a small JSON object with the result of the command, while session endpoints return browser or execution metadata.

Error Handling

Error response format: