Sell dedicated 5G mobile proxies under your own brand. Check live stock, purchase, renew, and rotate credentials programmatically, at your wholesale rate, funded from a prepaid wallet.
BASE URL
https://whitecloakproxy.com/api/reseller/v1
01: ACCESS
Authentication
Every request carries your API key in the Authorization header. Keys are issued to approved partners only. Treat yours like a password: anyone holding it can spend your balance. If it leaks, contact us immediately and we'll rotate it. Requests are limited to 60 per minute.
Support: [email protected] and include your request's idempotency_key or charge_id when reporting a payment issue.
HEADER
Authorization: Bearer wcr_your_api_key_here
02: MONEY
Billing model
Prepaid wallet
You pay us off-platform; we credit your wallet. Every purchase and renewal debits it at your agreed rate for the plan being bought.
Prices in cents
Every amount in every response is US cents: 7350 means $73.50. No floats, no surprises.
Fail-safe charges
If your balance can't cover a request it fails with 402 and nothing is charged or provisioned.
Automatic refunds
If provisioning fails on our side after a charge, the failed units are refunded to your wallet automatically.
Each proxy is a dedicated US mobile device, one device to one customer and never shared, reachable over HTTP and SOCKS5 with a shared password, plus a rotation link your systems can call any time for a fresh IP. Every proxy also takes your own login and password, an automatic rotation interval, an IP whitelist and auto-renew. Sold on five plans: 1 day, 3 days, 1 week, 2 weeks or 1 month, and renewable on any of them.
03: REFERENCE
Endpoints
GET/account
Account
Your wallet balance, your rate for every plan, and how many proxies you currently hold.
◆Read your prices from here rather than hardcoding them. price_cents is what you pay; retail_cents is our public price it was derived from.
◆commission_pct is the share of retail you keep: every plan is priced as retail x (100 - commission_pct) / 100, so if our retail moves your rate follows and your margin holds. Fixed-rate accounts have commission_pct: null and one price for all plans.
◆pricing is the rate when a purchase names no carrier. Such an order can be filled from any carrier, so it's priced at the highest carrier rate for that plan. Name a carrier to get the exact rate in pricing_by_carrier.
◆price_per_proxy_cents is kept for older integrations and equals the monthly, any-carrier rate.
◆All prices everywhere in this API are US cents: 7350 means $73.50.
◆Watch balance_cents and top up with us before it runs low; purchases fail cleanly with 402 when it can't cover them.
◆billing_mode is either "wallet" (the default, prepaid balance above) or "card" (pay-per-order, see the Purchase endpoint's card billing note). Card accounts always report balance_cents: null here and add a card block: { "last4": "4113", "brand": "VISA" }.
GET/inventory
Inventory
Live purchasable stock, grouped by carrier and US state. Counts refresh continuously.
◆Always send an idempotency_key (e.g. your internal order ID). If your request times out and you retry with the same key, you get the original result back instead of being charged twice. A retry while the original is still processing returns 409. Wait and retry again.
◆Use a generous HTTP timeout (120s+): provisioning happens live, one device at a time.
◆Store proxy_id. It's the handle for extend and reset-password.
◆failed_count > 0 means some units couldn't be provisioned and were refunded automatically; purchased contains only real, working proxies.
◆duration sets both how long the proxy lasts and what you're charged. See pricing on the Account endpoint. Omit it and you get a 30-day proxy at the monthly rate.
◆Card billing (opt-in): card payments are processed by Intuit Payments Inc. (QuickBooks Payments). Accounts with billing_mode "card" skip the wallet entirely. We send you a one-time save-card link. Card details are entered and tokenized client-side and never touch our servers, and every purchase after that charges the saved card directly, settling instantly. For these accounts balance_cents is always null and the response adds a payment block that doubles as your per-transaction receipt: { "method": "card", "charge_id": "MT1a2b3c4d", "last4": "4113", "paid_at": "<ISO timestamp>", "processed_by": "Intuit Payments Inc." }.
◆Card billing errors (billing_mode "card" only): 402 { "error": "No card on file. Save a card via your setup link before purchasing." } if you haven't saved a card yet; 402 with a card-specific reason (e.g. "Your card was declined. Please try a different card or contact your bank." or "Your card has expired. Please update your card details.") on a definitive decline; 502 { "error": "Payment status unknown, don't retry; contact support before trying again." } if we couldn't confirm the outcome after a timeout, or a plain 5xx if Intuit's payment_unavailable. In either 5xx case, don't retry blindly; contact support first.
◆Card billing partial failures: if some (not all) units fail to provision after a successful card charge, exactly one partial refund is issued automatically. refund_pending_cents plus a warning only appear if that refund itself failed (rare, our team is alerted), the same convention as the wallet path's refund_pending_cents.
GET/proxies
List proxies
Every active (unexpired) proxy you hold, soonest-expiring first. Same unit shape as the purchase response.
◆Poll this daily and renew anything expiring within a day or two, or turn on auto-renew per proxy and let us do it. Expired proxies are released back to the pool and can't be recovered.
◆auto_renew and auto_rotate_minutes show each proxy's current settings, so you can read them back after changing them.
◆extra_ports lists any ports you've added with POST /proxies/ports, in the same shape that endpoint returns. It's [] when there aren't any.
POST/proxies/extend
Extend
Renew one proxy on the plan of your choice. Extending early never loses time: the new period stacks onto the current expiry.
FIELD
TYPE
NOTES
proxy_idREQUIRED
string
From the purchase response or GET /proxies
duration
string
Defaults to the plan the proxy was originally bought on
◆Omit duration and the proxy renews on the same plan your customer already has, so a weekly proxy renews for another week at the weekly rate. Pass one explicitly to move a customer between plans.
◆Send one extend per proxy at a time: if two race, the second is detected, refunded, and answered with 409. Treat that as "already extended" and re-check GET /proxies.
◆A 410 means the proxy already expired and was released, and it can't be brought back.
POST/proxies/reset-password
Reset password
Generate a fresh password for one proxy. HTTP and SOCKS5 both switch within about a second. Use it when handing a proxy to a different end customer.
◆Extra ports you've added with POST /proxies/ports switch to the same new password and keep their usernames. Read GET /proxies/ports for their current logins.
POST/proxies/credentials
Custom login and password
Set your own username and/or password on a proxy instead of the generated ones. Live on HTTP and SOCKS5 within about a second.
FIELD
TYPE
NOTES
proxy_idREQUIRED
string
From the purchase response or GET /proxies
password
string
6–64 characters. Applies to both the HTTP and SOCKS5 port.
◆Send any one field or several. Anything you leave out keeps its current value.
◆Letters, numbers and - _ . ~ only. Anything else breaks user:pass@host URLs and host:port:user:pass lists, so it's refused up front.
◆Usernames are unique across our whole network, so the HTTP and SOCKS5 ports each need their own, and a name someone else already has returns 409. Prefix them with your brand to avoid collisions.
◆If one port accepts the change and the other refuses it, the error response still lists the credentials that are live on each port right now.
◆POST /proxies/reset-password still works afterwards and puts a fresh generated password on both ports.
POST/proxies/auto-rotate
Auto-rotation interval
Rotate a proxy's IP automatically on a timer, from every 2 minutes to once a day.
◆We check every hour and renew anything with auto-renew on that expires in the next 3 hours. Renewing early never loses time, the new period stacks onto the current expiry, same as calling extend yourself.
◆It renews on the plan the proxy is on now, so a weekly proxy renews for another week at your weekly rate. To move a customer to another plan, call extend with that duration once and auto-renew follows from then on.
◆If your balance can't cover a renewal, we retry on every hourly run until the proxy expires. Top up in that window and it still renews. After expiry it's released like any other lapsed proxy.
◆Auto-renew charges your wallet, so watch balance_cents on GET /account the same way you would for manual renewals.
GET/proxies/usage
Usage: IP changes and data
For the last 24 hours, 3 days, 7 days and 30 days: how many times a proxy's IP changed, how many different IPs it got, and how much data went through it.
◆Every IP change counts, whatever caused it: the rotation_url, auto-rotate, or the carrier handing the phone a new IP on its own. It's a count of IP changes, not of rotation requests.
◆Counting starts at counting_from, when the proxy was set up on its current phone. On a new proxy the longer windows start there too, so 7d and 30d can match until the proxy is older than 7 days. Each window's from says where its count starts.
◆unique_ips is lower than ip_changes when the carrier hands back an IP the proxy had earlier in the window.
◆data_usage is in bytes and covers every port on the proxy. download_bytes is traffic coming back to your customer, upload_bytes is what they sent.
GET/proxies/usage/hourly
Usage: one day by the hour
A proxy's data usage for one day, hour by hour, plus when it was online or offline that day. It's the same data as a usage chart, so you can draw one for your customers.
FIELD
TYPE
NOTES
proxy_idREQUIRED
string
Query string parameter
date
string
YYYY-MM-DD. Defaults to today in the tz_offset timezone
tz_offset
integer
Minutes from local time to UTC, like JavaScript's getTimezoneOffset(): 300 for New York in winter, -60 for Berlin. Defaults to 0 (UTC)
IP authorization. Requests from the listed addresses use the proxy's HTTP and SOCKS5 ports with no login. Everyone else still needs the username and password.
FIELD
TYPE
NOTES
proxy_idREQUIRED
string
From the purchase response or GET /proxies
ipsREQUIRED
string[]
Up to 20 IPv4/IPv6 addresses or CIDR ranges. Send [] to switch IP authorization off.
◆This replaces the whole list. To add one address, read the list, append, and send it back.
◆Ranges can't be broader than /16 for IPv4 or /32 for IPv6, since anyone inside a wider range could use the proxy with no password. Loopback, multicast and 0.0.0.0 are refused for the same reason.
◆Blank entries and duplicates are dropped, and the response shows the list as it was saved.
POST/proxies/ports
Extra ports: add
Adds more HTTP or SOCKS5 ports to a proxy you already hold. Every port runs through the same phone, so they all share one IP, rotate together and split the same bandwidth. Use them to run more tools or threads on one IP, not to give one phone to several customers.
◆Extra ports are free. Each proxy can have up to 10 on top of the HTTP and SOCKS5 ports it comes with.
◆Every extra port gets its own username and password, and you can't choose them. POST /proxies/credentials only changes the proxy's original two ports. POST /proxies/reset-password changes every port: extra ports keep their usernames but take the same new password, and GET /proxies/ports shows it straight away.
◆If the proxy has an IP whitelist, new ports copy it. Saving the whitelist again with PUT /proxies/whitelist applies it to every port, extra ones included.
◆Rotating the IP, by rotation_url or auto-rotate, changes it on every port at once.
◆Extra ports are deleted when the proxy expires. Extending the proxy keeps them. If we ever move your proxy to a different phone, its extra ports don't come with it, so check GET /proxies/ports and add them again.
◆409 means the proxy has no room left, isn't active, or expired while the ports were being added. 410 means it's already expired and released.
◆If the server refuses partway through a multi-port request, you get a 502 and ports lists the ones that were added. They're real and working, so don't add them again.
◆The original HTTP and SOCKS5 ports can't be removed, only ones you added.
◆A 502 here means the server didn't confirm the delete. We try to switch the port off straight away, and it's deleted for good when the proxy expires, so there's no need to call this again.
402Wallet accounts: insufficient balance (required_cents included). Card accounts: no card on file, or the card was declined/expired.
403Key deactivated, or purchase would exceed your proxy cap
404proxy_id not found (or not yours)
409Not enough matching stock, duplicate in-flight request, raced extend, or a custom username that's already taken
410Proxy already expired and was released
429Rate limit exceeded (60 requests/minute)
500Something failed on our side; any charge was refunded (or a refund is pending, see refund_pending_cents)
502Card accounts only: payment outcome couldn't be confirmed after a timeout, don't retry; contact support
05: SHIP IT
Recommended integration
1
Show stock
Pull GET /inventory and present purchasable carriers and states to your customers.
2
Sell & deliver
Customer pays on your site → POST /purchase with their chosen carrier/state → hand them the host, ports, username, password, and rotation URL.
3
Renew daily
Turn on auto-renew per proxy, or run a daily job that lists GET /proxies and extends anything expiring soon. A proxy your customer didn't pay for just lapses.
4
Stay funded
Watch GET /account and top up with us before your balance runs low.
BECOME A PARTNER
Need an API key?
Reseller access is invite-only. Tell us about your volume and your audience and we'll set you up with a wholesale rate and a prepaid wallet.