← Coil home
ANSWER · MARKET REGIME API

A stock market regime API your agent can call before it buys.

One read answers whether the market is worth trading today, before the agent spends a call on any single name. Scores and states only.

Answer · 4 min read · updated December 2026

Coil is an equity market regime API: one GET returns a risk-on, be-selective or stand-down verdict for each book (the S&P 500, the Nasdaq-100, a Macro book and a BTC and ETH Crypto book), plus the permission ladder from index to sector to name, for $0.005 a read over x402 or as a free sample over MCP.

What comes back

The regime read is the cheap first call of Coil's top-down routine. For each book it says what mode the market is in, and the ladder says how far down permission reaches before an individual name can qualify at all. At the bottom rung the ladder reads cash: no index setup and no sector setup. At the top rung, names in an open sector can qualify. A rung opens on its own structure, never on a single day's move.

The response carries no position sizes, stops or targets. It is a state of the market today, not a forecast of its direction.

Three ways to call it

  • Free over MCP. Add https://mcp.coil.trade/mcp to your agent; no key and no account. The get_market_regime tool returns the morning read: risk-on, be-selective or stand-down, and which sectors are open.
  • Per read over x402. GET https://coil.trade/api/board/regime is $0.005 a read. The server answers HTTP 402, your agent pays in USDC and repeats the request. No account. The x402 stock data API page shows the flow.
  • With a free key. A free key (POST your email to https://coil.trade/api/key) sent as X-Coil-Key reads the regime endpoint, 25 calls a day, without paying per read.

To avoid paying for an unchanged answer, poll /api/board/state. It is free and returns a hash of the material state, including each book's regime mode and ladder rung. Buy a fuller read only when the hash moves.

The order to read it in

  1. The regime first. If it says stand down, the names below it are context, not a green light.
  2. Then the buy list, with the entry window for each name: see the regime and buy list API.
  3. Then one name before any buy, and a hold check for anything already owned.
  4. Then your own rules. Sizing, limits and the decision to act are yours.

What it is not

Coil never places orders for you, never touches your brokerage account and never holds your keys or money. It is an impersonal research publication, the same for every reader, and it re-scores about every 5 minutes during market hours rather than streaming ticks. Not for you if you need a tick-by-tick feed or minute-level alerts.

Before you rely on it, check the record: /api/board/proof is an append-only sha256 commitment log, and /api/board/asof?sample=1 returns one committed day you can inspect for free. For other approaches to the same data, see Coil vs market-data APIs and the alternatives hub.

Questions people ask

Is there a stock market regime API?

Yes. Coil's regime endpoint, GET https://coil.trade/api/board/regime, returns a risk-on, be-selective or stand-down verdict per book plus an index, sector and name permission ladder. It costs $0.005 a read over x402, and a free sample is available over MCP with no key.

What does a regime API tell an AI agent?

Whether the market is worth trading today, before the agent spends calls on any single name. On a cash reading the ladder shows no index setup and no sector setup. It is a state of the market today, not a forecast.

Does the regime API place orders?

No. Coil never places orders for you and never touches your brokerage account. It returns scores and states, and your own agent decides what to do with them.

See the board before you pay

Coil scores the market and never places an order for you. Connect the free MCP server, or read the free sample board.

Connect Coil to your agent

Coil is an impersonal research publication: not investment advice, not a managed account, not a signal service, and not a guarantee of profit. It never places orders for you and never connects to your brokerage account; any order is placed by you or your own agent, in your own account. You can lose money. Backtests are research, not returns; the live record is Coil’s engine trading one real brokerage account, published win or lose, not a projection of yours. Past performance does not predict future results.