Pay-per-GB Proxy Pool Credential via x402
One USDC payment buys a metered Pool Gateway credential for every country in its tier. Pick modems or peers, set rotation in the username, top up by GB.
By Proxies.sx Team. Reviewed .
The x402 pool purchase returns one pak_ credential for the Pool Gateway at gw.proxies.sx. It is metered per GB and capped at what you paid, it routes to every country in the tier you bought, and you change country, session and rotation by editing the username, with no new purchase. Choose the mbl tier for carrier modems we operate or the peer tier for our flagship network of mobile and residential peers. The credential lasts 30 days by default, and you can add GB at any time with a paid top-up.
Read live x402 pool pricingNo key or payment needed.
In this guide
What the credential is
A pool purchase creates a Pool Gateway access key with a GB cap equal to the traffic you paid for. The response gives it to you in ready-to-use form: proxy.host is gw.proxies.sx, proxy.httpPort is 7000, proxy.username is a routing string, proxy.password is the pak_ secret and proxy.http is the full proxy URL. Bytes are metered per connection, so you pay for the traffic you carry and not for time.
The full terminal purchase is in the curl quickstart.
mbl or peer: choosing a tier
| Tier | What it is | IP types |
|---|---|---|
mbl (the default) | Carrier modems that Proxies.sx operates | mobile |
peer | Our flagship network of mobile and residential peers. The gateway probes peers and routes around those that stop answering. | mobile and residential, plus endpoints listed as datacenter or unknown |
Both tiers have the same price. Set the tier with tier=mbl or tier=peer in the purchase request. A credential is bound to the tier it was bought for.
Countries: read live stock, not a list
The countries a tier serves change as devices come online, so no page should hard-code them. Read /v1/gateway/pool/stock before you choose a country. It needs no key and returns counts per country only. For a country or a volume you need that is not listed yet, contact us: we bring devices online for the order.
Changing country later is a username edit. The usernameTemplate in the response shows where the country goes, and the username builder assembles the string.
Rotation and sessions in the username
Rotation is chosen per connection by the username, not by the purchase. rot takes sticky, hard, auto5, auto10, auto20, auto60 or ondemand, and sid takes 8 to 64 characters from a-z, 0-9 and _. Two rules prevent most surprises:
stickyand theautomodes need asid. Without one, each connection gets a new session and nothing sticks.- On a carrier modem,
stickypins the modem, not the IP address. Carriers can re-assign their exit addresses on their own schedule.hardpins the same way assticky.
Read rotating versus sticky for the trade-offs.
Caps, expiry and auto-suspend
The credential stops carrying traffic when it reaches its GB cap or its expiry, and credit.enabled becomes false. The default lifetime is 30 days from purchase; pass duration in seconds to ask for another lifetime and check credit.expiresAt in the response. A request through a suspended credential is refused by the gateway; the gateway error codes explain each refusal. A top-up re-enables a credential that stopped at its cap.
Top up, regenerate and read usage
Every management call takes the session token in the X-Session-Token header. A missing or wrong token answers 401 invalid or expired session token (the dedicated-port routes say Missing X-Session-Token header or Invalid session token or session expired, also 401).
| Call | What it does |
|---|---|
GET /v1/x402/manage/pool/credit | GB bought, used and remaining, the expiry and whether the credential is enabled |
GET /v1/x402/manage/pool/connection | The host, port, username and password again |
GET /v1/x402/manage/pool/usage | Traffic per day |
POST /v1/x402/manage/pool/regenerate | A new password, for example after a leak (3 per hour) |
POST /v1/x402/manage/pool/topup | Add GB with addTrafficGB, paid the same way as the purchase. Adding only time with addDurationSeconds is free. |
A paid top-up first answers 402 with the amount to pay. Send that USDC, then repeat the call with Payment-Signature. Each top-up transaction is accepted once.
TOKEN='<x402s_SESSION_TOKEN>'
curl -s https://api.proxies.sx/v1/x402/manage/pool/credit -H "X-Session-Token: $TOKEN" | jq .
# add 2 GB: the first call answers 402 with the amount, then pay and repeat it with the proof
curl -s -X POST https://api.proxies.sx/v1/x402/manage/pool/topup \
-H "X-Session-Token: $TOKEN" -H 'Content-Type: application/json' \
-d '{"addTrafficGB":2}'Volume steps in the quote
Pool quotes apply volume steps to whole-GB amounts in one purchase: $4.00 per GB below 25 GB, $3.60 from 25 GB, $3.20 from 50 GB, $2.80 from 100 GB and $2.40 from 250 GB. The steps are listed in volumeDiscounts at /v1/x402/pool/pricing. A fractional amount that falls between two ranges, such as 49.5 GB, is quoted at $4.00 per GB today, so buy whole GB to get a step. One purchase is 0.1 to 1000 GB. The amount in the 402 quote is always the price.
curl -s 'https://api.proxies.sx/v1/x402/pool?tier=peer&traffic=25' | jq -r .descriptionCommon questions
Do I need a new purchase for each country?
No. One credential routes to every country in its tier. Change the country in the username and keep the same password.
Is the peer tier only residential?
No. It is our flagship network of mobile and residential peers. The quote lists the IP types each tier can carry.
What happens when the GB run out?
The credential suspends itself and the gateway refuses new requests. A paid top-up adds GB to the same credential, so your configuration keeps working.
Sources and test scope
Quotes, prices and response fields on these pages were read from the live API without payment on 30 November 2026, and the error texts come from the backend build running that day. The wallet account examples follow the source of that build, and their signing commands were checked offline against its verification code. Standards and third-party documentation were checked the same day. These pages do not establish current stock in a country.
Next steps
The x402 overview lists every endpoint. The wallet account recipe gives both purchase paths step by step: x402 direct, and signing in with the paying wallet. Agents can read the machine contracts directly: skill.md for the whole service, pool/skill.md for the Pool Gateway and marketplace/skill.md for the dedicated port. The MCP server gives Claude, Cursor and other clients the same tools, and the price list covers account purchases.
x402 guides: buy proxy access with USDC
Start from the x402 overview, or open the guide for the step you are on.