Ledger Enterprise
API Documentation V1
API Documentation V1
  • GETTING STARTED
    • Welcome
    • Getting Started
    • Authentication
    • Rate Limits
    • Pagination
  • tutorials
    • Register a new API User
    • First Steps as an API User
    • Generate Reporting API Keys
    • Manage Reporting API Keys
    • TradeLink Integration Guide for Liquidity Providers
  • REFERENCE
    • API reference
      • Accounts
        • Search Accounts
        • Get an Account by ID
        • Addresses
          • [Decprecated] Get Receiving Addresses of an Account
          • Get Receiving Addresses of an Account
          • [Decprecated] Get an address by index for an account
        • Balances
        • Currency
        • History
        • Labels
        • NFT Collections
        • NFT Portfolio
        • NFTs
        • Sync
        • Tokens
        • ERC20 Child Accounts
      • API users
        • Get List of API Users
        • Create an API User
        • Get an API User
        • Register
      • Currencies and Tokens
        • List Currencies
        • List Tokens
        • Get Currency by Name
        • Get a Token by Network and Address
        • Currency Name and Address Pair
      • Digests
        • Search Digests
        • Get Digests by ID
        • Digest History
      • Entities
        • Search Entity
        • Get an Entity by ID
        • Entity History
        • Get the Users of an Entity
      • Groups
        • Search Group
        • Get Group by ID
        • Group History
      • Labels
      • Messages
        • Search Message
        • Get a Message by ID
        • Message History
      • Organization
      • Pledges
        • Search Pledge
        • Get a Pledge by ID
      • Requests
        • Search Request
        • Create Request
        • Get Request by ID
        • Get Request Challenge (Approve)
        • Get Request Challenge (Reject)
        • Approve Request
        • Reject Request
        • Get the Request's Governance Status
      • Settlements
        • Search Settlements
        • Create Settlement
        • Get a Settlement by ID
      • Transactions
        • Search Transaction
        • Create a Transaction
        • Get a Transaction by ID
        • Estimate Transaction Fees
        • Estimate Transaction Fees
        • Approve Transaction
        • Reject Transaction
        • Transaction History
        • Transaction Labels
      • Users
        • Search Users
        • Search User by ID
        • User History
      • Whitelists
        • Search Whitelist
        • Get Whitelist by ID
        • Whitelist History
      • Auth
        • Get JWT Token
        • Refresh JWT Token
      • Compliance
        • Get an Address' Risk Assessment
        • Get an Address' Sanctions
      • Notifications
        • Get Notification Configuration
        • Set Notification Configuration
    • Specification
Powered by GitBook
On this page
  1. REFERENCE
  2. API reference
  3. Accounts

Balances

Previous[Decprecated] Get an address by index for an accountNextCurrency

Last updated 15 days ago

Get an account's balances by ID

get

This method returns the account's balances that matches the entered ID.

Authorizations
Path parameters
account_idintegerRequired

The account's ID

Responses
200
Account object
application/json
Responseone of
or
or
404
Account not found
application/json
get
GET /accounts/{account_id}/balances HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
  "available": "750",
  "pending": "250",
  "total": "1000"
}

Get an account's balances history by ID

get

This method returns the account's balances history that matches the entered ID.

Authorizations
Path parameters
account_idintegerRequired

The account's ID

Query parameters
endstring · date-time | nullableOptional

End of the balance history time span.

Default: 2025-04-08T14:57:28.155582+00:00
startstring · date-time | nullableOptional

Start of the balance history time span.

Default: 2025-04-08T14:57:28.155554+00:00
Responses
200
Account object
application/json
501
Not supported for this currency
application/json
get
GET /accounts/{account_id}/balances/history HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
  "account_index": 1,
  "balances": [
    {
      "date": "text",
      "value": "text"
    }
  ],
  "currency": {
    "magnitude": 1,
    "name": "text",
    "network": "text",
    "token_address": "text"
  }
}
  • GETGet an account's balances by ID
  • GETGet an account's balances history by ID