預測結果歷史
GET
GetPredictionHistory
/predictions/history
單一場所結果的觀測價格。價格為 0 到 1 之間的分數。最多 1002 個資料點,每個分桶保留最後一次實際觀測值;缺口不進行內插。歷史資料從 Nebula 首次觀測到該掛牌時開始。
可使用錢包於 https://nebula-api.hiddensystems.ai/api/v1/x402/predictions/history 付款。不需要 Nebula 帳號或 API 金鑰;簽署前請先確認付款條件。x402 付款指南。
參數
掛牌 ID
Example:polymarket:123
掛牌內的結果 ID
Example:yes
回溯期間,以小時為單位。免費方案可回溯 90 天;更早的期間會回傳 403。
Default:168
cURL 範例
curl --get \
--url 'https://nebula-api.hiddensystems.ai/api/v1/public/predictions/history' \
--data-urlencode 'listing_id=polymarket:123' \
--data-urlencode 'outcome_id=yes' \
--header 'X-API-Key: YOUR_API_KEY'
回應
200
OK
400
錯誤的要求
401
未經授權
402
額度已用完;回應會包含續約時間與已購買的額度餘額
403
禁止
404
找不到
405
不允許的方法;Allow 標頭會列出支援的方法
429
要求過多
500
內部伺服器錯誤
503
服務無法使用
媒體類型 application/json
listing_id
string
以場所為前綴的原生市場身分。
outcome_id
string
掛牌內的原生結果身分。
points
array<object>
依時間順序排列的實際觀測值,降採樣且不進行內插。
points
array<object>
依時間順序排列的實際觀測值,降採樣且不進行內插。
points[].price
number (double)
結果報價,以小數表示,範圍 0 到 1;無法取得時為 null。並非主觀情緒。
points[].price_basis
string
provider、last_trade、midpoint 或 unavailable。
points[].time
string (date-time)
UTC 觀測時間。
{
"listing_id": "polymarket:123",
"outcome_id": "yes",
"points": [
{
"price": 0.65,
"price_basis": "provider",
"time": "2026-10-06T12:00:00Z"
}
]
}