Token price data across multiple blockchains
Dune provides reliable token price data for use in your queries across 40+ blockchains. This implementation is a complete rewrite of the price aggregation system with significant improvements.
The prices
schema exposes these main tables:
Table | Description |
---|---|
prices.latest | The most recent price for each token |
prices.day | Daily token prices (most recent price of each day) |
prices.hour | Hourly token prices |
prices.minute | Minute-by-minute token prices |
For best performance, use the table with the coarsest granularity that meets your analytical needs. Querying minute-level data over long time periods can be very resource-intensive.
The price system works in multiple layers:
Base data sources:
dex.trades
)Data processing pipeline:
Token handling:
dune.blockchains
tableAll price tables share the following schema (with slight variations):
Column | Type | Description |
---|---|---|
blockchain | varchar | Blockchain identifier (e.g., ‘ethereum’, ‘arbitrum’) |
contract_address | varbinary | Token contract address (fixed address for native tokens) |
symbol | varchar | Token symbol (e.g., ‘ETH’, ‘USDC’) |
price | double | USD price |
timestamp | timestamp | Timestamp (start of minute, hour, or day) |
decimals | int | Token decimals |
volume | double | Trading volume in USD (from price source) |
source | varchar | Data source (‘coinpaprika’ or ‘dex.trades’) |
source_timestamp | timestamp | Exact timestamp of the source data point |
contract_address
AND blockchain
symbol
is not unique - do not use for token identification or joinsdune.blockchains
tableDune sources trusted token prices from Coin Paprika. These prices:
prices.trusted_tokens
tableFor details on how Dune processes DEX trade data to derive accurate token prices, see the DEX Trade Processing:
dex.trades
tableHere are some examples of how to use the prices tables.
The following tables are maintained for historical compatibility but we no longer add tokens to them:
prices.usd
prices.usd_daily
prices.usd_latest
Token price data across multiple blockchains
Dune provides reliable token price data for use in your queries across 40+ blockchains. This implementation is a complete rewrite of the price aggregation system with significant improvements.
The prices
schema exposes these main tables:
Table | Description |
---|---|
prices.latest | The most recent price for each token |
prices.day | Daily token prices (most recent price of each day) |
prices.hour | Hourly token prices |
prices.minute | Minute-by-minute token prices |
For best performance, use the table with the coarsest granularity that meets your analytical needs. Querying minute-level data over long time periods can be very resource-intensive.
The price system works in multiple layers:
Base data sources:
dex.trades
)Data processing pipeline:
Token handling:
dune.blockchains
tableAll price tables share the following schema (with slight variations):
Column | Type | Description |
---|---|---|
blockchain | varchar | Blockchain identifier (e.g., ‘ethereum’, ‘arbitrum’) |
contract_address | varbinary | Token contract address (fixed address for native tokens) |
symbol | varchar | Token symbol (e.g., ‘ETH’, ‘USDC’) |
price | double | USD price |
timestamp | timestamp | Timestamp (start of minute, hour, or day) |
decimals | int | Token decimals |
volume | double | Trading volume in USD (from price source) |
source | varchar | Data source (‘coinpaprika’ or ‘dex.trades’) |
source_timestamp | timestamp | Exact timestamp of the source data point |
contract_address
AND blockchain
symbol
is not unique - do not use for token identification or joinsdune.blockchains
tableDune sources trusted token prices from Coin Paprika. These prices:
prices.trusted_tokens
tableFor details on how Dune processes DEX trade data to derive accurate token prices, see the DEX Trade Processing:
dex.trades
tableHere are some examples of how to use the prices tables.
The following tables are maintained for historical compatibility but we no longer add tokens to them:
prices.usd
prices.usd_daily
prices.usd_latest