RESTful API for accessing market data, integrity scores, and resolution dossiers
https://api.wagerkit.xyz/v1All API requests require an API key passed in the Authorization header.
Retrieve a list of markets with filtering and pagination.
Get current odds from all sources for a specific market with provenance data.
{
"market_id": "mkt_123",
"latest": [
{
"source": "onchain_A",
"price": 0.62,
"ts": 1731300001,
"provenance": {
"fetch_ts": 1731300002,
"url": "...",
"hash": "0xf4a7c3b..."
}
}
],
"signature": "v1=hex..."
}Retrieve the integrity score and component breakdown for a market.
{
"market_id": "mkt_123",
"score": 87,
"components": {
"market_clarity": 0.90,
"liquidity_depth": 0.78,
"cross_source_agreement": 0.92,
"volatility_sanity": 0.88
},
"calc_ts": 1731300300
}Configure webhooks to receive real-time divergence alerts.
{
"event": "divergence.triggered",
"market_id": "mkt_123",
"delta_pct": 7.4,
"z_score": 2.8,
"sources": [
{ "name": "onchain_A", "price": 0.66 },
{ "name": "regulated_B", "price": 0.59 }
],
"ts": 1731300400,
"signature": "v1=hex..."
}All webhook payloads include HMAC signatures for verification.