Skip to main content
The prices.latest table provides the most recently available price for each token across all supported blockchains. This table is ideal for calculating current token values or displaying up-to-date prices.

Table Schema

Table Sample

Implementation Details

The latest prices are built by:
  1. Taking the most recent price observation from each data source
  2. Selecting the latest observation per token across all sources
  3. Refreshed hourly to ensure prices stay current

Usage

This table is perfect for querying the current price of tokens without needing to filter by timestamp or perform additional aggregations. It’s designed for efficiency when you just need the most recent price.

Usage Examples

Here are some examples of how to use the prices tables.

Get current prices for major tokens:

Calculate total USD value of token holdings:

Get prices for native tokens across multiple blockchains:

Data Quality Notes

  • Native tokens (like ETH, BNB) are assigned fixed addresses for consistency
  • For native tokens, use dune.blockchains table to get the standardized address for each blockchain
  • The timestamp column shows when the price was last updated, useful for determining freshness
  • For historical analysis, use prices.day, prices.hour, or prices.minute instead
  • Always use contract_address and blockchain for precise token identification, never use symbol for joins or filters
  • Quality Filtering: The system includes filtering mechanisms to reduce the impact of anomalous trades
  • Data Limitations: While filtering helps improve data quality, users should always validate prices for critical applications