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

Get static proxy credentials

Reads the actual proxy node accounting for the current account in batch by instance ID.

Maintained by the ZZHTTP engineering teamUpdated October 6, 2026

Interfaces and authentication

POST/openapi/v1/static/instances/credentials

Read node credentials for the account associated with the current token. Do not cache or log them.

Use HTTPS and an account API token. Responses include Cache-Control: no-store and X-Request-Id.

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
instanceIdsinteger[]Yes, I am.Min items 1; Max items 100Array of 1–100 instance IDs in the current account. An invalid instance causes the entire batch to be rejected.

Example of a request

Shell · STATIC_API_KEY Use account tokens
curl --request POST \
  "https://api.zzhttp.com/openapi/v1/static/instances/credentials?api_key=${STATIC_API_KEY}" \
  --header 'Content-Type: application/json' \
  --data '{"instanceIds":[101]}'

Successful response

Success

Responses omit proxy passwords. Use the credentials endpoint to retrieve them.

Response fields (including nested fields)
FieldTypeRequired fieldDefault values / LimitsNotes
codeintegerYes, I am.Fixed 200Numeric business code. HTTP status 200 and business code 200 indicate success. An accepted asynchronous request may still be pending delivery.
messagestringYes, I am.—Server response message.
requestIdstringYes, I am.—Request ID for troubleshooting. This is separate from the business idempotency key.
dataobjectYes, I am.—Response data for this endpoint.
data.itemsobject[]Yes, I am.—Array of results or submitted items. See the nested fields for details.
data.items[].instanceIdintegerYes, I am.Minimum 1; Format int64ID of an instance belonging to the current account. Group membership is attached to this ID.
data.items[].ipstringYes, I am.—Actual instance IP address.
data.items[].portintegerYes, I am.Minimum 0; Format int64Instance direct connection port.
data.items[].protocolsstringYes, I am.—Supported protocols. The instance list uses an array of strings. The credentials response uses a comma-separated string.
data.items[].usernamestringYes, I am.—Proxy username for the instance.
data.items[].passwordstringYes, I am.—Proxy password for the instance. Only the credentials endpoint returns it. Do not expose it in public storage or logs.
JSON · HTTP 200
{
  "code": 200,
  "message": "Success",
  "requestId": "00000000-0000-4000-8000-000000000001",
  "data": {
    "items": [
      {
        "instanceId": 101,
        "ip": "203.0.113.10",
        "port": 9000,
        "protocols": "http,socks5",
        "username": "example_user",
        "password": "REPLACE_WITH_INSTANCE_PASSWORD"
      }
    ]
  }
}

Errors and Retry

For read requests that return business code 10713, wait as directed by Retry-After. Limit retries on HTTP 500. If group creation has an unknown outcome, query the group list first. Moving instances to the same destination can be retried safely.

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.