Main Account
Get Plan Details
API Key
Main Account
Sub Account
Endpoints
Main Account
Get Plan Details
Get the details of proxy plans associated with your account.
GET
/
v1
/
account
/
plan
curl --request GET \
--url https://api.goproxy.com/go-api/v1/account/plan \
--header 'apiKey: <apikey>'
{
"plan": [
{
"status": 1,
"totalTraffic": "1.0",
"availableTraffic": "0.9",
"planName": "1GB",
"effectTime": "2024-12-01 15:30:00 UTC+8",
"expireTime": "2025-01-01 15:30:00 UTC+8",
"orderId": "HW20241201153000000",
"billingCycle": "one_time"
}
]
}
Headers
API key used for authentication.
Query Parameters
The proxy type to query. Use: 1 for Rotating Residential, 2 for Rotating Mobile, 3 for Rotating Datacenter.
Response
200 - application/json
Successful Response
The status of the plan: 1 for normal, 2 for banned, 3 for depleted, 4 for expired.
Example:
1
Total traffic for the plan, in GB.
Example:
"1.0"
Remaining traffic available for use, in GB.
Example:
"0.9"
Name of the plan.
Example:
"1GB"
Start time of the plan's expired period, in yyyy-MM-dd HH:mm:ss format (UTC+8).
Example:
"2024-12-01 15:30:00 UTC+8"
End time of the plan's expired period, in yyyy-MM-dd HH:mm:ss format (UTC+8).
Example:
"2025-01-01 15:30:00 UTC+8"
Unique identifier for the order associated with the plan.
Example:
"HW20241201153000000"
Billing cycle of the plan, e.g., subscription or one_time.
Example:
"one_time"
curl --request GET \
--url https://api.goproxy.com/go-api/v1/account/plan \
--header 'apiKey: <apikey>'
{
"plan": [
{
"status": 1,
"totalTraffic": "1.0",
"availableTraffic": "0.9",
"planName": "1GB",
"effectTime": "2024-12-01 15:30:00 UTC+8",
"expireTime": "2025-01-01 15:30:00 UTC+8",
"orderId": "HW20241201153000000",
"billingCycle": "one_time"
}
]
}