This API endpoint allows you to check your account credit balance.

Successful Response

HTTP/1.1 200 OK
{
    "success": true,
    "credits_info": {
        "credits_remaining": 100
    }
}

Response parameter

Parameter

Type

Definition

credits_remaining

[integer]

Available credits in your account

Other Response

The response you get when the API key is invalid:

HTTP/1.1 401 Unauthorized
{
    "result": "Invalid API key",
    "success": false
}
Language
Authentication
Query