# SiteCheck Crypto Convert

> SiteCheck Crypto Convert is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-16).

Converts an amount from one cryptocurrency or fiat currency to another using live Coinbase spot rates

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/crypto/convert?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-crypto-convert-90eb7dc9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wJsj4PNG-KGFJAWekjNBn

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 sitecheck-crypto-convert-90eb7dc9
```

Example prompt: What is 0.75 BTC worth in EUR right now? Use the crypto convert endpoint to get the current Coinbase spot rate.

## When to prefer this

Use this endpoint when you need a quick indicative spot-rate conversion between crypto and fiat (or crypto-to-crypto) without needing an executable quote or order-book depth. Prefer this over a full DEX swap-quote endpoint when the user only needs to know a value for display, invoicing, or portfolio tracking purposes — not to actually execute a trade. It covers BTC, ETH, SOL, USDC and major fiat currencies via Coinbase spot prices.

## Known failure modes

- Unsupported currency pair returns an error (only BTC, ETH, SOL, USDC and major fiat codes are supported as 'from')
- Invalid or misspelled currency symbol returns a 4xx error
- Amount with more than 12 decimal places may be rejected
- Rate may be stale during Coinbase API outages
- Payment failure (HTTP 402) if USDC balance is insufficient

## How this service works

Convert an amount between a crypto and a fiat currency, or between two crypto assets, at the current spot price: the rate, the converted amount, the pair path used (direct, or through USD) and the time of the rate. Spot prices from Coinbase, Kraken as the fallback. A spot rate, not an executable quote: no fees or slippage. Fiat to fiat is refused; use the FX tool for that. Information only, not financial advice.

## Output

A JSON object containing: the 'from' and 'to' currency symbols, the conversion path (e.g. ['BTC-EUR']), the spot exchange rate, the input amount, the converted amount, the data source ('Coinbase spot'), and a timestamp of when the rate was checked. Includes a disclaimer that the rate is informational only, not an executable quote.

## 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",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Symbol to convert to, e.g. EUR, USD or ETH"
      },
      "from": {
       "type": "string",
       "description": "Symbol to convert from: BTC, ETH, SOL, USDC or a fiat code such as EUR"
      },
      "amount": {
       "type": "string",
       "description": "Positive amount in the from currency, up to 12 decimals (default 1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "EUR",
  "from": "BTC",
  "path": [
   "BTC-EUR"
  ],
  "rate": 71845.15,
  "amount": 1,
  "source": "Coinbase spot (spot, not an executable quote)",
  "checkedAt": "2026-10-15T13:40:01.270Z",
  "converted": 71845.15,
  "disclaimer": "Information only, not financial advice."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-crypto-convert-90eb7dc9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
