Sports Line api Documentation. How to use sports line from bet api.

This page is a documentation page, where there is a sports line . This documentation can be used to integrate sports data into your system, create a betting office or you can create a sports forecast website.

Before proceeding with the integration, please read the text below, namely: "Terms and conditions for the use of any api sports line".

Test period conditions for the sports line:

How to get test access to api sports events?

Test access is available on request. To do this you need to write in technical support - any way convenient for you: After that you will be given a temporary key to get acquainted with the data.

Email: info@betapi.net
Telegram: @illona_betapi
Whatsapp: +90 552 447 1951

Temporary key available for 2 days

What restrictions apply to test access?

In test mode you will have access to all sports without exception. It costs restriction on the number of games in the championship, which is equal to 3 matches per 1 championship. The data delay in Live is 30 seconds

Mode of integration:

After you have tested our data and it suits you, contact technical support to get the keys for the test development:

Email: support@betapi.net
Telegram: @Maks_betapi
Whatsapp: +90 552 447 1951

In the development or integration mode you have a developer package that operates without any limitations on the time and quantity of data update. Package development or integration of our sportsbook you get for 1 month.

Sports Line & Live integration package - available with a discount of 50% of your total package cost

LIST OF PARAMETERS FOR LINE VERSION 2.0

Main set of parameters:

Parameter Description
{HOST_LINE_API} the url of the receive line host.
{Package} Personal Access Key that determines the type of package you have. This key is passed to "headers" .
{dataApi} name of the datareceiving methods. Namely: sports, countries, tournaments, events, event
{dataType} type of data of the line. It can be live or line only
{dataLang} a language of receivingline. Available are languages in the system
{sport_Id} sport id, numeric value
{country_Id} country id, numeric value
{tourney_Id} tournament id, numeric value
{event_Id} id game, numeric value
{list_type} Way of formation of a conclusion. Theremay be two kinds:
sub - events will be assub-items of tournaments.
list - all items are displayed, simply by a commonlist.
{page_length} Number of events in answer.It must be a multiple of five. If it is not, the systemitselfwillocclude it to the higherside of the multiplicity.
Test example of obtaining sports data:

EXAMPLE (JAVASCRIPT) FETCH:

	
		fetch("https://{url_site}/v1/sports/live/ru", {
			"method": "GET",
			"headers": {
				"Package": "secret_key - provided by technical support"
			}
		})
		.then(response => {
			console.log(response);
		})
		.catch(err => {
			console.log(err);
		});

	

EXAMPLE (PHP) CURL:

	
		<-?php

			$curl = curl_init();

			curl_setopt_array($curl, array(
				CURLOPT_URL => "https://{url_site}/v1/sports/live/ru",
				CURLOPT_RETURNTRANSFER => true,
				CURLOPT_FOLLOWLOCATION => true,
				CURLOPT_ENCODING => "",
				CURLOPT_MAXREDIRS => 10,
				CURLOPT_TIMEOUT => 30,
				CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
				CURLOPT_CUSTOMREQUEST => "GET",
				CURLOPT_HTTPHEADER => array(
					"Package": "secret_key - provided by technical support"
				),
			));

			$response = curl_exec($curl);
			$err = curl_error($curl);

			curl_close($curl);

			if ($err) {
				echo "cURL Error #:" . $err;
			} else {
				echo $response;
			}
		?->

	
GET A LIST OF SPORTS

Structure of sending inquiry:

{HOST_LINE_API}/v1/{dataApi}/{dataType}/{dataLang}

Bright example of url:

{HOST_LINE_API}/v1/sports/live/en


