Authentication
Create a key in your account, on the Developer tab. The key starts with qv_sk_ and is shown once, so store it in an environment variable. Send it in the Authorization header of every request.
curl https://api.quickvpn.live/v1/balance \
-H "Authorization: Bearer qv_sk_live_xxxxxxxxxxxxxxxx"- Keep keys on servers you control. Never put one in a web page or a mobile app.
- A key can buy from your balance, so treat it like a password. Revoke it on the Developer tab if it leaks.
- Amounts are strings in US dollars with two decimals. Times are UTC in ISO 8601.
- For POST requests that spend money, send an
Idempotency-Keyheader. Repeating the same key returns the first result and never buys twice.
Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /v1/balance | Your prepaid balance in US dollars. |
| GET | /v1/plans | Products, pack sizes and prices. |
| POST | /v1/orders | Buy a plan or a pack from your balance. |
| GET | /v1/vpn/devices | List your VPN devices and free slots. |
| POST | /v1/vpn/devices | Add a VPN device in a city with a protocol. |
| GET | /v1/vpn/devices/{id}/config | Download the config for one device. |
| GET | /v1/proxies/logins | Proxy hosts, ports and logins you can use. |
| GET | /v1/usage | Device slots and proxy traffic used. |
Get your balance
GET /v1/balance
Returns the balance you can spend on plans and packs. Balance never expires.
{
"balance_usd": "152.40",
"currency": "USD"
}List plans and prices
GET /v1/plans
Every product with its packs. Prices are totals in US dollars and match the website.
{
"data": [
{
"product": "vpn",
"kind": "vpn",
"unit": "month",
"packs": [
{
"qty": 8,
"price_usd": "18.00"
},
{
"qty": 15,
"price_usd": "28.80"
},
{
"qty": 27,
"price_usd": "40.50"
}
]
},
{
"product": "residential-proxies",
"kind": "proxy",
"unit": "GB",
"packs": [
{
"qty": 20,
"price_usd": "37.80"
},
{
"qty": 25,
"price_usd": "47.25"
},
{
"qty": 50,
"price_usd": "89.55"
},
{
"qty": 100,
"price_usd": "170.10"
},
{
"qty": 250,
"price_usd": "400.50"
}
]
}
]
}Create an order
POST /v1/orders
Buys a pack from your balance. The qty must be one of the pack sizes from the plans list. Send an Idempotency-Key header so a retry never buys twice.
{
"product": "vpn",
"qty": 27
}{
"id": "ord_8f3a21c9",
"status": "processing",
"product": "vpn",
"qty": 27,
"total_usd": "40.50",
"balance_usd": "111.90"
}List VPN devices
GET /v1/vpn/devices
Your devices and how many of the 10 slots are free.
{
"slots_total": 10,
"slots_free": 9,
"data": [
{
"id": "dev_3k9xq2",
"name": "Laptop",
"country": "de",
"city": "Frankfurt",
"protocol": "wireguard",
"status": "active",
"created_at": "2026-11-24T09:12:00Z"
}
]
}Add a VPN device
POST /v1/vpn/devices
Protocol is one of wireguard, openvpn or ikev2. The device uses one slot until you delete it.
{
"name": "Phone",
"country": "nl",
"city": "Amsterdam",
"protocol": "wireguard"
}{
"id": "dev_7m2pa4",
"name": "Phone",
"country": "nl",
"city": "Amsterdam",
"protocol": "wireguard",
"status": "active"
}Get a device config
GET /v1/vpn/devices/{id}/config
Returns the file for WireGuard or OpenVPN, or the four values for IKEv2. Treat the result as a secret.
{
"id": "dev_7m2pa4",
"format": "wireguard",
"filename": "quickvpn-nl-amsterdam.conf",
"config": "[Interface]\n...generated for this device..."
}List proxy logins
GET /v1/proxies/logins
Hosts, ports and username patterns for the proxy products you own. Your password comes from the account.
{
"host": "proxy.quickvpn.live",
"http_port": 8800,
"socks5_port": 8810,
"data": [
{
"product": "residential-proxies",
"username": "qv7f3k9-res-country-us",
"password": "YOUR_PASSWORD"
}
]
}Check usage
GET /v1/usage
Device slots in use and what is left on each proxy pack.
{
"vpn": {
"slots_used": 1,
"slots_total": 10
},
"proxies": [
{
"product": "residential-proxies",
"unit": "GB",
"used": 4.2,
"remaining": 45.8
}
]
}Errors
Errors use normal HTTP status codes and a JSON body with a stable code you can match in code.
{
"error": {
"code": "insufficient_balance",
"message": "Balance is lower than the order total.",
"need_usd": "40.50"
}
}| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request | The body is not valid JSON or a field is missing. |
| 401 | unauthorized | The key is missing, wrong or was revoked. |
| 402 | insufficient_balance | Your balance is lower than the order total. Top up and try again. |
| 404 | not_found | The device, product or path does not exist. |
| 409 | device_limit_reached | All 10 VPN slots are in use. Delete a device first. |
| 422 | invalid_pack | The qty is not one of the pack sizes for that product. |
| 429 | rate_limited | Too many requests. Wait for the Retry-After seconds. |
| 500 | server_error | Something failed on our side. Retry with the same Idempotency-Key. |
Rate limits
Each key may send up to 60 requests per minute. Responses carry X-RateLimit-Remaining, and a 429 reply includes Retry-After in seconds. Cache the plans list, since prices change rarely, and poll order status no faster than once every few seconds.
Code samples
# Balance
curl https://api.quickvpn.live/v1/balance \
-H "Authorization: Bearer $QV_KEY"
# Buy the 27 month plan
curl -X POST https://api.quickvpn.live/v1/orders \
-H "Authorization: Bearer $QV_KEY" \
-H "Idempotency-Key: 6f1c2d9e-order-001" \
-H "Content-Type: application/json" \
-d '{"product":"vpn","qty":27}'Get your API key
Sign in, open the Developer tab and create a key. Your balance pays for anything you buy through the API.