# Syraa Trading Signal API

> Syraa Trading Signal API is a paid API for AI agents from api.syraa.fun, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Delivers real-time trading signals and market alerts for crypto tokens across multiple exchanges and timeframes

## Facts

- Endpoint: GET https://api.syraa.fun/signal
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-syraa-fun-0ee1b2f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KHYYchmRsYuwcUzXkQcuE

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 api-syraa-fun-0ee1b2f7
```

Example prompt: Give me the current trading signal for Solana using 1-hour candles on Binance — is it a buy or sell right now?

## When to prefer this

Use this endpoint when you need algorithmic, real-time trading signals derived from OHLC candlestick data across major CEXs (Binance, Coinbase, OKX, Bybit, Kraken, KuCoin, Bitget, Upbit, Crypto.com) or CoinGecko. Prefer this over raw price endpoints when you want a computed buy/sell/hold recommendation rather than raw market data. Especially useful when CEX APIs are blocked and you need CoinGecko as a fallback source.

## Known failure modes

- Payment not received or insufficient USDC — returns 402 Payment Required
- Invalid or unsupported instId for the selected source exchange — returns 400 or empty signal
- Exchange API temporarily unavailable — may return error or stale signal
- Invalid bar/interval value not supported by the exchange — returns 400
- Rate limit exceeded on upstream exchange data — returns 500 or timeout

## 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 trading signal object indicating buy, sell, or hold recommendation for the requested token/instrument, computed from OHLC candle data from the specified exchange, along with supporting signal metadata and alert details.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "bar": "1h",
   "limit": "100",
   "token": "bitcoin",
   "instId": "BTC-USDT",
   "source": "okx"
  }
 }
}
```

## 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",
     "queryParams": {
      "bar": {
       "type": "string",
       "required": false,
       "description": "Candle interval (venue-specific; common: 1m, 15m, 1h, 4h, 1d)"
      },
      "limit": {
       "type": "string",
       "required": false,
       "description": "Number of candles (venue-specific max; default 200)"
      },
      "token": {
       "type": "string",
       "required": false,
       "description": "Token name for the signal (e.g., solana, bitcoin); used for n8n or exchange mapping"
      },
      "instId": {
       "type": "string",
       "required": false,
       "description": "Override instrument: e.g. BTCUSDT (Binance/Bybit/Bitget), BTC-USDT (OKX/KuCoin), BTC-USD (Coinbase), XBTUSDT (Kraken), KRW-BTC (Upbit), BTC_USDT (Crypto.com); with source=coingecko use CoinGecko coin id (e.g. solana, bitcoin)"
      },
      "source": {
       "type": "string",
       "required": false,
       "description": "Default: binance (spot OHLC + engine). Other venues: binance, coinbase, coingecko, okx, bybit, kraken, bitget, kucoin, upbit, cryptocom (alias: crypto.com → cryptocom) (coingecko = CoinGecko USD OHLC, good when CEX APIs are blocked). Use n8n or webhook for legacy n8n signal."
      }
     }
    }
   },
   "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/api-syraa-fun-0ee1b2f7/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)
