Skip to main content
The 2extract Public API gives you programmatic access to everything you can do in the dashboard: create and configure proxies, track usage, manage your balance, and look up geo data - all over HTTPS with JSON.

Interactive Swagger UI

Explore and test every endpoint directly in your browser.

Postman Collection

Import the ready-made collection and start making requests in minutes.

Base URL

All API requests go to:

Authentication

The API uses API keys passed in a request header. Every request must include:
Getting an API key:
  1. Open the Dashboard and go to API Keys in the sidebar.
  2. Click Create API Key and select the permissions you need.
  3. Copy the key - it is shown only once.
API keys are secrets. Do not commit them to version control or expose them in client-side code. Rotate a key immediately if it is ever leaked.

Scopes

Each API key carries one or more scopes that gate access to endpoint groups. Request only the scopes your integration needs. proxies:write does not include proxies:read - the scopes are independent.

Request Format

For endpoints that accept a body (POST, PUT), send JSON and set the Content-Type header:

Response Format

All responses are JSON wrapped in a standard envelope:

Error Handling

Error responses use standard HTTP status codes alongside the envelope:

Quick Example

Retrieve all your proxies with a single curl call:
See the Swagger UI for a full interactive reference of every endpoint, including request schemas and live response examples.