Skip to content
Fourohtwo

PredictionMarketDataAPI

api.realtimeapi.ai/v1/predictiondata/markets/top/history

PredictionMarketDataAPI: Price history as OHLC bars (Pro). OHLC bars per outcome in micro-USD with volume (taker side, micro-USD) and trade counts. interval 1m covers the last 90 days, 1h and 1d the full history. Bars are immutable once closed; the resolution is a separate field so a backtest cannot see the outcome early. Refreshes every 60 seconds.

BaseAnswering
GEThttps://api.realtimeapi.ai/v1/predictiondata/markets/top/history

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.realtimeapi.ai/v1/predictiondata/markets/top/history");
console.log(await res.json());

Example input

{}

More from PredictionMarketDataAPIProvider status