Skip to content
VoiceMint Developers

Get Credit Balance

GET/credits/balance

Get current credit balance.

Authentication

Authorization: Bearer vm_sk_… with the media.read permission (or all.read). See Authentication. SDK: client.credits.balance (Python), client.credits.balance (Node).

Response

200 application/json

FieldTypeDescription
allocated*integerTotal allocated this period
billing_period_endstringEnd of current billing period
billing_period_startstringStart of current billing period
bonus*integerBonus/promotional credits
lifetime_used*integerTotal credits used all time
quota*integerMonthly allocation from subscription
remaining*integerRemaining credits this period
subscription_tierstringCurrent subscription tier
total_available*integerTotal available credits (remaining + bonus)
used_this_period*integerCredits used in current billing period
{
  "allocated": 0,
  "bonus": 0,
  "lifetime_used": 0,
  "quota": 0,
  "remaining": 0,
  "total_available": 0,
  "used_this_period": 0
}

Errors

401Missing, wrong, revoked or expired key.
403The key lacks media.read, the route is not available to keys, or the key's IP allow-list refuses this client.
429Over a rate limit; retry after `Retry-After` seconds.

All statuses: Errors.

Example

curl -X GET "https://api.voicemint.io/api/v1/credits/balance" \
  -H "Authorization: Bearer $VOICEMINT_API_KEY"