# Toll402 Crypto Spot Price

> Toll402 Crypto Spot Price is a paid API for AI agents from toll402.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns the current spot price in USD for a given cryptocurrency symbol, sourced from the Coinbase price API.

## Facts

- Endpoint: POST https://toll402.dev/v1/t/crypto_price
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-crypto-spot-price-2f3dcbd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0ZUKlc0MTDSTQAegeet_m

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 toll402-crypto-spot-price-2f3dcbd7 -d '<json body>'
```

Example prompt: What's the current spot price of Bitcoin in USD? Look it up from the Coinbase price feed using the symbol BTC.

## When to prefer this

Choose this endpoint when you need a quick, reliable, real-time USD spot price for a specific cryptocurrency symbol and want to avoid setting up direct Coinbase API credentials. Ideal for agents that need to enrich data pipelines, validate crypto payment amounts, or answer user price queries on demand. The micro-cost per call ($0.002 USDC) makes it suitable for infrequent lookups; for high-frequency monitoring consider a direct exchange connection.

## Known failure modes

- Invalid or unsupported symbol (e.g. a ticker not recognized by Coinbase) returns an error response
- Network or upstream Coinbase API unavailability may result in a timeout or 5xx error
- Payment failure or insufficient USDC balance (x402 protocol) blocks the request before execution
- Malformed request body missing the required 'symbol' field returns a validation error

## How this service works

Spot price in USD for a crypto asset symbol using https://api.coinbase.com/v2/prices/<SYMBOL>-USD/spot

## Output

Returns the current spot price of the requested cryptocurrency in USD, sourced live from the Coinbase price API. The response includes the numeric price value for the given symbol at the time of the request.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/toll402-crypto-spot-price-2f3dcbd7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
