Перейти к основному содержанию
GET
Generate ready-to-use Residential proxy strings
Ротация работает без кулдауна и без отдельного вызова /rotate: session=rotating использует порт 823 (HTTP/HTTPS) или 824 (SOCKS5) для нового IP на каждый запрос; session=sticky выдаёт порты из диапазона 10000–30000 с опциональным ttl (1–120 мин). Правила таргетинга: city и asn требуют country; region (штат США) требует country=us. До выполнения первой покупки трафика возвращается 404 RESIDENTIAL_NOT_PROVISIONED.

Авторизации

Authorization
string
header
обязательно

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

Scopes

rest:proxies:read

Access to proxies:read REST operations

Параметры запроса

country
string
по умолчанию:""

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>
по умолчанию:rotating

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

Доступные опции:
sticky,
rotating
ttl
integer
по умолчанию:0

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

Требуемый диапазон: 0 <= x <= 120
quantity
integer
по умолчанию:1

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

Требуемый диапазон: 1 <= x <= 100
format
enum<string>
по умолчанию:http://login:password@ip:port

Output string format.

Доступные опции:
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

Ответ

Traffic balance and generated proxy strings.

trafficBalance
object
обязательно
format
enum<string>
обязательно
Доступные опции:
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[]
обязательно