API Reference
Platforms & Health
Discover platforms and their capabilities
A capability registry and a liveness check. /v1/platforms describes the platforms themselves and contains no market data, so it is the one response that covers both exchanges.
All endpoints require Authorization: Bearer <key>.
Base URL: https://api.predictionrouter.keronlabs.com
GET /v1/platforms
List every supported platform and which resources it exposes. The canRead* flags are derived from the code that serves each platform, so they match what the other endpoints will actually return.
Example
curl "https://api.predictionrouter.keronlabs.com/v1/platforms" \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"platforms": [
{
"id": "kalshi",
"name": "Kalshi",
"currency": "USD",
"capabilities": {
"canReadEvents": true,
"canReadSeries": true,
"canReadTrades": true,
"canReadUsers": false,
"canReadSports": true
}
},
{
"id": "polymarket",
"name": "Polymarket",
"currency": "USDC",
"capabilities": {
"canReadEvents": true,
"canReadSeries": false,
"canReadTrades": true,
"canReadUsers": true,
"canReadSports": false
}
}
]
}GET /v1/health
Liveness check. Returns the service status and version.
Response
{ "status": "ok", "version": "0.1.0" }