### Example JSON Response for Event Details Source: https://github.com/cloudbet/docs/blob/master/api-responses.md This JSON snippet illustrates the detailed structure of an event object returned by the `/events/{id}` API. It includes event metadata such as ID, sport, competition, participating teams (home and away), a list of players, current status, and comprehensive market data for handicap, moneyline, and totals, along with their respective submarkets and selections. ```json { "sequence": "97", "id": 6473660, "sport": { "name": "Basketball", "key": "basketball" }, "competition": { "name": "NBA", "key": "basketball-usa-nba", "category": { "name": "USA", "key": "usa" } }, "home": { "name": "Miami Heat", "key": "c672-miami-heat", "abbreviation": "MIA" }, "away": { "name": "Los Angeles Lakers", "key": "c655-los-angeles-lakers", "abbreviation": "LAL" }, "players": { "c4a879-jared-dudley": { "name": "Jared Dudley", "team": "AWAY", "position": { "name": "F", "key": "f" } }, "c4b25d-andre-drummond": { "name": "Andre Drummond", "team": "AWAY", "position": { "name": "C", "key": "c" } }, "c4b269-kentavious-caldwell-pope": { "name": "Kentavious Caldwell-Pope", "team": "AWAY", "position": { "name": "G", "key": "g" } }, "c4b58e-ben-mclemore": { "name": "Ben McLemore", "team": "AWAY", "position": { "name": "G", "key": "g" } } }, "status": "TRADING", "markets": { "basketball.handicap": { "submarkets": { "period=ot&period=ft": { "sequence": "97", "selections": [ { "outcome": "home", "params": "handicap=-8", "price": 1.915, "minStake": 0.0001, "probability": 0.505, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "away", "params": "handicap=-8", "price": 1.95, "minStake": 0.0001, "probability": 0.495, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "home", "params": "handicap=-10", "price": 2.248, "minStake": 0.0001, "probability": 0.427, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "away", "params": "handicap=-10", "price": 1.672, "minStake": 0.0001, "probability": 0.573, "status": "SELECTION_ENABLED", "side": "BACK" } ] } }, "liability": 1262.505 }, "basketball.moneyline": { "submarkets": { "period=ot&period=ft": { "sequence": "97", "selections": [ { "outcome": "home", "params": "", "price": 1.264, "minStake": 0.0001, "probability": 0.76, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "away", "params": "", "price": 4.001, "minStake": 0.0001, "probability": 0.24, "status": "SELECTION_ENABLED", "side": "BACK" } ] } }, "liability": 631.2525 }, "basketball.totals": { "submarkets": { "period=ot&period=ft": { "sequence": "97", "selections": [ { "outcome": "over", "params": "total=204.5", "price": 1.924, "minStake": 0.0001, "probability": 0.502, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "under", "params": "total=204.5", "price": 1.942, "minStake": 0.0001, "probability": 0.498, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "over", "params": "total=202", "price": 1.682, "minStake": 0.0001, "probability": 0.57, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "under", "params": "total=202", "price": 2.228, "minStake": 0.0001, "probability": 0.43, "status": "SELECTION_ENABLED", "side": "BACK" } ] } }, "liability": 420.83500000000004 } }, "name": "Miami Heat V Los Angeles Lakers", "key": "c672-miami-heat-v-c655-los-angeles-lakers", "cutoffTime": "2021-04-08T23:30:00Z", "metadata": { "opinion": [] }, "startTime": "2021-04-08T23:30:00Z" } ``` -------------------------------- ### Sample Response for Competition Events API - JSON Source: https://github.com/cloudbet/docs/blob/master/api-responses.md This JSON object represents a sample response from the `/competitions/{key}` API endpoint, detailing live and upcoming events for a specified competition. It includes competition metadata, a list of events with home/away teams, player information, event status, and market details with submarkets and selections. ```json { "name": "NBA", "key": "basketball-usa-nba", "sport": { "name": "Basketball", "key": "basketball" }, "events": [ { "sequence": "97", "id": 6473660, "home": { "name": "Miami Heat", "key": "c672-miami-heat", "abbreviation": "MIA" }, "away": { "name": "Los Angeles Lakers", "key": "c655-los-angeles-lakers", "abbreviation": "LAL" }, "players": { "c4a879-jared-dudley": { "name": "Jared Dudley", "team": "AWAY", "position": { "name": "F", "key": "f" } }, "c4b25d-andre-drummond": { "name": "Andre Drummond", "team": "AWAY", "position": { "name": "C", "key": "c" } }, . . . }, "status": "TRADING_LIVE", "markets": { "basketball.handicap": { "submarkets": { "period=ot&period=ft": { "sequence": "97", "selections": [ { "outcome": "home", "params": "handicap=-8", "price": 1.915, "minStake": 0.0001, "probability": 0.505, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "away", "params": "handicap=-8", "price": 1.95, "minStake": 0.0001, "probability": 0.495, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "home", "params": "handicap=-10", "price": 2.248, "minStake": 0.0001, "probability": 0.427, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "away", "params": "handicap=-10", "price": 1.672, "minStake": 0.0001, "probability": 0.573, "status": "SELECTION_ENABLED", "side": "BACK" }, . . . ] } }, "liability": 1262.505 }, "basketball.moneyline": { "submarkets": { "period=ot&period=ft": { "sequence": "97", "selections": [ { "outcome": "home", "params": "", "price": 1.264, "minStake": 0.0001, "probability": 0.76, "status": "SELECTION_ENABLED", "side": "BACK" }, { "outcome": "away", "params": "", "price": 4.001, "minStake": 0.0001, "probability": 0.24, "status": "SELECTION_ENABLED", "side": "BACK" } ] } }, "liability": 631.2525 } }, "name": "Miami Heat V Los Angeles Lakers", "key": "c672-miami-heat-v-c655-los-angeles-lakers", "cutoffTime": "2021-04-08T23:30:00Z", "metadata": { "opinion": [] }, "startTime": "2021-04-08T23:30:00Z" }, { "sequence": "1873", "id": 5030846, "home": null, "away": null, "players": { . . . }, "status": "TRADING", "markets": { . . . }, "name": "NBA - Awards - Coach Of The Year (reg. season)", "key": "nba-awards-coach-of-the-year-reg-season", "cutoffTime": "2021-04-08T23:30:00Z", "metadata": { "opinion": [] }, "startTime": "2021-04-08T23:30:00Z" } ] } ``` -------------------------------- ### Retrieving All Sports - Cloudbet Feed API - JSON Source: https://github.com/cloudbet/docs/blob/master/api-responses.md This JSON payload represents a sample response from the Cloudbet Feed API's `/sports` endpoint. It provides a list of sports, each including its name, unique key, and counts for associated competitions and events. Sports are ordered alphabetically. ```json { "sports": [ { "name": "American Football", "key": "american-football", "competitionCount": 2, "eventCount": 92 }, { "name": "Archery", "key": "archery", "competitionCount": 0, "eventCount": 0 }, . . . { "name": "Soccer", "key": "soccer", "competitionCount": 142, "eventCount": 1239 } ] } ``` -------------------------------- ### Retrieving Sport Competitions by Key - Cloudbet Feed API - JSON Source: https://github.com/cloudbet/docs/blob/master/api-responses.md This JSON payload illustrates a sample response from the Cloudbet Feed API's `/sports/{key}` endpoint. It details a specific sport, including its name, key, and counts, and organizes its competitions into categories. Each competition lists its name, key, and event count. ```json { "name": "Soccer", "key": "soccer", "competitionCount": 141, "eventCount": 1240, "categories": [ { "name": "England", "key": "england", "competitions": [ { "name": "Premier League", "key": "soccer-england-premier-league", "eventCount": 29 }, { "name": "FA Cup", "key": "soccer-england-fa-cup", "eventCount": 3 }, . . . ] }, { "name": "International", "key": "international", "competitions": [ { "name": "UEFA Euro 2020", "key": "soccer-international-euro-cup", "eventCount": 146 }, { "name": "World Cup", "key": "soccer-international-world-cup", "eventCount": 1 }, . . . ] }] } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.