# Taifoon Coordination Layer API

> Taifoon Coordination Layer API is a paid API for AI agents from coord.taifoon.dev, paid per call via x402, $0.0012/call, status unknown (last checked 2026-11-20).

Provides read/write access to the Taifoon coordination layer: chain roots, transaction proofs, route costs, transfer records, and agent-hiring lifecycle management

## Facts

- Endpoint: POST https://coord.taifoon.dev/v1/exchanges/edge_2b7eb928b3220d42/call?utm_source=zero.xyz
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/taifoon-coordination-layer-api-c64870d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J65mAS5616jI_UQjhEaM8

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-coordination-layer-api-c64870d1 -d '<json body>'
```

Example prompt: Pull yield data from the Taifoon coordination layer for the top 5 stablecoin-only pools with at least $500,000 TVL.

## When to prefer this

Choose this endpoint when you need to query the Taifoon coordination layer specifically — for yield data on DeFi pools, cross-chain transaction proofs, agent hiring lifecycle state, or transfer and route cost records. It is the single root API for all coordination-layer reads and authorized writes on the Taifoon platform. Prefer it over generic DeFi data APIs when you need Taifoon-native proofs, lineage tracking (offer → hired → delivered → settled → PAID), or verified coordination records.

## Known failure modes

- Missing or invalid API key returns 402 with get_key instructions for obtaining a free key
- Invalid tool name (not 'get_yield_data') causes schema validation failure
- Task string exceeding 4000 characters is rejected
- Unauthorized write operations return 401 if RelayerKey or OperatorToken is missing
- Malformed args object causes bad request error
- Endpoint temporarily unavailable returns 5xx

## How this service works

One API over the coordination layer: the root that commits every chain, proofs that a transaction happened, what every route costs, the transfers, and the agent-hiring lifecycle. Most operations are public reads. Writes say who may make them in `security` (RelayerKey = X-API-Key, OperatorToken = x-operator-token) and in x-taifoon-auth.rule; nothing here signs or sends a transaction for you. A 2xx JSON object answered to a caller that sent no key also carries `get_key` (and the headers x-taifoon-get-key and Link rel=free-key): how to get a free key in one call; proofs, evidence packs, cards and this document are left as written. Lineage language: a sale walks offer in → classify → listed → hired → delivered → graded → settled → legs written → accrued → split → PAID → recorded; a venue adapter has offer.in · offer.out · job.in · job.out; the seller of record pays on by forward · share · period · markup; a leg is Owed → Reserved → Sent | Held | Refunded; a hop reads OK · HELD · MISSING · BROKEN. On the wire the hop ids are the event field step and the metric label stage; a wire name is never renamed.

## Output

A JSON object with ok status, edge_id, delivery status including handshake_id and reply_digest, and a meter_line showing payment details (units paid via x402, edge state, and agreement basis). On unauthenticated calls, also returns a get_key field with instructions for obtaining a free API key.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "args": {
   "type": "object",
   "properties": {
    "limit": {
     "type": "number",
     "description": "Max results (default: 10)"
    },
    "min_tvl": {
     "type": "number",
     "description": "Minimum TVL in USD (default: 100000)"
    },
    "stablecoin_only": {
     "type": "boolean",
     "description": "Only stablecoin pools (default: false)"
    }
   }
  },
  "task": {
   "type": "string",
   "maxLength": 4000,
   "minLength": 1
  },
  "tool": {
   "type": "string",
   "const": "get_yield_data"
  },
  "class": {
   "type": "string",
   "const": "mcp.tool_call"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "edge_id": "edge_2b7eb928b3220d42",
  "delivery": {
   "status": "ready",
   "handshake_id": "hs_…",
   "reply_digest": "0x…"
  },
  "meter_line": {
   "paid": {
    "by": "x402",
    "units": "1200"
   },
   "edge_state": "quoted",
   "agreement_basis": "house_unsigned"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/taifoon-coordination-layer-api-c64870d1/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)
