Skip to main content
GET
Get Credits

Authorizations

Authorization
string
header
required

API key from Settings > Developer > REST API

Headers

Moda-Version
enum<string>
default:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Available options:
2026-04-12,
2026-05-01
Example:

"2026-05-01"

Response

Successful Response

plan
string
required

Current billing plan identifier (e.g. 'free', 'paid', 'ultra', 'enterprise'). Returns 'unlimited' when billing is not enabled.

credits_remaining
integer | null

Current credit balance. Null if the billing service is unavailable or billing is not enabled for this account.

credits_limit
integer | null

Total credit allowance for the current billing period. Null if billing is not enabled.

credits_reset_date
string | null

ISO 8601 date when credits reset for the current billing period. Null if billing is not enabled or reset date is unavailable.