# Get more depth in historical data price

**URL:** <https://community.bitquery.io/t/get-more-depth-in-historical-data-price/2426>\
**Category:** GraphQL API\
**Created:** [July 5, 2025, 11:04am UTC](https://community.bitquery.io/t/get-more-depth-in-historical-data-price/2426 "2025-07-05T11:04:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sadfsdf](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sadfsdf](https://community.bitquery.io/u/sadfsdf)\
**Post date:** [July 5, 2025, 11:04am UTC](https://community.bitquery.io/t/get-more-depth-in-historical-data-price/2426/1 "2025-07-05T11:04:22Z")

</div>

I get i can have the historical OLHC prices with this query but only over a week. Is there a way to get more history than that?

```auto
query{
  Solana {
    DEXTradeByTokens(
      orderBy: {descendingByField: "Block_Timefield"}
      where: {Trade: {Currency: {MintAddress: {is: "6D7NaB2xsLd7cauWu1wKk6KBsJohJmP2qZH9GEfVi5Ui"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}, Dex: {ProgramAddress: {is: "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"}}}}
    ) {
      Block {
        Timefield: Time(interval: {in: minutes, count: 1})
      }
      volume: sum(of: Trade_Amount)
      Trade {
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
        open: Price(minimum: Block_Slot)
        close: Price(maximum: Block_Slot)
      }
      count
    }
  }

```

---

<div class="post-metadata">

**Author:** ![Divya](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@Divya](https://community.bitquery.io/u/Divya)\
**Post date:** [July 29, 2025, 5:43am UTC](https://community.bitquery.io/t/get-more-depth-in-historical-data-price/2426/2 "2025-07-29T05:43:17Z")

</div>

Set `dataset:combined` . Default is realtime, which is only a few hours.
