Price History
curl --request GET \
--url https://api.simmer.markets/api/sdk/markets/{market_id}/history{
"market_id": "<string>",
"points": [
{
"timestamp": "<string>",
"price_yes": 123,
"price_no": 123
}
],
"interval_minutes": 123
}Markets
Price History
Get historical price data for a market.
Parameters:
- market_id: The market ID
- hours: Number of hours of history (max 168 = 1 week, default 24)
- interval: Minutes between data points (default 15, min 5)
Returns downsampled price data from external_price_history table.
Requires API key in Authorization header.
GET
/
api
/
sdk
/
markets
/
{market_id}
/
history
Price History
curl --request GET \
--url https://api.simmer.markets/api/sdk/markets/{market_id}/history{
"market_id": "<string>",
"points": [
{
"timestamp": "<string>",
"price_yes": 123,
"price_no": 123
}
],
"interval_minutes": 123
}⌘I
