Skip to content

Balance

Description

Balance allows you to check how much paid requests are still available. When the API key is deactivated, please contact ITP Support.

GET /public-api/data/balance
Warning

Header x-api-key should be added.

Response body

Response is application/json:

{
    "balance": 24986,
    "deactivatedAt": null
}

Errors handling

Possible error statuses: 403, 500. Examples are given below:

Tip

🙋‍♂️ Please contact ITP Support to increase your API limits.

{
    "error": {
        "key": "general.error.forbidden",
        "param": null,
        "message": "You API key is deactivated. Please contact support."
    }
}
Failure

Most probably we're already working on it. Please contact ITP Support to get status on the issue.

{
    "error": {
        "key": "general.error.serverError",
        "message": "Something went wrong, please contact our support.",
    }
}