get
https://public-api.birdeye.so/defi/v3/ohlcv
Retrieve candlestick data in OHLCV format of a specified token. Maximum 5000 records. Compared to v1: Added 1s, 15s, and 30s intervals and no candle padding
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Extended OHLCV with finer intervals and count mode.
- V3 adds
1s,15s, and30sintervals, plusmode,count_limit,padding,outlier, andinversion. - Empty candles are not returned unless
padding=true. - When
mode=count, provide eithertime_fromortime_to, but not both;count_limitcan go up to5000. - Data retention for the newest intervals is shorter:
1sup to 2 weeks,15sand30sup to 3 months. - Use
outlier=falsewhen you want raw candles without Birdeye outlier filtering.
- Standard
- Lite
- Starter
- Premium
- Business
- Enterprise
All chains ⛓️ ✨
Compute Unit ⚙️
- CU is dynamic:
60 CUfor up to1000candles,90 CUfor up to2000, and120 CUfor up to5000.
Use Cases 💡
- Analyze launches, breakouts, and microstructure with second-level candles.
- Backfill large candle windows for research, charting, and signal generation.
- Build advanced chart tools that need control over padding, inversion, and outlier handling.
- Study price behavior around wallet activity, liquidity shocks, and execution events.
How to Use 🛠️
- Set
x-chainto one of the supported V3 networks. - Pass the token address plus
type. - Use
mode=rangewithtime_fromandtime_tofor normal chart windows. - Use
mode=countwith eithertime_fromortime_towhen you want the latest or previousNcandles.
Best Practices ✅
- Start with broader intervals, then zoom into
1sor15sonly where the event warrants it. - Leave
padding=falsefor launch and sparse-trading tokens so empty buckets do not imply false activity. - Keep
count_limitas small as the use case allows to reduce payload size and CU.
