# List static proxy instances

Page query for static residential instances of the current account.

I have a case study, and all the criteria are taken from the cross-section. Single IP using address segments. Use POST to batch search for full addresses. The list and details do not contain passwords, and the ungrouped groupId is null.

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/static/instances`

Use HTTPS and account API tokens. The response contains Cache-Control: no-store and X-Request-Id.

## 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. |
| activatedFrom | string | No. | RFC 3339, Time Zone Included | The lower limit of opening hours, including the border, may be filled in on one end only. |
| activatedTo | string | No. | RFC 3339, Time Zone Included | The upper limit, including the border, shall not be earlier than the lower limit. |
| page | integer | No. | Default 1. Minimum 1 | Page number, starting at 1, default 1. |
| pageSize | integer | No. | query · default 20. Minimum 1. Up to 1000 | Number per page, default 20. See Field Limits for maximum values. |
| countryCode | string | No. | query · — | (a) Three-letter country code, e.g. USA. Uses the country catalog to return the value. |
| cityCode | string | No. | query · — | City encoding, returns values using the city directory. |
| status | string | No. | query · — | Fine-grained instance status filtering: provisioning in delivery, active, expired, cancelled, failed, refunded. |
| orderNo | string | No. | query · — | (a) Platform order number. When query filtering exactly match your order. |
| ip | string | No. | query · — | Single IP address segments are fuzzy matches, mutually exclusive with the bulk POST mode. |
| groupId | integer | No. | query · Minimum 0 | Omit for all, 0 for ungrouped, and positive integers for self-grouped. |
| ip | string | No. | query · — | Single IP address segments are fuzzy matches, mutually exclusive with the bulk POST mode. |
| groupId | integer | No. | query · Minimum 0 | Omit for all, 0 for ungrouped, and positive integers for self-grouped. |
| ip | string | No. | query · — | Single IP address segments are fuzzy matches, mutually exclusive with the bulk POST mode. |
| groupId | integer | No. | query · Minimum 0 | Omit for all, 0 for ungrouped, and positive integers for self-grouped. |

No requested body.

## Example of a request

```bash
curl --request GET \
  "https://api.zzhttp.com/openapi/v1/static/instances?api_key=${STATIC_API_KEY}&page=1&pageSize=20"
