GET /api/v1/usage returns the current billing period of the API key you call it with: how many requests you have used, how many included and overage requests are left, and what the period costs so far. These are the same numbers your invoice is made from.
Calls to this endpoint are free - they are not counted as requests.
Response
All amounts are strings with exact decimals, in EUR.
Limits and freshness
- Usage figures refresh about once a minute, and each answer is cached for up to 60 seconds (see the
Cache-Control: max-ageresponse header). Polling more often returns the same numbers. - Up to 10 calls per minute per API key. More get
429withX-SU-Deny-Reason: usage_rateandRetry-After: 60. - The endpoint answers even when your key is blocked for quota, budget or payment, and it does not use a slot of your concurrent requests limit.
503withRetry-Aftermeans the figures are briefly unavailable; retry after that many seconds.

