CmsWager Integration Document
  • Introduction
  • Before Start
  • Sportsbook UI
    • Integration
    • Window Message Events
  • CmsWager Api
    • Summary
    • Authentication
    • API Reference
      • Login/Register User
      • Freebet and Bonus assignment
    • Errors
  • Client API Reference
    • Summary
    • Api Reference
      • Bet placement
      • Cancelling bets
      • Concluding bets
      • Reopening concluded bets
      • Partial Cashout
      • Insurance
  • Frontend Api (optional)
    • Summary
    • Api Reference
      • Components
        • Top Leagues
        • Prematch Active Sports
        • Prematch Sport Menu
        • Last minute
        • Live now (reduced)
      • Matches
        • Tournament Odds
        • Match Odds
  • Appendix
    • Transaction types
    • Bet Status
    • Bet Type
    • Error Codes
Powered by GitBook
On this page
  1. Frontend Api (optional)
  2. Api Reference
  3. Matches

Match Odds

PreviousTournament OddsNextTransaction types

Last updated 4 months ago

GET /SportApi/GetMatchOdds/{clientKey}/{language}/{matchId}/{isLive}/no

The example response from the API provides detailed information about match odds. The JSON structure includes various components:

  • multiGroupComponent: Contains different groups of betting markets, such as "Main" and "Fast Markets," each with associated market IDs and group IDs.

  • markets: Lists available betting markets, each identified by a unique market ID, with details such as market name, spread, and selection type.

  • matches: Provides specific match details, including team names, match ID, score, time, and live status. Also, provides different odds types within the markets.

  • sports: Lists available sports, each with a sport ID and name.

  • categories: Defines categories, like "Turkiye," with relevant IDs and ISO codes.

  • tournaments: Provides tournament details associated with each sport and category, including the tournament name and its category ID.

This structure allows users to understand and access detailed betting information for specific sports events.

Example Success Response

{
    "component": {
        "multiGroupComponent": {
            "mainGroups": [
                {
                    "mainGroupId": 2,
                    "name": "Main",
                    "sort": 1,
                    "marketsIds": [
                        811,
                        374,
                        554                   
                    ],
                    "groupsIds": [
                        1
                    ]
                },
                {
                    "mainGroupId": 35,
                    "name": "Fast Markets",
                    "sort": 3,
                    "marketsIds": [
                        910,
                        409,
                        628,
                        35,
                        1169,
                        1117,
                        510,
                        1411
                    ],
                    "groupsIds": [
                        21
                    ]
                },
                {
                    "mainGroupId": 36,
                    "name": "Home/Away",
                    "sort": 10,
                    "marketsIds": [
                        1080,
                        278
                    ],
                    "groupsIds": [
                        22
                    ]
                }
            ]
        },
        "markets": [
            {
                "marketId": 889,
                "name": "1x2 & total",
                "hasSpread": false,
                "sort": 1,
                "selectionType": 1,
                "qOptions": null,
                "sbv": "2.5",
                "marketType": 0,
                "groupValue1": "",
                "groupValue2": "",
                "groupValue3": "",
                "offerTypes": []
            },
            {
                "marketId": 811,
                "name": "1x2",
                "hasSpread": false,
                "sort": 1,
                "selectionType": 1,
                "qOptions": null,
                "sbv": "nosbv",
                "marketType": 0,
                "groupValue1": "",
                "groupValue2": "",
                "groupValue3": "",
                "offerTypes": []
            },
            {
                "marketId": 287,
                "name": "Booking 1x2",
                "hasSpread": false,
                "sort": 1,
                "selectionType": 1,
                "qOptions": null,
                "sbv": "nosbv",
                "marketType": 0,
                "groupValue1": "",
                "groupValue2": "",
                "groupValue3": "",
                "offerTypes": []
            },
            {
                "marketId": 374,
                "name": "Total",
                "hasSpread": true,
                "sort": 2,
                "selectionType": 3,
                "qOptions": null,
                "sbv": "3.5",
                "marketType": 0,
                "groupValue1": "",
                "groupValue2": "",
                "groupValue3": "",
                "offerTypes": []
            }
        ],
        "matches": [
            {
                "tournamentId": 100123,
                "matchId": 1356741,
                "homeTeam": "Erzurumspor FK",
                "awayTeam": "Goztepe Izmir",
                "expDate": "2025-01-09T10:00:00Z",
                "odds": [
                    {
                        "oddId": "1356741_374_3.5_1673",
                        "marketId": 374,
                        "providerMarketId": 374,
                        "oddName": "over 3.5",
                        "oddValue": 3.75,
                        "sort": 1,
                        "mult": 1,
                        "oddStatus": 1,
                        "sid": 0,
                        "optionId": null,
                        "sbv": "3.5",
                        "nSbv": 3.5,
                        "groupValue1": "",
                        "groupValue2": "",
                        "groupValue3": ""
                    },
                    {
                        "oddId": "1356741_374_4.5_1673",
                        "marketId": 374,
                        "providerMarketId": 374,
                        "oddName": "over 4.5",
                        "oddValue": 6,
                        "sort": 1,
                        "mult": 1,
                        "oddStatus": 1,
                        "sid": 0,
                        "optionId": null,
                        "sbv": "4.5",
                        "nSbv": 4.5,
                        "groupValue1": "",
                        "groupValue2": "",
                        "groupValue3": ""
                    },
                    {
                        "oddId": "1356741_374_1.5_1673",
                        "marketId": 374,
                        "providerMarketId": 374,
                        "oddName": "over 1.5",
                        "oddValue": 1.2,
                        "sort": 1,
                        "mult": 1,
                        "oddStatus": 1,
                        "sid": 0,
                        "optionId": null,
                        "sbv": "1.5",
                        "nSbv": 1.5,
                        "groupValue1": "",
                        "groupValue2": "",
                        "groupValue3": ""
                    },
                    {
                        "oddId": "1356741_374_2.5_1673",
                        "marketId": 374,
                        "providerMarketId": 374,
                        "oddName": "over 2.5",
                        "oddValue": 2,
                        "sort": 1,
                        "mult": 1,
                        "oddStatus": 1,
                        "sid": 0,
                        "optionId": null,
                        "sbv": "2.5",
                        "nSbv": 2.5,
                        "groupValue1": "",
                        "groupValue2": "",
                        "groupValue3": ""
                    },
                    {
                        "oddId": "1356741_374_5.5_1673",
                        "marketId": 374,
                        "providerMarketId": 374,
                        "oddName": "over 5.5",
                        "oddValue": 6.5,
                        "sort": 1,
                        "mult": 1,
                        "oddStatus": 1,
                        "sid": 0,
                        "optionId": null,
                        "sbv": "5.5",
                        "nSbv": 5.5,
                        "groupValue1": "",
                        "groupValue2": "",
                        "groupValue3": ""
                    }
                ],
                "homeScore": "0",
                "awayScore": "1",
                "matchTime": 47,
                "matchStatus": "2nd half",
                "isLive": true,
                "mid": 56593409,
                "players": null
            }
        ],
        "sports": [
            {
                "sportId": 1,
                "sportName": "Soccer",
                "sort": 1
            }
        ],
        "categories": [
            {
                "categoryId": 46,
                "categoryName": "Turkiye",
                "sort": 255,
                "iso": "TUR"
            }
        ],
        "tournaments": [
            {
                "tournamentId": 96,
                "tournamentName": "Turkiye Kupasi",
                "sort": 5,
                "sortCat": 0,
                "categoryId": 46,
                "sportId": 1,
                "offerTypes": null
            }
        ]
    }
}

https://testodds.cmswager.com