API reference
Introduction
This reference describes OrbiProxy downstream OpenAPI endpoints, parameters, and examples. For auth, read the Integration guide .
Uniform prefix: /v1/open. All responses are JSON:
{ "code": 0, "message": "ok", "ts": 1710000000000, "data": {} }OpenAPI endpoint list
Account & products
Query balance
Endpoint
/v1/open/balanceHTTP method
GETRequest content type
application/jsonQuery parameters (none)
Response parameters
| Name | Example | Type | Description |
|---|---|---|---|
| code | 0 | Integer | Business status code; 0 = success |
| message | ok | String | Response message |
| ts | 1710000000000 | Integer | Timestamp (ms) |
| data | Object | Payload | |
| data | Object | Balance info | |
| ├─balance | 12500 | Integer | Available balance (cents, USD cents) |
| ├─currency | USD | String | Currency |
Response example
{
"code": 0,
"message": "ok",
"ts": 1710000000123,
"data": { "balance": 12500, "currency": "USD" }
}List products
Endpoint
/v1/open/productsHTTP method
GETRequest content type
application/jsonQuery parameters
| Name | Example | Type | Description |
|---|---|---|---|
| type | isp | String | Product type: isp | dynamic | mobile | dc | shared |
| country | US | String | ISO country code (optional) |
| quality | pro | String | Quality tier (optional) |
Response parameters
| Name | Example | Type | Description |
|---|---|---|---|
| code | 0 | Integer | Business status code; 0 = success |
| message | ok | String | Response message |
| ts | 1710000000000 | Integer | Timestamp (ms) |
| data | Object | Payload | |
| data | Object[] | Product list | |
| ├─id | 1 | Integer | Product ID |
| ├─name | US ISP Static | String | Product name |
| ├─product_type | isp | String | Product type (isp / shared / dynamic / …) |
| ├─country_code | US | String | Country code |
| ├─price_cents | 175 | Integer | Unit price (cents, personalized) |
Request example
?type=isp&country=USResponse example
{
"code": 0,
"message": "ok",
"data": [
{ "id": 1, "name": "US ISP Static", "product_type": "isp", "country_code": "US", "price_cents": 175 }
],
"ts": 1710000000123
}Orders
Create order
Endpoint
/v1/open/ordersHTTP method
POSTRequest content type
application/jsonBody parameters
| Name | Example | Type | Description |
|---|---|---|---|
| product_id | 1 | Integer | Product ID |
| qty | 2 | Integer | Quantity |
| type | dynamic | String | Optional. Omit to use catalog product_type; set "dynamic" for traffic packs. Do not send "static" for dynamic SKUs. |
Response parameters
| Name | Example | Type | Description |
|---|---|---|---|
| code | 0 | Integer | Business status code; 0 = success |
| message | ok | String | Response message |
| ts | 1710000000000 | Integer | Timestamp (ms) |
| data | Object | Payload | |
| data | Object | Order | |
| ├─order_no | OP2026... | String | Order number |
| ├─status | paid | String | Order status |
| ├─amount_cents | 350 | Integer | Paid amount (cents) |
Request example
{
"product_id": 1,
"qty": 2
}Response example
{
"code": 0,
"message": "ok",
"data": { "order_no": "OP202611110001", "status": "paid", "amount_cents": 350 },
"ts": 1710000000123
}Query order
Only orders owned by this API user can be queried.
Endpoint
/v1/open/orders/:orderNoHTTP method
GETRequest content type
application/jsonQuery parameters (none)
Response parameters
| Name | Example | Type | Description |
|---|---|---|---|
| code | 0 | Integer | Business status code; 0 = success |
| message | ok | String | Response message |
| ts | 1710000000000 | Integer | Timestamp (ms) |
| data | Object | Payload | |
| data | Object | Order details | |
| ├─order_no | OP2026... | String | Order number |
| ├─status | active | String | Status |
| ├─product_id | 1 | Integer | Product ID |
| ├─qty | 2 | Integer | Quantity |
Response example
{
"code": 0,
"message": "ok",
"data": {
"order_no": "OP202611110001",
"status": "active",
"product_id": 1,
"qty": 2
},
"ts": 1710000000123
}Proxy assets
List proxies
Endpoint
/v1/open/proxiesHTTP method
GETRequest content type
application/jsonQuery parameters
| Name | Example | Type | Description |
|---|---|---|---|
| order_no | OP2026... | String | Filter by order (optional) |
| type | isp | String | Filter by product type (optional) |
Response parameters
| Name | Example | Type | Description |
|---|---|---|---|
| code | 0 | Integer | Business status code; 0 = success |
| message | ok | String | Response message |
| ts | 1710000000000 | Integer | Timestamp (ms) |
| data | Object | Payload | |
| data | Object[] | Proxy list | |
| ├─host | 1.2.3.4 | String | Host |
| ├─port | 10000 | Integer | Port |
| ├─username | user | String | Username |
| ├─password | pass | String | Password |
| ├─protocol | socks5 | String | Protocol |
Request example
?order_no=OP202611110001Response example
{
"code": 0,
"message": "ok",
"data": [
{ "host": "1.2.3.4", "port": 10000, "username": "u", "password": "p", "protocol": "socks5" }
],
"ts": 1710000000123
}Dynamic traffic
Query dynamic traffic balance
Endpoint
/v1/open/trafficHTTP method
GETRequest content type
application/jsonQuery parameters (none)
Response parameters
| Name | Example | Type | Description |
|---|---|---|---|
| code | 0 | Integer | Business status code; 0 = success |
| message | ok | String | Response message |
| ts | 1710000000000 | Integer | Timestamp (ms) |
| data | Object | Payload | |
| data | Object | Traffic | |
| ├─used_mb | 120 | Number | Used MB |
| ├─remain_mb | 1880 | Number | Remaining MB |
| ├─total_mb | 2000 | Number | Total MB |
Response example
{
"code": 0,
"message": "ok",
"data": { "used_mb": 120, "remain_mb": 1880, "total_mb": 2000 },
"ts": 1710000000123
}Extract dynamic IPs
Calls upstream extraction and may incur charges; returns 50201 when upstream is unavailable.
Endpoint
/v1/open/traffic/extractHTTP method
POSTRequest content type
application/jsonBody parameters
| Name | Example | Type | Description |
|---|---|---|---|
| countryCode | US | String | Country code |
| proxyType | socks5 | String | socks5 | http | https |
| num | 1 | Integer | Quantity |
| time | 5 | Integer | Session TTL in minutes (optional) |
Response parameters
| Name | Example | Type | Description |
|---|---|---|---|
| code | 0 | Integer | Business status code; 0 = success |
| message | ok | String | Response message |
| ts | 1710000000000 | Integer | Timestamp (ms) |
| data | Object | Payload | |
| data | Object[] | Extraction result | |
| ├─host | gate.orbiproxy.com | String | Host |
| ├─port | 7778 | Integer | Port |
| ├─username | user_zone_US | String | Username |
| ├─password | ****** | String | Password |
Request example
{
"countryCode": "US",
"proxyType": "socks5",
"num": 1,
"time": 5
}Response example
{
"code": 0,
"message": "ok",
"data": [
{
"host": "gate.orbiproxy.com",
"port": 7778,
"username": "user_zone_US_sid_1_time_5",
"password": "******"
}
],
"ts": 1710000000123
}Webhooks
Order status webhook
Configure webhooks in the console or manage via Bearer API /v1/webhooks. Events: order.paid / order.active / order.failed.
Endpoint
(your configured Webhook URL)HTTP method
POSTRequest content type
application/jsonBody parameters
| Name | Example | Type | Description |
|---|---|---|---|
| event | order.active | String | Event name |
| ts | 1710000000123 | Integer | Timestamp |
| order | Object | Order object | |
| ├─order_no | OP2026... | String | Order number |
| ├─status | active | String | Status |
Request example
{
"event": "order.active",
"ts": 1710000000123,
"order": { "order_no": "OP202611110001", "status": "active" }
}Response example
Return HTTP 2xx. Verify header: X-Webhook-Signature = hex(HMAC-SHA256(webhook_secret, rawBody))