# Generate rotating residential proxy endpoints via API

Generate gateway endpoints in the Console or with a GET link from an allowlisted IPv4 address.

Use the Proxy API to get gateway endpoints in `IP:PORT` format for your server-side application. It requires an allowlisted source IP. If you use static residential proxies, connect to the endpoint assigned to each delivered proxy. See [Buy and connect to static residential proxies](/en/help/getting-started/static-residential-quickstart).

## Before you start

- Verify your identity.
- Make sure your rotating residential proxy plan is active.
- Add the calling server's public IPv4 address to the IP allowlist and keep that entry enabled.

## Request proxy endpoints

- Open **Proxy API** in the Console and submit the form while signed in.
- You can also send a request to the GET link generated by the Console from an allowlisted source IP. This request does not need a Console session. Set `protocol` to `http` or `socks5`.

## Supported parameters

- Request 1–100 endpoints per call. The Console form defaults to 10. For GET requests, pass `num`. For POST requests, pass `quantity`.
- Select a supported country or use the global option.
- The gateways support HTTP, HTTPS CONNECT, and SOCKS5 TCP. Choose JSON or TXT output.
- Leave sticky session, rotation, state, and province parameters out of these calls.

## Use the result

Treat each result as a gateway endpoint. The exit IP is selected separately. Results can come back in a different order each time, so avoid relying on list positions.
