API reference
Public API/Markets

Market price history

GET/markets/{market_id}/history

Daily close price time series for a single market.

120 requests / minute per key (read tier). Returns the {success, message, data} + meta envelope.

Authorizations

Authorizationstringheaderrequired

Bearer token - an ito_* key (from Settings) holding the markets:read scope.

Path parameters

market_idstringrequired

Market identifier

Query parameters

daysint

Lookback window in days (default 90, max 365)

platformstring

Optional platform filter

Request
curl "https://itomarkets.com/api/v1/markets/will-x-happen/history" \  -H "Authorization: Bearer $ITO_API_KEY"
ResponseJSON
{  "success": true,  "message": "Success",  "data": {    "market_id": "will-x-happen",    "platform": "polymarket",    "title": "Will X happen?",    "days": 90,    "series": [      {        "date": "2026-03-24",        "close_price": 0.55,        "volume": 8400.0      }    ]  },  "meta": {    "points": 1,    "start_date": "2026-03-24"  }}