Data

Every live market has a JSON view. No wallet is required.

GET /api/markets/:chainId/:projectId

The response includes the question, observation rule, range boundaries, live tier supply, pool balance and chain block. Percentages use percentage points: 2.5 means +2.5%.

Each range includes its lower bound and excludes its upper bound. A null bound denotes an overflow tail.

GET /api/markets/:chainId/:projectId/play?account=0x…

The play view adds owned NFTs, scorecards and available actions. Inventory and scorecard history report their completeness and continuation cursors. Keep the same blockNumber; pass inventory.nextCursor as tokenCursor or scorecardsNextCursor as scorecardCursor. A partial page is not a complete inventory.

POST /api/preview

{
  "market": "<market definition>",
  "coefficients": [
    0,
    1,
    0,
    0,
    0,
    0
  ],
  "positions": 100
}

Preview returns the curve probabilities, integer NFT allocation, difference from the curve and exact payment in wei. Supply quantities, one whole NFT count per range, instead of positions for a manual allocation. allocation.mode distinguishes curve from manual; the coefficients remain the reference curve. This endpoint sends no transaction.

SIPmath export

POST /api/preview?format=sipmath
GET /api/markets/:chainId/:projectId?format=sipmath

Use the same preview body, or select Download SIPmath in the editor. The file includes the forecast, NFT allocation and source evidence, with seeded sampling and five calibration trials. Manual entries export the allocation; their reference curve stays in the audit metadata.

Continuous outcomes use percentage points. Allocation and supply variables return tier IDs with exact range definitions, including overflow. They do not specify an outcome within a range. The ratified scorecard remains settlement evidence.

The export uses the canonical SIPmath_3_0 wire profile described by the SIPmath 3.1 standard. Trials start at 1. Seeds reproduce a variable; combining markets requires an explicit dependence model. No copula is inferred.

Supply shares measure committed positions. They are stake-weighted, not a count of independent opinions. Refunds and redemptions change the live supply. The ratified scorecard controls payouts.

After entry closes, openingDistribution preserves the opening stake shares where they can be reconstructed. ratifiedPayoutShares reports the scorecard’s actual allocation, not a probability estimate.

tradingDistribution: null means no trading estimate is available. Prices alone do not establish probabilities; a usable estimate also needs executable quotes, supply, payout assumptions and freshness.

Try a curve and download its JSON