# Coil TradFi Risk Input

> Coil TradFi Risk Input is a paid API for AI agents from coil.trade, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns S&P 500 and Nasdaq-100 regime state, equity sector breadth, permission ladder status, and BTC/ETH trend gate so crypto agents can size positions against traditional market risk appetite

## Facts

- Endpoint: GET https://coil.trade/api/tradfi-risk
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coil-tradfi-risk-input-4f90c99b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__ycZtv9xWWITd3BlS4_d6

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 coil-tradfi-risk-input-4f90c99b
```

Example prompt: Before sizing my next ETH position, check if TradFi is risk-on right now — I want to know the S&P 500 and Nasdaq regime, how many of the 11 equity sectors are green, and whether the BTC/ETH trend gate is open.

## When to prefer this

Choose this endpoint when a crypto trading agent needs macro context from traditional equity markets without building or maintaining its own market regime classifier. It is ideal when you want a single cheap call to determine whether the broader risk environment supports crypto exposure, specifically when S&P 500 and Nasdaq regime, equity breadth, and BTC/ETH trend gate alignment all matter for position sizing. Prefer it over generic market data APIs when you need an opinionated, pre-computed risk-on/risk-off signal rather than raw price data.

## Known failure modes

- Data freshness lag if the underlying engine has not completed its daily scoring run
- Non-200 response if the endpoint is unavailable or payment verification fails
- Empty or null regime fields if market data inputs to the scoring engine are delayed
- Payment rejection if the $0.003 USDC x402 header is malformed or insufficient

## How this service works

TradFi risk-on/risk-off in one $0.003 call for crypto agents. Returns the S&P 500 and Nasdaq-100 regime state, how many equity sectors are green out of 11 (breadth), whether the permission ladder allows risk at all, and the same engine's BTC/ETH trend gate — size against equity risk appetite instead of guessing. Regime states flip rarely (days, not minutes); recomputed ~5-9 min in-session by a live long-only engine scoring ~565 US names. Research, not advice.

## Output

Returns the current S&P 500 regime state (risk-on/risk-off), Nasdaq-100 regime state, the number of equity sectors that are green out of 11 (breadth score), the permission ladder status indicating whether risk is allowed at all, and the BTC/ETH trend gate status derived from the same scoring engine — all derived from a live long-only engine scoring approximately 560 US names daily.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "crypto": {
   "mode": "RISK_OFF",
   "gate_open": false
  },
  "tradfi": {
   "ndx": {
    "mode": "NAMES_ON",
    "state": "WAIT",
    "ladder": "CASH"
   },
   "spx": {
    "mode": "NAMES_ON",
    "state": "WAIT",
    "ladder": "CASH"
   },
   "sectors_green": 8,
   "sectors_total": 11
  },
  "product": "coil-tradfi-risk",
  "risk_on": false,
  "verdict": "TradFi selective, crypto gate closed",
  "freshness": {
   "poll_hint": "Market open — this board recomputes about every 5 minutes; polling faster returns the same payload.",
   "market_open": true,
   "next_refresh_at": "<ISO-8601 UTC — always present; do not re-buy before this>",
   "data_age_seconds": 142
  },
  "asof_daily": "2026-07-24"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coil-tradfi-risk-input-4f90c99b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coil.trade](https://www.zero.xyz/host/coil.trade/llms.txt)
