Reseller API
Order dedicated ISP proxies for your customers, hand them over, renew them and reconcile your balance, all from your own store or billing system. Everything the reseller dashboard does for ISP orders goes through these same endpoints.
- Base URL
https://proxylabs.app/api/reseller/v1- Authentication
Authorization: Bearer <key>- Format
- JSON over HTTPS. Money is in pence (GBP). Times are UTC, ISO 8601.
- Orders
- Run for 30 days and are paid from your reseller balance.
- Rate limit
- 60 requests a minute per account.
- OpenAPI
- openapi.json, version 1.1.0
Pricing
What you pay us per IP for 30 days. It depends only on how many IPs you hold. Amounts in the API are the same prices in pence.
| IPs you hold | Price per IP for 30 days | In the API |
|---|---|---|
| 1 to 99 IPs | £0.84 | 84 |
| 100 to 249 IPs | £0.82 | 82 |
| 250 to 499 IPs | £0.81 | 81 |
| 500 to 999 IPs | £0.79 | 79 |
| 1,000 to 1,999 IPs | £0.78 | 78 |
| 2,000 or more IPs | £0.76 | 76 |
- One price list for every location, in pounds, per IP for 30 days. Bandwidth is unmetered and there is no minimum order.
- Your bracket is the number of IPs on your running plans plus the order you are placing, so an order that takes you into a bracket is already charged that bracket's price.
- A renewal is charged the price of the bracket you are in on the day you renew.
- Volume is the only thing that changes the price. There are no discount codes for reseller orders.
- Some accounts have a negotiated fixed price instead of the volume ladder.
GET /accountshows it asflat_price(with the locations it covers, orall), andGET /quoteandGET /locationsalways give the price you will actually pay. GET /quotegives the exact price of an order before you place it, andGET /locationsgives the price of one more IP. If our own cost for a location rises, those two show the price you will actually pay, which can be above this list.
Mobile data is £1.50 per GB for resellers. It is bought in the dashboard, not through this API.
Quick start
You need an approved reseller account with balance on it, and an API key from the API view of your reseller dashboard. A key is shown once, so store it as a secret on your server. Never put it in a browser or an app. Open the API view of your dashboard.
- Check your balance.
curl https://proxylabs.app/api/reseller/v1/account \ -H "Authorization: Bearer $PROXYLABS_KEY" - See what you can order and what it costs you.
curl https://proxylabs.app/api/reseller/v1/locations \ -H "Authorization: Bearer $PROXYLABS_KEY" - Place the order. The answer contains the proxies.
curl -X POST https://proxylabs.app/api/reseller/v1/orders \ -H "Authorization: Bearer $PROXYLABS_KEY" \ -H "Idempotency-Key: order-1042" \ -H "Content-Type: application/json" \ -d '{"location":"uk","quantity":2,"username":"yourbrand_jake","name":"Jake, order 1042","expected_total_pence":168}'{ "order_id": "6b0356a950716f33707ccba0", "replayed": false, "plan": { "id": "6b0356a950716f33707ccbab", "name": "Jake, order 1042", "location": "uk", "country": "United Kingdom", "country_code": "GB", "quantity": 2, "price_per_ip_pence": 84, "total_pence": 168, "currency": "GBP", "status": "active", "term_days": 30, "created_at": "2026-11-22T20:55:05.577Z", "expires_at": "2026-12-22T20:55:05.465Z", "renewable": true, "username": "yourbrand_jake", "swaps_left": 1, "proxies": [ "203.0.113.24:11000:yourbrand_jake:8fK2pLm9Xq", "203.0.113.25:11001:yourbrand_jake:8fK2pLm9Xq" ] } } - Give your customer the
proxieslines. Each isip:port:username:passwordand works about ten seconds after the order.
The order workflow
How a store or billing system normally uses the API, from a customer paying you to the plan ending.
- Price it.
GET /quotegives the exact total. Show it to your customer, or check it against what they paid you. - Your customer pays you. Call
POST /orderswith the location, the quantity,expected_total_penceset to the quoted total, and anIdempotency-Keyset to your own order number. Send ausernameif you want your brand in the proxy line. If the price moved in between, nothing is charged and you getprice_changed. - 201: deliver. Store
plan.idandplan.expires_atagainst your customer and send themplan.proxies. - 402 insufficient_balance: top up. Nothing was charged. Add balance in your dashboard and send the same request again, with the same key. Reading
GET /accounton a schedule lets you top up before this happens. - No answer, or a 5xx: send it again with the same key. You get the first order back, never a second one.
- Your customer renews. Read
renewal_quoteonGET /plans/{plan_id}, then callPOST /plans/{plan_id}/renewwithexpected_total_penceset to its total and anIdempotency-Key. The IPs and the login stay the same, and 30 days are added to the current end date. - Your customer leaves. Do nothing. Nothing renews by itself: the plan ends on its
expires_at. It can still be renewed for three days after that. - An IP is blocked, or a password leaked.
POST /plans/{plan_id}/swapreplaces the IPs andPOST /plans/{plan_id}/passwordchanges the password. Send your customer the new lines. - Month end.
GET /transactionslists every charge, refund and top-up, to match against your own records.
To keep plans running without your customers asking, list GET /plans?status=active once a day and renew the ones that end soon and are still paid for on your side.
Authentication
Send your key in the Authorization header of every request. Keys start with plr_.
Authorization: Bearer plr_3f9c…- Make up to five keys in your dashboard, one for each system, so one can be switched off without touching the others.
- A key is shown once when you make it. We store only a fingerprint of it and cannot show it again.
- Revoking a key in the dashboard stops it at once. If reseller access ends, every key stops.
- A key can order and manage plans. It cannot add balance or make other keys: those are done in the dashboard.
Idempotency and retries
Orders and renewals take money from your balance, so they must never happen twice by accident. Send an Idempotency-Key header with each one: any text of your own, up to 120 characters, that names this one purchase. Your own order number is the natural choice.
- The same key sent again returns the first result, with
replayed: true, and charges nothing. - The same key with a different location, quantity or plan answers
idempotency_key_reused. Use a new key for a new purchase. - A request that failed without charging you does not use up its key: fix the cause and send it again with the same key.
- Keys do not expire, and each belongs to your account only.
What to do when a request does not end with a clear answer:
| You got | What happened | What to do |
|---|---|---|
| A timeout or a dropped connection | Unknown | Send the same request with the same key. |
503 unavailable | Nothing was charged | Send the same request with the same key after a few seconds. |
500 server_error | Unknown, and our team has been alerted | Send the same request with the same key. If it keeps answering in_progress, write to us with the request id. |
409 in_progress | The first request is still running | Ask again in a few seconds with the same key. |
202 pending_review | We could not confirm the outcome; your balance is held and our team has been alerted | Stop. Do not send it again. We deliver it or return the balance. |
402 insufficient_balance, or another error that charged nothing | Nothing was charged | Fix the cause and send the request again. The same key is fine: a failed request does not use it up. |
Reading requests (GET) can always be repeated. Replacing IPs and changing a password are free, so repeating them costs nothing, but each replacement uses one of the plan's swaps_left.
Errors
An error has an HTTP status and a body with a stable code, a message written to be shown to a person, and the request_id. Branch on the code, not on the message.
{
"error": {
"code": "insufficient_balance",
"message": "Your balance does not cover this order (£1.68). Add balance and try again.",
"request_id": "req_5f3c9a1e7b2d4c60"
}
}A request that fails does not cost you anything: where balance was taken and the order then could not be delivered, it is returned before the answer is sent. The two answers that do not settle it on the spot, pending_review and server_error, both alert our team. Idempotency and retries says what to do.
| Code | HTTP | What it means | What to do |
|---|---|---|---|
unauthorized | 401 | No API key was sent. | Send Authorization: Bearer <key>. |
invalid_key | 401 | The key is wrong or was revoked. | Make a new key in your dashboard. |
not_a_reseller | 403 | The account is not an approved reseller. | Apply, or contact us if access was removed. |
dashboard_only | 403 | Adding balance and managing keys are done in the dashboard, not with a key. | Use the reseller dashboard. |
rate_limited | 429 | More than 60 requests in a minute. | Wait the number of seconds in Retry-After. |
invalid_json | 400 | The body is not a JSON object. | Fix the request. |
too_large | 413 | The body is larger than 8,000 characters. | Fix the request. |
invalid_request | 400 | A required field is missing. | Fix the request. |
invalid_quantity | 400 | The quantity is not a whole number from 1 to 2,000. | Fix the request. |
invalid_username | 400 | The proxy username breaks the rules. | Use 3 to 24 lowercase letters, digits and underscores, starting with a letter. |
invalid_name | 400 | The label is empty or longer than 50 characters. | Shorten it. |
invalid_idempotency_key | 400 | The key is longer than 120 characters. | Use a shorter key. |
price_changed | 409 | The price differs from the expected_total_pence you sent. Nothing was charged. The message gives the new price. | Quote again, and send the new total if you accept it. |
insufficient_balance | 402 | Your balance does not cover the total. Nothing was charged. | Add balance in your dashboard, then send the same request again. The same Idempotency-Key is fine. |
not_found | 404 | No such order, plan or endpoint on your account. | Check the id and the path. |
unknown_location | 404 | The location is not on sale. | Use an id from GET /locations. |
method_not_allowed | 405 | The path exists but not with that method. | Check the method. |
out_of_stock | 409 | The location cannot fill that quantity now. | Order fewer, or another location. max_quantity says how many fit. |
username_taken | 409 | The proxy username belongs to another plan. | Choose another, or omit it. |
idempotency_key_reused | 409 | The key was already used for a different request. | Use a new key for a new order or renewal. |
in_progress | 409 | The same request is still running. | Ask again in a few seconds with the same key. |
order_failed | 409 | Rare: two retries of a failed request arrived together. Nothing was charged. | Send it again. |
not_placed | 409 | The order could not be delivered. Nothing was charged. Can also arrive with HTTP 500 or 503. | Try again in a moment. |
not_renewable | 409 | The plan ended more than three days ago. | Place a new order. |
ips_released | 409 | The plan had ended and its IPs are no longer free. Nothing was charged. | Place a new order. |
not_renewed | 409 | The renewal could not be made. Nothing was charged. | Try again in a moment. |
expired | 409 | The plan has ended. | Renew it first. |
swap_limit | 409 | The plan has used its IP replacements for this term. | They reset when the plan is renewed. |
not_swapped | 502 | The IPs could not be replaced. Nothing changed. | Try again in a moment. |
not_changed | 502 | The password could not be changed. Nothing changed. | Try again in a moment. |
pending_review | 202 | We could not confirm the outcome and are checking it by hand. Your balance is held for it. | Do not send it again. We will deliver it or return the balance. |
unavailable | 503 | Ordering is paused or temporarily unavailable. Nothing was charged. A location that cannot be renewed answers with HTTP 409. | Try again shortly. |
server_error | 500 | Something went wrong on our side, and our team has been alerted. | If it was an order or a renewal, send it again with the same Idempotency-Key. If that keeps answering in_progress, write to us with the request_id. |
Lists and paging
Lists are newest first and return 25 items unless you ask for another limit, up to 100. Each answer has has_more and next_after. While has_more is true, ask again with after set to next_after.
curl "https://proxylabs.app/api/reseller/v1/plans?status=active&limit=100&after=6b0356a950716f33707ccbab" \
-H "Authorization: Bearer $PROXYLABS_KEY"Rate limits and request ids
Each account can make 60 requests a minute across all its keys. Every answer says where you stand:
| Header | What it is |
|---|---|
X-RateLimit-Limit | Requests allowed per minute. |
X-RateLimit-Remaining | Requests left in the current minute. |
X-RateLimit-Reset | Seconds until the count starts again. |
Retry-After | On a 429 only: seconds to wait. |
X-Request-Id | The id of this request. It is also in the body of an error. |
If something looks wrong, send the X-Request-Id to [email protected] and we can find exactly that request.
Plans and orders
An order is a purchase: a new set of IPs, or a renewal. A delivered order creates or extends a plan, which is one customer's proxies: one username and password for all its IPs.
A plan
| Field | What it is |
|---|---|
id | The plan's id. |
name | Your label for it. |
location | The location id it was ordered in. |
country, country_code | The country, and the carrier in brackets where the location has one. |
quantity | How many IPs. |
price_per_ip_pence, total_pence | What the current term cost, per IP and in total. |
status | active while it runs, expired after expires_at. |
created_at, expires_at | When it was ordered and when the current term ends (UTC). |
renewable | Whether it can be renewed now. |
username | The proxy username. |
swaps_left | IP replacements left this term, or null if not known. |
proxies | One ip:port:username:password line per IP. Left out of lists. |
An order
| Field | What it is |
|---|---|
id | The order's id. |
kind | create for a new order, renew for a renewal. |
status | pending, delivered, failed or review (see order states). |
location, quantity | What was ordered. |
price_per_ip_pence, total_pence | The price it was placed at. |
charged | Whether its total is currently taken from your balance. |
plan_id | The plan it created or renewed, once delivered. |
name, username | The label and proxy username sent with a new order. |
idempotency_key | The key it was placed with, if any. |
created_at | When it was placed (UTC). |
Order states
| Status | What it means |
|---|---|
pending | Being placed. This lasts a few seconds. |
delivered | Done: the plan exists and the total was taken from your balance. |
failed | Not delivered. Nothing is taken from your balance. |
review | We could not confirm the outcome and are checking it by hand. Your balance is held for it. Do not place it again. |
What the API does not do
- Adding balance is done by card or crypto in your dashboard, from £10 to £5,000 at a time. Balance cannot be withdrawn.
- Making and revoking keys is done in your dashboard.
- Mobile data is bought in your dashboard at the reseller price. It is not in the API yet.
- Periods other than 30 days are not offered yet.
- Renewing by itself. A plan ends unless you renew it. There are no webhooks: read
expires_at.
New fields and endpoints can be added to version 1 at any time, so ignore fields you do not know. A change that would break an existing integration gets a new version in the path.
Account
Your balance, your price bracket and every movement of your balance.
Your account
GET/account
Your balance, how many IPs you hold, the price bracket that puts you in, and how far the next one is. Check balance_pence before a large order.
Request
curl https://proxylabs.app/api/reseller/v1/account \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"email": "[email protected]",
"currency": "GBP",
"balance_pence": 25000,
"held_ips": 40,
"term_days": 30,
"bracket": {
"from": 1,
"to": 99,
"label": "1 to 99 IPs"
},
"next_bracket": {
"from": 100,
"ips_to_go": 60,
"price_per_ip_pence": 82
},
"flat_price": null
}Balance history
GET/transactions
Every movement of your balance, newest first: what each order and renewal took, what was returned, and each top-up. Use it to reconcile your own books.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
type | Query | string | Optional | Only movements of this type. One of charge, refund, top_up, credit, reversal. |
limit | Query | integer | Optional | How many to return, 1 to 100. 25 if omitted. |
after | Query | string | Optional | The next_after value of the previous page, to get the next one. |
Request
curl https://proxylabs.app/api/reseller/v1/transactions \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"transactions": [
{
"id": "6b0356a950716f33707ccba4",
"type": "charge",
"amount_pence": 168,
"balance_after_pence": 24832,
"description": "Reseller order 6b0356a950716f33707ccba0: 2 × United Kingdom",
"created_at": "2026-11-22T20:55:05.240Z"
},
{
"id": "6b03559050716f33707ccb11",
"type": "top_up",
"amount_pence": 25000,
"balance_after_pence": 25000,
"description": "Balance top-up",
"created_at": "2026-11-22T20:40:12.000Z"
}
],
"has_more": false,
"next_after": null
}Catalogue
What you can order, what it costs you right now, and whether a proxy username is free.
Locations
GET/locations
Every location you can order, whether it is in stock, the most one order can take, and what one more IP costs you right now. A location's id is what you send as location when ordering.
Request
curl https://proxylabs.app/api/reseller/v1/locations \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"term_days": 30,
"currency": "GBP",
"held_ips": 40,
"locations": [
{
"id": "uk",
"country": "United Kingdom",
"country_code": "GB",
"network": null,
"name": "United Kingdom",
"in_stock": true,
"max_quantity": 450,
"price_per_ip_pence": 84
},
{
"id": "us-cox",
"country": "United States",
"country_code": "US",
"network": "Cox",
"name": "United States (Cox)",
"in_stock": true,
"max_quantity": 2000,
"price_per_ip_pence": 84
}
]
}Price an order
GET/quote
Exactly what an order would cost, without placing it. The order's own IPs count towards your bracket, so a large order can be priced in a cheaper bracket than the one you are in.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
location | Query | string | Required | A location id from GET /locations. |
quantity | Query | integer | Required | How many IPs, from 1 to the location's max_quantity. |
Request
curl https://proxylabs.app/api/reseller/v1/quote?location=uk&quantity=60 \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"location": "uk",
"quantity": 60,
"term_days": 30,
"currency": "GBP",
"price_per_ip_pence": 82,
"total_pence": 4920,
"held_ips_after": 100,
"bracket": "100 to 249 IPs",
"flat_price": false
}Errors
| Code | HTTP | What it means |
|---|---|---|
invalid_quantity | 400 | The quantity is not a whole number from 1 to 2,000. |
unknown_location | 404 | The location is not on sale. |
out_of_stock | 409 | The location cannot fill that quantity now. |
Check a proxy username
GET/usernames/{username}
Whether a proxy username can be used for a new order. Usernames are 3 to 24 lowercase letters, digits and underscores, starting with a letter, and each belongs to one plan.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
username | Path | string | Required | The username to check. |
Request
curl https://proxylabs.app/api/reseller/v1/usernames/yourbrand_jake \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"username": "yourbrand_jake",
"available": true
}- A username that cannot be used answers 200 with
available: falseand areason.
Orders
Place an order and look orders up. An order that is delivered creates a plan.
Place an order
POST/ordersPaid from your balance
Buys IPs for one customer for 30 days. The total is taken from your balance and the proxies are in the answer. If the order cannot be delivered, the balance is returned before the answer is sent.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
Idempotency-Key | Header | string | Optional | Your own reference for this request, up to 120 characters. Sending the same key again returns the first result and never charges twice. Send one with every order and renewal. |
location | Body | string | Required | A location id from GET /locations. |
quantity | Body | integer | Required | How many IPs. |
username | Body | string | Optional | The proxy username your customer will see. Omit it for a random neutral one (isp and ten letters). |
name | Body | string | Optional | Your own label for the plan, up to 50 characters. Only you see it. |
expected_total_pence | Body | integer | Optional | The total you showed your customer or expect to pay, in pence: total_pence from GET /quote. If the price has changed since (your bracket moved, or our cost for the location rose), nothing is charged and the answer is price_changed. Recommended. |
Request
curl -X POST https://proxylabs.app/api/reseller/v1/orders \
-H "Authorization: Bearer $PROXYLABS_KEY" \
-H "Idempotency-Key: order-1042" \
-H "Content-Type: application/json" \
-d '{"location":"uk","quantity":2,"username":"yourbrand_jake","name":"Jake, order 1042","expected_total_pence":168}'Answer, 201
{
"order_id": "6b0356a950716f33707ccba0",
"replayed": false,
"plan": {
"id": "6b0356a950716f33707ccbab",
"name": "Jake, order 1042",
"location": "uk",
"country": "United Kingdom",
"country_code": "GB",
"quantity": 2,
"price_per_ip_pence": 84,
"total_pence": 168,
"currency": "GBP",
"status": "active",
"term_days": 30,
"created_at": "2026-11-22T20:55:05.577Z",
"expires_at": "2026-12-22T20:55:05.465Z",
"renewable": true,
"username": "yourbrand_jake",
"swaps_left": 1,
"proxies": [
"203.0.113.24:11000:yourbrand_jake:8fK2pLm9Xq",
"203.0.113.25:11001:yourbrand_jake:8fK2pLm9Xq"
]
}
}- 201 is a new order. 200 with
replayed: trueis the same order returned again for a repeated Idempotency-Key. - New proxies need about ten seconds before their first use.
Errors
| Code | HTTP | What it means |
|---|---|---|
invalid_request | 400 | A required field is missing. |
invalid_quantity | 400 | The quantity is not a whole number from 1 to 2,000. |
unknown_location | 404 | The location is not on sale. |
out_of_stock | 409 | The location cannot fill that quantity now. |
invalid_username | 400 | The proxy username breaks the rules. |
username_taken | 409 | The proxy username belongs to another plan. |
invalid_name | 400 | The label is empty or longer than 50 characters. |
insufficient_balance | 402 | Your balance does not cover the total. Nothing was charged. |
price_changed | 409 | The price differs from the expected_total_pence you sent. Nothing was charged. The message gives the new price. |
invalid_idempotency_key | 400 | The key is longer than 120 characters. |
idempotency_key_reused | 409 | The key was already used for a different request. |
in_progress | 409 | The same request is still running. |
order_failed | 409 | Rare: two retries of a failed request arrived together. Nothing was charged. |
pending_review | 202 | We could not confirm the outcome and are checking it by hand. Your balance is held for it. |
not_placed | 409 | The order could not be delivered. Nothing was charged. Can also arrive with HTTP 500 or 503. |
unavailable | 503 | Ordering is paused or temporarily unavailable. Nothing was charged. A location that cannot be renewed answers with HTTP 409. |
List orders
GET/orders
Your orders and renewals, newest first.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
status | Query | string | Optional | Only orders in this state. One of pending, delivered, failed, review. |
kind | Query | string | Optional | create for new orders, renew for renewals. One of create, renew. |
limit | Query | integer | Optional | How many to return, 1 to 100. 25 if omitted. |
after | Query | string | Optional | The next_after value of the previous page, to get the next one. |
Request
curl https://proxylabs.app/api/reseller/v1/orders \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"orders": [
{
"id": "6b0356a950716f33707ccba0",
"kind": "create",
"status": "delivered",
"location": "uk",
"quantity": 2,
"price_per_ip_pence": 84,
"total_pence": 168,
"currency": "GBP",
"charged": true,
"plan_id": "6b0356a950716f33707ccbab",
"name": "Jake, order 1042",
"username": "yourbrand_jake",
"idempotency_key": "order-1042",
"created_at": "2026-11-22T20:55:05.101Z"
}
],
"has_more": false,
"next_after": null
}Get an order
GET/orders/{order_id}
One order or renewal. charged is true while its total is taken from your balance, and false if it was never taken or has been returned.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
order_id | Path | string | Required | The order's id. |
Request
curl https://proxylabs.app/api/reseller/v1/orders/6b0356a950716f33707ccba0 \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"id": "6b0356a950716f33707ccba0",
"kind": "create",
"status": "delivered",
"location": "uk",
"quantity": 2,
"price_per_ip_pence": 84,
"total_pence": 168,
"currency": "GBP",
"charged": true,
"plan_id": "6b0356a950716f33707ccbab",
"name": "Jake, order 1042",
"username": "yourbrand_jake",
"idempotency_key": "order-1042",
"created_at": "2026-11-22T20:55:05.101Z"
}Plans
A plan is one customer's proxies: one login for all its IPs, running for 30 days at a time.
List plans
GET/plans
Your plans, newest first, without their proxies. Filter by username to find one customer's plan.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
status | Query | string | Optional | Only plans that are running, or only plans that have ended. One of active, expired. |
username | Query | string | Optional | Only the plan with exactly this proxy username. |
limit | Query | integer | Optional | How many to return, 1 to 100. 25 if omitted. |
after | Query | string | Optional | The next_after value of the previous page, to get the next one. |
Request
curl https://proxylabs.app/api/reseller/v1/plans \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"plans": [
{
"id": "6b0356a950716f33707ccbab",
"name": "Jake, order 1042",
"location": "uk",
"country": "United Kingdom",
"country_code": "GB",
"quantity": 2,
"price_per_ip_pence": 84,
"total_pence": 168,
"currency": "GBP",
"status": "active",
"term_days": 30,
"created_at": "2026-11-22T20:55:05.577Z",
"expires_at": "2026-12-22T20:55:05.465Z",
"renewable": true,
"username": "yourbrand_jake",
"swaps_left": 1
}
],
"has_more": false,
"next_after": null
}Get a plan
GET/plans/{plan_id}
One plan with its proxies and what renewing it would cost right now.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
plan_id | Path | string | Required | The plan's id. |
Request
curl https://proxylabs.app/api/reseller/v1/plans/6b0356a950716f33707ccbab \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"id": "6b0356a950716f33707ccbab",
"name": "Jake, order 1042",
"location": "uk",
"country": "United Kingdom",
"country_code": "GB",
"quantity": 2,
"price_per_ip_pence": 84,
"total_pence": 168,
"currency": "GBP",
"status": "active",
"term_days": 30,
"created_at": "2026-11-22T20:55:05.577Z",
"expires_at": "2026-12-22T20:55:05.465Z",
"renewable": true,
"username": "yourbrand_jake",
"swaps_left": 1,
"proxies": [
"203.0.113.24:11000:yourbrand_jake:8fK2pLm9Xq",
"203.0.113.25:11001:yourbrand_jake:8fK2pLm9Xq"
],
"renewal_quote": {
"price_per_ip_pence": 84,
"total_pence": 168
}
}renewal_quoteis null when the plan can no longer be renewed.
Get a plan's proxies
GET/plans/{plan_id}/proxies
Only the proxy list, ready to hand to your customer: as JSON, or as plain text with one proxy per line.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
plan_id | Path | string | Required | The plan's id. |
format | Query | string | Optional | json (default) or txt for plain text, one proxy per line. One of json, txt. |
style | Query | string | Optional | colon (default) is ip:port:username:password. url is username:password@ip:port. One of colon, url. |
Request
curl https://proxylabs.app/api/reseller/v1/plans/6b0356a950716f33707ccbab/proxies \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"plan_id": "6b0356a950716f33707ccbab",
"username": "yourbrand_jake",
"count": 2,
"style": "colon",
"proxies": [
"203.0.113.24:11000:yourbrand_jake:8fK2pLm9Xq",
"203.0.113.25:11001:yourbrand_jake:8fK2pLm9Xq"
]
}Rename a plan
PATCH/plans/{plan_id}
Changes your own label for the plan. Nothing your customer uses changes.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
plan_id | Path | string | Required | The plan's id. |
name | Body | string | Required | The new label, 1 to 50 characters. |
Request
curl -X PATCH https://proxylabs.app/api/reseller/v1/plans/6b0356a950716f33707ccbab \
-H "Authorization: Bearer $PROXYLABS_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Jake, order 1042 (renewed)"}'Answer, 200
{
"id": "6b0356a950716f33707ccbab",
"name": "Jake, order 1042 (renewed)",
"location": "uk",
"country": "United Kingdom",
"country_code": "GB",
"quantity": 2,
"price_per_ip_pence": 84,
"total_pence": 168,
"currency": "GBP",
"status": "active",
"term_days": 30,
"created_at": "2026-11-22T20:55:05.577Z",
"expires_at": "2026-12-22T20:55:05.465Z",
"renewable": true,
"username": "yourbrand_jake",
"swaps_left": 1,
"proxies": [
"203.0.113.24:11000:yourbrand_jake:8fK2pLm9Xq",
"203.0.113.25:11001:yourbrand_jake:8fK2pLm9Xq"
]
}Errors
| Code | HTTP | What it means |
|---|---|---|
invalid_name | 400 | The label is empty or longer than 50 characters. |
Renew a plan
POST/plans/{plan_id}/renewPaid from your balance
Adds 30 days to the plan, paid from your balance at today's price for your bracket. The 30 days are added to the current end date, so renewing early loses nothing. The IPs and the login stay the same. A plan can be renewed until three days after it ends.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
plan_id | Path | string | Required | The plan's id. |
Idempotency-Key | Header | string | Optional | Your own reference for this request, up to 120 characters. Sending the same key again returns the first result and never charges twice. Send one with every order and renewal. |
expected_total_pence | Body | integer | Optional | The renewal total you expect, in pence: renewal_quote.total_pence from GET /plans/{plan_id}. If today's price differs, nothing is charged and the answer is price_changed. Recommended. |
Request
curl -X POST https://proxylabs.app/api/reseller/v1/plans/6b0356a950716f33707ccbab/renew \
-H "Authorization: Bearer $PROXYLABS_KEY" \
-H "Idempotency-Key: order-1042" \
-H "Content-Type: application/json" \
-d '{"expected_total_pence":168}'Answer, 200
{
"id": "6b0356a950716f33707ccbab",
"name": "Jake, order 1042",
"location": "uk",
"country": "United Kingdom",
"country_code": "GB",
"quantity": 2,
"price_per_ip_pence": 84,
"total_pence": 168,
"currency": "GBP",
"status": "active",
"term_days": 30,
"created_at": "2026-11-22T20:55:05.577Z",
"expires_at": "2027-01-21T20:55:05.465Z",
"renewable": true,
"username": "yourbrand_jake",
"swaps_left": 1,
"proxies": [
"203.0.113.24:11000:yourbrand_jake:8fK2pLm9Xq",
"203.0.113.25:11001:yourbrand_jake:8fK2pLm9Xq"
],
"order_id": "6b0412aa50716f33707cd001",
"replayed": false
}- Nothing renews by itself. A plan you do not renew ends on its
expires_at.
Errors
| Code | HTTP | What it means |
|---|---|---|
insufficient_balance | 402 | Your balance does not cover the total. Nothing was charged. |
price_changed | 409 | The price differs from the expected_total_pence you sent. Nothing was charged. The message gives the new price. |
not_renewable | 409 | The plan ended more than three days ago. |
ips_released | 409 | The plan had ended and its IPs are no longer free. Nothing was charged. |
not_renewed | 409 | The renewal could not be made. Nothing was charged. |
in_progress | 409 | The same request is still running. |
pending_review | 202 | We could not confirm the outcome and are checking it by hand. Your balance is held for it. |
order_failed | 409 | Rare: two retries of a failed request arrived together. Nothing was charged. |
invalid_idempotency_key | 400 | The key is longer than 120 characters. |
idempotency_key_reused | 409 | The key was already used for a different request. |
unavailable | 503 | Ordering is paused or temporarily unavailable. Nothing was charged. A location that cannot be renewed answers with HTTP 409. |
Replace a plan's IPs
POST/plans/{plan_id}/swap
Replaces every IP on the plan with a new one from the same location. The login stays the same. Free, and limited per term: swaps_left says how many are left, and renewing resets it.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
plan_id | Path | string | Required | The plan's id. |
Request
curl -X POST https://proxylabs.app/api/reseller/v1/plans/6b0356a950716f33707ccbab/swap \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"id": "6b0356a950716f33707ccbab",
"name": "Jake, order 1042",
"location": "uk",
"country": "United Kingdom",
"country_code": "GB",
"quantity": 2,
"price_per_ip_pence": 84,
"total_pence": 168,
"currency": "GBP",
"status": "active",
"term_days": 30,
"created_at": "2026-11-22T20:55:05.577Z",
"expires_at": "2026-12-22T20:55:05.465Z",
"renewable": true,
"username": "yourbrand_jake",
"swaps_left": 0,
"proxies": [
"203.0.113.90:11000:yourbrand_jake:8fK2pLm9Xq",
"203.0.113.91:11001:yourbrand_jake:8fK2pLm9Xq"
]
}- The new IPs need about ten seconds before their first use. The old ones stop working.
Errors
| Code | HTTP | What it means |
|---|---|---|
expired | 409 | The plan has ended. |
swap_limit | 409 | The plan has used its IP replacements for this term. |
not_swapped | 502 | The IPs could not be replaced. Nothing changed. |
Change a plan's password
POST/plans/{plan_id}/password
Gives the plan a new random password. The IPs and the username stay the same, and the old password stops working.
Parameters
| Name | Where | Type | What it is | |
|---|---|---|---|---|
plan_id | Path | string | Required | The plan's id. |
Request
curl -X POST https://proxylabs.app/api/reseller/v1/plans/6b0356a950716f33707ccbab/password \
-H "Authorization: Bearer $PROXYLABS_KEY"Answer, 200
{
"id": "6b0356a950716f33707ccbab",
"name": "Jake, order 1042",
"location": "uk",
"country": "United Kingdom",
"country_code": "GB",
"quantity": 2,
"price_per_ip_pence": 84,
"total_pence": 168,
"currency": "GBP",
"status": "active",
"term_days": 30,
"created_at": "2026-11-22T20:55:05.577Z",
"expires_at": "2026-12-22T20:55:05.465Z",
"renewable": true,
"username": "yourbrand_jake",
"swaps_left": 1,
"proxies": [
"203.0.113.24:11000:yourbrand_jake:Qm4tZx81Lp",
"203.0.113.25:11001:yourbrand_jake:Qm4tZx81Lp"
]
}- The new password needs about ten seconds before it works.
Errors
| Code | HTTP | What it means |
|---|---|---|
expired | 409 | The plan has ended. |
not_changed | 502 | The password could not be changed. Nothing changed. |