🐛 balance-history endpoint returning empty data on active accounts

Hi team,

I’m running into an issue with the GET /accounts/{account_identifier}/balance-history endpoint from the Ledger API.

Querying the following account:

300d6f0058417bb5131c7313a3fe7f7b90510ca2f413ab863d39b1e35eceebad

With this simple request:

curl -X GET \
  "https://ledger-api.internetcomputer.org/accounts/300d6f0058417bb5131c7313a3fe7f7b90510ca2f413ab863d39b1e35eceebad/balance-history" \
  -H "accept: application/json"

Returns:

{ "data": [] }

I’ve also tried using the start/end parameters with both timestamps and date formats, same result: an empty array.

This issue persists across multiple accounts, even ones that are clearly active.

:magnifying_glass_tilted_right: Example Account Snapshot (from dashboard)

  • Balance: 3,098 ICP
  • Total Transactions: 25,365
  • Multiple transactions occurred today, July 30, 2025

:paperclip: Visual Evidence


It seems like this endpoint either:

  • Has delayed indexing or data population
  • Or doesn’t properly surface the balance change history for certain accounts

Would appreciate help or clarification, I’m trying to use this endpoint to track and visualize daily balance trends.

Thanks!

Unsure about the API works behind the scenes, but the ICP ledger is open-source: ic/rs/ledger_suite/icp at master · dfinity/ic · GitHub! You can get the same information by querying the canister directly: ryjl3-tyaaa-aaaaa-aaaba-cai.

https://dashboard.internetcomputer.org/canister/ryjl3-tyaaa-aaaaa-aaaba-cai

Thank you for the answer but the ledger canister doesn’t have the balance-history feature, you can only query the current balance (you can also do it via the Ledger API it works fine).
What I can do instead is fetch every transaction and build the balance history myself but it’s a bit tedious and since I saw the Ledger API had this feature I thought I wouldn’t have to do it myself (Im lazy I know).

Hi, I work on the dashboard team and it looks like the balance-history API is only intended for tracking SNS accounts. No balance history is currently maintained for non-SNS accounts, hence the empty data. At the very least the documentation should be updated to make this more clear. But I will also investigate how feasible it would be to maintain balance history for all ICP accounts.

3 Likes