Utility endpoints for authenticated API consumers.
Credit Balance
GET
https://data.api.whiskystats.com
/v01/utilities/credit_balance
Returns your current credit usage and monthly credit limit as non-negative integers, plus the billing cycle end date.
credit_cycle is the cycle end in UTC (YYYY-MM-DD), or null when not configured.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Credit balance for the authenticated consumer
credit_usageinteger · min: 0Credits consumed in the current billing cycle.
credit_limitinteger · min: 0Credit limit for the current billing cycle.
credit_cyclestring | nullEnd date of the current billing cycle in UTC, formatted as YYYY-MM-DD.

