Skip to content
SportDataHubX

Sports betting API with back and lay odds

SportDataHubX is a sports betting API provider. The odds come straight from the Betfair exchange and reach your panel as clean JSON for 500+ sports, with a cricket odds API that adds bookmaker and fancy markets on top. In-play prices refresh as often as every second.

India v West Indies#761013765

OPEN

MATCH_ODDSMax: 2K

BackLay

India

1.273.2K1.282.4K

West Indies

4.51.8K4.738

BookmakerMin: 100 Max: 1L

BackLay

India

271L301L

West Indies

33325K37025K

Normalfancy

NoYes

6 over run IND adv

6510067100

10 over run IND adv

102100104100

20 over run IND adv

207100210100

1st wkt IND

271102790

Demo market running on sample data.

GET /api/v1/events/761013765/odds200 OK
{
  "success": true,
  "msg": "Success",
  "status": 200,
  "data": [
    {
      "gmid": 761013765,
      "mid": 5188803657540,
      "mname": "MATCH_ODDS",
      "gtype": "match",
      "status": "OPEN",
      "iplay": false,
      "min": 0,
      "max": 2000,
      "section": [
        {
          "sid": 58280,
          "nat": "India",
          "gstatus": "ACTIVE",
          "odds": [
            { "odds": 1.25, "otype": "back", "oname": "back3", "size": 25955.59 },
            { "odds": 1.26, "otype": "back", "oname": "back2", "size": 22254.02 },
            { "odds": 1.27, "otype": "back", "oname": "back1", "size": 3153.85 },
            { "odds": 1.28, "otype": "lay", "oname": "lay1", "size": 2393.11 },
            { "odds": 1.29, "otype": "lay", "oname": "lay2", "size": 4972.9 },
            { "odds": 1.3, "otype": "lay", "oname": "lay3", "size": 888.63 }
          ]
        },
        {
          "sid": 914681,
          "nat": "West Indies",
          "gstatus": "ACTIVE",
          "odds": [
            { "odds": 4.3, "otype": "back", "oname": "back3", "size": 202.01 },
            { "odds": 4.4, "otype": "back", "oname": "back2", "size": 433.5 },
            { "odds": 4.5, "otype": "back", "oname": "back1", "size": 1824.95 },
            { "odds": 4.7, "otype": "lay", "oname": "lay1", "size": 38.29 },
            { "odds": 4.8, "otype": "lay", "oname": "lay2", "size": 971.37 },
            { "odds": 4.9, "otype": "lay", "oname": "lay3", "size": 5902.66 }
          ]
        }
      ]
    },
    {
      "gmid": 761013765,
      "mid": 7389696198459,
      "mname": "Bookmaker",
      "gtype": "match1",
      "status": "OPEN",
      "iplay": false,
      "min": 100,
      "max": 100000,
      "section": [
        {
          "sid": 1,
          "nat": "India",
          "gstatus": "ACTIVE",
          "odds": [
            { "odds": 27, "otype": "back", "oname": "back1", "size": 100000 },
            { "odds": 30, "otype": "lay", "oname": "lay1", "size": 100000 }
          ]
        },
        {
          "sid": 2,
          "nat": "West Indies",
          "gstatus": "ACTIVE",
          "odds": [
            { "odds": 333, "otype": "back", "oname": "back1", "size": 25000 },
            { "odds": 370, "otype": "lay", "oname": "lay1", "size": 25000 }
          ]
        }
      ]
    },
    {
      "gmid": 761013765,
      "mid": 462595834140,
      "mname": "Normal",
      "gtype": "fancy",
      "status": "OPEN",
      "iplay": false,
      "section": [
        {
          "sid": 1,
          "nat": "6 over run IND adv",
          "min": 100,
          "max": 200000,
          "odds": [
            { "odds": 67, "otype": "back", "oname": "back1", "size": 100 },
            { "odds": 65, "otype": "lay", "oname": "lay1", "size": 100 }
          ]
        },
        {
          "sid": 9,
          "nat": "10 over run IND adv",
          "min": 100,
          "max": 200000,
          "odds": [
            { "odds": 104, "otype": "back", "oname": "back1", "size": 100 },
            { "odds": 102, "otype": "lay", "oname": "lay1", "size": 100 }
          ]
        },
        {
          "sid": 27,
          "nat": "20 over run IND adv",
          "min": 100,
          "max": 200000,
          "odds": [
            { "odds": 210, "otype": "back", "oname": "back1", "size": 100 },
            { "odds": 207, "otype": "lay", "oname": "lay1", "size": 100 }
          ]
        },
        {
          "sid": 37,
          "nat": "1st wkt IND",
          "min": 100,
          "max": 200000,
          "odds": [
            { "odds": 27, "otype": "back", "oname": "back1", "size": 90 },
            { "odds": 27, "otype": "lay", "oname": "lay1", "size": 110 }
          ]
        }
      ]
    }
  ]
}

Odds straight from the Betfair exchange

We do not model prices. Every back and lay price, every size and every suspension in the match odds feed is read live from the Betfair exchange market and passed to you within the second. Bookmaker and fancy markets are added on top.

Betfair exchange

Live match odds market: three back and three lay prices with the money waiting at each.

SportDataHubX

Prices normalised into one JSON shape, bookmaker and fancy lines layered on, one key for everything.

Your panel

The same event and market IDs across every feed, settled from the results endpoint.

Same depth as the exchange: back1 to back3 and lay1 to lay3 with sizes, not a single averaged price.

Suspensions follow the exchange: when Betfair suspends a market, yours suspends in the same second.

Settlement follows the exchange result, so what you pay out matches what the market decided.

Betfair is a trademark of its owner. SportDataHubX reads public exchange prices and is not affiliated with or endorsed by Betfair.

Most requested sports

This sports odds API covers 500+ sports in all. Cricket goes deepest, so many operators use it as their cricket betting API, and these are the sports they ask for most.

Cricket

Internationals, franchise leagues and domestic cricket with match odds, bookmaker, session fancy and ball-by-ball score.

  • Match odds
  • Bookmaker
  • Fancy and session
  • Live score
  • Results and settlement

Football

Major leagues and cups with match odds, over and under goals lines and a live score with match clock.

  • Match odds
  • Bookmaker
  • Live score
  • Results and settlement

Tennis

Tour-level and challenger matches with match odds, set betting and point-by-point score.

  • Match odds
  • Bookmaker
  • Live score
  • Results and settlement

Kabaddi

League fixtures with match odds, bookmaker prices and a live score.

  • Match odds
  • Bookmaker
  • Live score
  • Results and settlement

Horse racing

Daily race cards with win and place prices, runner status and official results.

  • Match odds
  • Results and settlement

Table tennis

Round-the-clock fixtures with match odds and a live score.

  • Match odds
  • Live score
  • Results and settlement

6 feeds, from fixture list to settlement

Together they work as a betting exchange API. Take them all or only the ones your panel needs. Every feed uses the same event and market IDs, so they join up without lookups.

Fixtures and in-play list

Every upcoming and live event by sport and competition, with start times and an in-play flag.

GET /api/v1/sports/{sportId}/events

Match odds

The match odds API returns the live Betfair exchange ladder for each runner: three back and three lay prices with the size available at every price.

GET /api/v1/events/{eventId}/odds

Bookmaker

The bookmaker API returns managed prices that stay open through in-play suspensions on the exchange market.

GET /api/v1/events/{eventId}/bookmaker

Fancy and session

The fancy API and session API carry yes and no lines for session runs, fall of wicket, player runs and other in-play cricket markets.

GET /api/v1/events/{eventId}/fancy

Live score

The live score API sends ball-by-ball cricket scorecards and live score for other sports, ready to place above your markets.

GET /api/v1/events/{eventId}/score

Results and settlement

Official results for every market and fancy line so your panel can settle without manual entry.

GET /api/v1/events/{eventId}/results

Colours your players already read

The feed labels every price as back or lay, and every fancy line as no or yes, so your panel can paint them in the blue and pink that exchange players expect.

Back and Yes
1.84
Lay and No
1.86

Sports API questions

The match odds come straight from the Betfair exchange: the live back and lay ladder with sizes, read from the market and passed to you within the second, and suspended whenever the exchange suspends. Bookmaker and fancy markets are added on top of that base.

Add live odds to your sportsbook

Tell us which products you need. We will send a key you can test with straight away, and help your developers through the integration.

Prefer a form? Send your requirements