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
  • REFERENCE
    • API reference
      • Accounts
        • Addresses
        • Balances
          • History
        • Currency
        • History
        • Labels
        • Nft collections
        • Nft portfolio
        • Nfts
        • Sync
        • Tokens
        • Erc20 children accounts
      • Api users
        • Register
      • Currencies
        • Tokens
      • Digests
        • History
      • Entities
        • History
        • Users
      • Groups
        • History
      • Labels
      • Messages
        • History
      • Organization
      • Pledges
      • Requests
        • Approve
        • Challenge
          • Reject
        • Governance status
        • Reject
      • Settlements
      • Transactions
        • Estimate fees
        • Fees
        • Approve
        • History
        • Labels
        • Reject
      • Users
        • History
      • Whitelists
        • History
      • Auth
        • Token
          • Refresh
      • Compliance
        • Address risk
        • Sanctions
      • Notifications
        • Configuration
    • Specification
Powered by GitBook
On this page
  1. REFERENCE
  2. API reference
  3. Accounts
  4. Balances

History

PreviousBalancesNextCurrency

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-01-31T07:53:06.046141+00:00
startstring · date-time | nullableOptional

Start of the balance history time span.

Default: 2025-01-31T07:53:06.046117+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"
  }
}