Skip to content
Fourohtwo

dt0ur.online/api/market/candles

Historical OHLCV candlestick data (open, high, low, close, volume) for any Coinbase spot pair such as BTC-USD or ETH-USD, at 1m, 5m, 15m, 1h, 6h or 1d intervals, up to 300 candles, oldest first.

BaseSolanaAnswering
POSThttps://dt0ur.online/api/market/candles

Uptime100% of 1 check 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://dt0ur.online/api/market/candles", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"interval":"1h","limit":2,"product":"BTC-USD"}),
});
console.log(await res.json());

Example input

{
  "interval": "1h",
  "limit": 2,
  "product": "BTC-USD"
}