Skip to content
Fourohtwo

Exchange OHLCV candles for a spot pair

x402.santyvv.com/api/crypto/klines

Exchange OHLCV candles for a spot pair: open, high, low, close, volume, quote volume and trade count, up to 200 candles per call at any interval from one minute to one month. Returns one flat object per candle and falls back to a second exchange if the first one rate-limits or blocks.

BaseAnswering
GEThttps://x402.santyvv.com/api/crypto/klines

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.santyvv.com/api/crypto/klines?limite=Cantidad+de+velas+%281-200%29+%28por+defecto%3A+48%29+Ejemplo%3A+48&symbol=Par+del+exchange+%28BTCUSDT%29+%28obligatorio%29+Ejemplo%3A+BTCUSDT&interval=Intervalo+de+la+vela+%28por+defecto%3A+1h%29+Ejemplo%3A+1h");
console.log(await res.json());

Example input

{
  "limite": "Cantidad de velas (1-200) (por defecto: 48) Ejemplo: 48",
  "symbol": "Par del exchange (BTCUSDT) (obligatorio) Ejemplo: BTCUSDT",
  "interval": "Intervalo de la vela (por defecto: 1h) Ejemplo: 1h"
}

More from santyvv-dataProvider status