# SignalDesk AI Candles

> SignalDesk AI Candles is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Returns OHLC candlestick price data for a given trading pair at a specified time granularity

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/candles?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-candles-3824332d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TsWbnyLs7WT6znh6sovZ3

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 signaldesk-ai-candles-3824332d
```

Example prompt: Pull the hourly OHLC candle data for BTC-USD from SignalDesk so I can see how Bitcoin has been trading recently.

## When to prefer this

Use this endpoint when you need OHLC candlestick price data for cryptocurrency trading pairs at hourly, daily, or weekly granularity and are comfortable paying micro-amounts via the x402 payment protocol. Prefer this over free alternatives when you need reliable, paid-tier access to market candles with structured JSON output including total count and last close price.

## Known failure modes

- Missing required 'symbol' query parameter returns an error
- Invalid or unsupported trading pair symbol results in empty or error response
- Invalid granularity value (not '1h', '1d', or '1w') is rejected
- Payment of 0.003 USDC not provided via x402 protocol results in 402 Payment Required
- Rate limits or quota exhaustion may block requests
- Cloudflare Worker cold start may add occasional latency

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object containing an array of OHLC candles (open, high, low, close values), a total count of candles returned, the last closing price under 'ultima.fecho', and the queried symbol string (e.g. 'BTC-USD').

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Trading pair, e.g. BTC-USD"
      },
      "granularity": {
       "enum": [
        "1h",
        "1d",
        "1w"
       ],
       "type": "string",
       "description": "Candle size"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "OHLC": [],
  "total": 48,
  "ultima": {
   "fecho": 85968.51
  },
  "simbolo": "BTC-USD"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-candles-3824332d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
