# Taifoon Market Price

> Taifoon Market Price is a paid API for AI agents from coord.taifoon.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-19).

Returns the latest USD price of BTC, ETH, SOL, NQ, ES, or YM from the Taifoon venue tape — specifically the close of the last completed 1-minute bar, with timestamp, age, and SHA-256 digest for auditability.

## Facts

- Endpoint: GET https://coord.taifoon.dev/v1/x402/class/market.price?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/taifoon-market-price-96fa0c99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Rl_Eysm267QxA1xjN_S90

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 taifoon-market-price-96fa0c99
```

Example prompt: What's the current BTC price from Taifoon right now — give me the USD price, when the last bar closed, and the SHA-256 digest so I can verify it?

## When to prefer this

Choose this endpoint when you need a single, current, cryptographically verifiable USD price for BTC, ETH, SOL, NQ, ES, or YM that is guaranteed to be no more than 3 minutes old. It is ideal when you need an auditable price (SHA-256 digest + replay URL) rather than just a raw quote, or when you need BTC/ETH/SOL prices cross-validated against Chainlink on Base within 1%. Prefer this over generic market data APIs when you require freshness guarantees and on-chain verifiability at a low per-call cost ($0.003 USDC).

## Known failure modes

- Symbol not in the tape (only BTC, ETH, SOL, NQ, ES, YM are supported) — returns an error
- Price data older than 180 seconds — no price is served, call returns no result
- Payment not processed or insufficient USDC — 402 Payment Required
- Network or venue tape outage — endpoint may be temporarily unavailable
- Invalid or missing symbol query parameter — returns validation error

## How this service works

Latest USD price of BTC, ETH, SOL, NQ, ES, YM from the Taifoon venue tape: the close of the last closed 1-minute bar, its time, age and sha256 digest, replayable with one GET. Only symbols the tape holds; a price older than 180 s is never served as current (nothing is charged). BTC, ETH, SOL are held to Chainlink on Base within 1 % when its feed is under 1 h old. 0.003 USDC a call.

## Output

Returns a JSON object with: the requested symbol, its USD price (close of last completed 1-minute bar), the ISO 8601 timestamp when the bar closed, the age in seconds (never exceeds 180), a SHA-256 digest over the bar's OHLCV line for auditability, and a replay URL to retrieve the same bar. If no price is available within 180 seconds, nothing is served.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "enum": [
        "BTC",
        "ETH",
        "SOL",
        "NQ",
        "ES",
        "YM"
       ],
       "type": "string",
       "description": "the symbol to price: one the Taifoon venue tape holds"
      }
     },
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "symbol",
      "price_usd",
      "as_of",
      "age_s",
      "digest"
     ],
     "properties": {
      "age_s": {
       "type": "integer",
       "description": "seconds since the bar closed; at most 180, else no price is served"
      },
      "as_of": {
       "type": "string",
       "description": "when the bar closed (ISO 8601)"
      },
      "digest": {
       "type": "string",
       "description": "sha256 over the bar’s \"t,o,h,l,c,v\" line (the market.candles digest)"
      },
      "replay": {
       "type": "string",
       "description": "the tape GET that returns the same bar"
      },
      "symbol": {
       "enum": [
        "BTC",
        "ETH",
        "SOL",
        "NQ",
        "ES",
        "YM"
       ],
       "type": "string"
      },
      "price_usd": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/taifoon-market-price-96fa0c99/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coord.taifoon.dev](https://www.zero.xyz/host/coord.taifoon.dev/llms.txt)
