mcp

Compare Lines

post/v1/mcp/compare_lines

Request

  • Base URL: https://api.infersports.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.infersports.dev/v1/mcp/compare_lines
  • Auth: none declared

Request body

event_idstring required

Event id (evt_…).

market_typestring

1x2 | asian_handicap | totals.

periodstring

full_time | half_time.

formatstring

Display format for prices (analytics use decimal).

verbositystring

full | terse. 'terse' drops the per-book books array (the bulk of the payload) and returns only the computed answer (best_prices / consensus_line / fair_odds / summary). Use it when you only need the worked numbers, not every book's line-by-line quote.

Response

Successful Response

event_idstring required
home_teamstring required
away_teamstring required
market_typestring required
periodstring required
formatstring required
as_ofstring required
staleboolean required

True when as_of is older than the freshness window for the match state.

consensus_linenumber nullable

Line offered by the most books (null for 1x2 / no books).

lines_offerednumber[]

Distinct lines present across books (AH/totals).

fair_oddsobject nullable

De-vigged fair decimal odds from the sharpest (lowest-overround) book on the consensus line.

fair_fromstring nullable

Bookmaker key the fair_odds were de-vigged from.

book_countinteger
summarystring

One ready-to-read sentence stating the consensus line, best prices and fair odds (W2) — quote it to the user directly. Present in both verbosity modes.

verbositystring

Echo of the requested verbosity ('full' | 'terse').

Changes

No recorded changes to this operation across all 1 revision of this API.