Documentation Index
Fetch the complete documentation index at: https://docs.nexalayer.net/llms.txt
Use this file to discover all available pages before exploring further.
Dynamic sessions
Dynamic sessions provide rotating IPs and are billed by traffic (GB). Creation is asynchronous: the API returns immediately withstatus: "creating"; poll until active.
Create
Config parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
product_no | string | Yes | Product code from GET /products. |
traffic_gb | number | Yes | Traffic in GB. |
protocol | string | No | socks5 or http; default socks5. |
country | string | No | Country code. |
city | string | No | City code. |
rotation.mode | string | No | fixed | timed | on_demand. |
rotation.interval_seconds | number | No | For timed, interval in seconds. |
fixed = no auto-rotate; timed = rotate every interval_seconds; on_demand = rotate only when you call POST /sessions/{id}/rotate.
Poll until active
data.status === "active", use data.proxy.full_url: