TideTrade for agents
One published trend rule, read on completed candles, every result on a public record. This page is the contract for programs: what is free, what a key buys, what a payment buys, and how to check what you were given. Everything here is a state, never a forecast or a recommendation.
Free, no key, any origin
/api/v1/snapshot: Every crypto asset's state on the last completed candle, breadth, the day's flips, the newest report. JSON; .csv for one row per asset. 60 requests a minute per address./api/v1/rules: The rule manifest: parameters, data sources, schedule, record types, changelog, hashed./api/v1/status: When each slot last ran, what was late, corrections, ledger hashes./mcp: The same data as tools for Claude, ChatGPT or any MCP client: snapshot, asset, report, rule, search, fetch. 120 requests a minute per address. Listed in the MCP Registry as app.tidetrade/tidetrade./ledger/export.csv: Every flip ever recorded, and the daily SHA-256 that proves it has not moved./api/v1/verify: Check a claim about a state or a flip against the ledger: confirmed, refuted or not-recorded, with the row.
Every answer carries the envelope: rule (id, version, manifest), asOf and fresh (hours since the run, a stale flag past 30 hours), the newest candle, each row's source venue, ledger (the day's SHA-256 of the whole flip export) and the notice. The OpenAPI file is at /docs/api/openapi.json.
With a Pro key, or a payment
/api/v1/states: Every asset's state, daily or weekly./api/v1/flips?since=: The change feed: flips and corrections written since a moment, oldest first, with a cursor./api/v1/history/{id}: One asset as recorded, candle by candle, with its flips, corrections and record block./api/v1/breadth: Breadth per daily candle across the 140 or the Core 30, back to 2019./api/v1/forming: The 22:00 UTC read of the forming candle with its scorecard.
A key comes with a Pro account and goes in the Authorization: Bearer header; 60 requests a minute per key. Pro accounts can also receive each candle's flips as a signed webhook.
Pay per call (x402)
No account needed. Request a keyed endpoint without a key and the answer is 402 with a PAYMENT-REQUIRED header: the amount in USDC, the network and the address. Sign a payment with any x402 v2 client, send the request again with PAYMENT-SIGNATURE, and the answer arrives with PAYMENT-RESPONSE confirming settlement. A settled call is final.
Now running on Base and Solana, USDC.
| Endpoint | Price per request |
|---|---|
| /api/v1/states | $0.002 |
| /api/v1/flips | $0.003 |
| /api/v1/breadth | $0.003 |
| /api/v1/history/{id} | $0.01 |
| /api/v1/forming | $0.005 |
| Network | Receiving address |
|---|---|
| Base eip155:8453 | 0x4Ab4a98C723489848d26770F438831dDf4318cB3 |
| Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | GgX7gHni7uVj1xnBbvpjUtxfxauM3k1AL9JykXUUhpb4 |
Payments are verified and settled by the facilitator at https://api.cdp.coinbase.com/platform/v2/x402. Pass ?source=yourname on paid calls if you want us to know where you came from; it is kept with the receipt and nowhere else. Prices can change without notice; the 402 answer is always current. For the record: our own monitor makes one paid call to each endpoint a week to keep the directory listing alive; those calls carry source=heartbeat and are left out of every count we publish.
Check a claim, free
GET /api/v1/verify?asset=btc&band=IN answers confirmed, refuted or not-recorded against the ledger for the latest daily candle, with the recorded row, the flips and corrections on that candle and the reason in words. candle=YYYY-MM-DD for a past candle, dir=UP|DOWN, flip=in|out|any, tf=W. No key; the snapshot's rate limit. Use it to refute a statement about a state or a flip before acting on it.
Signed answers
Every JSON answer from the data endpoints, free or paid, carries X-TideTrade-Attestation: a compact JWS (EdDSA, Ed25519) whose payload is { iss, sub, iat, rule, asOf, candle, ledger: { day, sha256 }, body: { alg: "SHA-256", sha256 } }, where sub is the request path and body.sha256 the hash of the exact bytes served. The key is at /.well-known/jwks.json(kid did:web:tidetrade.app#key-2026-11) and as a DID document at /.well-known/did.json. Paid answers also carry the x402 signed offer and receipt from the same key. Keep the header with the body: together they show later what this rule said, that you were served it, and that it has not changed.
// Node 20+: verify an answer you saved (body as text, header as string)
import { createPublicKey, createHash, verify } from 'node:crypto';
const [h, p, s] = header.split('.');
const { keys } = await (await fetch('https://tidetrade.app/.well-known/jwks.json')).json();
const jwk = keys.find((k) => k.kid === JSON.parse(Buffer.from(h, 'base64url')).kid);
const ok = verify(null, Buffer.from(h + '.' + p), createPublicKey({ key: jwk, format: 'jwk' }), Buffer.from(s, 'base64url'));
const payload = JSON.parse(Buffer.from(p, 'base64url'));
const same = payload.body.sha256 === createHash('sha256').update(body).digest('hex');
console.log(ok && same ? 'signed by TideTrade, bytes unchanged' : 'do not trust'); Check the ledger itself
The record behind every answer is public and hashed daily. Run curl -s https://tidetrade.app/ledger/export.csv | tail -n +2 | shasum -a 256 and compare with ledger.sha256 in the answer; the export's own X-Ledger-SHA256 header carries the current value. The daily hash is also written into a transaction on Base, so its existence at that time is attested somewhere we do not control: the answer's ledger.anchor names the transaction; the latest, for 2026-11-22, is 0x5eced093db4f659c…. Corrections are never silent: a revised close is a record beside the original, on the feed and at /ledger/corrections.
What this is not
Decision support, not financial advice. The rule is wrong often in sideways markets; the pre-registered study says how often. Indices and commodities are an alpha, marked alpha: true, and not for decisions. Nothing here forecasts anything. The terms say how the data may be used: in your own tools and analyses, quoted with TideTrade named and linked, never as advice, not for resale.