Get a static proxy instance
View instance status, nodes, expiration times, and capabilities.
Interfaces and authentication
/openapi/v1/static/instances/{instanceId}Get an instance belonging to the account associated with the current token.
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 / PostmanRequest parameters
| Field | Type | Required field | Default values / Limits | Notes |
|---|---|---|---|---|
api_key | string | Yes, I am. | Query · One nonempty value | Account API token. Keep it on a trusted server. Examples use placeholders. |
instanceId | integer | Yes, I am. | path · Minimum 1; Format int64 | ID of an instance belonging to the current account. Group membership is attached to this ID. |
No requested body.
Example of a request
curl --request GET \
"https://api.zzhttp.com/openapi/v1/static/instances/101?api_key=${STATIC_API_KEY}"Successful response
Success
Responses omit proxy passwords. Use the credentials endpoint to retrieve them.
| Field | Type | Required field | Default values / Limits | Notes |
|---|---|---|---|---|
code | integer | Yes, I am. | Fixed 200 | Numeric business code. HTTP status 200 and business code 200 indicate success. An accepted asynchronous request may still be pending delivery. |
message | string | Yes, I am. | — | Server response message. |
requestId | string | Yes, I am. | — | Request ID for troubleshooting. This is separate from the business idempotency key. |
data | object | Yes, I am. | — | Response data for this endpoint. |
data.instanceId | integer | Yes, I am. | Minimum 1; Format int64 | ID of an instance belonging to the current account. Group membership is attached to this ID. |
data.offerId | integer | Yes, I am. | Minimum 1; Format int64 | ID of a purchasable offer returned by the offer list. |
data.status | string | Yes, I am. | Allowed provisioning / active / expired / cancelled / failed | Current status. See the enum values in the constraints and check each line for the final outcome. |
data.ip | string | Yes, I am. | — | Actual instance IP address. |
data.port | integer | Yes, I am. | Minimum 0; Format int64 | Instance direct connection port. |
data.protocols | string[] | Yes, I am. | — | Supported protocols. The instance list uses an array of strings. The credentials response uses a comma-separated string. |
data.countryCode | string | Yes, I am. | — | Three-letter country code, such as USA. Use the value returned by the country catalog. |
data.cityCode | string | Yes, I am. | — | City code returned by the city catalog. |
data.ispType | integer | Yes, I am. | Minimum 0; Format int64 | IP type as shown in the console. 1 is Native IP and 2 is Dedicated ISP IP. |
data.expiresAt | string | null | Yes, I am. | Format date-time | Instance expiry time in RFC3339 format, or null if unknown. |
data.activatedAt | string | null | Yes, I am. | Format date-time | Instance activation time in RFC3339 format, or null if the instance has not been activated. |
data.capabilities | object | Yes, I am. | — | Provider or instance capabilities. The server still checks rules at submission. An unavailable snapshot can appear as an empty object. |
data.capabilities.purchase | object | No. | — | Purchase duration rules. |
data.capabilities.purchase.allowedDays | integer[] | No. | — | Allowed durations in days. This list takes precedence when it is nonempty. |
data.capabilities.purchase.minDays | integer | No. | Minimum 0 | Minimum duration when allowedDays is absent. |
data.capabilities.purchase.maxDays | integer | No. | Minimum 0 | Maximum duration. A value of 0 means no upper limit. |
data.capabilities.purchase.stepDays | integer | No. | Minimum 0 | Allowed duration increment, in days, measured from the minimum. |
data.capabilities.renew | object | No. | — | Renewal duration rules. |
data.capabilities.renew.allowedDays | integer[] | No. | — | Allowed durations in days. This list takes precedence when it is nonempty. |
data.capabilities.renew.minDays | integer | No. | Minimum 0 | Minimum duration when allowedDays is absent. |
data.capabilities.renew.maxDays | integer | No. | Minimum 0 | Maximum duration. A value of 0 means no upper limit. |
data.capabilities.renew.stepDays | integer | No. | Minimum 0 | Allowed duration increment, in days, measured from the minimum. |
data.capabilities.convertTrial | object | No. | — | Duration rules for converting a trial to a paid instance. |
data.capabilities.convertTrial.allowedDays | integer[] | No. | — | Allowed durations in days. This list takes precedence when it is nonempty. |
data.capabilities.convertTrial.minDays | integer | No. | Minimum 0 | Minimum duration when allowedDays is absent. |
data.capabilities.convertTrial.maxDays | integer | No. | Minimum 0 | Maximum duration. A value of 0 means no upper limit. |
data.capabilities.convertTrial.stepDays | integer | No. | Minimum 0 | Allowed duration increment, in days, measured from the minimum. |
data.capabilities.trialDays | integer | No. | Minimum 0 | Trial duration in days. A value of 0 means no trial is available. |
data.capabilities.changeIp | boolean | No. | — | Whether IP replacement is supported. |
data.capabilities.selectReplacement | boolean | No. | — | Whether the customer can select a replacement node. |
data.capabilities.customCredentials | boolean | No. | — | Whether the customer can supply proxy credentials. |
data.capabilities.randomCredentials | boolean | No. | — | Whether random credential generation is supported. |
data.capabilities.maxBatchSize | integer | No. | Minimum 0 | Batch limit declared by the provider. Server request limits still apply. |
data.groupId | integer | null | Yes, I am. | Minimum 1 | Custom group ID, or null if ungrouped. New instances are ungrouped by default. |
{
"code": 200,
"message": "Success",
"requestId": "00000000-0000-4000-8000-000000000001",
"data": {
"instanceId": 101,
"offerId": 17,
"status": "active",
"ip": "203.0.113.10",
"port": 9000,
"protocols": [
"http",
"socks5"
],
"countryCode": "USA",
"cityCode": "NYC",
"ispType": 1,
"expiresAt": "2026-10-06T08:00:00Z",
"activatedAt": "2026-10-06T08:00:00Z",
"capabilities": {
"purchase": {
"minDays": 30,
"maxDays": 360,
"stepDays": 30
},
"renew": {
"allowedDays": [
30
]
},
"convertTrial": {},
"trialDays": 0,
"changeIp": false,
"selectReplacement": false,
"customCredentials": true,
"randomCredentials": true,
"maxBatchSize": 100
},
"groupId": null
}
}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.