# santyvv-data Crypto Price API

> santyvv-data Crypto Price API is a paid API for AI agents from x402.santyvv.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Returns a consensus crypto asset price aggregated from multiple venues, paid per call in USDC via the x402 protocol — no API key required.

## Facts

- Endpoint: GET https://x402.santyvv.com/api/crypto/price?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/santyvv-data-crypto-price-api-7ac138fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rSQdEh20WTKnGxq13vbYP

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 santyvv-data-crypto-price-api-7ac138fc
```

Example prompt: What's the current Bitcoin price? Use the santyvv pay-per-call crypto price feed — I want to see if the price is consistent across venues and get the median USD value.

## When to prefer this

Choose this endpoint when you need a reliable, normalized crypto spot price without managing API keys or subscriptions. It is especially useful for AI agents that need to make occasional price checks on a pay-as-you-go basis, want multi-source validation with a divergence signal, and are already operating in a USDC/Base payment context via x402. Prefer it over raw exchange APIs when you need consensus reliability scoring without building your own aggregation layer.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 with payment details
- Unknown or unsupported ticker symbol — may return empty or error response
- All data sources unavailable — consensus_fiable may be false or call may fail
- Network timeout from upstream data providers — edge cache may serve stale data
- Malformed query parameters — returns 400 or similar error

## How this service works

Market and on-chain data, paid per call in USDC on Base through the x402 protocol. No accounts, no API keys. Sources are public data providers; the value added here is keyless access, edge caching, multi-source fallback and normalised responses.

## Output

A JSON object containing the asset ticker as key, with fields: median price in USD (precio_mediana_usd), maximum price across venues (precio_max_usd), minimum price (precio_min_usd), number of venues that responded successfully (venues_ok), percentage divergence between venues (divergencia_pct), and a boolean indicating whether consensus is reliable (consenso_fiable).

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "BTC": {
   "venues_ok": 3,
   "precio_max_usd": 81263.25,
   "precio_min_usd": 81244.5,
   "consenso_fiable": true,
   "divergencia_pct": 0.0231,
   "precio_mediana_usd": 81251.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/santyvv-data-crypto-price-api-7ac138fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.santyvv.com](https://www.zero.xyz/host/x402.santyvv.com/llms.txt)
