Skip to content

Get User Account

Method: GET

Endpoint: /api/v2/users/account

Authentication: Supports Authorization: Bearer <YOUR_API_KEY>, api-key: <YOUR_API_KEY>, and ?token=<YOUR_API_KEY>. Prefer Bearer token.

GET/api/v2/users/accountGet user account
AuthenticationRequired

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

Request BodyNot applicable
No JSON request body is defined for this operation.

Use this endpoint to verify the token and read account balance.

Terminal window
curl -X GET "https://openapi.coreclaw.com/api/v2/users/account" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"code": 0,
"data": {
"balance": "2.7129",
"balance_expiration_at": 1812418930
},
"message": "success",
"request_id": "req-123"
}
  • API v2 supports Bearer token, the api-key header, and query token. Prefer Bearer token.
HTTP StatusApplication CodeMeaning
2000OK
40011000Bad Request
40112001Unauthorized
40411004Not Found
42913000Too Many Requests
50010000Internal Server Error