Reseller API
Create, list, top up and delete proxy lines for your customers, and read their usage, with the ProxyFall reseller API.
The reseller API lets your own system make a proxy line for each customer, top it up when they pay you, and read their usage. It's for approved resellers. You can do everything here from the Reseller page of your dashboard too.
Keys and permissions
Make a key in Dashboard → Reseller → API keys. It's shown once; keep it secret. Send it on every request as Authorization: Bearer pfr_…. Give each key only the permissions it needs:
lines:read: List lines, their credentials and what's left.lines:write: Create, rename, suspend and delete lines, move GB between lines and your pool.billing: Top up lines and your pool with GB bought from your balance.usage:read: Traffic per line and day, and the account's balance.
Base URL: https://proxyfall.com/api/reseller/v1. Bodies and answers are JSON. Up to 120 requests a minute per key.
Lines
A line is a proxy login for one of your customers, with its own GB of residential and datacenter traffic. It uses the same proxy formats and username options as any ProxyFall login (country, city, sticky sessions…): the username is the line's username plus the options. With your own proxy address set in the dashboard, host is your name instead of ours.
{
"id": "6f1c2a4e-9d1b-4c55-8a51-2f7d3f0b9a11",
"label": "Customer 1042",
"external_ref": "order-1042",
"status": "active",
"username": "pfk3m9x2qa",
"password": "Q7pXc2mR9tLw4hZa",
"created_at": "2026-11-22T10:15:00.000Z",
"residential": { "purchased_bytes": 5000000000, "used_bytes": 120000000, "remaining_bytes": 4880000000, "remaining_gb": 4.88, "host": "proxy.yourbrand.com", "port": 59731 },
"datacenter": { "purchased_bytes": 0, "used_bytes": 0, "remaining_bytes": 0, "remaining_gb": 0, "host": "dc.yourbrand.com", "port": 59732 }
}Idempotency
Send an Idempotency-Key header (any string up to 100 characters, such as your order number) with POST, PATCH and DELETE requests. A request sent again with the same key answers what the first one did, with the header Idempotent-Replayed: true, and doesn't spend your balance twice. Keys are kept 7 days.
Errors
Errors answer { "error": { "message": "…", "status": 402 } } with the same HTTP status: 401 a missing or revoked key, 402 not enough balance or pool GB, 403 a permission the key doesn't have or a reseller account that isn't active, 404 a line that isn't yours, 409 a conflict (an external_ref already used, the line limit), 422 a body that doesn't fit, 429 too many requests, 503 a product that can't be sold right now.
Endpoints
GET /account
Your balance in cents, the unused GB in your pool, and your wholesale price per GB at a few amounts. Permission: usage:read.
curl https://proxyfall.com/api/reseller/v1/account -H "Authorization: Bearer $KEY"{ "data": { "balance_cents": 12500, "pool": { "residential_bytes": 20000000000, "datacenter_bytes": 0 },
"prices": [ { "product": "residential", "discount_percent": 10, "tiers": [ { "from_gb": 1, "per_gb_cents": 90, "public_per_gb_cents": 99 } ] } ] } }GET /lines
Your lines, newest first. ?limit (up to 500, default 100), ?offset, ?include_deleted=1. Permission: lines:read.
curl "https://proxyfall.com/api/reseller/v1/lines?limit=50" -H "Authorization: Bearer $KEY"{ "data": [ …lines ], "limit": 50, "offset": 0 }POST /lines
Makes a line with its own login. Optionally puts GB on it at once: bought from your balance (whole GB) or moved from your pool. If the GB can't be added, the line isn't kept. Permission: lines:write (and billing to buy GB with it).
{ "label": "Customer 1042", "external_ref": "order-1042", "residential_gb": 5, "source": "balance" }curl -X POST https://proxyfall.com/api/reseller/v1/lines -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-H "Idempotency-Key: order-1042" -d '{ "label": "Customer 1042", "external_ref": "order-1042", "residential_gb": 5 }'{ "data": { …line }, "charged_cents": 450 }GET /lines/{id}
One line with its credentials and what's left. Permission: lines:read.
curl https://proxyfall.com/api/reseller/v1/lines/$LINE -H "Authorization: Bearer $KEY"PATCH /lines/{id}
Renames it, changes external_ref, suspends or resumes it (suspended: true / false), or gives it a new password (new_password: true). Changes reach the proxy gateway within seconds. Permission: lines:write.
{ "suspended": true }curl -X PATCH https://proxyfall.com/api/reseller/v1/lines/$LINE -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{ "new_password": true }'POST /lines/{id}/topup
Adds GB of one product: "balance" buys whole GB at your wholesale price, "pool" moves GB you already bought (fractions allowed, e.g. 0.5). Permission: billing (source balance) or lines:write (source pool).
{ "product": "residential", "gb": 10, "source": "balance" }curl -X POST https://proxyfall.com/api/reseller/v1/lines/$LINE/topup -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-H "Idempotency-Key: topup-7781" -d '{ "product": "residential", "gb": 10 }'{ "data": { …line }, "charged_cents": 900 }POST /lines/{id}/reclaim
Moves unused GB of one product from the line back to your pool: "gb" of them, or all without it. GB, never money. Permission: lines:write.
{ "product": "residential", "gb": 2 }curl -X POST https://proxyfall.com/api/reseller/v1/lines/$LINE/reclaim -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{ "product": "residential" }'{ "data": { …line }, "moved_bytes": 2000000000 }DELETE /lines/{id}
Deletes the line: its unused GB go back to your pool and its login stops working. Its usage history stays. Permission: lines:write.
curl -X DELETE https://proxyfall.com/api/reseller/v1/lines/$LINE -H "Authorization: Bearer $KEY"{ "data": { "id": "…", "deleted": true, "returned_bytes": { "residential": 2880000000, "datacenter": 0 } } }POST /pool
Buys whole GB (1 to 1,000) of one product at your wholesale price into your pool, from your balance. Permission: billing.
{ "product": "datacenter", "gb": 50 }curl -X POST https://proxyfall.com/api/reseller/v1/pool -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{ "product": "datacenter", "gb": 50 }'GET /usage
Traffic per line, product and day (UTC). ?from=2026-11-01&to=2026-11-30 (up to 366 days; the last 30 by default), ?line_id=…, and ?format=csv for a spreadsheet. Permission: usage:read.
curl "https://proxyfall.com/api/reseller/v1/usage?from=2026-11-01&to=2026-11-30&format=csv" -H "Authorization: Bearer $KEY" -o usage.csv{ "data": [ { "date": "2026-11-21", "line_id": "…", "label": "Customer 1042", "external_ref": "order-1042", "product": "residential", "bytes": 734002118 } ], "from": "2026-11-01", "to": "2026-11-30" }Prices
Purchases through the API and the Reseller page use your wholesale price, which GET /account shows. Each purchase appears in your billing history like any other. GB moved between lines and your pool never turn into money.