AlmanacDocs
API referencePredictions

Get forecast history for an event

Returns the historical forecast points for the event, newest first. Read-only and free — no credits are charged.

GET/v1/predictions/{eventId}/history
Authorization<token>

Bearer sub41_live_…

In: header

Path Parameters

eventId*string

Event identifier.

Query Parameters

limit?number

Number of history points to return, 1..500. Defaults to 30.

Range1 <= value <= 500
cursor?string

Opaque pagination cursor from a prior response's nextCursor.

Response Body

application/json

curl -X GET "https://example.com/v1/predictions/string/history"
{  "items": [    {      "eventId": "string",      "probability": 0,      "confidenceLo": 0,      "confidenceHi": 0,      "at": "2019-08-24T14:15:22Z",      "resolved": {        "outcome": true,        "resolvedAt": "2019-08-24T14:15:22Z"      }    }  ],  "nextCursor": "string"}