Skip to main content

Odds APIs

Source: https://www.cricketapi.com/v5/docs/live-match-odds-rest-api Source: https://www.cricketapi.com/v5/docs/pre-match-odds-rest-api

Overview

Roanuz provides both live and pre-match odds data from various bookmakers. These are aggregated odds from third-party sources — NOT exchange odds.

Important: Hannibal uses Bifrost/Betfair for actual betting odds and bet placement. Roanuz odds could be useful for comparison/reference but are NOT used for bet routing.

Endpoints

Live Match Odds

GET /v5/cricket/{project_key}/match/{match_key}/odds/live/

Returns real-time odds during a live match.

Pre-Match Odds

GET /v5/cricket/{project_key}/match/{match_key}/odds/pre-match/

Returns odds before match start.

Headers

rs-token: <access_token>

Sample Request (Node.js)

// Live odds
const response = await axios.get(
`https://api.sports.roanuz.com/v5/cricket/${projectKey}/match/${matchKey}/odds/live/`,
{ headers: { 'rs-token': token } }
);

// Pre-match odds
const response = await axios.get(
`https://api.sports.roanuz.com/v5/cricket/${projectKey}/match/${matchKey}/odds/pre-match/`,
{ headers: { 'rs-token': token } }
);

Response Structure

Odds data typically includes:

  • Market types (match winner, totals, etc.)
  • Bookmaker-sourced odds values
  • Timestamp of odds update

Hannibal Usage

Not currently used. Potential uses:

  • Cross-reference with Bifrost/Betfair odds for price validation
  • Display "market consensus" odds alongside exchange odds
  • AI analysis feature: compare our odds vs market odds
  • Detect pricing anomalies

Caution: These are NOT exchange odds. They represent aggregated bookmaker lines and should NOT be used for bet placement or settlement decisions.