---
title: "Credits API reference"
url: "https://coldagentai.com/docs/api/credits.md"
canonical_url: "https://coldagentai.com/docs/api/credits"
last_updated: "2026-10-19"
type: "reference"
summary: "Read the plan credit wallet and the never-expiring top-up wallet that email verification, prospect sourcing and autopilot approval spend from."
related: ["https://coldagentai.com/docs/api.md", "https://coldagentai.com/docs/authentication.md", "https://coldagentai.com/docs/errors.md", "https://coldagentai.com/docs/api/accounts.md", "https://coldagentai.com/docs/api/verification.md"]
install: "claude mcp add --transport http coldagentai-free https://coldagentai.com/api/mcp"
---

# Credits API reference

> **For AI agents:** the complete index of ColdAgentAI pages is [llms.txt](https://coldagentai.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Read the plan credit wallet and the never-expiring top-up wallet that email verification, prospect sourcing and autopilot approval spend from.

Read the credit wallets that verification, prospect sourcing and autopilot approval spend from. 1 operation.

## Operations

Authenticate as described in [Authentication](https://coldagentai.com/docs/authentication.md). Every operation below is generated from the [OpenAPI document](https://coldagentai.com/docs/openapi.md).

| Method and path | Scope | What it does |
| --- | --- | --- |
| `GET /v1/credits` | read | Credit balances |

## GET /v1/credits

Returns the plan wallet (granted each billing month, expires unspent at the month end, spent first) and the top-up wallet (bought in packs, never expires), plus the pack prices.

Scope: `read`. A read key and a write key both work. Success: HTTP 200.

### Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `plan_wallet` | object | yes | Plan credits: granted each billing month, expire unspent at the month end. Spent first. |
| `plan_wallet.granted` | integer | yes | No further constraints. |
| `plan_wallet.spent` | integer | yes | No further constraints. |
| `plan_wallet.reserved` | integer | yes | Credits held by operations still in flight. |
| `plan_wallet.available` | integer | yes | Credits you can spend now. |
| `top_up_wallet` | object | yes | Top-up credits: bought in packs, never expire. |
| `top_up_wallet.granted` | integer | yes | No further constraints. |
| `top_up_wallet.spent` | integer | yes | No further constraints. |
| `top_up_wallet.reserved` | integer | yes | Credits held by operations still in flight. |
| `top_up_wallet.available` | integer | yes | Credits you can spend now. |
| `total_available` | integer | yes | No further constraints. |
| `pricing_status` | "owner-approved" | yes | No further constraints. |
| `credit_pack` | object | yes | No further constraints. |
| `credit_pack.pack_size` | integer | yes | No further constraints. |
| `credit_pack.cents_per_pack` | integer | yes | No further constraints. |
| `credit_pack.volume_threshold_credits` | integer | yes | No further constraints. |
| `credit_pack.volume_cents_per_pack` | integer | yes | No further constraints. |

Response example, HTTP 200:

```
{
  "plan_wallet": {
    "granted": 1,
    "spent": 1,
    "reserved": 1,
    "available": 1
  },
  "top_up_wallet": {
    "granted": 1,
    "spent": 1,
    "reserved": 1,
    "available": 1
  },
  "total_available": 1,
  "pricing_status": "owner-approved",
  "credit_pack": {
    "pack_size": 1,
    "cents_per_pack": 1,
    "volume_threshold_credits": 1,
    "volume_cents_per_pack": 1
  }
}
```

### Errors

[`unauthorized`](https://coldagentai.com/docs/errors.md#unauthorized), [`rate_limited`](https://coldagentai.com/docs/errors.md#rate_limited), [`internal_error`](https://coldagentai.com/docs/errors.md#internal_error). Every error uses the [single format](https://coldagentai.com/docs/errors.md#format).

### Rate limits

Counted per key: 200 requests per 10 seconds. Every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. Over the limit the answer is `429 rate_limited` with `Retry-After`. See [Rate limits](https://coldagentai.com/docs/rate-limits.md).

### Examples

cURL:

```
curl "https://api.coldagentai.com/v1/credits" \
  -H "Authorization: Bearer $COLDAGENTAI_API_KEY"
```

JavaScript (fetch):

```
const res = await fetch(`https://api.coldagentai.com/v1/credits`, {
  headers: { Authorization: `Bearer ${process.env.COLDAGENTAI_API_KEY}` },
});
if (!res.ok) throw new Error(JSON.stringify(await res.json()));
const data = await res.json();
```

## Related

- [API reference](https://coldagentai.com/docs/api.md)
- [API authentication](https://coldagentai.com/docs/authentication.md)
- [API errors](https://coldagentai.com/docs/errors.md)
- [Accounts API reference](https://coldagentai.com/docs/api/accounts.md)
- [Verification API reference](https://coldagentai.com/docs/api/verification.md)
