API Documentationarcadeapify.com

API Documentation

The live feed behind your sportsbook. Complete endpoint reference: sports feeds, results, scorecards, TV streams, Mac88 and live casino tables, and virtual cricket.

Base URL
https://apis.diamondexchapi.com
Endpoints
28, all GET, none take a request body
Access
Iframe endpoints (scorecards, TV) must be embedded from a whitelisted domain.
Provider
arcadeapify.com

All endpoints

Sports APIs
GET/api/sportsSports List (all sports)
GET/api/:sportName/matchesGet Matches (In-Play & Upcoming)
GET/api/:sportName/oddsGet Match Odds, Bookmaker & Fancy
GET/api/betfair-resultGet Match Odds Results
GET/api/betfair-resultGet Bookmaker Results
GET/api/betfair-resultGet Fancy Results
GET/api/scorecardScorecard
GET/api/diamond-scorecardScorecard 2
GET/api/scoreCricket Live Score (JSON) - default source
GET/api/score2Cricket Live Score 2 (JSON)
GET/api/tvLive Sports TV Stream (Iframe/URL) - default source
GET/api/tv2Live Sports TV Stream 2 (Iframe/URL)
Mac88 Casino
GET/api/mac88/tablesGet All Mac88 Casino Tables
GET/api/mac88/odds/:gameIdLive Mac88 Table Odds & Round State
GET/api/mac88/last-10-results/:gameIdLast 10 Results for Mac88 Table
GET/api/mac88/result/:gameId/:roundIdSpecific Mac88 Round Result
GET/api/mac88/tvMac88 Live Video Stream
Live Casino
GET/api/diamond-casino/tablesGet All Live Casino Tables
GET/api/diamond-casino/odds/:gmIdLive Casino Table Odds
GET/api/diamond-casino/results/:gmIdLive Casino Recent Round Results
GET/api/diamond-casino/result/:gmId/:roundIdSpecific Live Casino Round Result
GET/api/diamond-casino/tvLive Casino TV Player
Virtual Cricket
GET/api/virtual-cricket/matchesGet Virtual Cricket Matches
GET/api/virtual-cricket/odds/:gameIdGet Virtual Cricket Live Odds
GET/api/virtual-cricket/score/:gameIdVirtual Cricket Score
GET/api/virtual-cricket/last-10-results/:gameIdGet Last 10 Results
GET/api/virtual-cricket/result/:gameId/:roundIdGet Match Result Detail
GET/api/virtual-cricket/tvVirtual Cricket Live TV Player

Sports APIs 12 endpoints

Live feed and settlement endpoints for Cricket, Tennis, and Soccer. Matches, live Back/Lay odds, session fancies, radar scorecards, live TV, and result settlements.

GET Sports List (all sports)

/api/sports

List of every sport (cricket, soccer, tennis, basketball, horse racing, greyhound racing, table tennis, volleyball, badminton, american football, wrestling, e-games and more) with its id, name, the route name to use in the other Sports APIs, how many matches are listed now and how many are in play. Use route as :sportName in /api/:sportName/matches and /api/:sportName/odds?gameId=<eventId> (also /data). allowed tells whether your account can use that sport. A sport with matches = 0 has no event right now; it is listed again as soon as it has one.

Parameters

No parameters required for this endpoint.

Example request
curl -X GET "https://apis.diamondexchapi.com/api/sports"
Example response
{
  "status": "SUCCESS",
  "data": [
    {
      "sportId": "4",
      "sportName": "cricket",
      "name": "Cricket",
      "route": "cricket",
      "matches": 20,
      "inPlay": 2,
      "hasMatches": true,
      "allowed": true,
      "matchesApi": "/api/cricket/matches",
      "oddsApi": "/api/cricket/odds?gameId=<eventId>"
    },
    {
      "sportId": "1",
      "sportName": "soccer",
      "name": "Football",
      "route": "soccer",
      "matches": 135,
      "inPlay": 8,
      "hasMatches": true,
      "allowed": true,
      "matchesApi": "/api/soccer/matches",
      "oddsApi": "/api/soccer/odds?gameId=<eventId>"
    },
    {
      "sportId": "10",
      "sportName": "horse racing",
      "name": "Horse Racing",
      "route": "horse-racing",
      "matches": 117,
      "inPlay": 0,
      "hasMatches": true,
      "allowed": true,
      "matchesApi": "/api/horse-racing/matches",
      "oddsApi": "/api/horse-racing/odds?gameId=<eventId>"
    },
    {
      "sportId": "65",
      "sportName": "greyhound racing",
      "name": "Greyhound Racing",
      "route": "greyhound-racing",
      "matches": 181,
      "inPlay": 0,
      "hasMatches": true,
      "allowed": true,
      "matchesApi": "/api/greyhound-racing/matches",
      "oddsApi": "/api/greyhound-racing/odds?gameId=<eventId>"
    },
    {
      "sportId": "15",
      "sportName": "basketball",
      "name": "Basketball",
      "route": "basketball",
      "matches": 35,
      "inPlay": 0,
      "hasMatches": true,
      "allowed": true,
      "matchesApi": "/api/basketball/matches",
      "oddsApi": "/api/basketball/odds?gameId=<eventId>"
    },
    {
      "sportId": "19",
      "sportName": "ice hockey",
      "name": "Ice Hockey",
      "route": "ice-hockey",
      "matches": 0,
      "inPlay": 0,
      "hasMatches": false,
      "allowed": true,
      "matchesApi": "/api/ice-hockey/matches",
      "oddsApi": "/api/ice-hockey/odds?gameId=<eventId>"
    }
  ]
}

GET Get Matches (In-Play & Upcoming)

/api/:sportName/matches

Fetches active, live in-play, and scheduled matches with event details, team names, series name, and start times.

