Line History
Line history: Timestamped price and line changes for a market, with opening and current values. Kept for main full-game markets.
Timestamped price and line changes for a market, with opening and current values. Kept for main full-game markets.
GET /v1/history · 3 credits
Plan availability: not included in Sandbox. Available on Edge, Sharp, Syndicate.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
market_id | string | no | Market id from any odds response. Or use event_id + book. Example: mkt_27xctmykw6y |
event_id | string | no | Event id (when market_id is not given). Example: evt_0uuc6p2dsqa |
book | string | no | Source id (when market_id is not given). Example: pinnacle |
market | string | no | moneyline, spread or total. Default moneyline. Example: spread |
period | string | no | Default full_game. Example: full_game |
format | string | no | Price format: american (default), decimal or probability (implied). odds_format= also works. Example: decimal |
Response
Returns the standard envelope: results in data, request metadata and credit accounting in meta. Field definitions are in the data model guide; errors are listed on Errors.
Example request
curl "https://api.preciseapi.com/v1/history?book=pinnacle&market=moneyline&event_id=evt_01a7mgfh0nd" \
-H "Authorization: Bearer $PRECISEAPI_KEY"Example response
{
"data": {
"market_id": "mkt_1sutc886rth",
"open": {
"t": "2026-10-14T23:33:15.863Z",
"line": null,
"prices": [
-715,
567
]
},
"current": {
"t": "2026-10-14T23:33:39.269Z",
"line": null,
"prices": [
-720,
570
]
},
"points": [
{
"t": "2026-10-14T23:33:15.863Z",
"line": null,
"prices": [
-715,
567
]
},
{
"t": "2026-10-14T23:33:17.539Z",
"line": null,
"prices": [
-716,
567
]
},
{
"t": "2026-10-14T23:33:24.132Z",
"line": null,
"prices": [
-717,
568
]
}
]
},
"meta": {
"request_id": "req_nzcCdVwGc1WQ2X1cyBfq",
"credits_used": 3,
"credits_remaining": null,
"unlimited": true,
"generated_at": "2026-10-14T23:33:43.642Z"
}
}Previous: Best lines