Stats

The account's subscription state

The subscription of the key's owner, in one line's worth of fields: enough to say "Trial — N days left", not a billing page. Hobby-only accounts have no subscription and answer status: "none" with only_hobby: true.

get/subscription

Request

Response

The current subscription state.

status'trialing' | 'active' | 'past_due' | 'expired' | 'trial_expired' | 'none' required
is_trialboolean required
ends_atstring date-time

When the current state stops being true — the trial's end while trialing, the grace end (when collection stops) once the trial has expired, the paid period's end otherwise. Absent when unknown.

only_hobbyboolean required

True when the account has hobby sites and nothing else.

Changes

No recorded changes to this operation across all 1 revision of this API.