Parameters
NameInExampleDescription
:sportNamepathcricketSport route name from the Sports List API: cricket, soccer, tennis, basketball, horse-racing, greyhound-racing, table-tennis, volleyball, badminton, american-football, wrestling, e-games ...
Example request
curl -X GET "https://apis.diamondexchapi.com/api/cricket/matches"
Example response
{
  "statusCode": 200,
  "data": {
    "data": [
      {
        "gameId": "34157338",
        "marketId": null,
        "eventId": "34157338",
        "eventName": "Pirate Bay Raiders v MT Irvine Surfers",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-26T18:30:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "12654629",
        "seriesName": "Bago T10 Blast"
      },
      {
        "gameId": "34157325",
        "marketId": null,
        "eventId": "34157325",
        "eventName": "Kings Bay Royals v Pigeon Point Skiers",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-26T16:00:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "12654629",
        "seriesName": "Bago T10 Blast"
      },
      {
        "gameId": "34156734",
        "marketId": null,
        "eventId": "34156734",
        "eventName": "Abbottabad Region v Peshawar Region",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-26T14:00:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "11454392",
        "seriesName": "National T20 Cup"
      },
      {
        "gameId": "34156738",
        "marketId": null,
        "eventId": "34156738",
        "eventName": "Multan Region v Lahore Region Blues",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-26T18:00:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "11454392",
        "seriesName": "National T20 Cup"
      },
      {
        "gameId": "28127348",
        "marketId": null,
        "eventId": "28127348",
        "eventName": "  Indian Premier League",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-22T14:00:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "101480",
        "seriesName": "Indian Premier League"
      },
      {
        "gameId": "34151830",
        "marketId": null,
        "eventId": "34151830",
        "eventName": "Rajasthan Royals v Kolkata Knight Riders",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-26T14:00:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "101480",
        "seriesName": "Indian Premier League"
      },
      {
        "gameId": "34154198",
        "marketId": null,
        "eventId": "34154198",
        "eventName": "Sunrisers Hyderabad v Lucknow Super Giants",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-27T14:00:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "101480",
        "seriesName": "Indian Premier League"
      },
      {
        "gameId": "34139808",
        "marketId": null,
        "eventId": "34139808",
        "eventName": "South Australia Redbacks v Queensland Bulls",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-27T00:05:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "11569227",
        "seriesName": "Sheffield Shield"
      },
      {
        "gameId": "34151447",
        "marketId": null,
        "eventId": "34151447",
        "eventName": "New Zealand v Pakistan",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-26T06:15:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "9992899",
        "seriesName": "International Twenty20 Matches"
      },
      {
        "gameId": "34157672",
        "marketId": null,
        "eventId": "34157672",
        "eventName": "Rhinos v Eagles",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-26T11:45:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "12652316",
        "seriesName": "Zimbabwe Domestic T20"
      },
      {
        "gameId": "34157557",
        "marketId": null,
        "eventId": "34157557",
        "eventName": "Southern Rocks v Mountaineers",
        "selectionId1": 0,
        "runnerName1": null,
        "selectionId2": 0,
        "runnerName2": null,
        "selectionId3": 0,
        "runnerName3": null,
        "eventTime": "2025-03-26T07:00:00.000Z",
        "inPlay": false,
        "tv": null,
        "back1": 0,
        "lay1": 0,
        "back11": 0,
        "lay11": 0,
        "back12": 0,
        "lay12": 0,
        "m1": null,
        "f": null,
        "vir": 0,
        "channel": null,
        "scoreBoardId": null,
        "seriesId": "12652316",
        "seriesName": "Zimbabwe Domestic T20"
      }
    ]
  }
}

GET Get Match Odds, Bookmaker & Fancy

/api/:sportName/odds

Returns live Back/Lay match odds, bookmaker rates, and session fancy markets. remark (on each market and on each runner in oddDatas) = the feed's remark line, e.g. "Event will be Deleted Due To Wrong Rate" or "6 Run Target ..."; empty when there is none.

