Traffic Balance

Basic Information

Interface Description: Obtain the traffic balance of Thordata main account through the interface

Interface URL: https://api.thordata.com/api/gateway/getFlowBalance

Request Method: POST

Request parameters

Header:

Parameter name
Type
Required
Describe

sign

string

Yes

Please log in to the Dashboard - Settings - Account Detailsarrow-up-right to view your sign parameter value

apiKey

string

Yes

Please log in to the Dashboard - Settings - Account Detailsarrow-up-right to view your apiKey parameter value

Response example

{
    "code": 200,
    "data": {
        "balance": 1256565741,
        "expire_time": 1739002897
    },
    "msg": "ok"
}
circle-info

If the returned code value is not 200, please check the error code description listarrow-up-right and modify it.

Parameter name
Type
Required
Describe

code

number

No

-

data

object

No

-

balance

number

No

Remaining traffic (bytes)

expire_time

number

No

Expiration timestamp

msg

string

No

-

Last updated