# Crypto Spot Price with 24h Change

> Crypto Spot Price with 24h Change is a paid API for AI agents from agenttoll-pi.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the current spot price in USD and 24-hour percentage change for a given cryptocurrency asset by ticker or CoinGecko ID

## Facts

- Endpoint: GET https://agenttoll-pi.vercel.app/api/price/:symbol
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-spot-price-with-24h-change-d66af182
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q8V0MAZrFMGaDRTSKTJW4

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-spot-price-with-24h-change-d66af182
```

Example prompt: What is the current spot price of ETH in USD and how much has it changed in the last 24 hours?

## When to prefer this

Choose this endpoint when you need both the current USD price AND the 24-hour change for a crypto asset in a single call. It is especially useful for quick market snapshots, portfolio checks, or price alert evaluations. Prefer it over raw on-chain price feeds when you want aggregated market pricing rather than a specific DEX quote. The sibling endpoint on this service provides only spot price without the 24h delta if that delta is not needed.

## Known failure modes

- Unknown or unsupported symbol returns an error or empty result
- CoinGecko data source temporarily unavailable causes stale or missing data
- Malformed symbol parameter (e.g. extra spaces or wrong casing) may result in no match
- Rate limiting or payment failure returns a 402 response

## How this service works

Spot price (USD) and 24h change for a crypto asset

## Output

Returns the current spot price of the requested cryptocurrency in USD along with its 24-hour price change, enabling agents to display live market data or make decisions based on recent price movement.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Ticker or CoinGecko id"
      }
     }
    },
    "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-spot-price-with-24h-change-d66af182/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll-pi.vercel.app](https://www.zero.xyz/host/agenttoll-pi.vercel.app/llms.txt)