Parameters
NameInExampleDescription
:sportNamepathcricketSport route name from the Sports List API: cricket, soccer, tennis, basketball, horse-racing, greyhound-racing, table-tennis, volleyball, badminton, american-football, wrestling, e-games ...
gameIdquery34157557Match event / game ID
Example request
curl -X GET "https://apis.diamondexchapi.com/api/cricket/odds?gameId=34157557"
Example response
{
  "statusCode": 200,
  "data": {
    "matchOdds": [
      {
        "mid": "1.241389735",
        "market": "Match Odds",
        "isPlay": true,
        "sid": null,
        "status": "OPEN",
        "oddDatas": [
          {
            "sid": 5988607,
            "rname": "Southern Rocks",
            "status": "ACTIVE",
            "b1": "1.03",
            "bs1": "184.59",
            "b2": "1.02",
            "bs2": "642.65",
            "b3": "1.01",
            "bs3": "3693.55",
            "l1": "1.04",
            "ls1": "726.26",
            "l2": "1.05",
            "ls2": "3544.45",
            "l3": "1.06",
            "ls3": "272.49"
          },
          {
            "sid": 5988603,
            "rname": "Mountaineers",
            "status": "ACTIVE",
            "b1": "27",
            "bs1": "3.7",
            "b2": "26",
            "bs2": "25.21",
            "b3": "22",
            "bs3": "11.8",
            "l1": "36",
            "ls1": "5.28",
            "l2": "44",
            "ls2": "3.35",
            "l3": "55",
            "ls3": "9.24"
          }
        ],
        "max": 0,
        "min": 0,
        "gtype": null,
        "mstatus": "OPEN",
        "remark": "",
        "mname": "Match Odds"
      }
    ],
    "otherMarketOdds": [],
    "fancyOdds": [
      {
        "mid": 73976140994,
        "isPlay": "true",
        "sid": null,
        "status": null,
        "oddDatas": [
          {
            "sid": 143,
            "b1": "0",
            "bs1": "0",
            "l1": "0",
            "ls1": "0",
            "status": "SUSPENDED",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "10.3 over run MOU",
            "sno": null
          },
          {
            "sid": 144,
            "b1": "63",
            "bs1": "100",
            "l1": "62",
            "ls1": "100",
            "status": "",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "11 over run MOU",
            "sno": null
          },
          {
            "sid": 145,
            "b1": "66",
            "bs1": "100",
            "l1": "65",
            "ls1": "100",
            "status": "",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "11.3 over run MOU",
            "sno": null
          },
          {
            "sid": 146,
            "b1": "70",
            "bs1": "100",
            "l1": "69",
            "ls1": "100",
            "status": "",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "12 over run MOU",
            "sno": null
          },
          {
            "sid": 66,
            "b1": "74",
            "bs1": "90",
            "l1": "74",
            "ls1": "110",
            "status": "",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "1st 4 wkt Runs MOU",
            "sno": null
          },
          {
            "sid": 67,
            "b1": "0",
            "bs1": "0",
            "l1": "0",
            "ls1": "0",
            "status": "SUSPENDED",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "Fall of 5th wkt MOU",
            "sno": null
          },
          {
            "sid": 73,
            "b1": "60",
            "bs1": "7",
            "l1": "60",
            "ls1": "10",
            "status": "",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "Fall of 4th wkt run bhav MOU",
            "sno": null
          },
          {
            "sid": 315,
            "b1": "51",
            "bs1": "80",
            "l1": "51",
            "ls1": "100",
            "status": "",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "B Bennett run",
            "sno": null
          },
          {
            "sid": 316,
            "b1": "0",
            "bs1": "0",
            "l1": "0",
            "ls1": "0",
            "status": "SUSPENDED",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "B Bennett run bhav",
            "sno": null
          },
          {
            "sid": 327,
            "b1": "15",
            "bs1": "90",
            "l1": "15",
            "ls1": "110",
            "status": "",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "A Mufandauya run",
            "sno": null
          },
          {
            "sid": 328,
            "b1": "3",
            "bs1": "10",
            "l1": "3",
            "ls1": "15",
            "status": "",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "A Mufandauya run bhav",
            "sno": null
          },
          {
            "sid": 80,
            "b1": "0",
            "bs1": "0",
            "l1": "0",
            "ls1": "0",
            "status": "SUSPENDED",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "4th wkt Pship boundaries MOU",
            "sno": null
          },
          {
            "sid": 317,
            "b1": "0",
            "bs1": "0",
            "l1": "0",
            "ls1": "0",
            "status": "SUSPENDED",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "B Bennett boundaries",
            "sno": null
          },
          {
            "sid": 329,
            "b1": "0",
            "bs1": "0",
            "l1": "0",
            "ls1": "0",
            "status": "SUSPENDED",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "A Mufandauya boundaries",
            "sno": null
          }
        ],
        "gtype": "Normal",
        "mstatus": null,
        "remark": "",
        "mname": "FANCY_ODDS"
      },
      {
        "mid": 303988021095,
        "isPlay": "true",
        "sid": null,
        "status": null,
        "oddDatas": [
          {
            "sid": 192,
            "b1": "8",
            "bs1": "100",
            "l1": "7",
            "ls1": "100",
            "status": "",
            "remark": "",
            "min": 100,
            "max": 50000,
            "gtype": null,
            "rname": "Only 12 over run MOU",
            "sno": null
          }
        ],
        "gtype": "Over By Over",
        "mstatus": null,
        "remark": "",
        "mname": "FANCY_ODDS"
      }
    ],
    "bookMakerOdds": [
      {
        "bm1": {
          "mid": 7399926127946,
          "market": null,
          "isPlay": true,
          "sid": null,
          "status": "SUSPENDED",
          "oddDatas": [
            {
              "sid": 1,
              "b1": "0",
              "bs1": "0",
              "b2": "0",
              "bs2": "0",
              "b3": "3.5",
              "bs3": "100000",
              "l1": "4.5",
              "ls1": "100000",
              "l2": "0",
              "ls2": "0",
              "l3": "0",
              "ls3": "0",
              "status": "ACTIVE",
              "remark": "",
              "min": null,
              "max": null,
              "gtype": null,
              "rname": "Southern Rocks",
              "sno": null
            },
            {
              "sid": 2,
              "b1": "0",
              "bs1": "0",
              "b2": "0",
              "bs2": "0",
              "b3": "0",
              "bs3": "0",
              "l1": "0",
              "ls1": "0",
              "l2": "0",
              "ls2": "0",
              "l3": "0",
              "ls3": "0",
              "status": "SUSPENDED",
              "remark": "",
              "min": null,
              "max": null,
              "gtype": null,
              "rname": "Mountaineers",
              "sno": null
            }
          ],
          "max": 200000,
          "min": 100,
          "gtype": "Bookmaker",
          "mstatus": "SUSPENDED",
          "remark": "",
          "mname": "BOOKMAKER_ODDS_1"
        }
      }
    ]
  }
}

GET Get Match Odds Results

/api/betfair-result

Settlement result endpoint for Betfair Match Odds markets.

Parameters
NameInExampleDescription
marketIdquery1.241309100Market ID
typequerymatch_oddsResult type: match_odds
Example request
curl -X GET "https://apis.diamondexchapi.com/api/betfair-result?marketId=1.241309100&type=match_odds"
Example response
{
  "statusCode": 200,
  "data": {
    "data": [
      {
        "id": "1.241309100",
        "result": "448"
      }
    ]
  }
}

GET Get Bookmaker Results

/api/betfair-result

Settlement result endpoint for Bookmaker markets.

Parameters
NameInExampleDescription
marketIdquery34151447Bookmaker Market ID
typequerybookmakerResult type: bookmaker
Example request
curl -X GET "https://apis.diamondexchapi.com/api/betfair-result?marketId=34151447&type=bookmaker"
Example response
{
  "statusCode": 200,
  "data": {
    "data": [
      {
        "id": "34151447",
        "result": "New Zealand"
      }
    ]
  }
}

GET Get Fancy Results

/api/betfair-result

Settlement result endpoint for session and fancy markets. Pass marketId as mid_sid (fancy market mid + '_' + selection sid). Multiple ids can be comma separated.

Parameters
NameInExampleDescription
marketIdquery643743402469_305Fancy selection ID (mid_sid)
typequerynew_fancyResult type: new_fancy
Example request
curl -X GET "https://apis.diamondexchapi.com/api/betfair-result?marketId=643743402469_305&type=new_fancy"
Example response
{
  "statusCode": 200,
  "data": {
    "data": [
      {
        "id": "643743402469_305",
        "result": "29"
      }
    ]
  }
}

GET Scorecard

/api/scorecard

