# Querying the flow chain

**URL:** <https://forum.flow.com/t/querying-the-flow-chain/1509>\
**Category:** Flow Go SDK\
**Tags:** flow-sdk-go\
**Created:** [March 17, 2021, 11:21pm UTC](https://forum.flow.com/t/querying-the-flow-chain/1509 "2021-03-17T23:21:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deetow](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@Deetow](https://forum.flow.com/u/Deetow)\
**Post date:** [March 17, 2021, 11:21pm UTC](https://forum.flow.com/t/querying-the-flow-chain/1509/1 "2021-03-17T23:21:46Z")

</div>

Hi,

I was wondering if there was an API available that would let me query from anywhere in the blockchain. From my understanding, GetEventsForHeightRange() can only grab the last 1000 blocks and the only way to query blocks is to use GetLatestBlock() which will only grab the last block in the chain.

For some background information, I want to be able to query the Top Shot flow blockchain for all transactions.

Thanks

---

<div class="post-metadata">

**Author:** ![flowjosh](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/flowjosh/32/362_2.png) [@flowjosh](https://forum.flow.com/u/flowjosh)\
**Post date:** [March 22, 2021, 7:21pm UTC](https://forum.flow.com/t/querying-the-flow-chain/1509/2 "2021-03-22T19:21:02Z")

</div>

@Deetow Unfortunately, this isn’t possible at the moment. We hope to be able to have full archive nodes in the future so that data can be queried from any previous block, but it isn’t a super high priority right now.

---

<div class="post-metadata">

**Author:** ![Deetow](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@Deetow](https://forum.flow.com/u/Deetow)\
**Post date:** [March 22, 2021, 8:08pm UTC](https://forum.flow.com/t/querying-the-flow-chain/1509/3 "2021-03-22T20:08:07Z")

</div>

Thanks for the response! Seems like the the only option then is to query the whole blockchain for all events until that happens
