cURL
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" } ] }
Get the details of proxy plans associated with your account.
API key used for authentication.
The proxy type to query. Use: 1 for Rotating Residential, 2 for Rotating Mobile, 3 for Rotating Datacenter.
Successful Response
Show child attributes
The status of the plan: 1 for normal, 2 for banned, 3 for depleted, 4 for expired.
1
Total traffic for the plan, in GB.
"1.0"
Remaining traffic available for use, in GB.
"0.9"
Name of the plan.
"1GB"
Start time of the plan's expired period, in yyyy-MM-dd HH:mm:ss format (UTC+8).
"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).
"2025-01-01 15:30:00 UTC+8"
Unique identifier for the order associated with the plan.
"HW20241201153000000"
Billing cycle of the plan, e.g., subscription or one_time.
"one_time"