For the complete documentation index, see llms.txt. This page is also available as Markdown.

Account Balance

Get account balance info

You can query your account balance and other billing details through this API. To make a request, you only need your AIMLAPI key obtained from your account dashboard.

get
Body
–Optional
Responses
200Success
application/json
balancenumberRequired

The total credits associated with the provided API key.

Example: 10000000
lowBalancebooleanRequired

True if the balance is below the threshold.

Example: false
lowBalanceThresholdnumberRequired

Threshold for switching to low balance status.

Example: 10000
lastUpdatedstring Β· date-timeRequired

The date of the request β€” i.e., the current date.

Example: 2025-11-25T17:45:00Z
autoDebitStatusstringRequired

Indicates whether auto top-up is enabled for the plan.

Example: disabled
statusstringRequired

The status of the plan associated with the provided API key.

Example: current
statusExplanationstringRequired

A more detailed explanation of the plan status.

Example: Balance is current and up to date
get/v1/billing/balance
200Success

Get balance info

Returns a user's balance.

get
Body
–Optional
Responses
200Success
application/json
current_balancenumberRequired

current user balance in USD.

Example: 123.45
currencystringRequired

balance currency (always USD)

Example: USD
get/v2/billing
200Success

Get detailed billing info

Returns detailed billing information, balance and auto top-up settings.

get
Body
–Optional
Responses
200Success
application/json
user_idnumberOptional

User ID.

Example: 111
emailstringOptional

User email.

Example: user@example.com
current_balancenumberOptional

Current balance in USD.

Example: 100.5
currencystringOptional

Currency (always USD).

Example: USD
get/v2/billing/detail
200Success

Last updated

Was this helpful?