Integrations
Put preCrime beside a token.
Show a token’s cases, odds and verdicts on your launchpad, terminal or bot, and send people to take a side. Public, no key needed, read-only.
The widget
One iframe per token: up to three open cases, their odds and when staking closes. Any HTTPS page can frame it; it sets no cookie and signs nothing.
Paste a token address below for the snippet and a preview.
The feed
JSON, from a server or any browser, cached for 15 seconds. An API key from the API keys page raises the rate limit.
GET http://localhost:3001/v1/feed/token/{address}
Every published case on a token, open ones first.
GET http://localhost:3001/v1/feed/cases?since={ISO time}
Cases changed since a time, oldest first. Each page ends with a cursor for the next call.
Add lightning=true or lightning=false to filter lightning cases.
{
"token": "0x…",
"chainId": 4663,
"summary": { "open": 2, "decided": 5, "guiltyVerdicts": 3 },
"cases": [
{
"id": "…",
"title": "Does the deployer sell half within 24 hours?",
"caseTypeLabel": "Dev dump",
"open": true,
"lightning": false,
"stakeAsset": { "symbol": "USDG", "decimals": 6 },
"pool": { "guilty": "1250", "innocent": "400", "guiltyImpliedBps": 7575 },
"stakeCutoffAt": "…",
"verdict": null,
"url": "http://localhost:3000/c/…"
}
],
"links": { "widget": "http://localhost:3000/embed/token/0x…", "openACase": "http://localhost:3000/cases/open?tokenAddress=0x…" }
}The whole API is described at /v1/openapi.json.