Structure of the answer of data:

	
	{
		"status": 1,
		"page": "/v1/sports",
		"body": [
			{
				"id": 187,
				"name": "Football",
				"name_ru": "Футбол",
				"name_en": "Football",
				"counter": 30
			},
			{
				"id": 24,
				"name": "Tennis",
				"name_ru": "Теннис",
				"name_en": "Tennis",
				"counter": 13
			},
			{
				"id": 16,
				"name": "Volleyball",
				"name_ru": "Волейбол",
				"name_en": "Volleyball",
				"counter": 5
			},
			{
				"id": 410,
				"name": "Table Tennis",
				"name_ru": "Настольный теннис",
				"name_en": "Table Tennis",
				"counter": 7
			}
		]
	}

	
Parameter Description
id sport id
name Name of sport of active language
name_ru Name of sport in Russian
name_en ame of sport in English
counter Number of games


Get the list of the countries

Structure of sending inquiry:

{HOST_LINE_API}/v1/{dataApi}/{sport_id}/{dataType}/{dataLang}

Bright example of url:

{HOST_LINE_API}/v1/countries/1/live/en

Get countries with category “football” in live, in English


{HOST_LINE_API}/v1/countries/0/live/en

Get all countries in all types of sports in live in English



Data in inquiry:

Parameter Description
{sport_id} Sport id, if ID=0, all countries will return for all sports
{dataApi} => countries The "countries" parameter indicates that we are returning countries


Structure of the answer of data:

	
	{
		"status": 1,
		"page": "/v1/countries",
		"body": [
			{
				"id": 1248,
				"name": "Portugal",
				"name_ru": "Португалия",
				"name_en": "Portugal",
				"sport_id": 1,
				"counter": 1
			},
			{
				"id": 2314,
				"name": "England",
				"name_ru": "Англия",
				"name_en": "England",
				"sport_id": 1,
				"counter": 4
			},
			{
				"id": 3279,
				"name": "Italy",
				"name_ru": "Италия",
				"name_en": "Italy",
				"sport_id": 1,
				"counter": 1
			},
			{
				"id": 1245,
				"name": "Argentina",
				"name_ru": "Аргентина",
				"name_en": "Argentina",
				"sport_id": 1,
				"counter": 1
			},
			{
				"id": 1252,
				"name": "World",
				"name_ru": "Мир",
				"name_en": "World",
				"sport_id": 1,
				"counter": 28
			}
		]
	}

	
Parameter Description
id country id
name name of country of the active language
name_ru name of country in Russian
name_en name of country in English
sport_id id of the sport to which the country belongs
counter number of games


RECEIVING THE LIST OF THE CHAMPIONSHIPS

Structure of sending inquiry:

{HOST_LINE_API}/v1/{dataApi}/{sport_id}/{country_id}/{dataType}/{dataLang}

Bright example of url:

{HOST_LINE_API}/v1/tournaments/1/225/live/en

Getting Championships from category footbal, from the group of countries “World”, in live in English


{HOST_LINE_API}/v1/tournaments/1/0/live/en

Getting all football Championships for all countries in live in English


{HOST_LINE_API}/v1/tournaments/0/0/live/en

Getting all Championships in all types of sport in all countries in English



Data in inquiry:

Parameter Description
{dataApi} => tournaments "tournaments" parameter indicates that we return championships
{sport_id} sport id, it can be equal to 0
{country_id} country id, it can be equal to 0


A structure of the answer of data:

	
	{
		"status": 1,
		"page": "/v1/tournaments",
		"body": [
			{
				"id": 11115906,
				"name": "Short Football 2x2",
				"name_ru": "Short Football 2x2",
				"name_en": "Short Football 2x2",
				"sport_id": 1,
				"country_id": 3444,
				"counter": 1
			},
			{
				"id": 111222,
				"name": "Dragon League",
				"name_ru": "Dragon League",
				"name_en": "Dragon League",
				"sport_id": 1,
				"country_id": 3444,
				"counter": 2
			},
			{
				"id": 123516,
				"name": "Nacional Night League",
				"name_ru": "Nacional Night League",
				"name_en": "Nacional Night League",
				"sport_id": 1,
				"country_id": 3444,
				"counter": 1
			},
			{
				"id": 009757,
				"name": "Alternative Matches",
				"name_ru": "Альтернативные матчи",
				"name_en": "Alternative Matches",
				"sport_id": 1,
				"country_id": 3444,
				"counter": 4
			}
		]
	}

	
