GenderAPI technical FAQ

How can I check remaining credits and quota?

API operationsMarkdown version

Direct answer

Answer

Call GET /api/v2/usage with your Bearer API key from trusted server-side code. This request is free and returns data.remaining_credits; omitting a key reads the shared IP trial. V1 and V2 use the same account balance. A prediction’s meta.usage reports that operation’s charge and completion-time balance, which can change with concurrent requests. Keep credentials out of logs and do not treat a balance read as proof that a particular lost request was uncharged.

Further reading

Related guidance

Continue with the primary GenderAPI resources used for this answer.

Credits and usageOpen guide →V2 authentication and free trialOpen guide →