# Generate proxy endpoints via the API

Overview API extracts source IP allowlist, logged-in POST, unlogged-in GET, parameters, and return results.

API Extraction for Service-Side Programs to Bulk Get ZZHTTP Proxy Gateway `IP:PORT`. Identity verification, available rotating residential rights, and an enabled source IPv4 allowlist are required before calling.

## Two entrances

- Login state `POST /api/v1/proxy/extract` Initiated by the console user. The service checks the activity whitelist against the true source IPv4 of the request.
- No login status `GET /api/v1/proxy/extract` Attribution is only parsed by true source IPv4.
- GET does not depend on the account or identity fields declared by the caller.

## Range of parameters

- Single 1-100. The console form is set to 10 by default, and interface calls must explicitly pass the number.
- The region uses the country or global value provided on the page.
- POST accepts HTTP, HTTPS, SOCKS5 enumerations. GET LINKS `protocol` Accept only `http` Or `socks5` When accessing the HTTPS target, the HTTP proxy establishes CONNECT.
- No input of rotation, sticky sessions or state or province parameters.

## Return to Semantics

- The result is a public gateway address, not a permanent residence export.
- The JSON or TXT order may change randomly.
- Callers cannot rely on fixed port indexes.

## Security and Retry

- The full GET link and results are used only on the controlled service side.
- POST Retry to duplicate the original requestId.
- The errors in the qualifications and parameters are corrected before requesting.
