Price & OHLCV
Price
Retrieve the latest price information for a specified token.
get/defi/price
Request
- Base URLhttps://public-api.birdeye.so
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
check_liquiditynumber
Specify the liquidity value to check.
include_liquiditytrue | false
Specify whether to include liquidity in the response.
addressstring required
The address of the token contract.
ui_amount_mode'raw' | 'scaled' | 'both'
Indicate whether to use the scaled amount for scaled ui amount tokens. Only support solana
Headers
x-chain'solana' | 'ethereum' | 'arbitrum' | 'avalanche' | 'bsc' | 'optimism' | 'polygon' | 'base' | 'zksync' | 'monad' | 'hyperevm' | 'aptos' | 'fogo' | 'mantle' | 'megaeth' | 'robinhood' | 'sui'
A chain name listed in supported networks.
Response
JSON object containing price value and update time of a token
Changes
No recorded changes to this operation across all 1 revision of this API.