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 free

Historical OHLCV candlestick series for a Solana base/quote token pair.

Parameters

nameintypedescription
base_addressquerystrrequiredBase token mint address.
example: So11111111111111111111111111111111111111112
quote_addressquerystrrequiredQuote token mint address.
example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
typequerystrrequiredCandle resolution: 1m, 5m, 15m, 1H, 4H, 1D.
default: 1H
example: 1H
time_fromqueryintrequiredStart Unix timestamp in seconds.
default: 1795796426
example: 1795796426
time_toqueryintrequiredEnd Unix timestamp in seconds.
default: 1795882826
example: 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&quote_address=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&type=1H&time_from=1795796426&time_to=1795882826"