Token Prices
Fetch hourly token prices of tokens to power your analytic needs.
Hourly Token Prices
common.prices.hourly
provides hourly price data for tokens across various blockchains, combining external price feeds with contract addresses and computed DEX prices.
Sample Query
Using common.prices.hourly
to investigate the USD volume of Flash loans performed on Balancer in the last 7 days
Table Columns
Unique key: timestamp, chain, address
Column | Description | Example |
---|---|---|
timestamp | Hourly timestamp. | 2020-12-03 09:00:00 |
chain | Blockchain (in lowercase). | ethereum |
address | Token contract address. For native tokens on EVM chains, they will be represented by the zero address. | 0x0000000000000000000000000000000000000000 |
symbol | Token symbol in lower casing. | eth |
price | USD Value of the token | 606.345 |
decimals | Token decimals (if present). | 18 |
is_native | Boolean flag indicating whether the token is a native (gas) token. | TRUE |
is_dex_only | Boolean flag indicating whether the price source was solely computed from DEX trades. | FALSE |
_created_at | Timestamp of entry creation. | 2024-07-02 04:12:42 |
_updated_at | Timestamp of entry update. | 2024-07-02 04:12:42 |
Centralized Exchange (CEX) Token Prices
common.prices.token_prices_hourly
&common.prices.token_prices_hourly_latest
contains the hourly prices from Centralized Exchanges.
This table only includes tokens paired with quote assets: USDC, USDT, and USD. The underlying price in this table reflects the closing price of the asset at the hour.
Sample Query
Avg hourly ETH USD price across Centralized Exchanges in the last 24 hours
Table Columns
Unique key: timestamp, symbol, source
Column Name | Descriptipn | Example |
---|---|---|
timestamp | Hourly timestamp of the token price. |
|
symbol | The currencies pairs that are referenced for price data. The first currency is called the base currency and the second currency is called the quote currency. |
|
base_asset_symbol | The base asset is traded against the quote asset. |
|
quote_asset_symbol | The base asset is traded against the quote asset. Sometimes known as the counter currency. |
|
price | USD equivalent price of the |
|
source | The source of the token price. |
|
Last updated