Skip to content
NextProxyNextProxyDocs

Limits and quotas

Default values for every limit: concurrency, connection rate, timeouts, account counts, whitelists, rate limits and risk-control thresholds.

One checklist to consult while designing concurrency and retry strategy. Every number is the current production default and may be adjusted per node.

Connections and concurrency

ItemDefault
Total gateway connections100,000
Pre-auth concurrency per source IP5,000
Pending handshakes10,000
New connection rate per source IP1,000/s, burst 5,000
New connection rate per account2,000/s, burst 5,000
Per-account concurrency baseline5,000

Per-account concurrency is dynamic

5,000 is not a hard ceiling under light load. The gateway adjusts with overall pressure:

Gateway loadPer-account concurrency ceiling
≤ 60%Can relax up to the total gateway connection count
60% – 85%Tightens linearly between the two
≥ 85%Tightens to 5,000 (or a lower value from the account snapshot)

The per-source-IP 5,000 only protects the pre-auth stage

Once authentication succeeds, the source IP's concurrency slot is released. So that limit exists to prevent floods of unauthenticated connections, not to cap your business concurrency.

Authenticated account concurrency or connection-rate limits return HTTP 429 connection_limit; exhausted traffic or account quota returns 402. Protection before protocol detection may close TCP directly, and an established tunnel cannot receive a new HTTP error status. See the error reference.

Timeouts

ItemValueMeaning
First byte5sHow long after connecting the first byte must arrive
Full handshake10sTotal budget for the whole proxy handshake
Authentication3sThe gateway's auth call to the control plane
Target policy / DNS8sTarget address check and hostname resolution
Exit TCP connect8sDefault; connection conditions may result in an earlier timeout
Exit handshake30sDefault; connection conditions may result in an earlier timeout
Idle5 minutesGlobal ceiling; connection conditions may result in an earlier timeout
Maximum connection lifetime24 hoursFor established relays
Half-close drain15sTime to drain reverse data after a TCP half-close

Accounts and resources

ItemLimit
Proxy sub-accounts per user10
Proxy sub-accounts per user (first 24 hours)2
IP whitelist entries per sub-account10
API keys per sub-account1
Sub-account traffic cap1 MB – 1 TB
Open support tickets per account20
Notification channels per traffic alert20

What exceeding them returns:

CaseResponse
Sub-account limit exceeded409 proxy_account_limit_reached
Whitelist limit exceeded409 proxy_api_limit_reached

API rate limits

EndpointLimit
Extract API120/minute, counted separately per source IP and per API key
CDK redemption20/minute
Registration code (per email)3/hour
Registration code (per IP)10/hour, 30/day
Code resend interval60s
Successful registrations per IP per day3 accounts

Exceeding returns 429 with Retry-After: 60.

Sign-in and risk control

ItemThreshold
Failure counting window10 minutes
Failures per IP30
Failures per account10
Failures per IP + account pair5
Cooldown once triggered15 minutes
Verification code lockout5 attempts
Verification code validity600s
MFA ticket validity5 minutes

Hitting any threshold writes a cooldown, during which sign-in returns 429 directly.

Token lifetimes

ItemDefault
Access token15 minutes
Refresh / session12 hours
Refresh (with "remember me")30 days
MFA ticket5 minutes

See Authentication and conventions.

Orders and quotes

ItemValue
Dynamic residential quote validity5 minutes (shorter if a promotion or delisting comes sooner)
Unpaid order expiry30 minutes
Stripe checkout link retention30 days
Static residential per-cart100 IPs, 100 per country
Static residential leaseFixed 30 days
Datacenter lease tiers7 / 30 / 90 days
CDK face value100 MB – 1 TB
CDK validity1 – 30 days

Data retention

DataRetention
Daily usage aggregatesLong-term
Hourly usage detail60 days
Hourly per-domain detail60 days
Domain listMost recent 500
Daily endpoint per-call range1 – 90 days
Whitelist auto-cleanup when unused10 days

See Usage statistics.

Target restrictions

ItemRule
Private / loopback / link-local / multicast addressesBlocked
Target port 25Blocked
Hostname resolutionResolved at the gateway and pinned to the first IP
UDP / QUIC / WebRTCUnsupported (SOCKS5 has no UDP ASSOCIATE)

See Target restrictions.

Option value ranges

OptionRange
countryTwo uppercase letters
state / region / city1–100 bytes (UTF-8)
asn1 – 4294967295
session1–64 bytes, [A-Za-z0-9.-]
time1 – 120 minutes
Full username1–255 bytes
Base username1–64 bytes
Password1–512 bytes (255 in practice for SOCKS5)

See Username option reference.

Limits that don't exist

Listed so you don't design around mechanisms that aren't there:

What you might assume existsReality
A general QPS limit on the client APINo separate configuration
A hard daily traffic ceilingNone
A global session count ceilingNone
ASN extraction quotasThe Extract API doesn't support that dimension at all
Monetary balance alert thresholdsTraffic balance alerts only, no monetary alerts
Automatic account suspension rulesNone

Designing concurrency around the limits

A workable starting point:

python
# Per-account concurrency has a 5,000 baseline, but the real bottleneck is
# usually your own machine and the target site, not the gateway. Start small.
MAX_CONCURRENCY = 64

# The Extract API allows 120/min, so don't call it per request.
# Extract a batch at startup and cache it.
EXTRACT_INTERVAL_SECONDS = 60

# The gateway idles out at 5 minutes; keep the client pool shorter so you
# never hand out a connection the gateway has already closed.
KEEPALIVE_TIMEOUT_SECONDS = 90

# Client timeouts slightly wider than the gateway's, so you get the gateway's
# status code rather than your own timeout exception.
CONNECT_TIMEOUT_SECONDS = 15   # gateway: 8s
TOTAL_TIMEOUT_SECONDS = 120

Did this page solve your problem?