# Syra Technical Indicator API

> Syra Technical Indicator API is a paid API for AI agents from api.syraa.fun, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Computes and returns technical indicators (RSI, MACD, etc.) for a given trading pair and candle interval using OHLCV data from multiple CEX sources.

## Facts

- Endpoint: GET https://api.syraa.fun/indicator
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/syra-technical-indicator-api-fe9b2d08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-zKZXKRSEa5lf_Vl0sVbG

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 syra-technical-indicator-api-fe9b2d08
```

Example prompt: Can you pull the RSI and MACD indicators for BTCUSDT on 4-hour candles from Binance, using the last 200 candles, and include the full per-bar series?

## When to prefer this

Use this endpoint when you need on-demand technical indicator calculations (RSI, MACD, etc.) for crypto trading pairs across multiple centralized exchanges without running your own OHLCV pipeline. It is ideal for AI agents performing automated trade signal generation, backtesting snapshots, or alerting workflows that require per-call fresh indicator data with pay-per-use pricing.

## Known failure modes

- Invalid or unsupported trading symbol returns an error
- Unsupported CEX source returns an error or empty data
- Invalid indicator ID in the comma-separated list causes partial or full failure
- Interval string not recognized causes a bad request
- limit exceeding 1000 may be rejected or clamped
- Payment not fulfilled (x402) returns 402 Payment Required

## How this service works

Machine money for agents on Solana: live x402 pay-per-call APIs, MCP tools, typed SDK. Earn · Treasury · Invest · Spend · Grow.

## Output

A JSON object with ok:true, paid:true, and computed indicator values (e.g. RSI reading, MACD line/signal/histogram) for the requested trading pair and interval; optionally includes full per-bar series arrays for each indicator.

## 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",
     "limit": {
      "type": "integer",
      "description": "Number of candles (default 200, max 1000)"
     },
     "series": {
      "type": "boolean",
      "description": "Include full per-bar series arrays (default false)"
     },
     "source": {
      "type": "string",
      "description": "CEX data source (default binance). Supported: binance, coinbase, coingecko, okx, bybit, kraken, bitget, kucoin, upbit, cryptocom"
     },
     "symbol": {
      "type": "string",
      "description": "Trading pair e.g. BTCUSDT, BTC-USDT, bitcoin"
     },
     "interval": {
      "type": "string",
      "description": "Candle interval e.g. 1m, 1h, 4h, 1d (default 1h)"
     },
     "indicators": {
      "type": "string",
      "description": "Comma-separated indicator ids e.g. rsi,macd. Per-indicator params via dotted keys: rsi.period=21"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/syra-technical-indicator-api-fe9b2d08/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.syraa.fun](https://www.zero.xyz/host/api.syraa.fun/llms.txt)
