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

Please log in to the Dashboard-MENU-My Account to view your token parameter value

key

string

Yes

Please log in to the Dashboard-MENU-My Account to view your key parameter value

Response example

{
    "code": 200,
    "data": {
        "expiration_time": "2025-03-26",
        "traffic_balance": 10000
    },
    "msg": "ok"
}

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

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

-

Last updated