Live radar score visualizer and pitch tracking feed. Instruction: Use in your whitelisted domain inside Iframe. Betfair event id also works: pass it as eventId or as betfairEventId (cricket).

Instruction: Use in your whitelisted domain inside Iframe.

Iframe embed
<iframe src="https://apis.diamondexchapi.com/api/scorecard?eventId=34157338&sport=cricket" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
Parameters
NameInExampleDescription
eventIdquery34157338Match event ID: our gameId (from /api/:sport/matches) or the Betfair event id (cricket)
sportquerycricketSport name (cricket, football, tennis)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/scorecard?eventId=34157338&sport=cricket"
Example response
<!-- Embed inside iframe on your whitelisted domain: -->
<!-- <iframe src="https://apis.diamondexchapi.com/api/scorecard?eventId=34157338&sport=cricket" width="100%" height="450" frameborder="0" allowfullscreen></iframe> -->

GET Scorecard 2

/api/diamond-scorecard

Alternate live scorecard embed. Instruction: Use in your whitelisted domain inside Iframe. Betfair event id also works: pass it as eventId or as betfairEventId.

Instruction: Use in your whitelisted domain inside Iframe.

Iframe embed
<iframe src="https://apis.diamondexchapi.com/api/diamond-scorecard?eventId=861098747&theme=dark" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
Parameters
NameInExampleDescription
eventIdquery861098747Match event ID: our gameId or the Betfair event id
themequerydarkOptional. dark (default) or light
Example request
curl -X GET "https://apis.diamondexchapi.com/api/diamond-scorecard?eventId=861098747&theme=dark"
Example response
<!-- Embed inside iframe on your whitelisted domain: -->
<!-- <iframe src="https://apis.diamondexchapi.com/api/diamond-scorecard?eventId=861098747" width="100%" height="450" frameborder="0" allowfullscreen></iframe> -->

GET Cricket Live Score (JSON) - default source

/api/score

Live cricket score as JSON: batting team score / overs / run rate / target / required runs, current and last over ball by ball, batsmen on crease, current bowler, all innings, toss, match result and commentary. Refreshes every second. Use eventId = the gameId from /api/cricket/matches (the Betfair event id also works). result.scorePipeline tells which feed answered; when the main feed has no data the response comes from the backup feed in the same layout (some player fields may then be null).

Parameters
NameInExampleDescription
eventIdquery661123263Match gameId from /api/cricket/matches (or Betfair event id)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/score?eventId=661123263"
Example response
{
  "status": {
    "statusCode": "1",
    "statusDesc": "success"
  },
  "success": true,
  "result": {
    "hasVideo": true,
    "showVisualisation": false,
    "stats": {
      "messageId": null,
      "eventId": null,
      "battingTeam": {
        "name": "West Indies Champions",
        "partnerShipBalls": 0,
        "partnerShipScore": 0,
        "runRate": 2.4,
        "score": "2",
        "wickets": "1",
        "overs": "0.5",
        "balls": "5",
        "requiredRunRate": 5.686957,
        "requiredRuns": "109",
        "projScr": 0,
        "target": 111,
        "trailLead": null
      },
      "commentary": "Caught Out",
      "currentOver": {
        "bowlerName": "Dhawal Kulkarni",
        "batsNames": [
          "Chadwick Walton",
          "Lendl Simmons"
        ],
        "overNumber": 1,
        "runs": 2,
        "score": 0,
        "wickets": 1,
        "balls": [
          {
            "number": "1",
            "value": "1",
            "type": "1"
          },
          {
            "number": "2",
            "value": "1",
            "type": "1"
          },
          {
            "number": "3",
            "value": "0",
            "type": "0"
          }
        ]
      },
      "lastOver": {
        "bowlerName": null,
        "batsNames": [],
        "overNumber": 0,
        "runs": 0,
        "score": null,
        "wickets": 0,
        "balls": []
      },
      "lastBatsmanOut": {
        "name": "Chris Gayle",
        "batsManRuns": "1",
        "balls": "4"
      },
      "timeStamp": null,
      "tossWinner": {
        "name": "West Indies Champions",
        "decision": "opt to Bowl"
      },
      "remainingBalls": 115,
      "currentInning": 2,
      "oversPerInning": "20.0",
      "result": null,
      "status": null,
      "batsmen": [
        {
          "name": "Chadwick Walton",
          "isOnStrike": true,
          "balls": "0",
          "batsmanRuns": "0",
          "fours": "0",
          "sixes": "0",
          "strikeRate": 0
        },
        {
          "name": "Lendl Simmons",
          "isOnStrike": false,
          "balls": "1",
          "batsmanRuns": "1",
          "fours": "0",
          "sixes": "0",
          "strikeRate": 100
        }
      ],
      "bowler": {
        "name": "Dhawal Kulkarni",
        "overs": 0.5,
        "maidens": 0,
        "wickets": 1,
        "bowlerRuns": 2,
        "economy": 2.4
      },
      "adjustedOvers": false,
      "worm": null,
      "teams": [
        {
          "f_key": "VJ",
          "n": "India Champions",
          "sn": "INDL",
          "cc": "0-#3C76DC",
          "uc": "#26A6DD",
          "dc": "#0E254E"
        },
        {
          "f_key": "VO",
          "n": "West Indies Champions",
          "sn": "WICH",
          "cc": "0-#CC056C",
          "uc": null,
          "dc": null
        }
      ],
      "lwb": 5,
      "lws": 2,
      "day": null,
      "session": "In Play",
      "matchFormat": "T20",
      "battingTeamFkey": "VO",
      "innings": [
        {
          "number": 1,
          "teamFkey": "VJ",
          "teamName": "India Champions",
          "score": "110",
          "wickets": "8",
          "overs": "20.0",
          "balls": "120",
          "isLive": false
        },
        {
          "number": 2,
          "teamFkey": "VO",
          "teamName": "West Indies Champions",
          "score": "2",
          "wickets": "1",
          "overs": "0.5",
          "balls": "5",
          "isLive": true
        }
      ],
      "lead": null,
      "trail": null,
      "followOnEnforced": false,
      "runsToAvoidFollowOn": null,
      "isPowerplay": true,
      "totalBalls": 120,
      "updatedAt": "2026-10-13T17:48:35.762534Z",
      "source": "livescore-v2",
      "oversLeftToday": null
    },
    "scorePipeline": "livescore-v2"
  }
}

