# crypto-price

> crypto-price is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns current USD price, 24h change, market cap, and 24h volume for a cryptocurrency by coin ID or symbol, powered by CoinGecko.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/crypto
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-price-868d83ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gnLNQF4RUcoizumst9KRZ

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 crypto-price-868d83ec
```

Example prompt: What's the current price of Ethereum in USD, including its 24-hour change and market cap?

## When to prefer this

Use this endpoint when you need a quick, low-cost spot lookup of a single cryptocurrency's price and key market stats (24h change, market cap, volume) without needing historical data, OHLCV candles, or portfolio analytics. It costs only $0.01 per call and supports 100+ coins by symbol or ID, making it ideal for lightweight agent workflows and real-time price checks.

## Known failure modes

- Unknown coin ID or symbol returns an error or empty result
- Rate limits from the underlying CoinGecko free API may cause transient failures
- Payment failure if wallet has insufficient USDC balance
- Stale data if CoinGecko's free tier has delayed updates during high traffic

## How this service works

Cryptocurrency price: current USD price, 24h change, market cap and 24h volume for a coin by id or symbol (bitcoin, ethereum, solana, usdc and 100+ others) from CoinGecko's free API. $0.01 per lookup.

## Output

Returns a JSON object with the coin's current USD price, percentage price change over the last 24 hours, total market capitalization in USD, and 24-hour trading volume in 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-price-868d83ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
