Place a static proxy order
Purchase static IP, select region, quantity and duration, and view order results.
Interfaces and authentication
/openapi/v1/static/ordersPurchase static IPs. Use items[].durationDays to select the duration, which defaults to 30 days. Refer to the offer for supported durations and the order result for the final price.
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. |
Request example · application/json
| Field | Type | Required field | Default values / Limits | Notes |
|---|---|---|---|---|
clientOrderNo | string | Yes, I am. | Pattern ^[A-Za-z0-9_.-]{1,64}$ | Client order number of 1–64 characters using letters, digits, underscores, periods, or hyphens. Submitting the same reference and parameters again returns the original result for the account. |
items | object[] | Yes, I am. | Min items 1; Max items 100 | Array of results or submitted items. See the nested fields for details. |
items[].offerId | integer | Yes, I am. | Minimum 1; Format int64 | ID of a purchasable offer returned by the offer list. |
items[].quantity | integer | Yes, I am. | Minimum 1; Maximum 1000 | Number of IPs to purchase for this offer, from 1 to 1000, subject to available stock and provider capabilities. |
items[].durationDays | integer | No. | Default 30; Minimum 30; Maximum 360 | Purchase duration in days. Defaults to 30 when omitted. Must be a multiple of 30 between 30 and 360 and comply with the offer's capabilities.purchase rules. |
Example of a request
curl --request POST \
"https://api.zzhttp.com/openapi/v1/static/orders?api_key=${STATIC_API_KEY}" \
--header 'Content-Type: application/json' \
--data '{"clientOrderNo":"platform-order-001","items":[{"offerId":17,"quantity":1,"durationDays":30}]}'Successful response
The request was processed. Check code, data.status, and each item's reason to determine whether it succeeded.
Responses omit proxy passwords. Use the credentials endpoint to retrieve them.
{
"code": 200,
"message": "Success",
"requestId": "00000000-0000-4000-8000-000000000001",
"data": {
"orderNo": "STATIC-DEMO-001",
"clientOrderNo": "platform-order-001",
"kind": "purchase",
"status": "accepted",
"totalAmountCents": 3500,
"currency": "CNY",
"settlement": {
"fundingSource": "wallet",
"reservedAmountCents": 3500,
"frozenAmountCents": 3500,
"capturedAmountCents": 0,
"releasedAmountCents": 0,
"gift": {
"reservedAmountCents": 0,
"capturedAmountCents": 0,
"releasedAmountCents": 0
},
"recharge": {
"reservedAmountCents": 3500,
"capturedAmountCents": 0,
"releasedAmountCents": 0
}
},
"items": [
{
"itemId": 201,
"offerId": 17,
"status": "accepted",
"requestedQuantity": 1,
"deliveredQuantity": 0,
"durationDays": 30,
"unitPriceCents": 3500,
"totalAmountCents": 3500,
"pricingSource": "retail",
"frozenAmountCents": 3500,
"capturedAmountCents": 0,
"releasedAmountCents": 0,
"instanceIds": [],
"errorCode": "",
"errorMessage": "",
"nextAction": ""
}
],
"createdAt": "2026-10-06T08:00:00Z",
"completedAt": null,
"queryUrl": "/openapi/v1/static/orders/STATIC-DEMO-001",
"source": "api"
}
}Errors and Retry
HTTP 200 with code 200 confirms acceptance. On a timeout or HTTP 500, look up the original clientOrderNo or clientOperationNo before retrying. Reusing a reference with different parameters returns HTTP 200 and business code 10705. Do not submit a new reference to retry the same transaction.
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.