Skip to main content
GET
/
credits
Get Credits
curl --request GET \
  --url https://api.moda.app/v1/credits \
  --header 'Authorization: Bearer <token>'
{
  "plan": "<string>",
  "credits_remaining": 123,
  "credits_limit": 123,
  "credits_reset_date": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.moda.app/llms.txt

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

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'). 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.