GET Cricket Live Score 2 (JSON)

/api/score2

Second live score source. Same JSON format as /api/score. Use it as a backup when /api/score (default source) has no data or is behind for a match.

Parameters
NameInExampleDescription
eventIdquery661123263Match gameId from /api/cricket/matches (or Betfair event id)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/score2?eventId=661123263"
Example response
Same response format as /api/score.

If this source has no score for the match:
{
  "success": false,
  "message": "Score not available"
}

GET Live Sports TV Stream (Iframe/URL) - default source

/api/tv

Live video streaming channel for sports matches. Instruction: Use in your whitelisted domain inside Iframe. Betfair event id also works: pass it as eventId or as betfairEventId (cricket).

Instruction: Use in your whitelisted domain inside Iframe.

Iframe embed
<iframe src="https://apis.diamondexchapi.com/api/tv?eventId=34157338&sport=cricket" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
Parameters
NameInExampleDescription
eventIdquery34157338Match event ID: our gameId (from /api/:sport/matches) or the Betfair event id (cricket)
sportquerycricketSport name (cricket, football, tennis)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/tv?eventId=34157338&sport=cricket"
Example response
<!-- Embed inside iframe on your whitelisted domain: -->
<!-- <iframe src="https://apis.diamondexchapi.com/api/tv?eventId=34157338&sport=cricket" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe> -->

GET Live Sports TV Stream 2 (Iframe/URL)

/api/tv2

Second live TV source (glive). Use it as a backup when /api/tv (default source) is not playing for a match. Instruction: Use in your whitelisted domain inside Iframe. Betfair event id also works: pass it as eventId or as betfairEventId (cricket).

Instruction: Use in your whitelisted domain inside Iframe.

Iframe embed
<iframe src="https://apis.diamondexchapi.com/api/tv2?eventId=34157338&sport=cricket" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
Parameters
NameInExampleDescription
eventIdquery34157338Match event ID: our gameId (from /api/:sport/matches) or the Betfair event id (cricket)
sportquerycricketSport name (cricket, football, tennis)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/tv2?eventId=34157338&sport=cricket"
Example response
<!-- Embed inside iframe on your whitelisted domain: -->
<!-- <iframe src="https://apis.diamondexchapi.com/api/tv2?eventId=34157338&sport=cricket" width="100%" height="450" frameborder="0" allowfullscreen></iframe> -->

Mac88 Casino 5 endpoints

Live dealer Mac88 casino endpoints: active tables catalog, live odds & round states via WebSockets, last 10 round outcomes, specific round results, and video TV.

GET Get All Mac88 Casino Tables

/api/mac88/tables

Fetches the full list of active Mac88 tables, including Teen Patti, Dragon Tiger, Baccarat, Andar Bahar, and limits.

Parameters

No parameters required for this endpoint.

Example request
curl -X GET "https://apis.diamondexchapi.com/api/mac88/tables"
Example response
{
  "status": "SUCCESS",
  "data": [
    {
      "name": "Sexy Teenpatti One Day",
      "gameId": "AGS1TP101",
      "status": "ACTIVE",
      "category": "ONE DAY",
      "streamId": "fNq3T-JSRba"
    },
    {
      "name": "Test Teenpatti",
      "gameId": "AGXTTP101",
      "status": "ACTIVE",
      "category": "LIVE",
      "streamId": "fNq3T-oRYRA"
    },
    {
      "name": "1 Day Dragon Tiger",
      "gameId": "AGX1DT101",
      "status": "ACTIVE",
      "category": "ONE DAY",
      "streamId": "fNq3T-qYEDG"
    }
  ]
}

GET Live Mac88 Table Odds & Round State

/api/mac88/odds/:gameId

Real-time round ID, betting status countdown, cards dealt, and live market rates for the Mac88 table.

Parameters
NameInExampleDescription
:gameIdpathAGXTTP101Mac88 Game ID (e.g. AGXTTP101, AGS1TP101)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/mac88/odds/AGXTTP101"
Example response
{
  "status": "SUCCESS",
  "data": {
    "gameId": "AGXTTP101",
    "gameName": "",
    "tableId": "ATGYTTP102",
    "tableName": "",
    "roundId": "YTTP1260915051108",
    "roundStatus": "ROUND_START",
    "betStatus": true,
    "timeToBet": 30,
    "playerACards": [
      {
        "suit": "spades",
        "rank": "7"
      }
    ],
    "playerBCards": [
      {
        "suit": "hearts",
        "rank": "king"
      }
    ],
    "playerCCards": [
      {
        "suit": "clubs",
        "rank": "7"
      }
    ],
    "markets": null,
    "eventTS": 1789449068454
  }
}

GET Last 10 Results for Mac88 Table

/api/mac88/last-10-results/:gameId

Returns winning outcomes and card details for the last 10 completed rounds.

Parameters
NameInExampleDescription
:gameIdpathAGXTTP101Mac88 Game ID
Example request
curl -X GET "https://apis.diamondexchapi.com/api/mac88/last-10-results/AGXTTP101"
Example response
{
  "status": "SUCCESS",
  "data": [
    {
      "roundId": "260902123455",
      "winner": "Player A",
      "desc": "Flush",
      "result": "1"
    },
    {
      "roundId": "260902123454",
      "winner": "Player B",
      "desc": "High Card",
      "result": "2"
    },
    {
      "roundId": "260902123453",
      "winner": "Player A",
      "desc": "Trio",
      "result": "1"
    }
  ]
}

GET Specific Mac88 Round Result

/api/mac88/result/:gameId/:roundId

Comprehensive result breakdown for a specific completed round ID.

Parameters
NameInExampleDescription
:gameIdpathAGXTTP101Mac88 Game ID
:roundIdpath260902123455Specific round ID
Example request
curl -X GET "https://apis.diamondexchapi.com/api/mac88/result/AGXTTP101/260902123455"
Example response
{
  "status": "SUCCESS",
  "data": {
    "roundId": "260902123455",
    "winner": "Player A",
    "winningCards": [
      "AH",
      "KH",
      "QH"
    ],
    "winType": "Straight Flush",
    "settledAt": "2026-09-02T10:15:30.000Z"
  }
}

