# Ledger by Novadyne – Get Account Balance

> Ledger by Novadyne – Get Account Balance is a paid API for AI agents from ledger-api.novadyne.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-12).

Retrieves a double-entry ledger account's ID, name, and balance as of an optional date using Ed25519 capability tokens and x402 micropayments.

## Facts

- Endpoint: GET https://ledger-api.novadyne.ai/ledger/accounts/%7Baccount_id%7D
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ledger-by-novadyne-get-account-balance-ea2a79b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AJ7h9nN2Jia155ool8__F

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ledger-by-novadyne-get-account-balance-ea2a79b2
```

Example prompt: What's the current balance and name for account 4821 in the Novadyne ledger? Also give me the balance as of 2024-06-30 if you can.

## When to prefer this

Use this endpoint when you need to retrieve the current or historical balance and metadata for a specific account in the Novadyne double-entry ledger. Prefer it over generic ledger queries when you have a specific account_id and need point-in-time balance data with x402 micropayment authentication.

## Known failure modes

- Account ID not found — returns 404 or error object
- Invalid as_of date format — returns 400 bad request
- Unauthorized — missing or invalid Ed25519 capability token returns 401
- Payment failure — x402 micropayment not processed returns 402
- Account ID type mismatch (non-integer) — returns 400 validation error

## How this service works

Double-entry ledger API with x402 micropayments and Ed25519 capability tokens.

## Output

Returns a JSON object with the account's integer ID, string name, and integer balance (in the ledger's base unit). The balance reflects the double-entry state of the account, optionally as of the requested date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "as_of": {
   "type": "string",
   "description": "Balance as-of date (YYYY-MM-DD)"
  },
  "account_id": {
   "type": "integer",
   "description": "Account ID (path parameter)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "integer"
  },
  "name": {
   "type": "string"
  },
  "balance": {
   "type": "integer"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ledger-by-novadyne-get-account-balance-ea2a79b2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ledger-api.novadyne.ai](https://www.zero.xyz/host/ledger-api.novadyne.ai/llms.txt)
