# Balance history API

**URL:** <https://community.bitquery.io/t/balance-history-api/843>\
**Category:** GraphQL API\
**Created:** [February 9, 2022, 8:26am UTC](https://community.bitquery.io/t/balance-history-api/843 "2022-02-09T08:26:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfl694](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jfl694](https://community.bitquery.io/u/jfl694)\
**Post date:** [February 9, 2022, 8:26am UTC](https://community.bitquery.io/t/balance-history-api/843/1 "2022-02-09T08:26:45Z")

</div>

I use this query to get historical balance of an address -

```auto
query {
  ethereum {
    address
    (
      address: 
      {
        in: ["0x8a8aaaefbeee3fc7ca30a0f9a2c5c5ea0e83ebb0"] 
      }
    ) {
      balances 
        {
          history 
          {
            timestamp value 
          }
          currency 
          {
            symbol 
            name
          }
          value 
        }
    }
  }
}

```

It used to work fine till a few days ago, now I get this error -  
`[{ "message": "Balances must have a filter by one currency to get history", "locations": [ { "line": 12, "column": 11 }], "path": ["ethereum", "address", 0, "balances", 0, "history"], "error_type": "client" }, { "message": "Balances must have a filter by one currency to get history", "locations": [{ "line": 12, "column": 11 }], "path": ["ethereum", "address", 0, "balances", 1, "history"], "error_type": "client" }, { "message": "Balances must have a filter by one currency to get history", "locations": [{ "line": 12, "column": 11 }], "path": ["ethereum", "address", 0, "balances", 2, "history"], "error_type": "client" }, etc`

It seems inconsistent as well, it returns both incomplete json (with null history values) and the error. Is this expected, does the balances now require a currency filter? Any reason for this update?

---

<div class="post-metadata">

**Author:** ![aman](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@aman](https://community.bitquery.io/u/aman)\
**Post date:** [February 10, 2022, 6:45am UTC](https://community.bitquery.io/t/balance-history-api/843/2 "2022-02-10T06:45:36Z")

</div>

We are having trouble with balance api, we are working constantly to fix it. Please check [GraphQL IDE](https://graphql.bitquery.io/ide) for the time being for other queries that are working that might help you with a temporary fix

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [February 10, 2022, 11:07am UTC](https://community.bitquery.io/t/balance-history-api/843/3 "2022-02-10T11:07:37Z")

</div>

Yes this is legitimate problem, we have informed our devs, will get back to you.

---

<div class="post-metadata">

**Author:** ![12345678](https://avatars.discourse-cdn.com/v4/letter/1/f475e1/32.png) [@12345678](https://community.bitquery.io/u/12345678)\
**Post date:** [February 10, 2022, 11:56am UTC](https://community.bitquery.io/t/balance-history-api/843/4 "2022-02-10T11:56:26Z")

</div>

Was facing this query problem as well. Hope that you guys can fix it back asap to how it was working before as i am using this query for a project and it would no longer work if any kind of changes or filter are now being required. Thank you!

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [February 14, 2022, 6:40am UTC](https://community.bitquery.io/t/balance-history-api/843/5 "2022-02-14T06:40:08Z")

</div>

> [@jfl694](#):
>
> `0x8a8aaaefbeee3fc7ca30a0f9a2c5c5ea0e83ebb0`

We have raised priority for this, will let you know about it ASAP

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [February 14, 2022, 10:04am UTC](https://community.bitquery.io/t/balance-history-api/843/6 "2022-02-14T10:04:53Z")

</div>

Hey guys, we have done changes on the API… now balance history API need currency ID…

---

<div class="post-metadata">

**Author:** ![12345678](https://avatars.discourse-cdn.com/v4/letter/1/f475e1/32.png) [@12345678](https://community.bitquery.io/u/12345678)\
**Post date:** [February 16, 2022, 4:02am UTC](https://community.bitquery.io/t/balance-history-api/843/7 "2022-02-16T04:02:13Z")

</div>

Oh no. So there is no other way to get the balance history of all the transferAmount for all the different currency at once?

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [February 17, 2022, 12:35pm UTC](https://community.bitquery.io/t/balance-history-api/843/8 "2022-02-17T12:35:14Z")

</div>

No… you can’t get history data for all currency at once…

rather get balance than history for each currency.
