# Binance OHLCV Candles with Pre-Computed Technical Indicators

> Binance OHLCV Candles with Pre-Computed Technical Indicators is a paid API for AI agents from api.agent-data.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-14).

Returns Binance OHLCV candlestick data for a trading pair with pre-computed technical indicators (RSI14, SMA20, SMA50, ATR14, volatility, trend label) across intervals from 1m to 1w.

## Facts

- Endpoint: GET https://api.agent-data.workers.dev/api/v1/candles?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/binance-ohlcv-candles-with-pre-computed-technical-indicators-d5315783
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BvBjQ3LGi27ZJPeulu0pc

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 binance-ohlcv-candles-with-pre-computed-technical-indicators-d5315783
```

Example prompt: Can you pull the last 50 hourly candles for ETHUSDT with RSI14, SMA20, SMA50, ATR, and trend label — I want to see if it's currently in an uptrend and whether RSI is overbought?

## When to prefer this

Choose this endpoint when an agent needs technical analysis indicators (RSI, SMAs, ATR, trend) alongside OHLCV data in a single call without running any calculations. It is ideal when speed matters and the agent should not implement its own indicator logic. Prefer over raw OHLCV endpoints when indicator values are needed immediately, and prefer over general financial data APIs when the focus is specifically Binance spot pairs with agentic-friendly JSON output.

## Known failure modes

- Invalid or unsupported symbol (e.g. delisted pair) returns error
- Interval not in allowed enum values returns validation error
- Limit exceeding 200 or below 1 returns validation error
- Binance upstream outage may cause timeout or empty response
- Missing required symbol parameter returns 400-level error

## How this service works

Binance OHLCV candles with ready indicators: RSI14, SMA20, SMA50, ATR14, volatility and a trend label. Intervals 1m to 1w. Use for technical analysis without computing anything.

## Output

Returns a JSON object with the trading symbol, interval, an array of OHLCV candles (open, high, low, close, volume, open_time), and a pre-computed indicators object containing RSI14 value, SMA20, SMA50, ATR14 as a percentage of price, a trend label (e.g. 'up', 'down'), and an RSI signal classification (e.g. 'neutral', 'overbought', 'oversold').

## 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/binance-ohlcv-candles-with-pre-computed-technical-indicators-d5315783/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agent-data.workers.dev](https://www.zero.xyz/host/api.agent-data.workers.dev/llms.txt)