```

## Successful response

The response does not contain the proxy password, and the credentials are returned only by the dedicated interface.

HTTP 200 · Successful response: Successful

| Field | Type | Required field | Default values / Limits | Notes |
| --- | --- | --- | --- | --- |
| code | integer | Yes, I am. | Fixed 200 | UNICODE: HTTP and UNICODE successes are both 200. Asynchronous acceptance does not represent completion of delivery. |
| message | string | Yes, I am. | — | Service-side results description. |
| requestId | string | Yes, I am. | — | The tracking ID for this request is used for troubleshooting purposes and is not a business equivalent number. |
| data | object | Yes, I am. | — | This interface is business data. |
| data.items | object | Yes, I am. | — | Results or submit a breakdown array, see below for specific fields. |
| data.items.instanceId | integer | Yes, I am. | Minimum 1. Format int64 | (a) The instance ID, which belongs to the current account. Group binds this ID. |
| data.items.offerId | integer | Yes, I am. | Minimum 1. Format int64 | Currently available to purchase item ID, from the item list. |
| data.items.status | string | Yes, I am. | Provisioning / active / expired / cancelled / failed / refunded | (a) Current status. The list is limited and the final status is confirmed item by item. |
| data.items.ip | string | Yes, I am. | — | The actual IP address of the instance. |
| data.items.port | integer | Yes, I am. | Minimum 0. Format int64 | Instance Direct Connect Port. |
| data.items.protocols | string | Yes, I am. | — | Support agreements. The example list is a string array, with the responses separated by commas. |
| data.items.countryCode | string | Yes, I am. | — | (a) Three-letter country code, e.g. USA. Uses the country catalog to return the value. |
| data.items.cityCode | string | Yes, I am. | — | City encoding, returns values using the city directory. |
| data.items.ispType | integer | Yes, I am. | Minimum 0. Format int64 | IP type: 1 native IP, 2 exclusive IP. Consistent with the console sales type. |
| data.items.expiresAt | string \| null | Yes, I am. | Date-time format | Exemplary expiration time, RFC 3339. Unknown is null. |
| data.items.activatedAt | string \| null | Yes, I am. | Date-time format | Instance activation time, RFC 3339. Not activated for null. |
| data.items.capabilities | object | Yes, I am. | — | Real-world sources or exemplary capabilities. The statement is not a substitute for the operational verification at the time of submission, and missing snapshots may be blank items. |
| data.items.capabilities.purchase | object | No. | — | Rules on time limits for procurement. |
| data.items.capabilities.purchase.allowedDays | integer | No. | — | (a) A set of days of permitted duration. The collection is used in non-spacetime. |
| data.items.capabilities.purchase.minDays | integer | No. | Minimum 0 | No allowedDays Minimum time for collection. |
| data.items.capabilities.purchase.maxDays | integer | No. | Minimum 0 | Maximum duration, 0 indicates no upper limit. |
| data.items.capabilities.purchase.stepDays | integer | No. | Minimum 0 | The number of incremental days allowed from the minimum period. |
| data.items.capabilities.renew | object | No. | — | Renewal Term Rules. |
| data.items.capabilities.renew.allowedDays | integer | No. | — | (a) A set of days of permitted duration. The collection is used in non-spacetime. |
| data.items.capabilities.renew.minDays | integer | No. | Minimum 0 | No allowedDays Minimum time for collection. |
| data.items.capabilities.renew.maxDays | integer | No. | Minimum 0 | Maximum duration, 0 indicates no upper limit. |
| data.items.capabilities.renew.stepDays | integer | No. | Minimum 0 | The number of incremental days allowed from the minimum period. |
| data.items.capabilities.convertTrial | object | No. | — | Test the transitional deadline rule. |
| data.items.capabilities.convertTrial.allowedDays | integer | No. | — | (a) A set of days of permitted duration. The collection is used in non-spacetime. |
| data.items.capabilities.convertTrial.minDays | integer | No. | Minimum 0 | No allowedDays Minimum time for collection. |
| data.items.capabilities.convertTrial.maxDays | integer | No. | Minimum 0 | Maximum duration, 0 indicates no upper limit. |
| data.items.capabilities.convertTrial.stepDays | integer | No. | Minimum 0 | The number of incremental days allowed from the minimum period. |
| data.items.capabilities.trialDays | integer | No. | Minimum 0 | (a) The number of days of probation;0 indicates no trial available. |
| data.items.capabilities.changeIp | boolean | No. | — | Support for IP switching. |
| data.items.capabilities.selectReplacement | boolean | No. | — | Whether the selection of replacement nodes is supported. |
| data.items.capabilities.customCredentials | boolean | No. | — | Whether the customer-specified account secrecy is supported. |
| data.items.capabilities.randomCredentials | boolean | No. | — | Whether to support randomly generated account secrets. |
| data.items.capabilities.maxBatchSize | integer | No. | Minimum 0 | (a) The volume limits for the declaration of supply capacity. Service-side request limits still apply. |
| data.items.groupId | integer \| null | Yes, I am. | Minimum 1 | The custom group ID to which it belongs, ungrouped is null. New instances are not grouped by default. |
| data.page | integer | Yes, I am. | Minimum 0. Format int64 | Page number, starting at 1, default 1. |
| data.pageSize | integer | Yes, I am. | Minimum 0. Format int64 | Number per page, default 20. See Field Limits for maximum values. |
| data.total | integer | Yes, I am. | Minimum 0. Format int64 | The total number of records after filtering, not the current number of pages. |

```json
{
  "code": 200,
  "message": "Success",
  "requestId": "00000000-0000-4000-8000-000000000001",
  "data": {
    "items": [
      {
        "instanceId": 101,
        "offerId": 17,
        "status": "active",
        "ip": "203.0.113.10",
        "port": 9000,
        "protocols": [
          "http",
          "socks5"
        ],
        "countryCode": "USA",
        "cityCode": "NYC",
        "ispType": 1,
        "expiresAt": "2026-11-05T08:00:00Z",
        "activatedAt": "2026-10-06T08:00:00Z",
        "capabilities": {
          "purchase": {
            "allowedDays": [
              30
            ]
          },
          "renew": {
            "allowedDays": [
              30
            ]
          },
          "convertTrial": {},
          "trialDays": 0,
          "changeIp": false,
          "selectReplacement": false,
          "customCredentials": true,
          "randomCredentials": true,
          "maxBatchSize": 100
        },
        "groupId": null
      }
    ],
    "page": 1,
    "pageSize": 20,
    "total": 1
  }
}
```

## Errors and Retry

Read request encounters business code 10713 Wait for Retry-After;500 Limited retry. If the result of the cluster creation is not known, the cluster list is consulted first. Move the same target and try again safely.

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

### Opening hours and bulk port queries

GET and bulk POST search support `activatedFrom`, `activatedTo` RFC3339 closed interval, supports unilateral queries, reverse or invalid range returns 200 / 10700. Intersect the scope with IP, port, order, group, etc. Batch `ips` Support `192.0.2.1:18080`, `[2001:db8::4]:18080`; No port query matches all ports, IPv6 with ports must use square brackets.

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);}
