/api/v1/account/balanceLive token balance, token plan, billing period and subscription presence.
Live token balance, token plan, billing period and subscription presence. A Paid token grant does not itself create a subscription. EXEMPT — does not consume tokens. Accepts session JWT (browser dashboard) OR `X-API-Key` (server-side automation pre-flighting bursty workloads).
Why use this
Common use case
Live account balance from the token ledger, with token-plan allowance, recorded billing period, suspension flag and subscription presence from the existing checkout/cancellation-owned account record. This response does not create a subscription, charge a card or alter renewal rules. A Paid token grant may have has_subscription=false. Subscription presence does not certify invoice payment; use the billing portal to manage an existing subscription.
Response schema
| Field | Type | Nullable | Description |
|---|---|---|---|
| has_subscription | boolean | no | Whether the existing account record contains a Stripe subscription identifier. Set by completed subscription checkout and cleared by subscription cancellation. True does not mean the latest invoice is paid: manage the existing subscription in the billing portal. False permits starting a subscription, including for complimentary Paid token accounts. No Stripe identifier is exposed. |
| current_balance | integer | no | Current available token balance from the token ledger. |
| plan | string | no | Token access tier, normally free or paid. A paid token grant is independent of subscription ownership; use has_subscription for the subscription action. |
| plan_display_name | string | no | Display name of the token plan. |
| monthly_quota | integer | no | Configured token-plan allowance. This is not proof of a paid subscription or a promised refill for a complimentary grant. |
| billing_cycle_end | string | yes | Recorded token billing-period end, if present. Actual Paid renewal depends on the existing subscription payment flow. |
| days_until_refill | integer | yes | Legacy field name: whole days until the recorded period end, clamped to zero. Not a guarantee of a complimentary Paid refill. |
| suspended | boolean | no | Current suspension flag from the token ledger. |
| as_of | string | no | UTC time at which this balance snapshot was generated. |
Sample response
- "has_subscription": true
- "current_balance": 198432
- "plan": "paid"
- "plan_display_name": "Paid"
- "monthly_quota": 200000
- "billing_cycle_end": "2026-05-26T08:39:00.000Z"
- "days_until_refill": 29
- "suspended": false
- "as_of": "2026-04-26T10:14:45.000Z"
Errors
| Status | Label | Description |
|---|---|---|
| 200 | OK | Request succeeded. |
| 400 | Bad Request | Invalid query, body, or path parameter. |
| 401 | Unauthorized | Missing or invalid Authorization header / api_Token. |
| 402 | Payment Required | Insufficient token balance for this call. Top up |
| 429 | Too Many Requests | Rate limit exceeded for your tier (see /pricing for tier limits). Tier limits |
| 500 | Server Error | Unexpected server-side failure. Retry with backoff; report if persistent. |
Code samples
curl "https://api.finradar.ai/api/v1/account/balance" \
-H "X-API-Key: YOUR_API_KEY"Generate an API key in /account/credentials to run live queries (literal YOUR_API_KEY placeholder shown until then).