Parameter Description
id championship id
name name of championshipof active language
name_ru name of championship in Russian
name_en name of championship in English
sport_id ID of the sport to which the championship belongs
country_id ID of the country to which the championship belongs
counter Number of games


Receiving the list of events

Structure of sending inquiry:

{HOST_LINE_API}/v1/{dataApi}/{sport_id}/{tournament_id}/{list_type}/{page_length}/{dataType}/{dataLang}

Bright example of url:

{HOST_LINE_API}/v1/events/1/2055906/sub/5/live/en

We get 5 matches only from the category "football," from the championship under the number "27097," reduced in live , in English


{HOST_LINE_API}/v1/events/1/0/sub/5/live/en

We get 5 matches on football, from all championships, reduced in live, in English



Data in inquiry:

Parameter Description
{dataApi} => events "events" parameter "events" indicates that we return matches
{sport_id} sport ID, if ID = 0, all matches for all sports will be returning
{tournament_id} tournament ID, if ID = 0, all matches for all tournament will be returning
{list_type} Way of formation of a conclusion. There may be two kinds:
sub - events will be as sub-items of tournaments.
list - all items are displayed, simply by a common list.
{page_length} Number of events in answer.It must be a multiple of five. If it 's not like that. That, the system itself will occlude it to the greater side of the multiplicity.


