Add Substrate to a wealth app, a prediction market, a broker or a sportsbook without writing backend code. Mark any button with data-substrate-check and Substrate reads the order, the person and the moment, then shows the truth before the click goes through. Kindly, in your brand, on the record.
Choose, preview on the right, copy the snippet.
data-substrate-check on Buy, Place bet or Confirm. Reads attributes or the surrounding form. Re-fires the click only if the person proceeds.
Cancel records "followed", Proceed anyway records "ignored". The genome learns with zero extra integration.
"Hold me to it until 9am". If they come back early, Substrate quotes their own promise.
Publishable keys locked to your domains, hashed user ids, per-IP limits, fail-open, shadow DOM isolation, text only.
data-mode="check,widget" adds a floating heart: an honest advisor that remembers each user.
substrate:verdict, substrate:proceed, substrate:cancel, substrate:pact on window.
Full OpenAPI 3 spec at /openapi.json, interactive reference at /docs.
| Endpoint | Key | What it does |
|---|---|---|
POST /v1/embed/advise | pk | The honest pause: order context plus the user's note in, verdict, reasons, forecasts, pact offer out |
POST /v1/embed/outcome | pk | Followed or ignored, from the widget |
POST /v1/embed/pact | pk | Make a precommitment |
POST /v1/embed/keys | tenant | Create a publishable key locked to your origins |
POST /v1/advise | tenant | Full engine response for server-side use |
POST /v1/chat/completions | tenant | OpenAI-compatible harness, substrate or guard mode |
POST /v1/markets/analyze | none | Stateless bet maths: parlays, round robins, Kelly |
POST /v1/volatility/analyze | none | FX and gold volatility, stop-out odds, event combinatorics, trader biases |
PUT /v1/tenant/webhook | tenant | Signed escalation, safety and pact events to your systems |