ProxyRise documentation
Complete reference for proxy usage, API endpoints, billing, existing reseller accounts, and datacenter coverage. Everything you need to get started and integrate with your tools.
Reference
Getting started
Go to /register. Complete the Turnstile captcha. You receive an API key and a login token.
Go to /login. Paste your API key, complete Turnstile. A session token is set as a cookie.
Open /dashboard. View your usage, manage sessions, generate proxy strings, and monitor real-time stats.
Use any HTTP/SOCKS client. Use the proxy endpoint shown in your dashboard, your username format, and your API key as the password.
Reference
Proxy types
Choose a proxy type supported by your account. Each type controls the routing and session options.
resres_scres_lsmobdcUse ANY as the country code to get a random location. Use gb or uk interchangeably for United Kingdom (auto-mapped).
Reference
Authentication
Every proxy request requires authentication. Your API key (starts with pgw-) is your password. The username determines the proxy type, country, and routing options.
# HTTP / HTTPS proxy
Proxy-Authorization: Basic base64(username:api_key)
# SOCKS5
username = proxy_username (e.g. res-us)
password = api_key (e.g. pgw-abc123...)
# SOCKS4 / SOCKS4a
userid = username:api_key (e.g. res-us:pgw-abc123...)
# API endpoints (non-proxy)
Header: X-Api-Key: pgw-abc123...
or
Header: Authorization: Bearer <login_token>Reference
Username format
The username controls routing. The password is always your API key.
Basic country targeting
{type}-{country}
res-any # Residential rotating, random country
res-us # Residential rotating, United States
stc-nl # Static ISP, Netherlands
mob-uk # Mobile, United Kingdom
dc-de # Datacenter, GermanySticky session (same IP for multiple requests)
{type}-{country}-sid-{session_id}
res-us-sid-123456789 # Same IP while session is alive
stc-jp-sid-987654321 # Static sticky session
mob-any-sid-123456789 # Mobile sticky session
dc-any-sid-123456789 # Datacenter sticky sessionState / City targeting
{type}_sc-{country}_{city}
{type}_sc-{country}_{state}_{city}
res_sc-nl_amsterdam # Residential, Amsterdam
stc_sc-nl_amsterdam # Static ISP, Amsterdam
res_sc-us_california_losangeles # Residential, LA
res_sc-us_new_york_newyork # Residential, NYC
stc_sc-us_texas_dallas # Static ISP, Dallas
res_sc-us_florida_miami # Residential, MiamiState and city names are lowercase, no spaces. Multi-word names should use underscores (for example: new_york). res_sc / stc_sc targeting is available for a curated list of 38 countries — not the full country list above. Check the dashboard's location picker for the exact supported list.
Long Session ID (LSID)
res-{country}-Lsid-{id}-TTL-{seconds}
res-us-Lsid-875078898-TTL-3600 # Long session, up to 1 hour
res-any-Lsid-123456789-TTL-1800 # Global, 30 minutesUse the LSID checkbox in the proxy generator to create long session strings. Sessions persist for the specified TTL (60–3600 seconds).
ASN targeting
res-{country}-asn-{number}
res-af-asn-55330 # Afghanistan, specific network
res-us-asn-14615 # United States, specific networkTarget a specific ISP or network by ASN number. ASN targeting is country-scoped and cannot be combined with session ID.
Reference
Supported protocols
Use the proxy endpoint shown in your dashboard. The same public endpoint accepts the supported proxy protocols; your client chooses the protocol by URL scheme or proxy settings.
Standard HTTP proxy with CONNECT tunneling for HTTPS sites.
TLS-encrypted connection to the proxy itself. Use --proxy-insecure for self-signed cert.
Full SOCKS5 with username/password auth. Best compatibility.
SOCKS4 protocol. Auth via userid field as username:api_key.
SOCKS4a with remote DNS. Auth same as SOCKS4.
Custom TCP tunnel via WebSocket frames for advanced use cases.
Reference
Code examples
cURL
# Use the proxy endpoint shown in your dashboard as DASHBOARD_PROXY_ENDPOINT.
# HTTP proxy
curl -x "http://res-us:YOUR_API_KEY@DASHBOARD_PROXY_ENDPOINT" \
https://api.ipquery.io/?format=json
# HTTPS proxy (TLS to proxy)
curl --proxy "https://res-us:YOUR_API_KEY@DASHBOARD_PROXY_ENDPOINT" \
--proxy-insecure https://api.ipquery.io/?format=json
# SOCKS5
curl -x "socks5://res-us:YOUR_API_KEY@DASHBOARD_PROXY_ENDPOINT" \
https://api.ipquery.io/?format=json
# Sticky session
curl -x "http://res-us-sid-123456789:YOUR_API_KEY@DASHBOARD_PROXY_ENDPOINT" \
https://api.ipquery.io/?format=json
# State / City
curl -x "http://res_sc-us_california_losangeles:YOUR_API_KEY@DASHBOARD_PROXY_ENDPOINT" \
https://api.ipquery.io/?format=json
# Long session (LSID, 1 hour)
curl -x "http://res-us-Lsid-875078898-TTL-3600:YOUR_API_KEY@DASHBOARD_PROXY_ENDPOINT" \
http://api.ipquery.io/?format=json
# ASN targeting
curl -x "http://res-af-asn-55330:YOUR_API_KEY@DASHBOARD_PROXY_ENDPOINT" \
http://api.ipquery.io/?format=jsonPython (requests)
import requests
API_KEY = "pgw-your-api-key"
PROXY_ENDPOINT = "use-the-endpoint-from-dashboard"
# Rotating residential US
proxies = {
"http": f"http://res-us:{API_KEY}@{PROXY_ENDPOINT}",
"https": f"http://res-us:{API_KEY}@{PROXY_ENDPOINT}",
}
r = requests.get("https://api.ipquery.io/?format=json", proxies=proxies)
print(r.json())
# Sticky session
proxies = {
"http": f"http://res-us-sid-123456789:{API_KEY}@{PROXY_ENDPOINT}",
"https": f"http://res-us-sid-123456789:{API_KEY}@{PROXY_ENDPOINT}",
}
r = requests.get("https://api.ipquery.io/?format=json", proxies=proxies)
print(r.json())Node.js (undici / fetch)
import { ProxyAgent } from "undici";
const API_KEY = "pgw-your-api-key";
const PROXY_ENDPOINT = "use-the-endpoint-from-dashboard";
const agent = new ProxyAgent(
`http://res-us:${API_KEY}@${PROXY_ENDPOINT}`
);
const res = await fetch("https://api.ipquery.io/?format=json", {
dispatcher: agent,
});
console.log(await res.json());Environment variables
export DASHBOARD_PROXY_ENDPOINT="use-the-endpoint-from-dashboard"
export HTTP_PROXY="http://res-us:YOUR_API_KEY@$DASHBOARD_PROXY_ENDPOINT"
export HTTPS_PROXY="http://res-us:YOUR_API_KEY@$DASHBOARD_PROXY_ENDPOINT"
export ALL_PROXY="socks5://res-us:YOUR_API_KEY@$DASHBOARD_PROXY_ENDPOINT"
# Now any CLI tool that reads these vars will use the proxy
curl https://api.ipquery.io/?format=json
wget -qO- https://api.ipquery.io/?format=jsonReference
Sessions
Sessions let you manage named proxy configurations in your dashboard. Create sessions with a specific type, country, and optional city. Each session gets a numeric session_id used for sticky routing.
# API: Create a session
POST /user/sessions
Content-Type: application/json
X-Api-Key: pgw-your-key
{ "name": "US Scraper", "proxy_type": "res", "country": "us" }
# API: List sessions
GET /user/sessions
# API: Delete session
DELETE /user/sessions/:id
# API: Generate proxy string
POST /user/proxy-string
{ "proxy_type": "res", "country": "us", "protocol": "http" }Sticky sessions append -sid-SESSION_ID to the username to reuse the same IP across multiple requests. The session stays alive as long as traffic flows through it.
Long Session ID (LSID) keeps the same IP for up to 1 hour. Generate a session string from the dashboard using the LSID option. Set TTL between 60 and 3600 seconds.
Reference
Error codes
The proxy returns standard HTTP status codes for all rejections. Codes are stable across protocol (HTTP / HTTPS / SOCKS4 / SOCKS5 / WebSocket) — when a SOCKS reply is required, the equivalent SOCKS code is sent. Response bodies are short and machine-readable.
| Code | Meaning | What to do |
|---|---|---|
| 200 | OK / Connection established | Request succeeded. CONNECT tunnels open here. |
| 400 | Bad Request | Malformed request line, illegal characters in target host, or unsupported method. |
| 403 | Forbidden | Target is private/loopback (SSRF), restricted by policy, or your data limit is exhausted. |
| 407 | Proxy Authentication Required | Missing or wrong credentials. Username should be the proxy parameter string (e.g. res-us); password is your API key. |
| 408 | Request Timeout | Client request body did not arrive in time. Retry with a fresh connection. |
| 429 | Too Many Requests | Per-user concurrent-connection cap or backconnect rate limit hit. Slow down or upgrade. |
| 502 | Bad Gateway | Upstream connection failed or returned an unexpected response. Retry; if persistent, check the country/type combo. |
| 503 | Service Unavailable | Database transiently busy, or the proxy port queue is saturated. Backoff + retry. |
| 504 | Gateway Timeout | Upstream took too long to respond. Retry; if persistent, the target may be slow or blocking proxy traffic. |
SOCKS5 reply codes follow RFC 1928: 0x00 success, 0x02 connection not allowed by ruleset (403/407 equivalent), 0x03 network unreachable, 0x04 host unreachable,0x05 connection refused, 0x06 TTL expired, 0x08 address type not supported.SOCKS4 uses 0x5A granted and 0x5B rejected/failed.
Reference
Limits & fair use
Concurrent connections
Account-specific limits
Check your account limits and use a bounded connection pool in your client.
Request size
1 MiB body / 128 KiB headers
Applies to the proxy management API; tunneled traffic is unlimited.
DNS resolution
Performed at the exit node
Targets are forwarded as hostnames so DNS resolves to the local country.
Long-session hold
Up to ~60 minutes
Token-bound sessions can stay stable for about an hour under normal load.
Sticky session (SID)
Same IP across calls
Numeric session IDs from 10000 through 999999999.
Country pool refresh
Continuous
Active IP pool changes as residential nodes come and go.
Restricted destinations: requests to RFC1918 / loopback / link-local / cloud metadata ranges are refused even if a public domain's DNS resolves there. Certain ports may also be denied (operator policy). Customers on the Trusted list are exempt from per-user domain and path blocks but never from the SSRF range filter.
Reference
Best practices
Pick the right product
Use res for general scraping (rotating residentials), stc for accounts that need a stable identity (static ISP), mob for the highest trust scores (real mobile carriers), and dc for speed-critical, low-trust work. Don't pay for residential if datacenter would do.
Use sticky sessions for logged-in flows
Anything that requires session continuity (cookies, OAuth flows, multi-step forms) should use res-{country}-sid-{N}. A fresh random N per logical session avoids cross-customer collisions. Reuse the same N for every request that belongs to the same browsing context.
Backoff on 502 / 504, not on 403
Upstream errors are transient — exponential backoff with jitter (e.g. 250ms → 500ms → 1s) typically recovers within 2 retries. 403 means policy denial; retrying won't change the outcome. 407 means your credentials are wrong; fix them at the source.
Match country to the target
Most anti-bot systems weight source country heavily. Scraping a UK site from a US IP raises risk score. Use the dashboard's country picker to align exit country with target audience; choose a location that matches your application requirements.
Stay on HTTPS to the proxy
The proxy accepts http://, https://, socks5://, and socks4://. For untrusted networks (cafes, hotel WiFi), prefer https:// so the proxy auth itself is encrypted. CONNECT tunnels carry your HTTPS-target traffic end-to-end regardless of the proxy scheme.
Cap connections in your client
Most HTTP clients let you pin a max connections per host. 50–100 concurrent connections per proxy username is a sensible ceiling for residential. Going higher just queues requests at the upstream and adds latency without throughput gains.
Don't hammer one IP
Even with sticky sessions, sending 1000 requests/second from one residential IP is a fast way to get blacklisted on the target. Spread load across many session IDs — that's literally what the rotating pool is for.
Pre-warm important sessions
If a session must hold a specific IP for an hour, fire a low-cost request through it every 60–90 seconds. Idle sessions can rotate out; constant keep-alive traffic anchors them.
Reference
More language examples
Python (aiohttp — async)
import aiohttp, asyncio
API_KEY = "pgw-your-api-key"
PROXY = f"http://res-us:{API_KEY}@DASHBOARD_PROXY_ENDPOINT"
async def main():
async with aiohttp.ClientSession() as s:
async with s.get("https://api.ipquery.io/?format=json", proxy=PROXY) as r:
print(await r.json())
asyncio.run(main())Go (net/http)
package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
proxyURL, _ := url.Parse("http://res-us:pgw-your-api-key@DASHBOARD_PROXY_ENDPOINT")
client := &http.Client{
Transport: &http.Transport{Proxy: http.ProxyURL(proxyURL)},
}
resp, _ := client.Get("https://api.ipquery.io/?format=json")
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}PHP (cURL)
<?php
$ch = curl_init("https://api.ipquery.io/?format=json");
curl_setopt($ch, CURLOPT_PROXY, "DASHBOARD_PROXY_ENDPOINT");
curl_setopt($ch, CURLOPT_PROXYUSERPWD, "res-us:pgw-your-api-key");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);
curl_close($ch);Java (HttpClient 11+)
import java.net.*;
import java.net.http.*;
public class ProxyDemo {
public static void main(String[] a) throws Exception {
var auth = new Authenticator() {
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(
"res-us", "pgw-your-api-key".toCharArray());
}
};
var endpoint = "DASHBOARD_PROXY_ENDPOINT".split(":");
var c = HttpClient.newBuilder()
.proxy(ProxySelector.of(new InetSocketAddress(
endpoint[0], Integer.parseInt(endpoint[1]))))
.authenticator(auth)
.build();
var req = HttpRequest.newBuilder(URI.create("https://api.ipquery.io/?format=json")).build();
System.out.println(c.send(req, HttpResponse.BodyHandlers.ofString()).body());
}
}C# / .NET (HttpClient)
using System.Net;
using System.Net.Http;
var proxy = new WebProxy("http://DASHBOARD_PROXY_ENDPOINT")
{
Credentials = new NetworkCredential("res-us", "pgw-your-api-key"),
};
var handler = new HttpClientHandler { Proxy = proxy };
using var client = new HttpClient(handler);
Console.WriteLine(await client.GetStringAsync("https://api.ipquery.io/?format=json"));Reference
Country coverage
The codes below form a location reference catalog. Live availability varies by proxy type and pool. Use the 2-letter country code in your username. Use ANY for random location.
North America (27)
USUnited StatesCACanadaMXMexicoPRPuerto RicoGTGuatemalaHNHondurasSVEl SalvadorNINicaraguaCRCosta RicaPAPanamaBZBelizeCUCubaJMJamaicaHTHaitiDODominican RepublicTTTrinidad and TobagoBSBahamasBBBarbadosAGAntigua and BarbudaDMDominicaGDGrenadaLCSaint LuciaAWArubaBMBermudaGPGuadeloupeMQMartiniqueTCTurks and CaicosEurope (45)
UKUnited KingdomDEGermanyFRFranceNLNetherlandsITItalyESSpainSESwedenNONorwayDKDenmarkFIFinlandPLPolandATAustriaBEBelgiumCHSwitzerlandPTPortugalIEIrelandCZCzech RepublicRORomaniaHUHungaryGRGreeceBGBulgariaHRCroatiaSKSlovakiaSISloveniaRSSerbiaUAUkraineBYBelarusLTLithuaniaLVLatviaEEEstoniaISIcelandLULuxembourgMTMaltaALAlbaniaBABosnia and HerzegovinaMEMontenegroMKNorth MacedoniaMDMoldovaADAndorraMCMonacoSMSan MarinoLILiechtensteinGGGuernseyGIGibraltarFOFaroe IslandsAsia (50)
JPJapanKRSouth KoreaCNChinaTWTaiwanHKHong KongMOMacaoSGSingaporeMYMalaysiaTHThailandVNVietnamIDIndonesiaPHPhilippinesINIndiaBDBangladeshPKPakistanLKSri LankaNPNepalKHCambodiaLALaosMMMyanmarBNBruneiMNMongoliaKGKyrgyzstanKZKazakhstanUZUzbekistanTJTajikistanTMTurkmenistanAZAzerbaijanGEGeorgiaAMArmeniaTRTurkeyCYCyprusILIsraelJOJordanLBLebanonIQIraqIRIranSASaudi ArabiaAEUnited Arab EmiratesQAQatarKWKuwaitBHBahrainOMOmanYEYemenSYSyriaAFAfghanistanBTBhutanMVMaldivesTLTimor LesteRURussiaSouth America (14)
BRBrazilARArgentinaCLChileCOColombiaPEPeruVEVenezuelaECEcuadorUYUruguayPYParaguayBOBoliviaGYGuyanaSRSurinameGFFrench GuianaFKFalkland IslandsAfrica (53)
ZASouth AfricaNGNigeriaEGEgyptKEKenyaGHGhanaMAMoroccoTNTunisiaDZAlgeriaETEthiopiaTZTanzaniaUGUgandaRWRwandaSNSenegalCIIvory CoastCMCameroonAOAngolaMZMozambiqueMGMadagascarZMZambiaZWZimbabweBWBotswanaNANamibiaMUMauritiusGAGabonCGCongoMLMaliBFBurkina FasoNENigerTDChadSDSudanSSSouth SudanSOSomaliaDJDjiboutiEREritreaLYLibyaMWMalawiLSLesothoSZEswatiniSCSeychellesCVCape VerdeKMComorosGMGambiaGNGuineaGWGuinea-BissauGQEquatorial GuineaBJBeninTGTogoSLSierra LeoneLRLiberiaCFCentral African RepublicBIBurundiSTSao Tome and PrincipeMRMauritaniaOceania (13)
AUAustraliaNZNew ZealandFJFijiPGPapua New GuineaNCNew CaledoniaPFFrench PolynesiaVUVanuatuWSSamoaTOTongaPWPalauNRNauruTVTuvaluASAmerican SamoaAntarctica (1)
AQAntarcticaReference
Datacenter locations
Datacenter proxies (dc type) use the locations supported by your selected pool. The catalog below is a reference; check the dashboard for current availability.
AUAustraliaATAustriaBEBelgiumBRBrazilCACanadaFRFranceDEGermanyHKHong KongINIndiaITItalyJPJapanMXMexicoNLNetherlandsPLPolandRORomaniaSGSingaporeKRSouth KoreaESSpainSESwedenTRTurkeyAEUnited Arab EmiratesUKUnited KingdomUSUnited StatesReference
API reference
Public endpoints (no auth)
GET /health # Service status
GET /countries # Current country catalog
GET /types # All 7 proxy types
GET /proxy-config # Proxy host, port, protocols, formats
GET /payment/plans # Available payment plans with pricingAuthentication (Turnstile captcha required)
POST /auth/register
Body: { "name": "string", "turnstile_token": "string" }
Returns: { "api_key": "pgw-...", "token": "lt-..." }
POST /login
Body: { "api_key": "pgw-...", "turnstile_token": "string" }
Returns: { "token": "lt-..." }
POST /auth/verify
Header: Authorization: Bearer lt-...
Returns: { "valid": true, "user": {...} }User endpoints (X-Api-Key or Bearer token)
GET /user/me # Your profile, usage, limits
GET /user/balance # Wallet balance and transactions
GET /user/auto-topup # Saved-card auto top-up state
PATCH /user/auto-topup # Update auto top-up settings
GET /user/sessions # List your sessions
POST /user/sessions # Create session
PATCH /user/sessions/:id # Update session
DELETE /user/sessions/:id # Delete session
POST /user/proxy-string # Generate proxy connection string/user/me returns your full profile including: name, API key, data used, data limit, active status, unlimited status, wallet balance, proxy access, billing state, auto top-up state, and reseller status if applicable.
ASN catalog endpoints
GET /asn/countries
Returns: { "source": "proxyrise", "count": 187, "items": ["AF", "US", ...] }
GET /asn/list?country=AF
GET /asn/list/AF
Returns: {
"source": "proxyrise",
"country": "AF",
"count": 1,
"items": [{ "ASN": 55330, "IPCount": 30 }]
}
GET /user/asn/countries
GET /user/asn/list/AF
GET /user/reseller/asn/countries
GET /user/reseller/asn/list/AFUse these endpoints to populate ASN pickers and validate country-scoped ASN usernames such as res-af-asn-55330.
Billing endpoints
GET /payment/plans
Returns plans, supported payment methods, currency, and billing capabilities
POST /payment/status
Body: { "track_id": "..." }
Returns provider, purchase type, status, amount, and credited data
GET /payment/history
Returns recent payments with provider IDs and timestampsWallet top-ups and crypto invoices are available from the billing page. Promo codes apply to eligible crypto and wallet purchases.
Reference
WebSocket (real-time)
Connect to the WebSocket to receive real-time updates about your sessions, usage, and bandwidth.
# Connect with your API key
wss://api.proxyrise.com/ws?api_key=pgw-...Client messages you can send:
{"type": "ping"}
{"type": "pong"}
{"type": "get_sessions"}
{"type": "get_stats"}
{"type": "subscribe", "events": [
"session_created",
"session_deleted",
"session_rotated",
"request_log",
"usage_update",
"payment_completed"
]}Server messages you receive:
# Connection confirmation
{"type": "connected", "role": "user", "user": {...}}
# Your statistics
{"type": "stats", "data_used_gb": 12.5, "data_limit_gb": 100}
# Real-time events
{"type": "request_log", ...} # Per-request logging
{"type": "usage_update", ...} # Data usage change
{"type": "session_created", ...} # New session
{"type": "session_deleted", ...} # Session removed
{"type": "session_rotated", ...} # IP rotated
{"type": "payment_completed", ...} # Payment processed
{"type": "unlimited_expired", ...} # Unlimited plan endedReference
Reseller program
The reseller program lets you create and manage sub-users under your account. Sub-users get their own API keys and can use the proxy independently, but their data is deducted from your pool.
Reseller access is available as a $99 one-time activation. After activation, the Reseller workspace appears in your dashboard with separate Overview, Customers, and API Keys tabs.
How it works
1. Activate reseller access and receive your sub-user limit.
2. Your total data limit (e.g. 100 GB) becomes a shared pool.
3. You allocate portions of this pool to sub-users when creating them.
4. Usage is tracked dually: against both the sub-user and your parent account.
Pool allocation example
# Your account: 100 GB total
# Create sub-user A with 30 GB
# Create sub-user B with 20 GB
# Remaining pool: 100 - 30 - 20 = 50 GB
# Sub-user A uses 10 GB of their 30 GB:
# Sub-user A data_used: 10 GB
# Your data_used: +10 GB (dual tracking)
# Reclaim from sub-user A (used 10 of 30 GB):
# Sub-user A limit shrinks to 10 GB
# You get 20 GB back in your poolKey rules
• Sub-users cannot be resellers themselves (no nesting).
• If your pool runs out, sub-user proxy requests are rejected.
• Sub-users authenticate with their own API key, same proxy format.
• Overview contains aggregate usage and account-health analytics.
• Customers contains sub-user creation, search, quotas, and account controls.
• API Keys contains credentials for server-to-server reseller API access.
Reference
Reseller API reference
These endpoints are only available to approved reseller accounts. Create a dedicated key in Dashboard → Reseller and send it through the X-Reseller-Key header. Account API keys stop working on reseller endpoints on October 1, 2026. Signed-in dashboard sessions are not affected.
Authentication migration
# Required for server-to-server reseller integrations
X-Reseller-Key: rsk_live_your_key
curl https://api.proxyrise.com/user/reseller/status \
-H "X-Reseller-Key: rsk_live_your_key"
# Keys are displayed once and stored as a one-way hash.
# You can keep up to 5 active keys and revoke them independently.
# Never expose a reseller key in frontend JavaScript or a public repository.Create and manage keys
1. Sign in and open Dashboard → Reseller → API Keys.
2. Give the integration a recognizable name, then select Create key.
3. Copy the complete key immediately. It cannot be displayed again.
4. Store it in a server-side secret or environment variable.
5. Revoke a key when replacing an integration or if it may be compromised.
Key lifecycle
• Maximum five active reseller keys per account.
• Only a safe key hint, creation time, and last-used time remain visible.
• Revoked keys stop working immediately and are hidden by default.
• Use View revoked in the API Keys tab when you need credential history.
Migration checklist
1. Create a dedicated reseller key in the dashboard.
2. Replace X-Api-Key with X-Reseller-Key in your reseller integration.
3. Test GET /user/reseller/status and confirm HTTP 200.
4. Update every worker, server, and scheduled job using the old credential.
5. Revoke superseded reseller keys after deployment.
Deadline: 2026-10-01 00:00:00 UTC
# This change affects only /user/reseller/* API authentication.
# Dashboard sign-in, normal account APIs, proxy authentication,
# and sub-user proxy keys are not changed.Status & stats
GET /user/reseller/status
Returns: {
"is_reseller": true,
"max_sub_users": 50,
"current_sub_users": 12,
"data_limit_gb": 100,
"allocated_gb": 45.5,
"remaining_pool_gb": 54.5,
"auth_method": "reseller_key",
"reseller_api_key_required_from": "2026-10-01T00:00:00Z",
"reseller_api_key_header": "X-Reseller-Key"
}
GET /user/reseller/stats
Returns: {
"total_sub_users": 12,
"active_sub_users": 10,
"total_allocated_gb": 45.5,
"total_used_gb": 22.3,
"today_usage_gb": 1.2
}Sub-user CRUD
# List all sub-users
GET /user/reseller/sub-users
# Create sub-user
POST /user/reseller/sub-users
Body: { "name": "Client A", "data_limit_gb": 10 }
Returns: { "id": 42, "api_key": "pgw-...", "name": "Client A", ... }
# Get single sub-user
GET /user/reseller/sub-users/:id
# Update sub-user
PATCH /user/reseller/sub-users/:id
Body: { "name": "New Name", "data_limit_gb": 15, "is_active": true }
# Delete sub-user
DELETE /user/reseller/sub-users/:idSub-user actions
# Reset data usage to 0
POST /user/reseller/sub-users/:id/reset
# Add GB from your pool
POST /user/reseller/sub-users/:id/add
Body: { "gb": 5 }
# Reclaim unused data back to your pool
POST /user/reseller/sub-users/:id/reclaim
# Shrinks sub-user limit to their current usage
# Returns unused GB to your pool
# Regenerate sub-user API key
POST /user/reseller/sub-users/:id/newkey
Returns: { "api_key": "pgw-new-key..." }
# 90-day usage history
GET /user/reseller/sub-users/:id/usageAuthentication errors
401 invalid or revoked reseller API key
The key is incorrect, revoked, or was not sent in X-Reseller-Key.
401 reseller_api_key_required
The integration used an account key after the migration deadline.
403 reseller_access_closed
The authenticated account does not have reseller access.
403 session_required
API-key management is restricted to the signed-in dashboard session.Reference
Frequently asked questions
Why is the same hostname returning different IPs on every call?
By default residential, mobile, and datacenter proxies rotate the exit IP on every request — that's the whole point of res-{country} usernames. If you need the same IP across multiple calls, use res-{country}-sid-{N} where N is any integer between 10000 and 999999999. Reuse the same N to pin to the same IP for the duration of the session.
How long does a sticky session last?
Sticky sessions stay bound to one IP for as long as you keep sending traffic through them. A long idle gap (typically more than 5–10 minutes) can cause the upstream pool to recycle the IP. Keep a periodic low-cost request flowing if you need the IP to hold longer.
Why am I getting 407 Proxy Authentication Required?
The most common cause is using your login token instead of your API key for the proxy password. The proxy password is your API key (starts with pgw-…). The login token is only for the management API (Authorization: Bearer …). Double-check the case of the username; we lowercase, but custom clients might munge characters.
Why is my request blocked with 403?
Three reasons in order of frequency: (1) the target hostname resolves to a private IP range (loopback / RFC1918 / cloud metadata) and the SSRF filter refuses; (2) the target domain or path is restricted by policy; (3) your data limit is exhausted. The response body indicates the specific cause.
Does HTTPS to the target still work through the proxy?
Yes — HTTPS targets use HTTP CONNECT to open an encrypted tunnel through the proxy, so the target traffic is end-to-end encrypted from your client to the destination. The proxy never sees the plaintext of HTTPS bodies.
Can I use the proxy with browser automation (Playwright, Puppeteer, Selenium)?
Yes. Set the proxy at launch as http://username:api_key@proxy_endpoint. For Playwright: { proxy: { server, username, password } }. For Puppeteer: --proxy-server with page.authenticate(). Use a sticky SID per browser instance so cookies persist with the same IP.
What happens when I run out of data?
Active connections drain to completion; new connections receive 403 Forbidden with body 'Data limit exhausted'. The dashboard's wallet balance can auto-top-up if you've enabled it on a saved card; otherwise top up manually with crypto or card and the proxy resumes immediately.
Do you support concurrent connections from multiple machines?
Yes. There is no soft cap on the number of source IPs that can use the same API key concurrently. Each connection counts independently toward your data usage. For shared accounts, ask support about per-user connection caps.
Are all 203 countries always available?
Residential and mobile pools have continuous churn — IPs join and leave as nodes come online. A specific small-country pool may temporarily have lower capacity. If a request times out, retry with a brief backoff; availability may change. Try another supported location if the issue continues.
How do I report abusive activity?
Contact us through the support chat in your dashboard or via Discord. Include the X-Request-ID from any suspicious requests if available. We review all reports and act promptly.
Is there a free trial?
Register with a new account to see the current promotional offer. Wallet credit gets you started on rotating residential without committing to a plan — buy GB as you need them, or pick an unlimited plan once you've validated your workload.
Where do I report a bug or feature request?
Use the chat widget on the dashboard. Average response time is under 15 minutes during operator hours. Include the X-Request-ID header from a failing response if you have one — that's the fastest path to a fix.
Reference
Plans & pricing
Data-based plans include a signup bonus. Unlimited plans provide unrestricted bandwidth for a set duration.
Unlimited plans