Get Remaining Credits
GET
https://97ai.97claude.com/api/creditsRetrieve your account's current credit balance in real time. No parameters are required. Works with an API key (Bearer) or a logged-in browser session.
- Get real-time credit balance with an immediate response
- Essential for usage monitoring and credit-threshold alerts
Request
Authorization
Provide your bearer token in the Authorization header.
Authorization: Bearer <YOUR_API_KEY>Responses
200 · SuccessResponse — application/json
creditsintegerrequiredCurrent remaining credit balance
Example:
1950Status Codes
| Code | Description |
|---|---|
| 200 | Success — request has been processed successfully |
| 400 | Bad Request — parameters are incorrect or missing |
| 401 | Unauthorized — authentication credentials missing or invalid |
| 405 | Method Not Allowed — request method is not supported |
| 500 | Server Error — an unexpected error occurred, please retry |
Examples
Request — cURL
cURL
curl -X GET "https://97ai.97claude.com/api/credits" \
-H "Authorization: Bearer YOUR_API_KEY"Response — 200
JSON
{
"credits": 1950
}