Interface documentation
English
English
  • Public API
    • Introduce
      • Get token and key
    • Account
      • Query Traffic Balance
      • Query Wallet Balance
      • Query Traffic Usage Records
    • Location
      • Get Country List
      • Get State List
      • Get City List
      • Get ASN List
    • Proxy Users
      • Get Proxy Users List
      • Add Proxy Users
      • Update Proxy Users Information
      • Delete Proxy Users
      • Query Traffic Usage Records
    • Whitelist IPs
      • Get Whitelist IPs List
      • Add Whitelist IP
      • Delete whitelist IP
    • ISP / Datacenter Proxies
      • Get Proxy IP List
      • Query Proxy IP Expiration Time
    • Unlimited Proxy Servers
      • Get Unlimited Proxy Server List
      • Restart Unlimited Proxy Server
      • Get Unlimited Proxy Server Monitor
      • Unlimited Proxy Server Renewal
      • Unlimited Proxy Server Upgrades
    • API Extract Links
      • Residential Proxies
      • Unlimited Proxy Servers
  • CDK
    • Create CDK
    • Get CDK List
    • Revoke CDK
    • Get CDK Details
  • Error Code
    • Error code description
Powered by GitBook
On this page
  • Basic Information
  • Request parameters
  • Response example
  1. Public API
  2. Account

Query Traffic Balance

Basic Information

Interface Description: Obtain Thordata master account traffic balance through the interface

Interface URL: https://api.thordata.com/api/account/traffic-balance

Request Method: GET

Request parameters

Params:

Parameter name
Type
Required
Describe

token

string

Yes

key

string

Yes

Response example

{
    "code": 200,
    "data": {
        "expiration_time": "2025-03-26",
        "traffic_balance": 10000
    },
    "msg": "ok"
}
Parameter name
Type
Required
Describe

code

number

No

-

data

object

No

-

traffic_balance

number

Yes

Remaining traffic (MB)

expiration_time

string

Yes

Expiration time

msg

string

No

-

PreviousAccountNextQuery Wallet Balance

Last updated 2 months ago

Please log in to the to view your token parameter value

Please log in to the to view your key parameter value

If the returned code value is not 200, please check the and modify it.

error code description list
Dashboard-MENU-My Account
Dashboard-MENU-My Account