# santyvv-data Crypto Klines (OHLCV) API

> santyvv-data Crypto Klines (OHLCV) API is a paid API for AI agents from x402.santyvv.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Returns OHLCV (candlestick/kline) price data for cryptocurrency trading pairs, paid per call via x402 in USDC on Base with no API key required.

## Facts

- Endpoint: GET https://x402.santyvv.com/api/crypto/klines?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/santyvv-data-crypto-klines-ohlcv-api-4876e65e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zasbjmbiCTXQyAZMguICm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability santyvv-data-crypto-klines-ohlcv-api-4876e65e
```

Example prompt: Can you pull the last 50 hourly candles for BTC/USDT so I can see how the price has moved recently?

## When to prefer this

Choose this endpoint when you need normalized OHLCV/kline crypto market data without managing API keys or accounts, especially in agentic or automated contexts where pay-per-call micropayments in USDC on Base (via x402) are preferred over subscription billing. Ideal when you want multi-source fallback and edge caching without standing up your own data pipeline.

## Known failure modes

- Unsupported trading pair symbol returns an error or empty dataset
- Invalid interval parameter causes a 400-level response
- Payment not completed via x402 results in a 402 Payment Required response before data is returned
- Upstream data source outage may delay or degrade response despite multi-source fallback
- Rate limits or network issues at edge cache may cause occasional latency spikes

## How this service works

Market and on-chain data, paid per call in USDC on Base through the x402 protocol. No accounts, no API keys. Sources are public data providers; the value added here is keyless access, edge caching, multi-source fallback and normalised responses.

## Output

Returns an array of OHLCV (open, high, low, close, volume) candlestick records for the requested cryptocurrency trading pair and time interval, normalized across sources, with timestamps for each candle period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/santyvv-data-crypto-klines-ohlcv-api-4876e65e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.santyvv.com](https://www.zero.xyz/host/x402.santyvv.com/llms.txt)
