GET /birdeye/defi/ohlcv/base_quote
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/raydium/birdeye/defi/ohlcv/base_quoteCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeHistorical OHLCV candlestick series for a Solana base/quote token pair.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
base_address | query | str | required | Base token mint address. example: So11111111111111111111111111111111111111112 |
quote_address | query | str | required | Quote token mint address. example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v |
type | query | str | required | Candle resolution: 1m, 5m, 15m, 1H, 4H, 1D. default: 1Hexample: 1H |
time_from | query | int | required | Start Unix timestamp in seconds. default: 1795796426example: 1795796426 |
time_to | query | int | required | End Unix timestamp in seconds. default: 1795882826example: 1795882826 |
Response
type: object
pagination: none
sample: {
"success": "bool",
"data": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/raydium/birdeye/defi/ohlcv/base_quote?base_address=So11111111111111111111111111111111111111112"e_address=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&type=1H&time_from=1795796426&time_to=1795882826"