Skip to content
Fourohtwo

tanod.dev/v1/chain/candles

chainpeek (Tanod) ETH and BTC OHLCV price candles (5m to 1d) computed from on-chain Uniswap v3 swaps on Base. Use when an agent needs ETH or BTC price history as OHLCV candles for charting or backtesting.

SolanaUnchecked
POSThttps://tanod.dev/v1/chain/candles

UptimeNot checked yet

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://tanod.dev/v1/chain/candles" \
  -d '{"pair":"WETH/USDC","limit":3,"interval":"1h"}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "pair": "WETH/USDC",
  "limit": 3,
  "interval": "1h"
}

More from Tanod chainpeek