GET Mac88 Live Video Stream

/api/mac88/tv

Mac88 live dealer video streaming feed. Instruction: Use in your whitelisted domain inside Iframe.

Instruction: Use in your whitelisted domain inside Iframe.

Iframe embed
<iframe src="https://apis.diamondexchapi.com/api/mac88/tv?id=fNq3T-qYEDG" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
Parameters
NameInExampleDescription
idqueryfNq3T-qYEDGTable stream ID (streamId from /api/mac88/tables, not gameId)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/mac88/tv?id=fNq3T-qYEDG"
Example response
<!-- Embed inside iframe on your whitelisted domain: -->
<!-- <iframe src="https://apis.diamondexchapi.com/api/mac88/tv?id=fNq3T-qYEDG" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe> -->

Live Casino 5 endpoints

Live Casino tables (Teen Patti, Dragon Tiger, Roulette, Lucky 7), live countdown odds, runner rates, round results, and embeddable TV player.

GET Get All Live Casino Tables

/api/diamond-casino/tables

Lists all active Live Casino tables with their GMIDs and game codes.

Parameters

No parameters required for this endpoint.

Example request
curl -X GET "https://apis.diamondexchapi.com/api/diamond-casino/tables"
Example response
{
  "status": "SUCCESS",
  "data": [
    {
      "gmid": "worli3",
      "gname": "Matka",
      "cid": 4,
      "gid": 35,
      "imgpath": "https://nd.sprintstaticdata.com/casino-icons/lc/worli3.gif",
      "streamId": "Av7gf-l3eTP"
    },
    {
      "gmid": "teen62",
      "gname": "V VIP Teenpatti 1-day",
      "cid": 4,
      "gid": 35,
      "streamId": "fNq3T-KzKr3"
    },
    {
      "gmid": "dt20",
      "gname": "20-20 Dragon Tiger",
      "cid": 4,
      "gid": 35,
      "streamId": "fNq3T-BMmL1"
    }
  ]
}

GET Live Casino Table Odds

/api/diamond-casino/odds/:gmId

Live table odds, cards, remaining timer, and runner odds for the specified GMID.

Parameters
NameInExampleDescription
:gmIdpathteen20Table GMID (e.g. teen20, dt20, worli3)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/diamond-casino/odds/teen20"
Example response
{
  "status": "SUCCESS",
  "data": {
    "gmid": "teen20",
    "roundId": "87654321",
    "status": "OPEN",
    "timeRemaining": 14,
    "cards": [
      "AS",
      "KS"
    ],
    "runners": [
      {
        "name": "Player A",
        "rate": 1.95,
        "sid": "1"
      },
      {
        "name": "Player B",
        "rate": 1.95,
        "sid": "2"
      }
    ]
  }
}

GET Live Casino Recent Round Results

/api/diamond-casino/results/:gmId

Returns completed round results and win types for Live Casino tables. Matka (gmId worli3): data holds the DRAWS - mid (the same draw id as in the odds API), win / result (e.g. 578-0 = pana 578, ank 0), pana, ank, market, mtype (OPEN / CLOSE) - and a separate markets list (Diamond, World, Taj ...). Use result/:gmId/:roundId with a draw mid for one draw.

Parameters
NameInExampleDescription
:gmIdpathteen20Table GMID
Example request
curl -X GET "https://apis.diamondexchapi.com/api/diamond-casino/results/teen20"
Example response
{
  "status": "SUCCESS",
  "data": [
    {
      "mid": "87654320",
      "result": "1",
      "winner": "Player A",
      "winType": "Pair"
    },
    {
      "mid": "87654319",
      "result": "2",
      "winner": "Player B",
      "winType": "Color"
    }
  ]
}

GET Specific Live Casino Round Result

/api/diamond-casino/result/:gmId/:roundId

Result of ONE completed round by its round id (mid). Works for the last 10 rounds and for older rounds (stored for 3 days, then asked from the source). Same item shape as the recent results API: winner (win / winnat), cards and result description in popupData.t1.

Parameters
NameInExampleDescription
:gmIdpathteen20Table GMID
:roundIdpath102261112193119Round id (mid) from the results / odds API
Example request
curl -X GET "https://apis.diamondexchapi.com/api/diamond-casino/result/teen20/102261112193119"
Example response
{
  "status": "SUCCESS",
  "data": {
    "mid": 102261112193119,
    "win": "2",
    "popupData": {
      "t1": {
        "rid": "102261112193119",
        "mtime": "11/12/2026 7:31:19 PM",
        "ename": "20-20 Teenpatti",
        "rdesc": "Player B#Player B(High Baccarat)~(A : 4 | B : 6)#Player B (A : 14  |  B : 17)##A : Red  |  B : Black",
        "card": "2DD,ASS,4SS,5CC,8HH,JHH",
        "winnat": "Player B",
        "win": "2"
      },
      "t2": null
    }
  }
}

GET Live Casino TV Player

/api/diamond-casino/tv

Embeddable live video stream player for Live Casino tables. Instruction: Use in your whitelisted domain inside Iframe.

Instruction: Use in your whitelisted domain inside Iframe.

Iframe embed
<iframe src="https://apis.diamondexchapi.com/api/diamond-casino/tv?streamId=Av7gf-gbTPR&gmId=teen62" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
Parameters
NameInExampleDescription
streamIdqueryAv7gf-gbTPRLive Casino stream identifier (obtained from /api/diamond-casino/tables)
gmIdqueryteen62Table GMID code (e.g. teen62, teen20, lucky7, etc.)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/diamond-casino/tv?streamId=Av7gf-gbTPR&gmId=teen62"
Example response
<!DOCTYPE html><html><!-- Embed inside iframe on your whitelisted domain: -->
<!-- <iframe src="https://apis.diamondexchapi.com/api/diamond-casino/tv?streamId=Av7gf-gbTPR&gmId=teen62" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe> -->
... Live Casino Video Player ...</html>

Virtual Cricket 6 endpoints

Dedicated Virtual Cricket endpoints: active virtual cricket matches & tables catalog, live odds & runner rates, past 10 completed rounds with full scorecard popups, and live TV streaming.

GET Get Virtual Cricket Matches

/api/virtual-cricket/matches

Lists all active, upcoming, and in-play Virtual Cricket (esport) matches. Includes matches like India (e) vs Australia (e), Dim Cricket League, T10, XI series etc. Returns match odds, runner names, eventTime, TV streaming flag, and series info.

Parameters

No parameters required for this endpoint.

Example request
curl -X GET "https://apis.diamondexchapi.com/api/virtual-cricket/matches"
Example response
{
  "status": "SUCCESS",
  "data": [
    {
      "gameId": "737960610",
      "eventId": "737960610",
      "eventName": "Sunrisers Hyderabad (e) - Chennai Super Kings (e)",
      "seriesId": 7526679,
      "seriesName": "Virtual Premier League",
      "iscc": 4,
      "inPlay": true,
      "tv": true,
      "eventTime": "9/29/2026 10:45:00 AM",
      "status": "OPEN",
      "marketId": "7439145665406",
      "marketName": "Match Result",
      "runners": [
        {
          "sid": 1,
          "name": "Sunrisers Hyderabad (e)",
          "status": "ACTIVE",
          "back": {
            "price": 1.95,
            "size": 10000
          },
          "lay": {
            "price": 1.97,
            "size": 10000
          }
        },
        {
          "sid": 2,
          "name": "Chennai Super Kings (e)",
          "status": "ACTIVE",
          "back": {
            "price": 1.95,
            "size": 10000
          },
          "lay": {
            "price": 1.97,
            "size": 10000
          }
        }
      ]
    }
  ]
}

GET Get Virtual Cricket Live Odds

/api/virtual-cricket/odds/:gameId

Real-time odds for any active Virtual Cricket match (e.g. India (e) vs Australia (e) style). Returns team names, back/lay prices, market status, and runner info. The gameId is the match event ID from the matches list. markets = ALL markets of the match (Match Result, fancy sessions, Nth Ball Of Match, Total Runs/Fours/Sixes Under-Over with 'line', Inning EvenOdd, Toss Winner ...), runners in the same b1..b3 / l1..l3 layout as the sports odds API.

Parameters
NameInExampleDescription
:gameIdpath540464203Match event ID from /api/virtual-cricket/matches (e.g. 540464203 for Punjab Kings (e) vs Gujarat Titans (e))
Example request
curl -X GET "https://apis.diamondexchapi.com/api/virtual-cricket/odds/540464203"
Example response
{
  "status": "SUCCESS",
  "data": {
    "gameId": "540464203",
    "eventName": "Punjab Kings (e) - Gujarat Titans (e)",
    "seriesId": 7526679,
    "seriesName": "Dim Cricket League (1 over)",
    "iscc": 4,
    "inPlay": true,
    "tv": true,
    "status": "OPEN",
    "market": "MATCH_ODDS",
    "back1": 1.95,
    "lay1": 1.97,
    "back2": 1.95,
    "lay2": 1.97,
    "runners": [
      {
        "sid": 1,
        "sno": 1,
        "name": "Punjab Kings (e)",
        "status": "ACTIVE",
        "back": {
          "price": 1.95,
          "size": 10000
        },
        "lay": {
          "price": 1.97,
          "size": 10000
        }
      },
      {
        "sid": 3,
        "sno": 3,
        "name": "Gujarat Titans (e)",
        "status": "ACTIVE",
        "back": {
          "price": 1.95,
          "size": 10000
        },
        "lay": {
          "price": 1.97,
          "size": 10000
        }
      }
    ],
    "markets": [
      {
        "mid": "6611448738708",
        "market": "Match Result",
        "gtype": "match",
        "status": "OPEN",
        "inPlay": true,
        "min": 100,
        "max": 25000,
        "remark": "",
        "oddDatas": [
          {
            "sid": 66841,
            "rname": "Punjab Kings (e)",
            "status": "ACTIVE",
            "b1": "1.9",
            "bs1": "0",
            "b2": "0",
            "bs2": "0",
            "b3": "0",
            "bs3": "0",
            "l1": "0",
            "ls1": "0",
            "l2": "0",
            "ls2": "0",
            "l3": "0",
            "ls3": "0",
            "min": 100,
            "max": 25000,
            "remark": ""
          }
        ]
      },
      {
        "mid": "8196005670013",
        "market": "Total Runs",
        "gtype": "fancy3",
        "status": "OPEN",
        "inPlay": false,
        "min": 0,
        "max": 25000,
        "remark": "",
        "oddDatas": [
          {
            "sid": 464011,
            "rname": "Under",
            "status": "OPEN",
            "b1": "1.76",
            "bs1": "0",
            "b2": "0",
            "bs2": "0",
            "b3": "0",
            "bs3": "0",
            "l1": "0",
            "ls1": "0",
            "l2": "0",
            "ls2": "0",
            "l3": "0",
            "ls3": "0",
            "line": 25.5,
            "min": 0,
            "max": 25000,
            "remark": ""
          }
        ]
      }
    ]
  }
}

GET Virtual Cricket Score

/api/virtual-cricket/score/:gameId

Live score of a virtual cricket match (XI / T5 / T10 and Virtual Cricket League). Poll every 1-2 s. 'Dim Cricket League (e)' matches have no score feed (score only in the video) -> FAILURE with a message. gameId also works as ?gameId=.

