Quickstart
This guide walks through the minimum NexaLayer flow:1. Request an API key by email
2. List products
product_no when creating a session. Dynamic products work well for short-lived and rotation-friendly automation. Static products are better for stable identity, account login, and fixed-region tasks.
3. Create a dynamic session
Confirmproduct_no against GET https://api.nexalayer.net/v1/public/products at purchase time. This example uses dynamic_2, which was in the live catalog on 2026-11-29; inventory can change.
provisioning_mode=existing attaches a resource already configured by support without placing an order or charging balance. Use purchase after recharging when you want to buy a new resource. Prices and balance are displayed in USD using IPProxy’s current effective exchange rate; NexaLayer does not make a second debit.
Session creation is asynchronous. A successful accepted response usually starts with status=creating.
4. Poll until active
include_credentials defaults to false. Without it, an active session still returns host, port, and protocol, and omits username, password, and full_url. With include_credentials=true, the response includes proxy details:
proxy.full_url can be used by tools that accept proxy URLs. Playwright usually needs server, username, and password separately. Do not log the credential fields. See Error codes if create returns PRICE_MISMATCH: re-read prices and retry; no order was placed.
5. Report execution telemetry
6. Read health
7. Terminate the session
finally block or shutdown hook.