PredictionTalk
Home  /  API v0

Public API · v0

Open JSON endpoints for prediction-market data — aggregated TVL, volume, fees and per-platform stats across all tracked venues. No auth, no rate limits. Used by the homepage and the markets dashboard.

GET /api/v0/markets.json
Aggregated TVL, 24h + 30d volume, 24h fees + per-platform breakdown (TVL, volume, share, fee model, native asset, oracle).
GET /api/v0/stats.json
Lightweight site-wide rollup — quick stats for dashboards and embedded widgets.
GET /api/v0/discussions.json
Recent forum discussions across all categories (title, author, tag, last activity).

Quick example — markets aggregate

$ curl -s https://predictiontalk.org/api/v0/markets.json | jq .aggregated
{
  "total_tvl_usd":         524913015,
  "total_volume_24h_usd":  420956122,
  "total_volume_30d_usd":  12308560272,
  "total_fees_24h_usd":    341099,
  "platforms_tracked":     7
}
Refresh cadence: markets.json and stats.json refresh every 6 hours via the prediction-markets fetcher. discussions.json refreshes hourly. Each response includes a generated_at timestamp.

Stability: v0 is the only public version. Breaking field changes ship as v1 at a new path.