# Get proxy endpoints from an allowlisted IP

Describes how an unsigned GET extract parses an account by the true source IPv4 and returns a JSON or TXT.

`GET /api/v1/proxy/extract` Do not use the console login state. The server only enables whitelisting membership based on true source IPv4 search.

## GET request example

```bash
curl 'https://api.zzhttp.com/api/v1/proxy/extract?num=1&regions=GLOBAL&protocol=http&return_type=json&lb=1'
```

This request creates a new pull authorization based on the real source IPv4 of the calling machine. Example selection of global, 1 HTTP proxy gateway. It can access HTTPS targets via CONNECT. Before calling, verify that the source IPv4 is already on the active whitelist of the current account.

## Conditions of call

- Source IPv4 has been whitelisted and enabled for the current account.
- The account is in real name and has an available rotating residential interest that matches the agreement.
- The request does not pass through an additional agent to change the source.

## Acceptance parameters

- `num` Must be explicitly transmitted, range 1-100;`regions=GLOBAL` This can be replaced by the country code currently provided by the console.
- `protocol` Accept only `http` Or `socks5`, `return_type` For `json` Or `txt`; `lb` Controls the TXT separator.
- A new request ID is generated by the service for each call.
- The identity statement transmitted by the calling party is not involved in attribution.

## Return

- TXT Returns a direct list of items organized by separator `IP:PORT`.
- JSON direct returns only with public `ip` and `port` The array of the.
- The results are randomly sequential and cannot depend on index stability.

## Security

- The link is deployed only on the managed service end.
- Limit the frequency of calls and avoid writing to public logs.
- Update the whitelist after a source change.

html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}
