Skip to main content
GET
Generate ready-to-use Residential proxy strings

Authorizations

Authorization
string
header
required

ProxyLayer API key. See the API Overview for key modes and scopes.

Scopes

rest:proxies:read

Access to proxies:read REST operations

Query Parameters

country
string
default:""

Two-letter ISO country code (e.g. us, de, gb), or omit for any country.

Maximum string length: 16
city
string

City name (requires country).

Maximum string length: 64
region
string

US state name (requires country=us).

Maximum string length: 64
asn
string

ASN number, e.g. 7922 or AS7922 (requires country).

Maximum string length: 32
session
enum<string>
default:rotating

sticky: keeps one IP for ttl minutes; rotating: new IP per request.

Available options:
sticky,
rotating
ttl
integer
default:0

Sticky session lifetime in minutes (0–120; 0 uses gateway default).

Required range: 0 <= x <= 120
quantity
integer
default:1

Number of proxy lines to generate (1–100).

Required range: 1 <= x <= 100
format
enum<string>
default:http://login:password@ip:port

Output string format.

Available options:
ip:port:login:password,
ip:port@login:password,
login:password:ip:port,
login:password@ip:port,
http://ip:port:login:password,
http://login:password@ip:port,
https://ip:port:login:password,
https://login:password@ip:port,
socks5://ip:port:login:password,
socks5://login:password@ip:port

Response

Traffic balance and generated proxy strings.

trafficBalance
object
required
format
enum<string>
required
Available options:
ip:port:login:password,
ip:port@login:password,
login:password:ip:port,
login:password@ip:port,
http://ip:port:login:password,
http://login:password@ip:port,
https://ip:port:login:password,
https://login:password@ip:port,
socks5://ip:port:login:password,
socks5://login:password@ip:port
proxies
string[]
required