Docs menu
Docs Reference
Customer API
Read your balance, bandwidth, proxy credentials and daily usage from your own scripts.
Last verified: November 2026Authentication
Create a key under Settings in the dashboard and send it as a bearer token. Keys start with pmk_ and can only read.
Responses include proxy passwords, so the API sends no CORS headers: call it from a server or a script, never from browser code. Keep keys out of public repositories, and revoke one in Settings if it leaks.
Each key can make 60 requests a minute. Past that the API answers 429 with a Retry-After header, in seconds.
GET /api/v1/account
Your wallet balance and every product, with its bandwidth and the credentials to connect. Bandwidth refreshes from the network every 15 minutes, and syncedAt says when. Canceled products aren't listed.
| Field | Values |
|---|---|
product | residential, premium-residential, datacenter or mobile. |
status | active, suspended or expired. Expired means the bandwidth is used up; packs never expire by date. |
statusChangedAt | When status last changed. Poll and compare to catch a change. null means it hasn't changed since 2026-11-04, when recording began. |
billing | pack or payg. |
GET /api/v1/usage
Bytes and requests per product per UTC day, oldest first. A day with no traffic has no row. The optional days parameter counts back from today, today included: a whole number from 1 to 90, default 30.
GET /api/v1/pricing
Pack sizes, prices and price per GB for each product. It needs no key. The optional product parameter returns just that product.
POST /api/v1/proxies
Builds proxy lines for one of your products, with optional location targeting and sticky sessions. The lines include your proxy password. Send the parameters as a JSON body; only product is required.
| Field | Values |
|---|---|
protocol | http (default, also carries HTTPS) or socks5. |
session | rotating (default) gives one line that gets a new IP on every request. sticky gives count lines (1 to 50), each holding one IP for sticky_minutes (1 to 120, default 30). |
format | url (default) or host:port:user:pass. |
country, state, city, zip, asn | Optional location. State, city, ZIP and ASN need a country. Leave them all out to use the targeting saved in the dashboard. See targeting. |
POST /api/v1/check
Sends one request through a product's proxy and reports the exit IP, the country Cloudflare sees it in, and the time taken. It uses a few kilobytes of that product's bandwidth. Body: product, and an optional country. A failed test is still a 200, with ok: false, a reason and advice.
Errors
An error comes back as JSON with one field, error, that says what went wrong.
| Status | Cause |
|---|---|
400 | A parameter is missing or invalid (for example days outside 1 to 90), or the account has no product of the kind asked for. |
401 | The key is missing, malformed or revoked. |
429 | More than 60 requests a minute with your key. Wait for Retry-After. |
OpenAPI spec
The full schema is at /openapi.json (OpenAPI 3.1). Postman, Insomnia, Bruno and Scalar import it directly.