Skip to main content

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.

Static sessions

Static sessions provide fixed IPs and are billed by duration (e.g. 30 or 90 days). Creation may be synchronous or asynchronous depending on product; check status and use proxy when active.

Create

curl -X POST "https://api.nexalayer.net/v1/sessions" \
  -H "X-API-Key: <api_key>" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: create_static_001" \
  -d '{
    "type": "static",
    "config": {
      "product_no": "LM_US_LA_01",
      "quantity": 2,
      "duration_days": 30,
      "country": "US",
      "city": "LA"
    }
  }'

Config parameters

ParameterTypeRequiredDescription
product_nostringYesProduct code from GET /products.
quantitynumberYesNumber of IPs.
duration_daysnumberYes30 or 90 (product-dependent).
countrystringYesCountry code.
citystringNoCity code.

Get session / usage

  • GET /sessions/{session_id} — full session including proxy, expires_at, ip_list.
  • GET /sessions/{session_id}/usage — usage and remaining time/traffic.
To extend: Renew. To release: Terminate.