Skip to main content
GET
/
v1
/
organizations
/
billing
/
balance
Get Credit Balance
curl --request GET \
  --url https://api.mixpeek.com/v1/organizations/billing/balance
{
  "organization_id": "<string>",
  "credit_balance": 123,
  "account_tier": "<string>",
  "next_tier": "pro",
  "credits_until_next_tier": 954770,
  "estimated_days_remaining": 15,
  "daily_burn_rate": 0
}

Documentation Index

Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

Response

Successful Response

Response with current credit balance and tier information.

organization_id
string
required

Organization identifier

Example:

"org_demo123"

credit_balance
integer
required

Current credit balance. For FREE tier without auto-billing, this is remaining free tier credits. For auto-billing accounts, this shows current month usage (negative indicates consumption).

Examples:

45230

750

account_tier
string
required

Current account tier: free, pro, team, enterprise

Examples:

"free"

"pro"

"team"

next_tier
string | null

Next available tier or null if at max tier

Example:

"pro"

credits_until_next_tier
integer | null

Credits needed to reach next tier (null if at max tier or N/A)

Example:

954770

estimated_days_remaining
integer | null

Estimated days until credits depleted based on 7-day burn rate. Null if no usage history or unlimited (auto-billing enabled).

Example:

15

daily_burn_rate
number
default:0

Average credits consumed per day (7-day rolling average)

Examples:

3015.3

142.5