get https://public-api.birdeye.so/defi/ohlcv
Get OHLCV price of a token. Maximum 1000 records returned.
This endpoint is accessible within the following API Plans:
- Starter
- Premium
- Business
- Enterprise
🤔 Did you know?
The volume calculated depends on the OHLCV data, which is queried based on the time_from
and time_to
parameters. This means that data comparisons across systems should always consider the exact time_from
and time_to
ranges being used.
💡 Suggestions
- You can find the token address from multiple sources:
- You can get the pair address of a specific token by:
o
,h
,l
,c
fields are denominated in USD.v
fields is the token amount of the token.type
fields represents the interval of Unix time in each OHLCV item. It determines the time duration that each data point covers.- For example:
- If
type
= "15m", each OHLCV item represents 15-minutes intervals
- If
- For example: