Market message examples
Market messages that you receive from Kero will contain all the required variables and data for you to create a rich and potentially multilingual market flow. As you will see in the examples below, Market messages contain a wide range of information such as the event the market belongs to, the type of market it is, the betting options, their odds, market state and the variables.
It is very important to understand what variables are. They are the bits of information for each market that actually change. For example a market that asks “Which team will have the first shot after minute 17:00” will have the variable start_resolve_cl =17:00.
Kero will not send you the static market title in these messages, rather only the necessary variables. The market titles and all of the static market information is available in the Market & Translations Catalogue. Translations and other static info is available in multiple languages and will make your integration process quite smooth. The only thing you have to do is match the market template and the market message by the “key_market” value.
{ "type": "MARKET", "sub_type": "TEMPLATE", "object": { "id": "9b92c52b-8fed-4571-b8eb-3b62cfaff7f4", "event_id": "2ba77318-6e3d-4568-a961-ceb18315ae08", "event": { "alternate_game_ids": { "betradar": "50410491", "opta": "aszgh1n3g7mb04hsliqyg14pg" } }, "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.78, "odds": { "american": "-454", "european": "1.22", "fractional": "11/50" } }, "answer_b": { "is_restricted": false, "prob": 0.22, "odds": { "american": "+285", "european": "3.85", "fractional": "57/20" } } }, "game_id": "aszgh1n3g7mb04hsliqyg14pg", "key_market": "SOCCER_A_6_84", "is_core": false, "title_variable": "{\"team_name\": \"ATL\", \"player_name\": \"Gregore\", \"end_resolve_cl\": \"5:59\", \"start_resolve_cl\": \"3:00\"}", "context_note_variable": "{\"team\": \"ATL\", \"target_value\": \"12.3\"}", "constraint_variable": "", "context_note_variable_type": "", "title_variable_type": "", "constraint_variable_type": "", "variables_entities": { "team_name": { "type": "TEAM", "id": 1, "side": "HOME", "short_name": "ATL" }, "team": { "type": "TEAM", "id": 1, "side": "HOME", "short_name": "ATL" }, "player_name": { "type": "PLAYER", "id": 2, "short_name": "Gregore" } }, "answers_restricted": { "answer_a": false, "answer_b": false } }, "action": "PUBLISH", "timestamp": 1732996919951}{ "type": "MARKET", "sub_type": "TEMPLATE", "object": { "id": "a640e849-135b-4301-a136-6414a07aac88", "event_id": "47e1f227-cc60-4268-83a3-61013ae1b6a9", "event": { "alternate_game_ids": { "betradar": "50852375", "opta": "72up4v7514muef0voyn2o3ggk" } }, "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.48, "odds": { "american": "-108", "european": "1.92", "fractional": "23/25" } }, "answer_b": { "is_restricted": false, "prob": 0.52, "odds": { "american": "-126", "european": "1.79", "fractional": "79/100" } } }, "game_id": "72up4v7514muef0voyn2o3ggk", "key_market": "SOCCER_A_12_45", "is_core": true, "title_variable": "{\"team\": \"GET\", \"start_resolve_cl\": \"85:00\"}", "context_note_variable": "", "constraint_variable": "", "context_note_variable_type": "", "title_variable_type": "", "constraint_variable_type": "", "variables_entities": { "team": { "type": "TEAM", "id": 1, "side": "HOME", "short_name": "GET" } }, "answers_restricted": { "answer_a": false, "answer_b": false } }, "action": "PUBLISH", "timestamp": 1733072759195}{ "type": "MARKET", "sub_type": "TEMPLATE", "object": { "id": "b7e394db-53b8-4dfb-b3b4-613df6d0d45d", "event_id": "13bdfbc5-fa33-4dd1-b310-703fed8b5625", "event": {}, "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.41, "odds": { "american": "+122", "european": "2.22", "fractional": "61/50" } }, "answer_b": { "is_restricted": false, "prob": 0.59, "odds": { "american": "-169", "european": "1.59", "fractional": "59/100" } } }, "game_id": "sim_aln2f8qb2haba0b4335n2nhg4_1", "key_market": "SOCCER_A_12_39", "is_core": true, "title_variable": "{\"start_resolve_cl\": \"2:00\"}", "context_note_variable": "{\"team\": \"WEU\", \"team1\": \"MEL\", \"target_value\": \"0\"}", "constraint_variable": "", "context_note_variable_type": "0", "title_variable_type": "", "constraint_variable_type": "", "answers_variables": { "answer_a": "{\"h_abr\":\"WEU\"}", "answer_b": "{\"v_abr\":\"MEL\"}" }, "variables_entities": { "team": { "type": "TEAM", "id": 1, "side": "HOME", "short_name": "WEU" }, "team1": { "type": "TEAM", "id": 2, "side": "AWAY", "short_name": "MEL" }, "h_abr": { "type": "TEAM", "id": 1, "side": "HOME", "short_name": "WEU" }, "v_abr": { "type": "TEAM", "id": 2, "side": "AWAY", "short_name": "MEL" } }, "answers_restricted": { "answer_a": false, "answer_b": false } }, "action": "PUBLISH", "timestamp": 1733147802480}{ "type": "MARKET", "sub_type": "TEMPLATE", "object": { "id": "619b7521-7c2b-4cb3-9119-d56ee2a24b34", "event_id": "8412fa91-11e4-4dfc-879b-bc4b7ce2fcc5", "event": {}, "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.47, "odds": { "american": "-104", "european": "1.96", "fractional": "24/25" } }, "answer_b": { "is_restricted": false, "prob": 0.53, "odds": { "american": "-133", "european": "1.75", "fractional": "3/4" } } }, "game_id": "52631693", "key_market": "BASKETBALL_A_7_81", "is_core": true, "title_variable": "{\"player_name\": \"(#9) Nikola Vucevic\", \"target_period\": \"(Q4)\", \"start_resolve_cl\": \"4:31\"}", "context_note_variable": "{\"player_name\": \"Vucevic\", \"target_value\": \"73\", \"target_value2\": \"58\"}", "constraint_variable": "{\"target_time\": \"4:31\", \"target_period\": \"4\"}", "context_note_variable_type": "", "title_variable_type": "", "constraint_variable_type": "", "variables_entities": { "player_name": { "type": "PLAYER", "id": 1, "full_name": "Nikola Vucevic", "short_name": "Vucevic", "jersey_number": "9" } }, "answers_restricted": { "answer_a": false, "answer_b": false } }, "action": "PUBLISH", "timestamp": 1733195208562}{ "type": "MARKET", "sub_type": "TEMPLATE", "object": { "id": "ed09e16b-7478-4c81-9da4-c8bda5ad47ef", "event_id": "8412fa91-11e4-4dfc-879b-bc4b7ce2fcc5", "event": {}, "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.42, "odds": { "american": "+117", "european": "2.17", "fractional": "117/100" } }, "answer_b": { "is_restricted": false, "prob": 0.58, "odds": { "american": "-163", "european": "1.61", "fractional": "61/100" } } }, "game_id": "52631693", "key_market": "BASKETBALL_A_7_92", "is_core": true, "title_variable": "{\"team_name\": \"Nets\", \"target_period\": \"(Q4)\", \"start_resolve_cl\": \"01:53\"}", "context_note_variable": "{\"team_abr\": \"CHI\", \"target_value\": \"48\"}", "constraint_variable": "{\"team_name\": \"Nets\", \"target_time\": \"1:53\"}", "context_note_variable_type": "", "title_variable_type": "", "constraint_variable_type": "", "variables_entities": { "team_name": { "type": "TEAM", "id": 1, "full_name": "NY Nets", "side": "HOME", "common_name": "Nets" }, "team_abr": { "type": "TEAM", "id": 2, "full_name": "Chicago Bulls", "side": "AWAY", "common_name": "Bulls" } }, "answers_restricted": { "answer_a": false, "answer_b": false } }, "action": "PUBLISH", "timestamp": 1733195571917}{ "type": "MARKET", "sub_type": "TEMPLATE", "object": { "id": "e96d343d-b57b-4c93-ac2f-0f5662068c06", "event_id": "8a627b77-e2ea-4fcf-887f-8691f794cf0f", "event": {}, "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.86, "odds": { "american": "-666", "european": "1.15", "fractional": "3/20" } }, "answer_b": { "is_restricted": false, "prob": 0.14, "odds": { "american": "+376", "european": "4.76", "fractional": "94/25" } } }, "game_id": "11061165", "key_market": "FOOTBALL_A_12_28", "is_core": false, "title_variable": "{\"player\": \"J. Jeudy (#3)\"}", "context_note_variable": "{\"player_name\": \"J. Jeudy\", \"target_value\": \"0.2\", \"target_value2\": \"4.1\"}", "constraint_variable": "{\"team_abr\": \"CLE\", \"target_value\": \"5th\"}", "context_note_variable_type": "0", "title_variable_type": "", "constraint_variable_type": "0", "variables_entities": { "player": { "type": "PLAYER", "id": 1, "full_name": "J. Jeudy", "short_name": "Jeudy", "jersey_number": "3" }, "player_name": { "type": "PLAYER", "id": 1, "full_name": "J. Jeudy", "short_name": "Jeudy", "jersey_number": "3" }, "team_abr": { "type": "TEAM", "id": 2, "full_name": "Cleveland Browns", "side": "AWAY", "short_name": "CLE", "common_name": "Browns" } }, "answers_restricted": { "answer_a": false, "answer_b": false } }, "action": "PUBLISH", "timestamp": 1733192198031}{ "type": "MARKET", "sub_type": "TEMPLATE", "object": { "id": "d52fe020-b2e5-4224-ad16-4e714ce89ab8", "event_id": "8a627b77-e2ea-4fcf-887f-8691f794cf0f", "event": {}, "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.27, "odds": { "american": "+223", "european": "3.23", "fractional": "223/100" } }, "answer_b": { "is_restricted": false, "prob": 0.73, "odds": { "american": "-333", "european": "1.30", "fractional": "3/10" } } }, "game_id": "11061165", "key_market": "FOOTBALL_A_12_64", "is_core": false, "title_variable": "{\"team\": \"Broncos\"}", "context_note_variable": "{\"team_abr\": \"DEN\", \"target_value\": \"1.3\", \"target_value2\": \"17.8\"}", "constraint_variable": "{\"down\": \"1st\", \"yards\": \"10\", \"team_abr1\": \"CLE\", \"yardline\": \"48\", \"team_abr\": \"DEN\", \"target_value\": \"13th\"}", "context_note_variable_type": "0", "title_variable_type": "", "constraint_variable_type": "1", "variables_entities": { "team": { "type": "TEAM", "id": 1, "full_name": "Denver Broncos", "side": "HOME", "short_name": "DEN", "common_name": "Broncos" }, "team_abr": { "type": "TEAM", "id": 1, "full_name": "Denver Broncos", "side": "HOME", "short_name": "DEN", "common_name": "Broncos" }, "team_abr1": { "type": "TEAM", "id": 2, "full_name": "Cleveland Browns", "side": "AWAY", "short_name": "CLE", "common_name": "Browns" } }, "answers_restricted": { "answer_a": false, "answer_b": false } }, "action": "PUBLISH", "timestamp": 1733199568112}{ "type": "MARKET", "object": { "id": "1dc4bdd3-397f-4f9c-9bc1-4e5750ea0085", "event_id": "9ed86f8f-bc96-48ce-b1e0-55f25b7808ea", "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.27, "odds": { "american": "+223", "european": "3.23", "fractional": "223/100" } }, "answer_b": { "is_restricted": false, "prob": 0.73, "odds": { "american": "-333", "european": "1.30", "fractional": "3/10" } } }, "game_id": "51988728", "key_market": "FOOTBALL_A_0_57", "title_variable": "{\"team1\": \"Chiefs\", \"team2\": \"Ravens\"}", "is_core": false, "context_note_variable": "", "constraint_variable": "", "context_note_variable_type": "", "title_variable_type": "", "constraint_variable_type": "", "variables_entities": { "team1": { "type": "TEAM", "id": 1, "full_name": "Kansas City Chiefs", "side": "HOME", "short_name": "KC", "common_name": "Chiefs" }, "team2": { "type": "TEAM", "id": 2, "full_name": "Baltimore Ravens", "side": "AWAY", "short_name": "BAL", "common_name": "Ravens" } }, "answers_restricted": { "answer_a": false, "answer_b": false } }, "action": "PUBLISH", "timestamp": 1724777863776}{ "type": "MARKET", "sub_type": "TEMPLATE", "object": { "id": "1a8cee9a-2dd0-444d-9eb9-20f87fa10e6a", "event_id": "b602b606-c1ae-43c8-8974-9298572cb3d5", "event": {}, "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.18, "odds": { "american": "+300", "european": "4.00", "fractional": "3/1" } }, "answer_b": { "is_restricted": false, "prob": 0.69, "odds": { "american": "-270", "european": "1.37", "fractional": "37/100" } }, "answer_c": { "is_restricted": false, "prob": 0.13, "odds": { "american": "+400", "european": "5.00", "fractional": "4/1" } } }, "game_id": "rpl_46684887_122", "key_market": "BASEBALL_A_12_39_3", "live_time": 0, "start_time": 0, "is_core": true, "market_context": { "batter_name": "Andy Pages", "batter_order_position": "5", "batter_plate_appearance_number": "4th", "inning": "9", "inning_side": "bottom", "line": "0", "pitch_number": "1", "pitcher_name": "Nate Pearson", "team": "HOME" }, "match_state": { "away_score": "6", "balls": "0", "home_score": "3", "inning": "9", "inning_side": "bottom", "outs": "2", "strikes": "0" }, "title_variable": "{\"player_name\": \"Andy Pages\", \"target_value\": \"4th\"}", "context_note_variable": "{\"player_name\": \"A. Pages\", \"target_value\": \".305\"}", "constraint_variable": "{\"batter\": \"A. Pages\", \"target_value1\": \"0\", \"target_value2\": \"0\"}", "context_note_variable_type": "", "title_variable_type": "", "constraint_variable_type": "0", "answers_variables": { "answer_a": "{}", "answer_b": "{}", "answer_c": "{}" }, "variables_entities": { "player_name": { "type": "PLAYER", "id": 1, "full_name": "Andy Pages", "short_name": "A. Pages", "jersey_number": "" }, "batter": { "type": "PLAYER", "id": 1, "full_name": "Andy Pages", "short_name": "A. Pages", "jersey_number": "" } }, "answers_restricted": { "answer_a": false, "answer_b": false, "answer_c": false } }, "action": "PUBLISH", "timestamp": 1740795501396}{ "type": "MARKET", "sub_type": "TEMPLATE", "object": { "id": "a008d6f1-242c-4aea-9cd6-11c2314fd305", "event_id": "b602b606-c1ae-43c8-8974-9298572cb3d5", "event": {}, "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.65, "odds": { "american": "-222", "european": "1.45", "fractional": "9/20" } }, "answer_b": { "is_restricted": false, "prob": 0.35, "odds": { "american": "+156", "european": "2.56", "fractional": "39/25" } } }, "game_id": "rpl_46684887_122", "key_market": "BASEBALL_A_12_42", "is_core": true, "market_context": { "batter_name": "Andy Pages", "batter_order_position": "5", "batter_plate_appearance_number": "3rd", "inning": "7", "inning_side": "bottom", "line": "4.5", "pitch_number": "1", "pitcher_name": "Blake Treinen", "team": "HOME" }, "match_state": { "away_score": "1", "balls": "3", "home_score": "3", "inning": "7", "inning_side": "bottom", "outs": "3", "strikes": "2" }, "title_variable": "{\"team\": \"Dodgers\", \"target_inning\": \"7th\"}", "context_note_variable": "{\"team_abr\": \"LAD\", \"target_value\": \"4.4\"}", "constraint_variable": "{\"team_name\": \"LAD\", \"target_value1\": \"5\", \"target_value2\": \"6\", \"target_value3\": \"7\"}", "context_note_variable_type": "", "title_variable_type": "", "constraint_variable_type": "", "answers_variables": { "answer_a": "{\"line\":\"4.5\"}", "answer_b": "{\"line\":\"4.5\"}" }, "variables_entities": { "team": { "type": "TEAM", "id": 1, "full_name": "Los Angeles Dodgers", "side": "HOME", "short_name": "LAD", "common_name": "Dodgers" }, "team_abr": { "type": "TEAM", "id": 1, "full_name": "Los Angeles Dodgers", "side": "HOME", "short_name": "LAD", "common_name": "Dodgers" }, "team_name": { "type": "TEAM", "id": 1, "full_name": "Los Angeles Dodgers", "side": "HOME", "short_name": "LAD", "common_name": "Dodgers" } }, "answers_restricted": { "answer_a": false, "answer_b": false } }, "action": "PUBLISH", "timestamp": 1740793166586}{ "type": "MARKET", "sub_type": "TEMPLATE", "object": { "id": "97b1bdd8-11a1-4aad-949a-a8f04a20bd86", "event_id": "b602b606-c1ae-43c8-8974-9298572cb3d5", "event": {}, "market_state": "PUBLISHED", "answers_odds": { "answer_a": { "is_restricted": false, "prob": 0.69, "odds": { "american": "-270", "european": "1.37", "fractional": "37/100" } }, "answer_b": { "is_restricted": false, "prob": 0.31, "odds": { "american": "+186", "european": "2.86", "fractional": "93/50" } } }, "game_id": "rpl_46684887_122", "key_market": "BASEBALL_A_12_3", "is_core": true, "market_context": { "batter_name": "Andy Pages", "batter_order_position": "None", "batter_plate_appearance_number": "4th", "inning": "9", "inning_side": "bottom", "line": "0", "pitch_number": "1", "pitcher_name": "Nate Pearson", "team": "HOME" }, "match_state": { "away_score": "6", "balls": "0", "home_score": "3", "inning": "9", "inning_side": "bottom", "outs": "2", "strikes": "0" }, "title_variable": "{\"player_name\": \"Andy Pages\", \"target_value\": \"4th\"}", "context_note_variable": "{\"player_name\": \"A. Pages\", \"target_value\": \".305\"}", "constraint_variable": "{\"batter\": \"A. Pages\", \"target_value1\": \"0\", \"target_value2\": \"0\"}", "context_note_variable_type": "", "title_variable_type": "", "constraint_variable_type": "0", "variables_entities": { "player_name": { "type": "PLAYER", "id": 1, "full_name": "Andy Pages", "short_name": "Pages", "jersey_number": "50" }, "batter": { "type": "PLAYER", "id": 1, "full_name": "Andy Pages", "short_name": "Pages", "jersey_number": "50" } }, "answers_restricted": { "answer_a": false, "answer_b": false } }, "action": "PUBLISH", "timestamp": 1740795501361}