Skip to main content
The Center's Directory
API documentation · Rotating residential proxies

Add source IPs to the allowlist in bulk

Use the Account Token to add up to 100 IPv4 overseas public networks to the account whitelist.

Maintained by the ZZHTTP engineering teamUpdated October 6, 2026

Interfaces and authentication

POST/openapi/v1/proxy/whitelist/add

Entries are written individually and successful entries are not rolled back. Batches over 100 entries or with an invalid outer structure are rejected in full. Reserved IPs are used to illustrate the format and are rejected by the live endpoint.

Use HTTPS and provide one nonempty api_key query parameter containing an account API token.

Examples are synthesis data and placement credentials, which only describe structure. The interface contract does not mean that the target environment is open, and the open status is determined by the console.

Download OpenAPI · Import Apifox / Postman

Request parameters

Query and path parameters
FieldTypeRequired fieldDefault values / LimitsNotes
api_keystringYes, I am.Query · One nonempty valueAccount API token. Keep it on a trusted server. Examples use placeholders.

Request example · application/json

Request example
FieldTypeRequired fieldDefault values / LimitsNotes
itemsobject[]Yes, I am.Min items 1; Max items 100Entries are processed independently. Provide 1–100 overseas public IPv4 addresses.
items[].ipstringYes, I am.—Authorized overseas public IPv4 address. IPv6, private, and reserved addresses are rejected.
items[].remarkstringNo.Max length 255Optional note.

Example of a request

Shell · STATIC_API_KEY Use account tokens
curl --request POST \
  "https://api.zzhttp.com/openapi/v1/proxy/whitelist/add?api_key=${API_KEY}" \
  --header 'Content-Type: application/json' \
  --data '{"items":[{"ip":"203.0.113.10","remark":"office"}]}'

Successful response

Success or a per-item batch result. Check the business code as well as the HTTP status.

Responses omit internal fields and proxy passwords. Extraction succeeds with HTTP 200 and code 0. Allowlist and country catalog requests use code 200 for success. Extraction POST errors use code and message. Successful country catalog responses omit requestId.

Response fields (including nested fields)
FieldTypeRequired fieldDefault values / LimitsNotes
codeintegerYes, I am.—Success uses 200. Any item failure in an allowlist batch produces 10431.
messagestringYes, I am.—Response message.
requestIdstringYes, I am.—Request ID for troubleshooting.
dataobjectYes, I am.—Response data for this endpoint.
data.success_countintegerYes, I am.—Number of successful entries.
data.failed_countintegerYes, I am.—Number of failed entries.
data.failed_itemsobject[]Yes, I am.—Failure details. Successful addresses are omitted.
data.failed_items[].ipstringYes, I am.—Address that failed.
data.failed_items[].codeintegerYes, I am.—Numeric error code for this entry.
data.failed_items[].reasonstringYes, I am.—Reason for failure.
JSON · HTTP 200
{
  "code": 200,
  "message": "Processing complete",
  "requestId": "demo-request-001",
  "data": {
    "success_count": 1,
    "failed_count": 0,
    "failed_items": []
  }
}

Errors and Retry

Each token can make 60 list requests per minute and 10 add or delete requests per minute for each operation. On HTTP 429, wait as directed by Retry-After. If a write has an unknown outcome, check the allowlist first and retry only failed items.

Error code, HTTP status, error response field and recovery method are unified inError Codes and Recommendations.

Did this answer your question?

Feedback is used only to improve the public documentation and does not submit accounts or request information.