Skip to navigation

Get outcome timeseries

Retrieve YES price, NO price, and trading-volume points for one outcome and period. The period defaults to all time.

Path parameters

idstringRequired
Stable unique identifier for the id.

Query parameters

periodenumOptionalDefaults to all_time

Chart period. Defaults to all_time when omitted.

Allowed values:
start_timedatetimeOptional

Inclusive lower bound. Do not send period when this or end_time is set.

end_timedatetimeOptional

Inclusive upper bound. Clamped to the chart as_of. Do not send period when this or start_time is set.

Response

OK
outcome_idstringOptional
Stable unique identifier for the outcome.
periodenumOptional
Allowed value for period.
Allowed values:
intervalstringOptional
start_timedatetimeOptional
end_timedatetimeOptional
as_ofdatetimeOptional
datalist of objectsOptional

Errors

400
Bad Request Error
404
Not Found Error
405
Method Not Allowed Error
500
Internal Server Error
503
Service Unavailable Error