Skip to content
PredictionMarketAPI
Time-Series & Backtesting · PG16 Snapshots6 min read·Updated 2026-11-26

Historical Prediction Market Data: Hourly Implied-Probability Snapshots & Movers

Quick Answer (BLUF)

PredictionMarket API runs a dedicated hourly PostgreSQL 16 snapshotter across high-volume Polymarket and Kalshi contracts. Every call to GET /v1/markets/detail returns live contract metadata alongside stored history_snapshots[] (timestamp, yes_probability, no_probability, volume_24h_usd, liquidity_usd), while GET /v1/markets/movers ranks the sharpest 24h probability shifts (2 Credits/mover, 10 Credits/detail).

Gateway p50 Latency22ms cached (<280ms warm · 1.8s live)
Concurrency & Rate Limit60 – 600 RPM (Dual-Rail Failover)Need 1,000+ RPM? Dedicated Enterprise Key Pool available
Deterministic Unit Price$0.08–$0.15 / 1,000 listings

Instant pm_live_... key in 3s (3,000 Free Credits · $0.30) · $1 = 10,000 Credits · 0 Credits on empty queries · Top up anytime via 0%-fee Multi-Chain Crypto (+5% bonus credits, never-expiring PAYG)

Instant Quickstart · Copy & Run in 30 Seconds

Retrieve Contract Metadata + Hourly History Snapshots

import requests

detail = requests.get(
    "https://api.predictionmarketapi.dev/v1/markets/detail",
    params={"market_id": "KXELONMARS-99", "venue": "kalshi"},
    headers={"x-api-key": "pm_live_YOUR_API_KEY"},
).json()["data"]
for snap in detail["history_snapshots"]:
    print(snap["snapped_at"], snap["yes_probability"])
Want to inspect real live Polymarket & Kalshi JSON before creating an account?Try 3 Free Live Runs in Browser Playground (No Login) →

Key Engineering Takeaways (TL;DR)

  • ✓Automatic hourly PostgreSQL 16 snapshots capture yes_probability, volume_24h_usd, and liquidity_usd for active contracts.
  • ✓GET /v1/markets/detail embeds up to 48 recent hourly snapshots directly in history_snapshots[] at no extra credit cost.
  • ✓GET /v1/markets/movers surfaces abs_delta_24h and directional classification (up/down/flat) weighted by real USD liquidity.
  • ✓Predictable credit economics: build continuous macro time-series pipelines for pennies per day.

1. Hourly Snapshot Data Model & Ingestion Pipeline

Our backend deduplicates snapshots per (market_id, hour_bucket) in PostgreSQL 16 so downstream analytics jobs always receive monotonic, gap-free time-series rows.

Retrieve Contract Metadata + Hourly History Snapshots

Pulls current live quote plus stored PostgreSQL hourly probability history in one call.

curl -sS "https://api.predictionmarketapi.dev/v1/markets/detail?market_id=KXELONMARS-99&venue=kalshi" \
  -H "x-api-key: pm_live_YOUR_API_KEY"
Test this exact endpoint right now in your browser (3 free anonymous runs):Run 3 Free Live Queries in Playground →

Interactive Quant Forecasting Underwriting Terminal · GET /v1/markets/detail

Verify real-time latency, parcel credit math & JSON schema

10,000 listings/day
2,000 dossiers/day
5,000 records/day
HTTP Calls / Day
2,750
5 Unified Routes
Credit Unit
$1 = 10,000
$9 Indie Pack Ready
Empty / 404 Fee
0 Credits
$0.00 on 0 matches
Estimated Monthly Pipeline Cost (30 Days)
$60.00/ mo on Business ($86.25 on Pro)
Monthly consumption: 1,500,000 Credits (50,000 Credits/day)
PredictionMarket API (Business $0.08/1K records):$60.00 / mo
DIY Exchange Pipelines + Hosting:$10200.00 / mo
Empty ZIP search / unfound property fee:$0.00 (0 Credits)

Frequently Asked Questions

How much does reading history_snapshots inside /v1/markets/detail cost?
It is included inside the flat 10-Credit ($0.0004–$0.001) cost of GET /v1/markets/detail with no separate surcharge.