BlockchainLive

Cex Klines

Centralized-exchange OHLCV candlesticks for a spot trading pair (e.g.

$0.001656USDC per call · settled on Base · no subscription, no API key

Overview

Centralized-exchange OHLCV candlesticks for a spot trading pair (e.g. BTC-USD, ETH-USD, SOL-USD), free/keyless. Pass interval (1m/5m/15m/1h/6h/1d) and limit. Each bar: time, open, high, low, close, volume. Net-new vs crypto.dex-ohlcv (on-chain DEX) — this is CEX spot.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/cex-klines$0.001656Invoke Cex Klines (Blockchain) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i https://api.jarvisclaw.ai/v1/marketplace/api/cex-klines

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://api.jarvisclaw.ai/v1/marketplace/api/cex-klines
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs