Your key
Get the calling key's plan, balance and limits
GEThttps://api.arzdigital.com/v1/key/info
X-API-Key headerHow credits workFree. It still works at zero balance and after a plan expires, so you can always find out why calls are being refused. It counts toward the per-minute rate limit.
Credit use: This call is free.
An empty result and any error cost nothing.
Parameters
This call takes no parameters.
Request headers
X-API-KeystringRequiredYour API key. Send it in this header on every call; it is not accepted in the URL.
Response
The key, plan, balance and limits.
X-Credits-Charged is 0.Response fields (20)
statusstringdataobjectdata.keyobjectdata.key.prefixstringThe visible 8-character key prefix.data.key.namestring | nulldata.key.statusstringdata.planobjectdata.plan.codestringdata.plan.namestringdata.creditsobjectdata.credits.balanceintegerCurrent balance. Can be negative.data.credits.allowanceintegerCredits granted per period.data.credits.reset_atstringWhen the balance next resets.data.limitsobjectdata.limits.requests_per_minuteintegerdata.limits.history_depth_daysinteger | nullDays of history the plan allows. Null means full history.data.limits.max_keysintegerdata.subscriptionobjectdata.subscription.statusstringdata.subscription.ends_atstring | nullNull when the plan does not expire.
Response headers
X-Credits-ChargedCredits this call cost.0on every non-200 response.X-Credits-RemainingAccount balance after this call, not counting what calls still in flight have set aside. Negative only for an account in debt after an adjustment.X-RateLimit-LimitRequests per minute allowed for this key.X-RateLimit-RemainingRequests left in the current window.X-RateLimit-ResetUnix seconds at which the window has room again.
Errors
invalid_keyerror_code 1002The key is missing
Errors are never charged. Errors