# Request proxy endpoints with a Console session

Request fields, validation order, idempotency, and response data for the Console's batch proxy extraction endpoint.

`POST /api/v1/proxy/extract` Used for logged-in users to batch extract proxy addresses in the console. Requests will check the activity whitelist and parameters for real names, rights, and true source IPv4.

## Request structure

```json
{
  "requestId": "demo-20260920-001",
  "country": "GLOBAL",
  "quantity": 1,
  "protocol": "HTTP",
  "format": "json",
  "agreementConfirmed": true
}
```

## Request field

- `requestId` is the equalizer within the current user. Each new extract changes a value, and the original value is used when the original request is retryed. The example ID is for demonstration only.
- `entitlementId` Optional. The rotating residential rights must be available to the current user when they are imported, and the service-side selects the available rights when they are omitted. The actual authorization is judged by the activity whitelist corresponding to the real source IPv4 of the request, and cannot be relied on `whitelistId` Source of the statement.
- `country`, `quantity` and `protocol` (a) Determine the outcome of the instalment;`format` Select JSON or TXT.
- `agreementConfirmed` The User has confirmed the agreement to use.

## Quantity and Protocol

- `quantity` The console defaults to 10.
- The protocol uses the HTTP, HTTPS, or SOCKS5 enumeration that is currently provided by the interface.
- POST `HTTPS` The enumeration cannot be used directly as a GET `protocol=https` (a) Use. If you want to reuse the returned GET link, use HTTP or SOCKS5 with GET support. Access to HTTPS targets can be established through the HTTP proxy CONNECT tunnel.
- Region uses the country or global value provided by the console.

## Response

- Successfully returns the public gateway address and GET link. Please check the content of the link before using it. `protocol` It is GET supported `http` Or `socks5`.
- The caller cannot rely on the order of results.
- The extraction itself does not charge traffic, and the real proxy byte is billed at the gateway.

## Error handling

- Re-login on 401.
- 10601 Indicates that identity verification must be completed.
- Whitelist, interest or parameter errors should be corrected before submission.

html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}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);}
