# List allowlisted source IPs

The page displays the dynamic IP source IP allowlist for the current account, which can be filtered by status or IP.

Only check your own whitelist, accurate IP filtering.

All examples are synthesised data and placement credentials, showing only structure. The interface contract does not mean that the target environment is open.

## Interfaces and authentication

`GET /openapi/v1/proxy/whitelist/list`

(a) Use of HTTPS. The only non-empty api_key Query, accepting only account API tokens.

## Request parameters

| Field | Type | Required field | Default values / Limits | Notes |
| --- | --- | --- | --- | --- |
| api_key | string | Yes, I am. | Query · Only non-empty | Account API tokens stored on a controlled server. The example uses a placeholder. |
| page | integer | No. | Default 1. Minimum 1 | Page number, default 1. |
| page_size | integer | No. | query · default 20. Minimum 1. Up to 100 | Number of rows per page, default 20, maximum 100. |
| status | string | No. | query · default all. List all / active / disabled | State filtering. |
| ip | string | No. | query · — | Source IP filtering. |

No requested body.

## Example of a request

```bash
curl --request GET \
  "https://api.zzhttp.com/openapi/v1/proxy/whitelist/list?api_key=${API_KEY}"
```

## Successful response

The response does not contain internal fields or proxy passwords. HTTP 200 / code 0 is extracted as successful. Whitelist and country catalog code 200 for success. The POST extracts are incorrectly formatted as code/message. The country directory successfully responded without a requestId.

HTTP 200 · JSON: Success or batch results, check the business code at the same time.

| Field | Type | Required field | Default values / Limits | Notes |
| --- | --- | --- | --- | --- |
| code | integer | Yes, I am. | — | Success 200. The whitelist batch fails any for 10431. |
| message | string | Yes, I am. | — | (b) Outcome statement. |
| requestId | string | Yes, I am. | — | Request a tracking ID. |
| data | object | Yes, I am. | — | This interface is business data. |
| data.items | object | Yes, I am. | — | The current page is my whitelist. |
| data.items.whitelist_id | integer | Yes, I am. | Minimum 1 | Whitelist record ID. |
| data.items.ip | string | Yes, I am. | — | Source IPv4 address, exact match. |
| data.items.remark | string | Yes, I am. | — | Customer notes, up to 255 characters. |
| data.items.status | integer | Yes, I am. | 1 of 3 | 1 activated, 3 deactivated. Deleted records are not returned. |
| data.items.created_at | string | Yes, I am. | Date-time format | Time of creation, RFC 3339. |
| data.page | integer | Yes, I am. | — | Page number, starting with 1. |
| data.page_size | integer | Yes, I am. | — | Number of lines per page. |
| data.total | integer | Yes, I am. | — | The total number of records that have been screened. |

```json
{
  "code": 200,
  "message": "Query succeeded",
  "requestId": "demo-request-001",
  "data": {
    "items": [
      {
        "whitelist_id": 101,
        "ip": "203.0.113.10",
        "remark": "office",
        "status": 1,
        "created_at": "2026-10-06T08:00:00Z"
      }
    ],
    "page": 1,
    "page_size": 20,
    "total": 1
  }
}
```

## Errors and Retry

Each token is queued 60 times/minute, and added or deleted 10 times/minute each. 429 Wait for Retry-After. The list of unsuccessful attempts is re-written.

Error code, HTTP status, and error response fields are unified.[Error Codes and Recommendations](/en/developers/errors/error-codes).

html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}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 pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}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);}
