# Getting all Historical data and streaming new data into our own DB

**URL:** <https://community.bitquery.io/t/getting-all-historical-data-and-streaming-new-data-into-our-own-db/575>\
**Category:** GraphQL API\
**Created:** [October 27, 2021, 11:47am UTC](https://community.bitquery.io/t/getting-all-historical-data-and-streaming-new-data-into-our-own-db/575 "2021-10-27T11:47:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xenothan](https://avatars.discourse-cdn.com/v4/letter/x/41988e/32.png) [@Xenothan](https://community.bitquery.io/u/Xenothan)\
**Post date:** [October 27, 2021, 11:47am UTC](https://community.bitquery.io/t/getting-all-historical-data-and-streaming-new-data-into-our-own-db/575/1 "2021-10-27T11:47:39Z")

</div>

One of the immediate needs we have is to pull in all historical transaction data for a specific NFT collection into our DB and then stream new transaction data as its happening.

We’re specifically looking for sales, transfers and mints.

Please can you share some guidance on how we can achieve this

---

<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:** [October 28, 2021, 10:41am UTC](https://community.bitquery.io/t/getting-all-historical-data-and-streaming-new-data-into-our-own-db/575/2 "2021-10-28T10:41:18Z")

</div>

NFT - [Non-fungible Token APIs (NFT APIs) - Bitquery](https://bitquery.io/blog/nft-apis)

To get the latest transfer of an NFT token use this query as an example - [Latest Cryptokitties transfers](https://graphql.bitquery.io/ide/wIpgYb5PXy)

We will come back with more queries.
