ProxyZen

API documentation

REST API for resellers and developers: buy, fetch and renew proxies from your own code. All prices include your personal discount.

Get an API key

Getting started

  1. Sign up and top up your balance.
  2. Open the “API” section of your dashboard and create a key. The key is shown only once — save it.
  3. Send the key in the header of every request.
Base URL
https://proxyzen.net/api/v1
Authentication
Header Authorization: Bearer <key> (or X-Api-Key: <key>). Responses are JSON. Error message language: ?lang=en|ru parameter or the Accept-Language header.
Limits
120 requests per minute per key. Exceeding it returns 429.
Formats
Amounts are strings in US dollars ("4.50"), dates are ISO 8601 in UTC. Proxy statuses: active — working; grace — expired, the IP is still reserved and can be renewed (48 h); expired — the IP returned to the pool.

Endpoints

GET /api/v1/balance

Account balance and personal discount.

Example
curl https://proxyzen.net/api/v1/balance \
  -H "Authorization: Bearer pz_…"
Response
{"balance": "25.00", "currency": "USD", "discount_percent": "10.00"}

GET /api/v1/countries

Active countries and the number of free IPv4/IPv6.

Example
curl https://proxyzen.net/api/v1/countries -H "Authorization: Bearer pz_…"
Response
{"data": [{"code": "DE", "name": "Germany", "available": {"ipv4": 120, "ipv6": 3000}}]}

GET /api/v1/prices

Price per IP for each period, including your discount.

Parameter
country required ISO country code, e.g. DE
type required ipv4 or ipv6
Example
curl "https://proxyzen.net/api/v1/prices?country=DE&type=ipv4" -H "Authorization: Bearer pz_…"
Response
{"country": "DE", "type": "ipv4", "currency": "USD",
 "data": [{"days": 7, "price": "0.9000"}, {"days": 30, "price": "2.2500"}]}

POST /api/v1/orders

Buy proxies. The amount is charged to your balance, proxies are delivered instantly.

Parameter
country required ISO country code, e.g. DE
type required ipv4 or ipv6
quantity required Number of IPs
days required Period in days (from /prices)
auto_renew optional Auto-renew, true/false
Example
curl -X POST https://proxyzen.net/api/v1/orders \
  -H "Authorization: Bearer pz_…" -H "Content-Type: application/json" \
  -d '{"country":"DE","type":"ipv4","quantity":2,"days":30}'
Response
{"id": 1042, "country": "DE", "type": "ipv4", "quantity": 2, "days": 30,
 "price_per_ip": "2.2500", "total": "4.50", "created_at": "2026-11-26T10:00:00Z",
 "proxies": [{"id": 5001, "order_id": 1042, "country": "DE", "type": "ipv4",
   "host": "5.5.5.5", "ip": "5.5.5.10", "http_port": 30000, "socks5_port": 40000,
   "login": "pzx8k2m1qa", "password": "Xy7…", "status": "active", "auto_renew": false,
   "starts_at": "2026-11-26T10:00:00Z", "expires_at": "2026-12-26T10:00:00Z",
   "renewable_until": "2026-12-28T10:00:00Z"}, …]}

GET /api/v1/orders/{id}

An order and its proxies.

Example
curl https://proxyzen.net/api/v1/orders/1042 -H "Authorization: Bearer pz_…"

GET /api/v1/proxies

Your proxies. Defaults to active and grace. Paginated.

Parameter
status optional active, grace, expired or all
type optional ipv4 or ipv6
country optional ISO country code, e.g. DE
order_id optional Only proxies of this order
per_page optional Items per page, up to 1000 (default 100)
page optional Page number
Example
curl "https://proxyzen.net/api/v1/proxies?status=active&per_page=500" -H "Authorization: Bearer pz_…"
Response
{"data": [ …proxy… ], "meta": {"page": 1, "per_page": 500, "total": 2, "last_page": 1}}

POST /api/v1/proxies/renew

Renew proxies (same IPs) for the given period. One charge for the whole batch.

Parameter
ids required Array of proxy ids
days required Period in days (from /prices)
Example
curl -X POST https://proxyzen.net/api/v1/proxies/renew \
  -H "Authorization: Bearer pz_…" -H "Content-Type: application/json" \
  -d '{"ids":[5001,5002],"days":30}'
Response
{"charged": "4.50", "balance": "20.50", "data": [ …proxy… ]}

POST /api/v1/proxies/{id}/auto-renew

Turn auto-renewal from balance on or off.

Parameter
enabled required true or false
Example
curl -X POST https://proxyzen.net/api/v1/proxies/5001/auto-renew \
  -H "Authorization: Bearer pz_…" -H "Content-Type: application/json" \
  -d '{"enabled":true}'

Errors

On error the API returns an HTTP status and {"error": {"code", "message"}}. Validation errors also include a fields object.

HTTP 402
{"error": {"code": "insufficient_funds", "message": "…"}}
401 unauthorized Missing, invalid or revoked key
403 forbidden API access is disabled
403 account_suspended Account suspended
422 validation_error Invalid parameters (see fields)
402 insufficient_funds Insufficient balance
409 out_of_stock Not enough free IPs
422 invalid_period No price for this period
409 not_renewable Proxy already released, cannot be renewed
404 not_found Object not found
429 rate_limited Rate limit exceeded