/v1/meta
Service metadata
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/predictit-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/predictit-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/predictit-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/predictit-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Prices are USD 0.00-1.00; 0.27 implies a 27% probability. Get a market id from /v1/markets or /v1/search, then call /v1/market?id=. The full feed is cached ~60s per PredictIt's guidance.",
"source": "PredictIt (predictit.org/api/marketdata, live)",
"service": "predictit-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/market": "A single market with all contracts and implied probabilities (id=7589).",
"GET /v1/search": "Find markets by keyword (q=president, limit=50).",
"GET /v1/markets": "Every open market with its question and contract count (limit=100)."
},
"description": "Live prices from PredictIt, the real-money political prediction market where traders buy and sell shares in the outcome of US elections, economic events and policy questions. Each market asks a question and holds yes/no contracts whose price (0.00-1.00 USD) is the market-implied probability of that outcome. The markets endpoint lists every open market; the market endpoint returns a single market with every contract (last trade, best buy/sell yes and no, last close) and implied probability; the search endpoint finds markets by keyword. Live, no key, nothing stored. The political prediction-market / event-odds cut — distinct from the crypto prediction markets (Polymarket) and play-money markets.",
"open_markets": 249,
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-11T16:46:40.707Z",
"request_id": "9172e5cc-ef30-4fa9-a65e-2962ec1c5ce5"
},
"status": "ok",
"message": "Meta",
"success": true
}