GET /credits/balance returns how much of that balance is still available, so you can check it before firing new queries.
🤖 Endpoint:GET https://users.production.judit.io/credits/balance. The response is synchronous (HTTP 200) and carries the remaining credit balance of the account authenticated by theapi-key.
This route serves the pre-paid model. If your account runs on a cycle cap (post-paid), the number you are looking for is
remaining in Cycle Consumption.When to use it
Check before consuming
Confirm there is balance before queueing a batch of queries, avoiding failures mid-processing.
Top-up alert
Notify your team when the balance drops below your integration’s operational floor.
Check the Balance (GET)
GET https://users.production.judit.io/credits/balance
Authentication
Requiredapi-key header, with the key of the account whose balance will be checked. The route takes no parameters — the balance returned is always the one of the authenticated account.
Request Examples
Next Steps
Cycle Consumption
Consolidated consumption and effective cap for the current billing cycle.
Consumption History
List the period’s requests and infer the cost of each operation.