# Synapse Crypto OHLC Candlestick Data

> Synapse Crypto OHLC Candlestick Data is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Returns OHLC (open, high, low, close) candlestick data for a cryptocurrency pair, paid per call in USDC via x402 with no API key required.

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/crypto-ohlc?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-crypto-ohlc-candlestick-data-9e2be7b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZwdcoYzbdHLtlQ2X8Q1aF

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 synapse-crypto-ohlc-candlestick-data-9e2be7b1
```

Example prompt: Can you fetch the OHLC candlestick data for Bitcoin right now from Synapse — I need the open, high, low, and close prices for the latest candle?

## When to prefer this

Choose this endpoint when you need raw OHLC candlestick price data for a cryptocurrency with no API key signup, paying only per call in USDC on Base. Ideal for agents operating in a trustless, account-free environment or when integrating micro-payment workflows via x402. Not suited for streaming tick data or order book depth.

## Known failure modes

- Missing or invalid cryptocurrency symbol returns an error or empty candles array
- Payment failure via x402 returns a 402 Payment Required response
- Unsupported trading pair may return no data or an error
- Network timeout if the upstream price data source is unavailable
- Invalid query parameters result in a 400-level error

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

Returns a JSON object containing a 'candles' array where each element is a tuple of [timestamp (ms), open, high, low, close] representing one OHLC candlestick period for the requested cryptocurrency.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "candles": [
   [
    1792612800000,
    84416,
    84541,
    84416,
    84465
   ]
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-crypto-ohlc-candlestick-data-9e2be7b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
