Skip to content

Account Info

Method: POST

Endpoint: /api/v1/account/info

Send the request body with Content-Type: application/json.

POST/api/v1/account/infoGet account info
Required

Stored only in this browser tab. Sent only to https://openapi.coreclaw.com.

BodyNot required
This endpoint takes no body parameters. Spec: Send `{}` or omit the body.
Terminal window
curl -X POST "https://openapi.coreclaw.com/api/v1/account/info" \
-H "api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
--data "{}"
{
"code": 0,
"message": "success",
"data": {
"balance": "10122.5547",
"traffic": 178194757135,
"traffic_expiration_at": 1775267018
}
}
ParameterExample ValueTypeDescription
code0IntegerView help
messagesuccessStringResponse message
data-ObjectResponse payload
└─ balance10122.5547StringAccount balance ($)
└─ traffic178194757135IntegerConsumed traffic (bytes)
└─ traffic_expiration_at1775267018IntegerTraffic expiration time (timestamp, seconds)