Documentation Index
Fetch the complete documentation index at: https://docs.rustybrowser.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Rusty Browser API gives you full programmatic control over browsers. Create a browser, issue commands, and close it when done — all over HTTP.Base URL
Authentication
All endpoints require Bearer token authentication:Rate Limits
Rusty Browser has no rate limits. Spawn as many concurrent browsers as you need.
Endpoints
Sessions
| Method | Endpoint | Description |
|---|---|---|
PUT | /v1/browsers/ | Create a browser |
GET | /v1/browsers/:id/ | Get browser info |
DELETE | /v1/browsers/:id/ | Close a browser |
Commands
All commands operate on an existing browser via itsid.
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/browsers/:id/navigate/ | Navigate to a URL |
POST | /v1/browsers/:id/click/ | Click an element |
POST | /v1/browsers/:id/node-click/ | Click by node reference |
POST | /v1/browsers/:id/type/ | Type text into a field |
POST | /v1/browsers/:id/scroll-by/ | Scroll by a relative amount |
POST | /v1/browsers/:id/scroll-to/ | Scroll to an element or position |
POST | /v1/browsers/:id/screenshot/ | Capture a screenshot |
POST | /v1/browsers/:id/fetch-html/ | Fetch the current page HTML |
POST | /v1/browsers/:id/fetch-text/ | Fetch the current page text |
POST | /v1/browsers/:id/eval/ | Evaluate a JavaScript expression |
POST | /v1/browsers/:id/instruct/ | Issue a natural language instruction |
Response Format
All responses follow a consistent JSON envelope:Error Handling
| Code | Description |
|---|---|
400 | Bad Request — missing or invalid parameters |
401 | Unauthorized — missing or invalid API key |
402 | Payment Required — insufficient token balance |
404 | Not Found — browser ID does not exist |
500 | Internal Server Error |