Parameters
NameInExampleDescription
:gameIdpath899490185Virtual cricket gameId (from /api/virtual-cricket/matches)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/virtual-cricket/score/899490185"
Example response
{
  "status": "SUCCESS",
  "data": {
    "gameId": "899490185",
    "eventName": "Brisbane Heat T10 v Adelaide Strikers T10",
    "seriesName": "Virtual Cricket League",
    "inPlay": true,
    "isFinished": false,
    "message": "",
    "ballStatus": "",
    "teams": [
      {
        "name": "Brisbane Heat T10",
        "shortName": "BHV",
        "score": "47",
        "wickets": "3",
        "overs": "5.0",
        "scoreText": "47-3 (5.0)",
        "runRate": 9.4,
        "requiredRate": null,
        "batting": true
      },
      {
        "name": "Adelaide Strikers T10",
        "shortName": "ASV",
        "score": "0",
        "wickets": "0",
        "overs": "0.0",
        "scoreText": "0-0 (0.0)",
        "runRate": null,
        "requiredRate": null,
        "batting": false
      }
    ],
    "lastBalls": [
      "1",
      "4",
      "0",
      "w",
      "2",
      "6"
    ],
    "updatedAt": "2026-10-21T13:35:00.000Z"
  }
}

GET Get Last 10 Results

/api/virtual-cricket/last-10-results/:gameId

Returns the result of a virtual cricket match (gameId) or the last 10 completed matches of a series (seriesId). For XI / T5 / T10 (iscc 1) and Virtual Cricket League (iscc 2) the result is built from the live score feed, ball by ball: winner (match odds / bookmaker) and fancy session results (N over run, Only N over run, Fall of Nth wkt, Match 1st over run) appear in results[] as soon as they are decided, also while the match is IN_PLAY. Settle with marketId (mid_sid). A value is declared only when every delivery of that session was seen and adds up; anything unclear (missed delivery, no ball, player runs, innings ended early) is not declared and must be settled manually. Advance (adv) sessions of the team batting 2nd come as "abandoned". Dim Cricket League (e) (iscc 4): results from its live score feed - Nth Ball Of Match, Inning EvenOdd, Match Result and Total Runs / Fours / Sixes (fancy3: Over/Under runner = 1, plus value = the actual total). Toss Winner is not settled automatically.

Parameters
NameInExampleDescription
:gameIdpath540464203Match event ID (from matches list) or series ID (e.g. 7526679 for Dim Cricket League)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/virtual-cricket/last-10-results/540464203"
Example response
{
  "status": "SUCCESS",
  "data": [
    {
      "gameId": "688072663",
      "eventId": "688072663",
      "eventName": "Pakistan T10 v New Zealand T10",
      "seriesId": 10100005,
      "seriesName": "Virtual Cricket League",
      "iscc": 2,
      "runner1": "Pakistan T10",
      "runner2": "New Zealand T10",
      "winner": "Pakistan T10",
      "winnerName": "Pakistan T10",
      "winnerSno": 1,
      "firstBatting": "PAKV",
      "finalScore": {
        "PAKV": "147-1",
        "NZV": "131-5"
      },
      "lastScore": {
        "score1": "147-1 (10.0)",
        "score2": "131-5 (10.0)",
        "message": "",
        "isfinished": "0"
      },
      "results": [
        {
          "mid": "209215875076",
          "sid": "3",
          "market": "Normal",
          "rname": "10 over run PAKV adv",
          "result": "147",
          "marketId": "209215875076_3"
        },
        {
          "mid": "136008215650",
          "sid": "1",
          "market": "Over By Over",
          "rname": "Only 1 over run NZV",
          "result": "11",
          "marketId": "136008215650_1"
        },
        {
          "mid": "209215875076",
          "sid": "7",
          "market": "Normal",
          "rname": "Fall of 1st wkt NZV adv",
          "result": "abandoned",
          "marketId": "209215875076_7"
        }
      ],
      "status": "COMPLETED"
    },
    {
      "gameId": "540464203",
      "eventId": "540464203",
      "eventName": "Punjab Kings (e) - Gujarat Titans (e)",
      "seriesId": 7526679,
      "seriesName": "Dim Cricket League (1 over)",
      "iscc": 4,
      "eventTime": "9/29/2026 6:51:00 PM",
      "completedAt": "2026-09-29T13:22:05.000Z",
      "runner1": "Punjab Kings (e)",
      "runner2": "Gujarat Titans (e)",
      "winner": null,
      "winnerName": null,
      "lastOdds": {
        "back1": 1.95,
        "lay1": 1.97,
        "back2": 1.95,
        "lay2": 1.97
      },
      "status": "COMPLETED"
    }
  ]
}

GET Get Match Result Detail

/api/virtual-cricket/result/:gameId/:roundId

Result detail of a virtual cricket match. roundId = gameId returns the full match result (winner, final score, every declared market with marketId mid_sid). roundId = a market mid returns the result of that market only. Works for XI / T5 / T10 (iscc 1) and Virtual Cricket League (iscc 2). Dim Cricket League (e) (iscc 4) works too (results from its live score feed); markets not declared automatically (e.g. Toss Winner) return FAILURE.

Parameters
NameInExampleDescription
:gameIdpath540464203Match event ID
:roundIdpath540464203Match event ID (same as gameId for virtual (e) cricket)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/virtual-cricket/result/540464203/540464203"
Example response
{
  "status": "SUCCESS",
  "data": {
    "gameId": "540464203",
    "eventName": "Punjab Kings (e) - Gujarat Titans (e)",
    "seriesName": "Dim Cricket League (1 over)",
    "runner1": "Punjab Kings (e)",
    "runner2": "Gujarat Titans (e)",
    "completedAt": "2026-09-29T13:22:05.000Z",
    "status": "COMPLETED"
  }
}

GET Virtual Cricket Live TV Player

/api/virtual-cricket/tv

Embeddable live video stream player for Virtual Cricket (e) matches. Pass the match gameId as the 'id' parameter. Instruction: Use in your whitelisted domain inside Iframe.

Instruction: Use in your whitelisted domain inside Iframe.

Iframe embed
<iframe src="https://apis.diamondexchapi.com/api/virtual-cricket/tv?id=540464203" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
Parameters
NameInExampleDescription
idquery540464203Match gameId from the matches list (numeric event ID for virtual (e) cricket matches)
Example request
curl -X GET "https://apis.diamondexchapi.com/api/virtual-cricket/tv?id=540464203"
Example response
<!DOCTYPE html><html><!-- Embed inside iframe on your whitelisted domain: -->
<!-- <iframe src="https://apis.diamondexchapi.com/api/virtual-cricket/tv?id=cricketv3" width="100%" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe> -->
... Virtual Cricket Video Player ...</html>