Billing

Get current plan details.

Changed on

Returns the active subscription plan for your account, including billing cycle dates, trial status, plan options, and active addons. Returns null data when no active subscription exists.

get/api/v1/billing/plan

Request

Response

Returns the active subscription plan details, or null when no active subscription exists.

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "data": {
    "name": "Standard",
    "short_description": "Best for small teams",
    "interval": "monthly",
    "status": "active",
    "current_period_start": 1735689600,
    "current_period_end": 1738368000,
    "addons": [
      {
        "key": "extra_queries",
        "purchased_quantity": 1,
        "total_quantity": 500,
        "is_active": true,
        "interval": "monthly"
      }
    ]
  }
}

Changes