G

Gavedu · Candles

by Gavedu

GETBase

$0.02

per call · USD Coin on Base

Crypto market data bundle: BTC/ETH OHLCV candles (Coinbase) with pre-computed EMA10/EMA30, RSI14 and trend/range/chop regime label per request — one call replaces fetch + indicator math.

Endpoint

GET https://dev.gavedu.com/x402/candles

3

Calls / 30d

3

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://dev.gavedu.com/x402/candles", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://dev.gavedu.com/x402/candles?granularity=3600&product=ETH-USD" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "candles": [
    {
      "close": 3455.2,
      "high": 3460,
      "low": 3444,
      "open": 3450.1,
      "t": 1785500000,
      "volume": 812.4
    }
  ],
  "count": 300,
  "granularity": 3600,
  "indicators": {
    "ema10": 3452.1,
    "ema30": 3449.8,
    "regime": "RANGE",
    "rsi": 51.3
  },
  "product": "ETH-USD"
}

Payment details

Pay to0x01b34d04b658990fd1f22cc4dddeaba10349b1c4
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from Gavedu & similar services