A structure of the answer of data:

	
	{
    "status": 1,
    "page": "/v1/events",
    "body": [
         {
            "tournament_id": 63197,
            "tournament_name": "Belarus. Reserve League",
            "events_list": [
                {
                    "uniq": "41673-2577733-724639-53109-15869",
                    "ext_game_id": 0,
                    "game_id": 232461537,
                    "game_mid": 232461537,
                    "game_num": 724639,
                    "game_dop_name": "",
                    "game_start": 1586953800,
                    "game_oc_list": [
                        {
                            "oc_group_name": "1x2",
                            "oc_name": "Energetik-BGU II",
                            "oc_rate": 1.04,
                            "oc_pointer": "232461537|1|1|0"
                        },
                        {
                            "oc_group_name": "1x2",
                            "oc_name": "Draw",
                            "oc_rate": 14.5,
                            "oc_pointer": "232461537|1|2|0"
                        },
                        {
                            "oc_group_name": "1x2",
                            "oc_name": "Gorodeya II",
                            "oc_rate": 26,
                            "oc_pointer": "232461537|1|3|0"
                        },
                        {
                            "oc_group_name": "Total",
                            "oc_name": "Total Over 4.5",
                            "oc_rate": 1.77,
                            "oc_pointer": "232461537|17|9|4.5"
                        },
                        {
                            "oc_group_name": "Total",
                            "oc_name": "Total Under 4.5",
                            "oc_rate": 2.05,
                            "oc_pointer": "232461537|17|10|4.5"
                        },
                        {
                            "oc_group_name": "Handicap",
                            "oc_name": "Handiсap Energetik-BGU II (-3)",
                            "oc_rate": 1.88,
                            "oc_pointer": "232461537|2|7|-3"
                        },
                        {
                            "oc_group_name": "Handicap",
                            "oc_name": "Handiсap Gorodeya II (+3)",
                            "oc_rate": 1.93,
                            "oc_pointer": "232461537|2|8|3"
                        },
                        {
                            "oc_group_name": "Total 1",
                            "oc_name": "Individual Total 1 Under 4",
                            "oc_rate": 1.73,
                            "oc_pointer": "232461537|15|12|4"
                        },
                        {
                            "oc_group_name": "Total 1",
                            "oc_name": "Individual Total 1 Over 4",
                            "oc_rate": 2.06,
                            "oc_pointer": "232461537|15|11|4"
                        },
                        {
                            "oc_group_name": "Total 2",
                            "oc_name": "Individual Total 2 Under 0.5",
                            "oc_rate": 2.28,
                            "oc_pointer": "232461537|62|14|0.5"
                        },
                        {
                            "oc_group_name": "Total 2",
                            "oc_name": "Individual Total 2 Over 0.5",
                            "oc_rate": 1.6,
                            "oc_pointer": "232461537|62|13|0.5"
                        },
                        {
                            "oc_group_name": "Both Teams To Score",
                            "oc_name": "Both Teams To Score - Yes",
                            "oc_rate": 1.58,
                            "oc_pointer": "232461537|19|180|0"
                        },
                        {
                            "oc_group_name": "Both Teams To Score",
                            "oc_name": "Both Teams To Score - No",
                            "oc_rate": 2.28,
                            "oc_pointer": "232461537|19|181|0"
                        },
                        {
                            "oc_group_name": "Double Chance",
                            "oc_name": "Gorodeya II Or X",
                            "oc_rate": 9.33,
                            "oc_pointer": "232461537|8|6|0"
                        },
                        {
                            "oc_group_name": "Double Chance",
                            "oc_name": "Energetik-BGU II Or Gorodeya II",
                            "oc_rate": 1.005,
                            "oc_pointer": "232461537|8|5|0"
                        }
                    ],
                    "tournament_id": 63197,
                    "tournament_name": "Belarus. Reserve League",
                    "tournament_name_ru": "Чемпионат Беларуси. Резервная лига",
                    "tournament_name_en": "Belarus. Reserve League",
                    "opp_1_name": "Energetik-BGU II",
                    "opp_2_name": "Gorodeya II",
                    "opp_1_name_ru": "Энергетик-БГУ II",
                    "opp_2_name_ru": "Городея II",
                    "opp_1_name_en": "Energetik-BGU II",
                    "opp_2_name_en": "Gorodeya II",
                    "opp_1_id": 2577733,
                    "opp_2_id": 53109,
                    "opp_1_icon": 2577733,
                    "opp_2_icon": 53109,
                    "sport_name": "Football",
                    "sport_name_ru": "Футбол",
                    "sport_name_en": "Football",
                    "sport_id": 1,
                    "score_full": "2:0",
                    "score_extra": "0:0",
                    "score_period": "2:0",
                    "period_name": "1 Half",
                    "stat_list": [
                        {
                            "Key": "IYellowCard1",
                            "Value": "0"
                        },
                        {
                            "Key": "IYellowCard2",
                            "Value": "0"
                        },
                        {
                            "Key": "IRedCard1",
                            "Value": "0"
                        },
                        {
                            "Key": "IRedCard2",
                            "Value": "0"
                        }
                    ],
                    "stat_list_extra": [],
                    "timer": 1514,
                    "pitch": null,
                    "game_plan": null
                }
            ]
        },

	
. . .
Parameter Description
tournament_id Championship id
tournament_name Name of championship
opp_1_name Name of the first team
opp_2_name Name of the second team
sport_id ID of sport of a match
sport_name Name of sport
score_full Total score of the match
score_period score on periods/sets/times
period_name name of active period/set/time
game_id Match id
game_mid Id of an additionalmatch.It can be like game_id - that means it 's a basic game.
game_num Unique match number (same for line and live)
game_dop_name Additional games (red cards, penalties, etc.)
game_start Time of the beginning of a match
oc_group_name Name of the coefficient market group
oc_name Name of type of an outcome
oc_rate Outcome Coefficient
oc_pointer Unique outcome indicator (you can look herehow this is generated)
stat_list Masiv from statistics on match
timer How long is the math going on
uniq Unique adi, which links matches between the line (pre-match, live and results). This parameter is the same for all match statuses (not started, started, completed). (works in test mode, not in production)
ext_game_id Video output (works in test mode, not in production)
opp_1_id First command
opp_2_id Find the second command
opp_1_icon Find photo or icons of the first command may not match opp_1_id
opp_2_icon Find a photo or icons for the second command may not coincide with opp_2_id
score_extra Show me which game is playing tennis. (A-40)
stat_list_extra So much for the line! And only for the sport - racing. It displays information about the races.
pitch Shows opp_id commands or the player who is serving. relevant for sports that have pitches
game_plan Advanced name for the match. Match of 3 sets, 1st, 2nd to 21 points (3rd to 15 points)


sports data api pricing
Receive THE CONCRETE MATCH

Structure of sending inquiry:

{HOST_LINE_API}/v1/{dataApi}/{game_id}/{list_type}/{dataType}/{dataLang}

Bright example of url:

{HOST_LINE_API}/v1/event/223039363/list/live/en

Get the game in live in English


Data in inquiry:

Parameter Description
{dataApi} => event The "event" parameter indicates that we return a match with a specific id
{list_type} Way of formation of a conclusion. There may be two kinds:
sub - events will be grouped into groups.
list - all events are displayed, just a general list.


A structure of the answer of data:

	
{
    "status": 1,
    "page": "/v1/event",
    "body": {
        "uniq": "41673-2577733-724639-53109-15869",
        "ext_game_id": 0,
        "game_id": 232461537,
        "game_mid": 232461537,
        "game_num": 724639,
        "game_dop_name": "",
        "game_start": 1586953800,
		"tournament_id": 63197,
        "tournament_name": "Belarus. Reserve League",
        "tournament_name_ru": "Чемпионат Беларуси. Резервная лига",
        "tournament_name_en": "Belarus. Reserve League",
        "opp_1_name": "Energetik-BGU II",
        "opp_2_name": "Gorodeya II",
        "opp_1_name_ru": "Энергетик-БГУ II",
        "opp_2_name_ru": "Городея II",
        "opp_1_name_en": "Energetik-BGU II",
        "opp_2_name_en": "Gorodeya II",
        "opp_1_id": 2577733,
        "opp_2_id": 53109,
        "opp_1_icon": 2577733,
        "opp_2_icon": 53109,
        "sport_name": "Football",
        "sport_name_ru": "Футбол",
        "sport_name_en": "Football",
        "sport_id": 1,
        "score_full": "2:0",
        "score_extra": "0:0",
        "score_period": "2:0",
        "period_name": "1 Half",
        "stat_list": [
            {
                "name": "Yellow cards",
                "opp1": "0",
                "opp2": "0"
            },
            {
                "name": "Possession %",
                "opp1": "50",
                "opp2": "50"
            },
            {
                "name": "Attacks",
                "opp1": "38",
                "opp2": "35"
            },
            {
                "name": "Dangerous attacks",
                "opp1": "21",
                "opp2": "16"
            },
            {
                "name": "Shots on target",
                "opp1": "8",
                "opp2": "1"
            },
            {
                "name": "Shots off target",
                "opp1": "2",
                "opp2": "0"
            },
            {
                "name": "Corner",
                "opp1": "3",
                "opp2": "0"
            },
            {
                "name": "Red card",
                "opp1": "0",
                "opp2": "0"
            },
            {
                "name": "Penalty",
                "opp1": "0",
                "opp2": "0"
            }
        ],
        "stat_list_extra": [],
        "timer": 1576,
        "pitch": null,
        "game_plan": null,
        "sub_games": [
            {
                "game_id": 232461587,
                "game_num": 724640,
                "game_name": "1 Half"
            },
            {
                "game_id": 232461588,
                "game_num": 724641,
                "game_name": "2 Half"
            },
            {
                "game_id": 232464698,
                "game_num": 737791,
                "game_name": "Corners"
            },
            {
                "game_id": 232464699,
                "game_num": 737792,
                "game_name": "Corners,1 Half"
            },
            {
                "game_id": 232464705,
                "game_num": 738559,
                "game_name": "Yellow Cards"
            },
            {
                "game_id": 232464706,
                "game_num": 738560,
                "game_name": "Yellow Cards,1 Half"
            },
            {
                "game_id": 232466735,
                "game_num": 740652,
                "game_name": "Offsides"
            },
            {
                "game_id": 232466736,
                "game_num": 740653,
                "game_name": "Offsides,1 Half"
            },
            {
                "game_id": 232464740,
                "game_num": 738556,
                "game_name": "Fouls"
            },
            {
                "game_id": 232464741,
                "game_num": 738557,
                "game_name": "Fouls,1 Half"
            },
            {
                "game_id": 232461547,
                "game_num": 795343,
                "game_name": "Quick events"
            },
            {
                "game_id": 232464713,
                "game_num": 740689,
                "game_name": "Goal kicks"
            },
            {
                "game_id": 232464714,
                "game_num": 740690,
                "game_name": "Goal kicks,1 Half"
            },
            {
                "game_id": 232465128,
                "game_num": 795454,
                "game_name": "First To Happen"
            },
            {
                "game_id": 232461548,
                "game_num": 795340,
                "game_name": "Result + Total"
            }
        ]
        "game_oc_list": [
            {
                "oc_group_name": "1x2",
                "oc_name": "Energetik-BGU II",
                "oc_rate": 1.03,
                "oc_pointer": "232461537|1|1|0"
            },
            {
                "oc_group_name": "1x2",
                "oc_name": "Draw",
                "oc_rate": 15.5,
                "oc_pointer": "232461537|1|2|0"
            },
            {
                "oc_group_name": "1x2",
                "oc_name": "Gorodeya II",
                "oc_rate": 27,
                "oc_pointer": "232461537|1|3|0"
            },
            {
                "oc_group_name": "Next Goal",
                "oc_name": "Team Energetik-BGU II To Score Next Goal 3",
                "oc_rate": 1.37,
                "oc_pointer": "232461537|20|388|3"
            },
            {
                "oc_group_name": "Handicap",
                "oc_name": "Handiсap Energetik-BGU II (-1.5)",
                "oc_rate": 1.11,
                "oc_pointer": "232461537|2|7|-1.5"
            },
            {
                "oc_group_name": "Handicap",
                "oc_name": "Handiсap Gorodeya II (+5.5)",
                "oc_rate": 1.03,
                "oc_pointer": "232461537|2|8|5.5"
            },
            {
                "oc_group_name": "Handicap",
                "oc_name": "Handiсap Gorodeya II (+5)",
                "oc_rate": 1.04,
                "oc_pointer": "232461537|2|8|5"
            },
            {
                "oc_group_name": "Handicap",
                "oc_name": "Handiсap Gorodeya II (+4.5)",
                "oc_rate": 1.19,
                "oc_pointer": "232461537|2|8|4.5"
            },
           
            {
                "oc_group_name": "Multi Goal",
                "oc_name": "Multi Goal 2-5",
                "oc_rate": 1.11,
                "oc_pointer": "232461537|7961|6947|2.005"
            },
            {
                "oc_group_name": "Multi Goal",
                "oc_name": "Multi Goal 3-4",
                "oc_rate": 1.856,
                "oc_pointer": "232461537|7961|6947|3.004"
            },
            {
                "oc_group_name": "Multi Goal",
                "oc_name": "Multi Goal 3-5",
                "oc_rate": 1.23,
                "oc_pointer": "232461537|7961|6947|3.005"
            },
            {
                "oc_group_name": "Multi Goal",
                "oc_name": "Multi Goal 4-5",
                "oc_rate": 1.715,
                "oc_pointer": "232461537|7961|6947|4.005"
            },
            
            {
                "oc_group_name": "Team 1, Multi Goal",
                "oc_name": "Team Energetik-BGU II, Multi Goal 4-5",
                "oc_rate": 1.81,
                "oc_pointer": "232461537|8801|8535|4.005"
            },
            {
                "oc_group_name": "Team 1, Multi Goal",
                "oc_name": "Team Energetik-BGU II, Multi Goal 4-6",
                "oc_rate": 1.525,
                "oc_pointer": "232461537|8801|8535|4.006"
            },
            {
                "oc_group_name": "Team 1, Multi Goal",
                "oc_name": "Team Energetik-BGU II, Multi Goal 5-6",
                "oc_rate": 3.14,
                "oc_pointer": "232461537|8801|8535|5.006"
            },
            {
                "oc_group_name": "Next Goal, Handicap",
                "oc_name": "Next Goal 3, Handicap Gorodeya II 0",
                "oc_rate": 3.32,
                "oc_pointer": "232461537|3559|4963|3"
            },
            {
                "oc_group_name": "Next Goal, Handicap",
                "oc_name": "Next Goal 4, Handicap Gorodeya II 0",
                "oc_rate": 3.12,
                "oc_pointer": "232461537|3559|4963|4"
            },
            {
                "oc_group_name": "Double Chance",
                "oc_name": "Gorodeya II Or X",
                "oc_rate": 9.93,
                "oc_pointer": "232461537|8|6|0"
            },
            {
                "oc_group_name": "Remaining Time Double Chance",
                "oc_name": "Energetik-BGU II X After Score 2-0",
                "oc_rate": 1.115,
                "oc_pointer": "232461537|2752|3629|2"
            },
            {
                "oc_group_name": "3Way Total",
                "oc_name": "Total Under 3 (3Way)",
                "oc_rate": 12.4,
                "oc_pointer": "232461537|87|743|3"
            },
            {
                "oc_group_name": "3Way Total",
                "oc_name": "Total Exactly 3 (3Way)",
                "oc_rate": 5.15,
                "oc_pointer": "232461537|87|741|3"
            },
            {
                "oc_group_name": "3Way Total",
                "oc_name": "Total Over 3 (3Way)",
                "oc_rate": 1.21,
                "oc_pointer": "232461537|87|739|3"
            },
            {
                "oc_group_name": "3Way Total",
                "oc_name": "Total Under 4 (3Way)",
                "oc_rate": 4.07,
                "oc_pointer": "232461537|87|743|4"
            },
            {
                "oc_group_name": "3Way Total",
                "oc_name": "Total Exactly 4 (3Way)",
                "oc_rate": 3.85,
                "oc_pointer": "232461537|87|741|4"
            },
            {
                "oc_group_name": "3Way Total",
                "oc_name": "Total Exactly 6 (3Way)",
                "oc_rate": 6.47,
                "oc_pointer": "232461537|87|741|6"
            },
            {
                "oc_group_name": "3Way Total",
                "oc_name": "Total Over 6 (3Way)",
                "oc_rate": 5.01,
                "oc_pointer": "232461537|87|739|6"
            },
            
            {
                "oc_group_name": "Individual 3Way Total 2",
                "oc_name": "Team Gorodeya II Total (3Way) Over 2",
                "oc_rate": 11.1,
                "oc_pointer": "232461537|89|763|2"
            }
        ],
        
    }
}

	
. . .
Parameter Description
tournament_id Championship id
tournament_name Name of the championship
opp_1_name Name of the first team
opp_2_name Name of the second team
sport_id Id of sport of match
sport_name Name of the sport
score_full general score of a match
score_period score on period/set/times
period_name name of the active period/set/time
game_id Match id
game_mid Id of an additionalmatch.it can be like game_id - that means it 's a basic game.
game_num Unique Batch Number (same for line and live)
game_dop_name additional games ( red cards,penalties,etc.)
game_start Time of the beginning of a match
oc_group_name Name of the coefficient market group
oc_name Name of type of an outcome
oc_rate Outcome coefficient
oc_pointer Unique Outcome Indicator (How this can be generated you can look here )
stat_list Masiv from statistics on match
timer How long is the matchgoing on
sub_games Additional games for this match, have a set of parameters that are describedbelow
"game_id": - Additional game number (can be openedas well as the main match. In suchcases, the game_mid will be equal to the main game)
"game_num": - uniquenumber of a game
"game_name": - Name of the additional game
uniq Unique adi, which links matches between the line (pre-match, live and results). This parameter is the same for all match statuses (not started, started, completed). (works in test mode, not in production)
ext_game_id Video output (works in test mode, not in production)
opp_1_id First command
opp_2_id Find the second command
opp_1_icon Find photo or icons of the first command may not match opp_1_id
opp_2_icon Find a photo or icons for the second command may not coincide with opp_2_id
score_extra Show me which game is playing tennis. (A-40)
stat_list_extra So much for the line! And only for the sport - racing. It displays information about the races.
pitch Shows opp_id commands or the player who is serving. relevant for sports that have pitches
game_plan Advanced name for the match. Match of 3 sets, 1st, 2nd to 21 points (3rd to 15 points)


Get the list of match events
.

What are game events. It is what happened in a particular match. A goal is scored, or a card is received, or a substitution is made.

Sample data for some sports:

- Basketball--
- Taiwan Bank +3 points.
- Foul - Yulon Dinos
- Yulon Dinos +2 points.

-- Tennis--
Game 4 (set 1, game 4) was won by Mikhail Malakhovich on stranger's serve 15
Game 3 (set 1, game 3) was won by Mikhail Malakhovich on his serve 30

.

- Volleyball--
Set 2: 19th point Dominican Republic (8:11)
Set 2: 10th point Russia  (3:7)
Seth 1: 6th Dominican Republic & nbsp; (5:1)

Sending request structure:

{HOST_LINE_API}/v1/play/{game_id}/{lang}

Apparent example url:

{HOST_LINE_API}/v1/play/6234545/ru

Get the list of match events


Query data:

Parameter Description
{game_id} Id match for which the list of events is required
{lang} Language in which you want to get data


Data Response Structure:

.
	
	{
    "status." 1,
    "page": "/v1/play."
    "body." [
        {
            "team": "first."
            "time": "83."
            "event." "3 yellow card."
        },
        {
            "team": "second."
            "time": "77."
            "event." "4 goal."
        },
        {
            "team": "first."
            "time": "77."
            "event." "2 yellow card."
        },
        {
            "team": "first."
            "time": "74."
            "event." "10 corner."
        },
        {
            "team": "first."
            "time": "63."
            "event." "3 goal."
        },
        {
            "team": "first."
            "time": "59."
            "event." "9th Corner."
        },
        {
            "team": "first."
            "time": "57."
            "event." "1 yellow card."
        },
        {
            "team": "first."
            "time": "48."
            "event." "8 Corner".
        },
        {
            "team": "game."
            "time": null,
            "event." "2 - 0 account at the end of 1 Time."
        },
        {
            "team": "first."
            "time": "38."
            "event." "7 corner."
        },
        {
            "team": "first."
            "time": "38."
            "event." "6th Corner."
        },
        {
            "team": "first."
            "time": "32."
            "event." "5 corner."
        },
        {
            "team": "first."
            "time": "30."
            "event." "4 corners."
        },
        {
            "team": "first."
            "time": "9."
            "event." "3 corners".
        },
        {
            "team": "first."
            "time": "7."
            "event." "2 goals."
        },
        {
            "team": "first."
            "time": "6."
            "event." "2 corners".
        },
        {
            "team": "first."
            "time": "4."
            "event." "1 goal."
        },
        {
            "team": "first."
            "time": "3."
            "event." "1 corner."
        }
    ]
}

	
Parameter Description
team command that made the event (first - first team, second - second team, game - game in general)
time What minute did the event
event Name of the event that happened