> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xroute.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# クレジット残高

> アカウントのプリペイドクレジット残高と有効なキーの利用上限を確認します。

## リクエスト

`GET https://api.xroute.ai/apis/v1/account/balance`

```bash theme={null}
curl https://api.xroute.ai/apis/v1/account/balance \
  -H "Authorization: Bearer $XROUTE_API_KEY"
```

## レスポンス

```json theme={null}
{
  "available_credits_usd": 142.85,
  "key_spend_limit_usd": 500.00,
  "key_spent_usd": 57.15,
  "currency": "USD"
}
```

### フィールド

| フィールド | 型 | 説明 |
| :- | :- | :- |
| `available_credits_usd` | `number` | 現在利用可能なプリペイド残高（USD）。 |
| `key_spend_limit_usd` | `number \| null` | 呼び出し元の API キーに設定された利用上限額。 |
| `key_spent_usd` | `number` | 呼び出し元の API キーで記録された累積利用額。 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.