Skip to Content
Get Credits

Get Credits

Send a GET request to this endpoint to see how many credits your account has left, for example before a bulk render.

You will need to authenticate to use this API. See authentication.

Request

GET https://api.ojo.so/v1/credits
curl --request GET \ --url https://api.ojo.so/v1/credits \ --header 'Authorization: Bearer <your API key>'

Response

Your current credits.

{ "left": 2741, "total": 3000, "expiresAt": "2026-11-26T09:12:44Z" }
FieldTypeDescription
leftnumberCredits you can still spend
totalnumberCredits your current batches held, spent ones included
expiresAtstring or nullWhen the last current batch expires. null when you have no credits

A plan adds a batch every billing period. See pricing  for what a credit buys.