Skip to main content

Subscription

Returns your current rotating proxy tariff, remaining traffic balance and the connection data (gateway host and ports) you need to build proxy connections.

Get Subscription​

Endpoint​

GET /api/v2/rotating-proxies/subscription/

Request​

curl -X 'GET' \
'https://app.cyberyozh.com/api/v2/rotating-proxies/subscription/' \
-H 'accept: application/json' \
-H 'X-Api-Key: your_api_key_here'

Response​

{
"expires_at": "2026-07-24T12:00:00Z",
"traffic_left_mb": 51200,
"plan_id": "standard-50",
"plan_label": "Standard 50 GB",
"proxy_host": "gate.cyberyozh.net",
"proxy_port": 10000,
"proxy_port_socks5": 11000,
"provisioning_status": "active",
"failure_reason": null,
"settings": {
"auto_renewal": false,
"traffic_renewal_enabled": false,
"traffic_renewal_threshold_mb": 0
}
}

Response Fields​

FieldTypeDescription
expires_atstring|nullSubscription expiry datetime (UTC)
traffic_left_mbintegerRemaining traffic balance, in megabytes
plan_idstringIdentifier of the current tariff plan
plan_labelstringHuman-readable tariff name
proxy_hoststringProxy gateway hostname
proxy_portintegerHTTP(S) gateway port
proxy_port_socks5integerSOCKS5 gateway port
provisioning_statusstringpending, active, failed or canceled
failure_reasonstring|nullReason when provisioning_status is failed
settingsobjectAuto-renewal and traffic auto-top-up settings

Settings Fields​

FieldTypeDescription
auto_renewalbooleanWhether the plan renews automatically on expiry
traffic_renewal_enabledbooleanWhether traffic is auto-topped-up when low
traffic_renewal_threshold_mbintegerTraffic threshold (MB) that triggers an auto top-up

Error Responses​

No Active Subscription (404)​

{
"detail": "No active rotating proxy subscription."
}

Notes​

  • traffic_left_mb is your traffic balance — usage is metered by the network and deducted as you consume bandwidth.
  • Use proxy_host with proxy_port for HTTP(S) connections and with proxy_port_socks5 for SOCKS5.
  • Purchasing or changing a plan is done in the dashboard; this endpoint is read-only.