Skip to content

History & Settlement Signals

Closing-line value

Open versus close per bookmaker and selection, with the implied probability shift between them.

anchor decides what "close" means:

  • window (default) — the last tick inside the requested history window. Right for inspecting a window, and it drifts as history ages past the 13-month ClickHouse retention, after which it silently means "the last tick we still have".
  • closing — the durable closing ledger: each book's genuine last price before the fixture started. Requires the signals entitlement (Max); without it this parameter returns 403 while the default keeps working.

Each item carries close_anchor under anchor=closing, because a row the ledger does not cover keeps its window-derived close rather than disappearing. Dropping it would make the response quietly incomplete.

Needs ClickHouse; returns 502 where odds history is not deployed.

Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.

GEThttps://api.sportquanta.com/v1/{league}/games/{id}/odds/clv
GETClosing-line value for a game
GET/v1/{league}/games/{id}/odds/clv

Closing-line value for a game

Open versus close per bookmaker and selection, with the implied probability shift between them.

anchor decides what "close" means:

  • window (default) — the last tick inside the requested history window. Right for inspecting a window, and it drifts as history ages past the 13-month ClickHouse retention, after which it silently means "the last tick we still have".
  • closing — the durable closing ledger: each book's genuine last price before the fixture started. Requires the signals entitlement (Max); without it this parameter returns 403 while the default keeps working.

Each item carries close_anchor under anchor=closing, because a row the ledger does not cover keeps its window-derived close rather than disappearing. Dropping it would make the response quietly incomplete.

Needs ClickHouse; returns 502 where odds history is not deployed.

Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.

Authorization
Path
Query
Closing-line value for a gamecURL
200Example

Reference context: WKBL.

Overview · Response conventions

Authorizations

Authorizationstringheaderrequired

Send a workspace API token in the Authorization: Bearer <token> header.

Path Parameters

leagueenum<string>default:wkblrequired

League for this reference section: wkbl.

Available options: wkbl

idstringrequired

Query Parameters

anchorenum<string>default:window

What the close side is taken from.

Available options: window, closing

marketstring
bookmakerstring
selectionstring
limitintegerdefault:5000

Response

application/json

Closing-line value per selection.

dataobjectrequired
data.dataobjectrequired
data.data.game_idstringrequired
data.data.anchorstringrequired
data.data.itemsobject[] | nullrequired
data.data.items.marketstringrequired
data.data.items.periodstring
data.data.items.bookmakerstringrequired
data.data.items.selectionstringrequired
data.data.items.linenumber
data.data.items.open_atstring<date-time>
data.data.items.close_atstring<date-time>
data.data.items.open_price_decimalnumber
data.data.items.close_price_decimalnumber
data.data.items.open_impliednumber
data.data.items.close_impliednumber
data.data.items.clv_impliednumber

Difference between closing and opening implied probability.

data.data.items.close_anchorstring

Source of the closing side, when annotated.

_metaobject

Response request/cache metadata. Optional evidence fields are specific to this handler; cache TTL does not measure source-data freshness.

_meta.request_idstring
_meta.served_fromenum<string>

Available options: live, cache

_meta.cache_ttl_secondsinteger

Response cache TTL; independent of source freshness. Omitted when zero.