Connections
Builds one rotating proxy connection string from dashboard-style options. Use connection.connectionString as the primary copy-paste value. Set subuserId to an ID from /v2/proxy/rotating/subusers, or omit it to use the first account subuser. Use locations first to choose valid country, city, and state values; state takes precedence over city.
connection.connectionString you can copy into an HTTP client, browser profile, or proxy checker.
The subuserId field is optional. Omit it to use your account’s default proxy credentials, or see Manage Rotating Proxy Subusers when you need separate proxy groups or replacement credentials.
For UDP, set protocol to socks5, choose residential or mobile, and set udp to true.Authorizations
Client API key for the authenticated account.
Body
Proxy type
residential, mobile, datacenter "residential"
2-letter country code.
^[a-zA-Z]{2}$"US"
Subuser ID from GET /v2/proxy/rotating/subusers. When omitted, the first account subuser is used.
x <= 9007199254740991123
City name from GET /v2/proxy/rotating/locations. Spaces are encoded as underscores. Used only when state is not supplied.
1"New York"
State or subdivision value from GET /v2/proxy/rotating/locations. When supplied, it takes precedence over city.
1"CA"
Target ASN as digits.
^\d+$"15169"
Rotation value: -1 for each request, 0 for sticky, or interval minutes.
15
1 - 128"my_session_1"
http, https, socks5 "http"
Route UDP traffic through the proxy. Supported only for SOCKS5 residential or mobile proxies.
false