Pump.fun history: daily OHLCV older than 30 days
Daily USD OHLCV of a Pump.fun token for the 90 days before the Trading API window, from the archive dataset.
What it returns
- block time
- sum of trade amount
- sum of trade side amount in USD
- price in USD
- count
Filters
- currency mint address is 9BB6NF…pump
- side currency mint address is So1111…1112
The query
{
Solana(dataset: archive) {
DEXTradeByTokens(
where: {
Block: { Date: { since_relative: { days_ago: 120 }, till_relative: { days_ago: 30 } } }
Trade: {
Currency: { MintAddress: { is: "9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump" } }
Side: { Currency: { MintAddress: { is: "So11111111111111111111111111111111111111112" } } }
}
}
orderBy: { descendingByField: "Block_Timefield" }
limit: { count: 90 }
) {
Block {
Timefield: Time(interval: { in: days, count: 1 })
}
volume: sum(of: Trade_Amount)
volume_usd: sum(of: Trade_Side_AmountInUSD)
Trade {
high: PriceInUSD(maximum: Trade_PriceInUSD)
low: PriceInUSD(minimum: Trade_PriceInUSD)
open: PriceInUSD(minimum: Block_Slot)
close: PriceInUSD(maximum: Block_Slot)
}
trades: count
}
}
}