- Residential data: a pool of GB based on your own residential purchases. You use it by creating sub-users, which are username and password accounts on our residential proxy, each with its own data limit. You give these to your customers.
- Static proxies: datacenter (shared IPs) and ISP (dedicated IPs). You have a capacity limit for each and take allocations of IPs from it.
Send
Content-Type: application/json with every request that has a body.
You can do all of this in your reseller dashboard too. The API is there so you can automate it.
Where Your Data Comes From
Your residential pool is your own purchased residential data, plus any extra data we grant you.Formula
purchasedBytes: residential data you bought in the dashboard. It stays in sync automatically, so when you buy more, your pool grows.grantedBytes: extra data we add by hand, for example as compensation or an agreed bonus. Your pool works without it.
remainingBytes goes negative to show how much more you have assigned than you bought. There is no “not enough data” error.
Units
This is the most common thing to get wrong:- Data in responses is always in bytes (
dataBytes,remainingBytes,rawUsed). - Data you send is always in GB, with up to two decimals (
0.5,0.01). 1 GB is 1024³ bytes (1,073,741,824). Fractions are stored as whole bytes, so0.01GB becomes10,737,418bytes.
Node.js
Your Account
GET /reseller/account
Returns your pool, where it comes from, and your static proxy capacity.- Node.js
- Python
- cURL
Node.js
Response
Response
To grow your pool, buy residential data in the dashboard. To raise your static proxy capacity, contact your account manager.
Live Usage
AddincludeUsage=true to include live usage from the proxy network:
cURL
Response
retailUsage is null when you have no residential package or its lookup failed. Treat null as “unavailable”, not as zero.
includeUsage=true looks up every sub-user, so the request is noticeably slower. Without it, the endpoint is fast. For usage over time, use Usage History instead, which is served from stored data.Next Steps
- Authentication: your API key, using a dashboard token, and key rotation
- Sub-Users: create, list, change and delete customer accounts
- Static Proxies: allocate and release datacenter and ISP IPs
- Usage History: usage over time
- Proxy Access: how your customers connect
- Targeting Options: countries, states, cities and ASNs you can target
- Error Handling: errors and when to retry