Skip to main content

Variable: espnMbbGameProbabilities

const espnMbbGameProbabilities: Wrapper<Row[], EspnEventProbabilitiesParams>

Defined in: src/generated/espn/mbb.ts:1825

MBB — game probabilities (ESPN sports.core.api.espn.com (core v2)).

Endpoint: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/events/{event_id}/competitions/{cid}/probabilities

Param​

params.event_id

number | string — the ESPN event (game) id.

Param​

params.cid

number | string — the {cid} path segment; optional; default from event_id.

Param​

params.limit

number | string — the maximum number of items to return; default 300.

Param​

params.parsed

boolean — when true, route the payload through this endpoint's tidy.js parser and return rows instead of raw JSON.

Returns​

Promise<Row[]> with { parsed: true } (rows are untyped: not parity-verified yet); the raw ESPN payload (unknown) otherwise.

Example​

await sdv.mbb.espnMbbGameProbabilities({ event_id: '…' });

See​

https://js.sportsdataverse.org/docs/mbb/reference/core#espnmbbgameprobabilities