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/creditscURL
curl --request GET \
--url https://api.ojo.so/v1/credits \
--header 'Authorization: Bearer <your API key>'Response
200
Your current credits.
{
"left": 2741,
"total": 3000,
"expiresAt": "2026-11-26T09:12:44Z"
}| Field | Type | Description |
|---|---|---|
| left | number | Credits you can still spend |
| total | number | Credits your current batches held, spent ones included |
| expiresAt | string or null | When 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.