Skip to main content

Quickstart

This guide walks through the minimum NexaLayer flow:

1. Request an API key by email

The response does not include the API key. NexaLayer sends it to the mailbox:
The first request for a new email automatically receives a small one-time trial credit. Repeating the request resends the existing API key and never grants credit twice. No Telegram or manual approval is required.

2. List products

Use the returned 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

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

When the session becomes active, 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.

5. Report execution telemetry

Telemetry affects health score and rotation recommendations.

6. Read health

Example:

7. Terminate the session

Automation scripts should clean up sessions in a finally block or shutdown hook.