Skip to content

Prediction Market Data API

GET/v1/predictiondata/movers

Open markets whose headline probability moved most over the window, among markets with at least $1,000 of volume in 24 hours. Refreshes every 5 minutes.

Price

$0.01/ call

Edge cache

150s

Uptime 24h

100.00%

p95

2.66s

MCP tool

predictiondata_movers

The PredictionMarketDataAPI provides prediction market prices, implied probabilities, volumes, movers, resolutions, and history. Data is derived from public Polygon chain data. Access the API using USDC over x402 or an API key. The API offers a GET endpoint for retrieving the biggest probability moves in open markets. Parameters include window, limit, and category.

Parameters

NameInTypeDescription
window query string = 24h
limit query integer = 10
category query string

Code

curl
# 1. No key, no payment: the gateway answers 402 with the price
curl -i "https://api.realtimeapi.ai/v1/predictiondata/movers"

# 2. Pay: retry with a signed x402 payment (any x402 client builds this header)
curl "https://api.realtimeapi.ai/v1/predictiondata/movers" -H "PAYMENT-SIGNATURE: $X402_PAYMENT"
TypeScript · @x402/fetch
// npm i @x402/fetch @x402/core @x402/evm viem
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = x402Client.fromConfig({ schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(privateKeyToAccount(PRIVATE_KEY)) }] });
const pay = wrapFetchWithPayment(fetch, client);
const data = await (await pay("https://api.realtimeapi.ai/v1/predictiondata/movers")).json();
console.log(data);
Python · x402
# pip install x402 eth-account requests
from eth_account import Account
from x402.clients.requests import x402_requests

session = x402_requests(Account.from_key(PRIVATE_KEY))
print(session.get("https://api.realtimeapi.ai/v1/predictiondata/movers").json())
With an API key
curl "https://api.realtimeapi.ai/v1/predictiondata/movers" -H "X-API-Key: $RTAPI_KEY"

Frequently asked questions

What data is provided?

Prediction market prices, implied probabilities, volumes, movers, resolutions, and history.

How is the data derived?

From public Polygon chain data (Polymarket exchange contracts).

How can I access the API?

Pay per request in USDC over x402 or use an API key.

Get a free key

1,000 calls a month across every feed. Who is setting it up?

No key needed at all: agents can pay per call in USDC with x402.