# Crypto Candlestick OHLCV + Indicators API

> Crypto Candlestick OHLCV + Indicators API is a paid API for AI agents from 194-28-85-99.sslip.io, paid per call via x402, $0.01/call, status down (last checked 2026-11-15).

Returns OHLCV candlestick data with technical indicators (RSI, SMA, ATR, trend) for a given crypto trading pair and interval

## Facts

- Endpoint: GET https://194-28-85-99.sslip.io/api/v1/candles?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-11-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-candlestick-ohlcv-indicators-api-29685afd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tpiD3AZibtgqbLEKdNs4E

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 crypto-candlestick-ohlcv-indicators-api-29685afd
```

Example prompt: Can you pull the last 100 hourly candles for ETHUSDT, including RSI, SMA, and trend direction so I can see if ETH is currently bullish?

## When to prefer this

Choose this endpoint when you need candlestick OHLCV data bundled with pre-computed technical indicators (RSI, SMA, ATR, trend) in a single pay-per-call request via x402 micropayments, avoiding the need to run your own indicator calculations. It is especially well-suited for autonomous trading agents that need fast, cheap technical analysis without maintaining a data pipeline or exchange API keys.

## Known failure modes

- Missing required 'symbol' parameter returns HTTP 400
- Unsupported interval value returns validation error
- Symbol not found on exchange returns empty or error response
- Payment not provided or invalid signature returns HTTP 402 with payment details
- Stale payment signature older than max_tx_age_seconds is rejected
- Limit exceeding 200 or below 1 returns validation error

## How this service works

Crypto market data and web tools for autonomous agents: read web pages, PDFs and YouTube transcripts, check domains and tokens. Every `/api/v1/*` call is paid per call: **$0.003** for simple reads, **$0.005-$0.01** for aggregates, **$0.02-$0.03** for token risk checks and reports (USDC or USDT). Each route's price is in `x-payment-info`.

**x402 agents:** pay automatically. The 402 response carries a standard `PAYMENT-REQUIRED` header (x402 v2, USDC on Base or Solana, USDT on Solana); retry with `PAYMENT-SIGNATURE`.

**Manual (legacy) flow:** call the endpoint, read the HTTP 402 JSON (`pay_to`, `asset`, `price`), send the USDT transfer, then repeat the call with header `X-Payment-Tx: <signature>`. One signature pays for one call; signatures older than the `max_tx_age_seconds` value are rejected.

Machine-readable spec: `/openapi.json`. LLM summary: `/llms.txt`. MCP server: `POST /mcp`.

## Output

Returns a JSON object with the trading symbol, the requested interval, an array of OHLCV candles (open, high, low, close, volume, open_time), and a computed indicators block containing RSI-14 value and signal, SMA-20, SMA-50, ATR-14 as a percentage, and overall trend direction (up/down/neutral).

## 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",
     "required": [
      "symbol"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 200,
       "minimum": 1
      },
      "symbol": {
       "type": "string"
      },
      "interval": {
       "enum": [
        "1m",
        "5m",
        "15m",
        "30m",
        "1h",
        "4h",
        "1d",
        "1w"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "symbol": "ETHUSDT",
  "candles": [
   {
    "low": 3495.2,
    "high": 3530,
    "open": 3500.1,
    "close": 3521.4,
    "volume": 1234.5,
    "open_time": 1767225600
   }
  ],
  "interval": "1h",
  "indicators": {
   "rsi14": 58.2,
   "sma20": 3510.4,
   "sma50": 3478.9,
   "trend": "up",
   "atr14_pct": 0.62,
   "rsi_signal": "neutral"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-candlestick-ohlcv-indicators-api-29685afd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 194-28-85-99.sslip.io](https://www.zero.xyz/host/194-28-85-99.sslip.io/llms.txt)
