[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"page:en:doc-sport-line-api.html":3},{"id":4,"body":5,"extension":32,"meta":126,"slug":127,"stem":128,"__hash__":129},"content_en\u002Fen\u002Fdoc-sport-line-api.json",{"template":6,"meta":7,"content":22},"docs",{"title":8,"description":9,"keywords":10,"ogTitle":8,"ogDescription":11,"schema":12},"Sports Line API reference — the full integration guide","Explore the full documentation for the Bet in Box sports line API. Learn how to integrate sports event data and manage betting through our API.","API documentation, sports line, API integration, Bet in Box, sports events, betting, API management","Detailed documentation for the sports line API. Includes a full API description, request examples, and a guide for integrating sports event data.",{"@context":13,"@type":14,"name":15,"url":16,"description":17,"inLanguage":18,"publisher":19},"https:\u002F\u002Fschema.org","WebPage","Sports Line API Documentation","https:\u002F\u002Fbetsinbox.com\u002Fdoc-sport-line-api.html","Complete documentation for the Bet in Box sports line API. Includes detailed instructions on integrating sports data and managing bets.","en",{"@type":20,"name":21},"Organization","Bet in Box",{"hero":23,"navLabel":44,"sections":45,"footer":111},{"eyebrow":24,"titleHtml":25,"lead":26,"cta":27,"code":30,"badges":34},"API Documentation","Sports Line API \u003Cspan class=\"hl\">Documentation\u003C\u002Fspan>","Everything you need to integrate the Sports Line: authentication, methods, parameters, ready-made code samples and JSON responses.",{"label":28,"order":29},"Get a key",true,{"title":31,"lang":32,"body":33},"GET \u002Fv1\u002Fstart","json","{\n  \"ok\": true,\n  \"package\": \"STANDARD\",\n  \"limits\": { \"requests\": 1000000, \"rps\": 40 },\n  \"sports\": 214,\n  \"languages\": [\"en\", \"ru\", \"ua\", \"es\"]\n}",[35,37,39,42],{"label":36},"REST over HTTPS",{"label":38},"JSON only",{"label":40,"tone":41},"Package header auth","lime",{"label":43},"api.sportapi.net","On this page",[46,50,54,58,80,84,89,95,101,105],{"id":47,"title":48,"html":49},"start","Where to start?","\u003Cp>Welcome to our API system! By following these simple steps, you will quickly get started with our API and integrate sports data into your system.\u003C\u002Fp>\u003Col>\u003Cli>\u003Cp>\u003Cstrong>Get your API key to integrate the data\u003C\u002Fstrong>\u003Cbr>Contact technical support, and you will be provided with a unique API key and domain address for subsequent requests. This key is necessary for authorizing all requests to our API.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>Familiarize yourself with the documentation\u003C\u002Fstrong>\u003Cbr>Once you have received the key, you can proceed to the API documentation and explore the available methods, request examples, and responses. This will help you understand how to integrate sports data into your system.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>Make your first request\u003C\u002Fstrong>\u003Cbr>Using your API key, make your first request to the API. The documentation section contains examples of requests and responses for various types of sports data.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>Start integration\u003C\u002Fstrong>\u003Cbr>After successfully completing the test request, you can begin integrating the data into your project. Our API provides flexible tools for working with different types of sports and events.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>Get support\u003C\u002Fstrong>\u003Cbr>If you have any questions, you can always contact our technical support or use the FAQ section to resolve common issues.\u003C\u002Fp>\u003C\u002Fli>\u003C\u002Fol>",{"id":51,"title":52,"html":53},"methods","API Methods","\u003Cp>The API for the sports line offers a limited set of methods that allow you to retrieve various sports data. Below is a list of all available methods, each returning a specific set of information for performing certain tasks. You can select the required method depending on your needs. In addition to each method, parameters can be used to conveniently filter and customize the retrieved data. A detailed description of the parameters is provided below.\u003C\u002Fp>\u003Cul>\u003Cli>\u003Ccode>menu\u003C\u002Fcode> The method returns the structure of the sports event menu, including sports types, countries, and championships.\u003C\u002Fli>\u003Cli>\u003Ccode>events\u003C\u002Fcode> The method returns a list of matches with a brief set of odds available for betting.\u003C\u002Fli>\u003Cli>\u003Ccode>event\u003C\u002Fcode> The method returns detailed information about a specific sports event by its identifier and a complete set of bets, odds, and outcomes for that match.\u003C\u002Fli>\u003Cli>\u003Ccode>topmatches\u003C\u002Fcode> The method returns a list of top matches that are most popular among users or have high betting activity.\u003C\u002Fli>\u003Cli>\u003Ccode>search\u003C\u002Fcode> The method allows searching for sports events by keywords such as team names.\u003C\u002Fli>\u003C\u002Ful>",{"id":55,"title":56,"html":57},"params","API Parameters","\u003Cp>To work with our API, you can use various parameters that will help you customize requests and retrieve accurate data that meets your requirements. Parameters allow you to filter data by sport, country, tournaments, and adjust the format of returned events. Below is a list of available parameters and their descriptions to help you flexibly manage requests to our API.\u003C\u002Fp>\u003Cul>\u003Cli>\u003Ccode>API-URL-LINE\u003C\u002Fcode> The URL of the host from which sports line data is requested. In other words, this is the URL where you will send requests to retrieve sports data.\u003C\u002Fli>\u003Cli>\u003Ccode>API-KEY\u003C\u002Fcode> Personal access key \u003Cstrong>PersonalKey\u003C\u002Fstrong>, which defines your service package. This key is sent in the request headers \u003Cstrong>headers\u003C\u002Fstrong> with each request.\u003C\u002Fli>\u003Cli>\u003Ccode>METHODS-API\u003C\u002Fcode> Names of the methods for retrieving data. All methods are described in the previous section.\u003C\u002Fli>\u003Cli>\u003Ccode>TYPE\u003C\u002Fcode> The type of sports line data. It can take values of \u003Cstrong>live\u003C\u002Fstrong> (for real-time data) or \u003Cstrong>line\u003C\u002Fstrong> (for pre-match line data).\u003C\u002Fli>\u003Cli>\u003Ccode>LANG\u003C\u002Fcode> The language in which sports line data will be provided. Supported languages depend on your package.\u003C\u002Fli>\u003Cli>\u003Ccode>SPORT-ID\u003C\u002Fcode> The identifier of the sport.\u003C\u002Fli>\u003Cli>\u003Ccode>COUNTRY-ID\u003C\u002Fcode> The identifier of the country.\u003C\u002Fli>\u003Cli>\u003Ccode>CHAMPIONSHIP-ID\u003C\u002Fcode> The identifier of the tournament.\u003C\u002Fli>\u003Cli>\u003Ccode>MATCH-ID\u003C\u002Fcode> The identifier of the match.\u003C\u002Fli>\u003Cli>\u003Ccode>KG\u003C\u002Fcode> The way events and odds are displayed. Two options are available: \u003Cstrong>sub\u003C\u002Fstrong> - matches are grouped by championships; \u003Cstrong>list\u003C\u002Fstrong> - matches are displayed as a regular list without grouping.\u003C\u002Fli>\u003C\u002Ful>\u003Cp>\u003Cstrong>Note:\u003C\u002Fstrong> In a \u003Cstrong>specific match\u003C\u002Fstrong>, grouping is applied not to the matches but to the outcomes and bets. Thus, you get a list of odds that can be displayed either as a simple list or conveniently grouped by logical outcome categories.\u003C\u002Fp>",{"id":59,"title":60,"html":61,"codeTabs":62,"codeTitle":79},"example","Example request","\u003Cp>This section provides an example of a request to our API for obtaining sports data. The example demonstrates how to use one of the API methods with your unique parameters, such as the API key. This will help you better understand how to correctly format requests and retrieve the necessary information.\u003C\u002Fp>\u003Ch3>Example request for retrieving sports events\u003C\u002Fh3>\u003Cp>The data in the example is fictitious. Replace it with \u003Cstrong>real data\u003C\u002Fstrong> that you received from technical support.\u003C\u002Fp>\u003Cp>\u003Cstrong>GET\u003C\u002Fstrong>\u003C\u002Fp>\u003Cp>Schema: \u003Ccode>[API-URL-LINE] \u002Fv1\u002F [METHODS-API] \u002F [TYPE] \u002F [LANG]\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Request: \u003Ccode>HTTPS:\u002F\u002Fexample-domain-demo.com\u002Fv1\u002Fmenu\u002Flive\u002Fen\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Headers: \u003Ccode>'Package': '0145-3455-1298-2978-1100'\u003C\u002Fcode>\u003C\u002Fp>",[63,67,71,75],{"label":64,"lang":65,"body":66},"Python","python","import requests\n\nurl = \"https:\u002F\u002Fapi.sportapi.net\u002Fv1\u002Fevents\u002F21\u002F101\u002Fprematch\u002Fen\"\nheaders = {\"Package\": \"YOUR_API_KEY\"}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())",{"label":68,"lang":69,"body":70},"PHP","php","\u003C?php\n$ch = curl_init(\"https:\u002F\u002Fapi.sportapi.net\u002Fv1\u002Fevents\u002F21\u002F101\u002Fprematch\u002Fen\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, [\"Package: YOUR_API_KEY\"]);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n$response = curl_exec($ch);\ncurl_close($ch);\necho $response;",{"label":72,"lang":73,"body":74},"JavaScript","js","const res = await fetch(\n  \"https:\u002F\u002Fapi.sportapi.net\u002Fv1\u002Fevents\u002F21\u002F101\u002Fprematch\u002Fen\",\n  { headers: { Package: \"YOUR_API_KEY\" } }\n);\nconst data = await res.json();\nconsole.log(data);",{"label":76,"lang":77,"body":78},"Java","java","HttpRequest request = HttpRequest.newBuilder()\n    .uri(URI.create(\"https:\u002F\u002Fapi.sportapi.net\u002Fv1\u002Fevents\u002F21\u002F101\u002Fprematch\u002Fen\"))\n    .header(\"Package\", \"YOUR_API_KEY\")\n    .GET()\n    .build();\n\nHttpResponse\u003CString> response = HttpClient.newHttpClient()\n    .send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());","GET \u002Fv1\u002Fmenu\u002Flive\u002Fen",{"id":81,"title":82,"html":83},"postman","Try in Postman","\u003Cp>To simplify the integration of our API, we have prepared a collection of requests for Postman. You can download the file, import it into Postman, and start working with our API right away without the need to manually configure the requests.\u003C\u002Fp>\u003Cp>\u003Cstrong>Steps to start in Postman:\u003C\u002Fstrong>\u003C\u002Fp>\u003Col>\u003Cli>\u003Cp>\u003Cstrong>Download the Postman collection\u003C\u002Fstrong> and import it into Postman.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>Import the file into Postman:\u003C\u002Fstrong>\u003C\u002Fp>\u003Cul>\u003Cli>Open Postman.\u003C\u002Fli>\u003Cli>In the top menu, select \u003Cstrong>File\u003C\u002Fstrong> -&gt; \u003Cstrong>Import\u003C\u002Fstrong>.\u003C\u002Fli>\u003Cli>Upload the downloaded file.\u003C\u002Fli>\u003C\u002Ful>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>Configure variables:\u003C\u002Fstrong>\u003Cbr>After importing the collection, you will need to add your API keys and other parameters. This can be done in the \u003Cstrong>Variables\u003C\u002Fstrong> section of the collection or added manually to each request.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>Run the requests:\u003C\u002Fstrong>\u003Cbr>You can now start sending requests and receiving data from our API right away.\u003C\u002Fp>\u003C\u002Fli>\u003C\u002Fol>\u003Cp class=\"my-6\">\u003Cimg loading=\"lazy\" src=\"\u002Fassets\u002Fimg\u002Fnormal\u002Fpostman_example_sportapi.png\" alt=\"Example of requesting sports data via Postman\" class=\"w-full rounded-xl border border-border shadow-md\" \u002F>\u003C\u002Fp>",{"id":85,"title":86,"html":87,"json":88,"jsonTitle":79},"catalog","Fetching sports, countries and championships","\u003Cp>You can retrieve data about sports, countries, and championships with a single request. To do this, simply change the data type in the request, depending on whether you need live matches or upcoming events.\u003C\u002Fp>\u003Cp>The response will provide all the necessary information:\u003C\u002Fp>\u003Cul>\u003Cli>\u003Cstrong>Sport ID\u003C\u002Fstrong> and its name.\u003C\u002Fli>\u003Cli>\u003Cstrong>Country ID\u003C\u002Fstrong> and its name.\u003C\u002Fli>\u003Cli>\u003Cstrong>Championship ID\u003C\u002Fstrong> and its name.\u003C\u002Fli>\u003C\u002Ful>\u003Cp>All data is grouped into a convenient object that can be easily integrated into your system, allowing you to display the information in any format.\u003C\u002Fp>\u003Cp>To get this data, you need to send a request to the \u003Ccode>menu\u003C\u002Fcode> method and specify the following parameters:\u003C\u002Fp>\u003Cul>\u003Cli>\u003Cstrong>Match type\u003C\u002Fstrong>: indicate whether you need data on live matches or upcoming events.\u003C\u002Fli>\u003Cli>\u003Cstrong>Data language\u003C\u002Fstrong>: choose the language in which you want to receive the data.\u003C\u002Fli>\u003C\u002Ful>\u003Cp>These parameters are required for submission. Don't forget to also pass your \u003Cstrong>API key\u003C\u002Fstrong> in the request header (\u003Cstrong>Headers\u003C\u002Fstrong>).\u003C\u002Fp>\u003Ch3>Example request\u003C\u002Fh3>\u003Cp>Send this request to get the menu, which includes all the necessary data to then retrieve matches and outcomes:\u003C\u002Fp>\u003Cp>\u003Cstrong>Note:\u003C\u002Fstrong> Line requests are recommended to be sent at intervals of at least 40 seconds. Live requests — at least 20 seconds. The data isn't updated very often, so this interval is enough to get up-to-date information.\u003C\u002Fp>\u003Cp>\u003Cstrong>GET\u003C\u002Fstrong> &nbsp; Schema: \u003Ccode>[API-URL-LINE] \u002Fv1\u002F [METHODS-API] \u002F [TYPE] \u002F [LANG]\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Request: \u003Ccode>HTTPS:\u002F\u002Fexample-domain-demo.com\u002Fv1\u002Fmenu\u002Flive\u002Fen\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Headers: \u003Ccode>'Package': '0145-3455-1298-2978-1100'\u003C\u002Fcode>\u003C\u002Fp>\u003Ch3>Field description\u003C\u002Fh3>\u003Cul>\u003Cli>\u003Ccode>id\u003C\u002Fcode> A unique identifier for the item (e.g., sport, country, or championship).\u003C\u002Fli>\u003Cli>\u003Ccode>name\u003C\u002Fcode> The name of the item (e.g., \u003Cstrong>Football\u003C\u002Fstrong> for a sport, \u003Cstrong>Europe\u003C\u002Fstrong> for a country, or \u003Cstrong>UEFA Champions League\u003C\u002Fstrong> for a championship).\u003C\u002Fli>\u003Cli>\u003Ccode>counter\u003C\u002Fcode> The number of available events or matches for this item.\u003C\u002Fli>\u003Cli>\u003Ccode>sub\u003C\u002Fcode> An array containing nested items such as countries or championships for the selected sport. This allows you to get a hierarchy of data — from the sport to specific tournaments.\u003C\u002Fli>\u003C\u002Ful>\u003Ch3>Example of structure parsing\u003C\u002Fh3>\u003Cp>In this example:\u003C\u002Fp>\u003Cul>\u003Cli>\u003Cstrong>Football\u003C\u002Fstrong> — a sport with ID \u003Cstrong>1\u003C\u002Fstrong> and 126 available events.\u003C\u002Fli>\u003Cli>Within the sport are countries such as \u003Cstrong>Europe\u003C\u002Fstrong> (ID \u003Cstrong>12\u003C\u002Fstrong>), which contains 10 matches.\u003C\u002Fli>\u003Cli>Within the country \u003Cstrong>Europe\u003C\u002Fstrong> are several championships, such as the \u003Cstrong>UEFA Champions League\u003C\u002Fstrong> (ID \u003Cstrong>118587\u003C\u002Fstrong>), where 3 matches are available.\u003C\u002Fli>\u003C\u002Ful>","{\n    \"status\":1,\n    \"body\":[\n        {\n            \"id\":1,\n            \"name\":\"Football\",\n            \"counter\":126,\n            \"sub\":[\n                {\n                \"id\":12,\n                \"name\":\"Europe\",\n                \"sport_id\":1,\n                \"counter\":10,\n                \"sub\":[\n                    {\n                        \"id\":118587,\n                        \"name\":\"UEFA Champions League\",\n                        \"sport_id\":1,\n                        \"country_id\":12,\n                        \"counter\":3\n                    },\n                    {\n                        \"id\":218103,\n                        \"name\":\"UEFA Champions League. Winner\",\n                        \"sport_id\":1,\n                        \"country_id\":12,\n                        \"counter\":1\n                    },\n                    {\n                        \"id\":16,\n                        \"name\":\"Italy\",\n                        \"sport_id\":1,\n                        \"counter\":1,\n                        \"sub\":[\n                            {\n                            \"id\":6356,\n                            \"name\":\"Italy. Serie C. Group A\",\n                            \"sport_id\":1,\n                            \"country_id\":16,\n                            \"counter\":1\n                            }\n                        ]\n                    }\n                ]\n                }\n            ]\n        },\n        {\n            \"id\":2,\n            \"name\":\"Tennis\",\n            \"counter\":40,\n            \"sub\":[\n                {\n                \"id\":14,\n                \"name\":\"Portugal\",\n                \"sport_id\":2,\n                \"counter\":1,\n                \"sub\":[\n                    {\n                        \"id\":8031,\n                        \"name\":\"Challenger. Braga\",\n                        \"sport_id\":2,\n                        \"country_id\":14,\n                        \"counter\":1\n                    }\n                ]\n                }\n            ]\n        }\n    ]\n}",{"id":90,"title":91,"html":92,"json":93,"jsonTitle":94},"matches","List of matches","\u003Cp>You can retrieve data about a list of matches. It is important to note that you must specify the \u003Cstrong>Sport ID\u003C\u002Fstrong> — it's not possible to get all matches for all sports. You can also choose whether you need live matches or upcoming events, and specify additional parameters for filtering.\u003C\u002Fp>\u003Cp>The response will provide all the necessary information about the matches for the sport you specified.\u003C\u002Fp>\u003Cp>All data is grouped into a convenient object that can be easily integrated into your system and allows you to display the information in any format.\u003C\u002Fp>\u003Cp>To get the list of matches, you need to send a request to the \u003Ccode>events\u003C\u002Fcode> method and specify the following parameters:\u003C\u002Fp>\u003Cul>\u003Cli>\u003Cstrong>Sport ID\u003C\u002Fstrong>: a required parameter.\u003C\u002Fli>\u003Cli>\u003Cstrong>Championship ID\u003C\u002Fstrong>: if you are interested in matches from a specific championship. If you need all matches, specify \"0\".\u003C\u002Fli>\u003Cli>\u003Cstrong>Response grouping\u003C\u002Fstrong>: specify how the data should be grouped.\u003C\u002Fli>\u003Cli>\u003Cstrong>Match type\u003C\u002Fstrong>: choose whether you need data for live matches or upcoming events.\u003C\u002Fli>\u003Cli>\u003Cstrong>Data language\u003C\u002Fstrong>: choose the language in which you want to receive the data.\u003C\u002Fli>\u003C\u002Ful>\u003Cp>These parameters are required for submission. Don't forget to also pass your \u003Cstrong>API key\u003C\u002Fstrong> in the request header (Headers).\u003C\u002Fp>\u003Ch3>Example request\u003C\u002Fh3>\u003Cp>Send this request to get the menu, which includes all the necessary data to then retrieve matches and outcomes:\u003C\u002Fp>\u003Cp>\u003Cstrong>Note:\u003C\u002Fstrong> Line requests are recommended to be sent at intervals of at least 20 seconds. Live requests — at least 5 seconds. This interval will be sufficient for up-to-date information.\u003C\u002Fp>\u003Cp>\u003Cstrong>GET\u003C\u002Fstrong> &nbsp; Schema: \u003Ccode>[API-URL-LINE] \u002Fv1\u002F events \u002F [SPORT-ID] \u002F [CHAMPIONSHIP-ID] \u002F [KG] \u002F 50 \u002F [TYPE] \u002F [LANG]\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Request: \u003Ccode>HTTPS:\u002F\u002Fexample-domain-demo.com\u002Fv1\u002Fevents\u002F1\u002F0\u002Flist\u002F50\u002Flive\u002Fen\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Headers: \u003Ccode>'Package': '0145-3455-1298-2978-1100'\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>The response contains data about the matches, including information about teams, tournaments, and odds. The key fields that are returned in the response object are described below. Note the difference in the data returned depending on the type \u003Cstrong>[KG]\u003C\u002Fstrong> (the \u003Ccode>json\u003C\u002Fcode> sample below shows \u003Cstrong>[KG] = list\u003C\u002Fstrong> first, then \u003Cstrong>[KG] = sub\u003C\u002Fstrong>).\u003C\u002Fp>\u003Ch3>Description of fields\u003C\u002Fh3>\u003Cul>\u003Cli>\u003Ccode>status\u003C\u002Fcode> Request status. If \u003Cstrong>1\u003C\u002Fstrong>, the request was successfully executed.\u003C\u002Fli>\u003Cli>\u003Ccode>sgame_id\u003C\u002Fcode> Unique identifier of the match in the system.\u003C\u002Fli>\u003Cli>\u003Ccode>stat_id\u003C\u002Fcode> Identifier of the statistics for the match.\u003C\u002Fli>\u003Cli>\u003Ccode>game_id\u003C\u002Fcode> Internal match identifier.\u003C\u002Fli>\u003Cli>\u003Ccode>game_mid\u003C\u002Fcode> Identifier of the sub-match.\u003C\u002Fli>\u003Cli>\u003Ccode>game_dop_name\u003C\u002Fcode> Additional information about the match (for example, \"Extra-Time\").\u003C\u002Fli>\u003Cli>\u003Ccode>game_start\u003C\u002Fcode> Match start time in Unix Timestamp format.\u003C\u002Fli>\u003Cli>\u003Ccode>game_oc_counter\u003C\u002Fcode> Number of available markets for betting on this match.\u003C\u002Fli>\u003Cli>\u003Ccode>country_id\u003C\u002Fcode> Identifier of the country where the match is held.\u003C\u002Fli>\u003Cli>\u003Ccode>country_name\u003C\u002Fcode> Name of the country.\u003C\u002Fli>\u003Cli>\u003Ccode>tournament_id\u003C\u002Fcode> Identifier of the tournament.\u003C\u002Fli>\u003Cli>\u003Ccode>tournament_name\u003C\u002Fcode> Name of the tournament.\u003C\u002Fli>\u003Cli>\u003Ccode>opp_1_name\u003C\u002Fcode> Name of the first team.\u003C\u002Fli>\u003Cli>\u003Ccode>opp_2_name\u003C\u002Fcode> Name of the second team.\u003C\u002Fli>\u003Cli>\u003Ccode>opp_1_id\u003C\u002Fcode> Identifier of the first team.\u003C\u002Fli>\u003Cli>\u003Ccode>opp_2_id\u003C\u002Fcode> Identifier of the second team.\u003C\u002Fli>\u003Cli>\u003Ccode>opp_1_icon\u003C\u002Fcode> Icon of the first team.\u003C\u002Fli>\u003Cli>\u003Ccode>opp_2_icon\u003C\u002Fcode> Icon of the second team.\u003C\u002Fli>\u003Cli>\u003Ccode>sport_name\u003C\u002Fcode> Name of the sport (for example, \"Football\").\u003C\u002Fli>\u003Cli>\u003Ccode>sport_id\u003C\u002Fcode> Identifier of the sport.\u003C\u002Fli>\u003Cli>\u003Ccode>score_full\u003C\u002Fcode> Full match score.\u003C\u002Fli>\u003Cli>\u003Ccode>score_extra\u003C\u002Fcode> Game score in tennis.\u003C\u002Fli>\u003Cli>\u003Ccode>score_period\u003C\u002Fcode> Score for a specific period.\u003C\u002Fli>\u003Cli>\u003Ccode>period_name\u003C\u002Fcode> Name of the match period (for example, \"2 Half\").\u003C\u002Fli>\u003Cli>\u003Ccode>timer\u003C\u002Fcode> Timer showing the current match time in seconds.\u003C\u002Fli>\u003Cli>\u003Ccode>pitch\u003C\u002Fcode> ID of the player serving (for sports with serving players).\u003C\u002Fli>\u003Cli>\u003Ccode>finale\u003C\u002Fcode> Boolean value indicating if the match is finished.\u003C\u002Fli>\u003C\u002Ful>\u003Ch3>Betting market information\u003C\u002Fh3>\u003Cul>\u003Cli>\u003Ccode>oc_group_name\u003C\u002Fcode> Name of the market group (for example, \"Double Chance\").\u003C\u002Fli>\u003Cli>\u003Ccode>oc_name\u003C\u002Fcode> Name of the specific outcome (for example, \"1X\").\u003C\u002Fli>\u003Cli>\u003Ccode>oc_rate\u003C\u002Fcode> Odds for this outcome.\u003C\u002Fli>\u003Cli>\u003Ccode>oc_pointer\u003C\u002Fcode> Unique identifier of the outcome.\u003C\u002Fli>\u003Cli>\u003Ccode>oc_block\u003C\u002Fcode> Boolean value indicating if the outcome is blocked (if \u003Cstrong>true\u003C\u002Fstrong> — the outcome is blocked and not available for betting).\u003C\u002Fli>\u003C\u002Ful>","\u002F\u002F [KG] = list\n{\n    \"status\": 1,\n    \"body\": [\n        {\n            \"sgame_id\": \"66f8a2d60d8c0bfbf1af3f93\",\n            \"stat_id\": \"66c914530d8c0bfbf15f5682\",\n            \"game_id\": 562898620,\n            \"game_mid\": 562898620,\n            \"game_dop_name\": \"Extra-Time\",\n            \"game_start\": 1707807400,\n            \"game_oc_counter\": 38,\n            \"country_id\": 231,\n            \"country_name\": \"England\",\n            \"tournament_id\": 108319,\n            \"tournament_name\": \"England. FA Cup\",\n            \"opp_1_name\": \"King's Lynn Town\",\n            \"opp_2_name\": \"Worksop Town\",\n            \"opp_1_id\": 40547,\n            \"opp_2_id\": 40549,\n            \"opp_1_icon\": \"400098.png\",\n            \"opp_2_icon\": \"1201c9f.png\",\n            \"sport_name\": \"Football\",\n            \"sport_id\": 1,\n            \"score_full\": \"0:0\",\n            \"score_extra\": \"0:0\",\n            \"score_period\": \"0:0\",\n            \"period_name\": \"3 Half\",\n            \"timer\": 6511,\n            \"finale\": false,\n            \"pitch\": null,\n            \"game_oc_list\": [\n                {\n                    \"oc_group_name\": \"Double Chance\",\n                    \"oc_name\": \"1X\",\n                    \"oc_rate\": 1.136,\n                    \"oc_pointer\": \"562898620|8|4|0\",\n                    \"oc_block\": false\n                }\n            ]\n        }\n    ]\n}\n\n\u002F\u002F [KG] = sub\n{\n    \"status\": 1,\n    \"body\": [\n        {\n            \"tournament_id\": 8147,\n            \"tournament_name\": \"Thailand. League Cup\",\n            \"events_list\": [\n                {\n                    \"sgame_id\": 66f8a2d60d8c0bfbf1af3f93,\n                    \"stat_id\": 3788a2d60d8c0bfbf1af3f93,\n                    \"game_id\": 562987092,\n                    \"game_mid\": 562987092,\n                    \"game_dop_name\": \"\",\n                    \"game_start\": 1707856000,\n                    \"game_oc_counter\": 183,\n                    \"country_id\": 180,\n                    \"country_name\": \"Thailand\",\n                    \"tournament_id\": 8147,\n                    \"tournament_name\": \"Thailand. League Cup\",\n                    \"opp_1_name\": \"ACDC\",\n                    \"opp_2_name\": \"Pattaya United\",\n                    \"opp_1_id\": 505873,\n                    \"opp_2_id\": 4978,\n                    \"opp_1_icon\": \"729aadb95ad1df.png\",\n                    \"opp_2_icon\": \"4978.png\",\n                    \"sport_name\": \"Football\",\n                    \"sport_id\": 1,\n                    \"score_full\": \"1:1\",\n                    \"score_extra\": \"0:0\",\n                    \"score_period\": \"1:1;0:0\",\n                    \"period_name\": \"2 Half\",\n                    \"timer\": 4451,\n                    \"pitch\": null,\n                    \"finale\": false,\n                    \"game_oc_list\": [\n                        {\n                            \"oc_group_name\": \"1X2\",\n                            \"oc_name\": \"W1\",\n                            \"oc_rate\": 8.19,\n                            \"oc_pointer\": \"562987092|1|1|0\",\n                            \"oc_block\": false\n                        },\n                        {\n                            \"oc_group_name\": \"1X2\",\n                            \"oc_name\": \"X\",\n                            \"oc_rate\": 1.82,\n                            \"oc_pointer\": \"562987092|1|2|0\",\n                            \"oc_block\": false\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}","GET \u002Fv1\u002Fevents\u002F1\u002F0\u002Flist\u002F50\u002Flive\u002Fen",{"id":96,"title":97,"html":98,"json":99,"jsonTitle":100},"match","Specific match","\u003Cp>The method for obtaining detailed information about a specific match. This method allows you to request information about a specific match, including teams, results, the current state of the match, and available bets. It is used to obtain up-to-date data on a specific game.\u003C\u002Fp>\u003Ch3>Example request\u003C\u002Fh3>\u003Cp>\u003Cstrong>Note:\u003C\u002Fstrong> Line requests are recommended to be sent at intervals of at least 20 seconds. Live requests — at least 5 seconds. This interval will be sufficient for up-to-date information.\u003C\u002Fp>\u003Cp>\u003Cstrong>GET\u003C\u002Fstrong> &nbsp; Schema: \u003Ccode>[API-URL-LINE] \u002Fv1\u002F event \u002F [GAME-ID] \u002F [KG] \u002F [TYPE] \u002F [LANG]\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Request: \u003Ccode>HTTPS:\u002F\u002Fexample-domain-demo.com\u002Fv1\u002Fevent\u002F45566556\u002Fsub\u002Flive\u002Fen\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Headers: \u003Ccode>'Package': '0145-3455-1298-2978-1100'\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>The response contains data about one specific match, including information on all available outcomes and odds for this match. In a specific match, you can get absolutely all the outcomes and odds for the match. Below are the key fields that are returned in the response object. Note the difference in data returned depending on the type \u003Cstrong>[KG]\u003C\u002Fstrong>. These now affect the grouping of bets and odds for betting.\u003C\u002Fp>\u003Cp>The response includes only those fields that differ from the match list request. Here is their description:\u003C\u002Fp>\u003Cul>\u003Cli>\u003Cp>\u003Ccode>stat_list\u003C\u002Fcode> An array containing live statistics, such as corners, attacks, cards, dangerous attacks, and other indicators.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Ccode>sub_games\u003C\u002Fcode> A list of identifiers for additional betting markets. For example, you can request odds and outcomes only for the second half or corner kicks.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Ccode>game_oc_list\u003C\u002Fcode> This list may contain either all outcomes and odds in one array or be grouped by categories for easier integration into your system.\u003C\u002Fp>\u003C\u002Fli>\u003C\u002Ful>","{\n    \"status\": 1,\n    \"body\": {\n        \"game_oc_list\": [\n            {\n                \"group_id\": 1,\n                \"group_name\": \"1X2\",\n                \"columns\": 3,\n                \"oc_list\": [\n                    {\n                        \"oc_group_name\": \"1X2\",\n                        \"oc_name\": \"W1\",\n                        \"oc_rate\": 1.245,\n                        \"oc_size\": 0,\n                        \"oc_pointer\": \"563034215|1|1|0\",\n                        \"oc_block\": false\n                    },\n                    {\n                        \"oc_group_name\": \"1X2\",\n                        \"oc_name\": \"X\",\n                        \"oc_rate\": 5.48,\n                        \"oc_size\": 0,\n                        \"oc_pointer\": \"563034215|1|2|0\",\n                        \"oc_block\": false\n                    },\n                    {\n                        \"oc_group_name\": \"1X2\",\n                        \"oc_name\": \"W2\",\n                        \"oc_rate\": 7.97,\n                        \"oc_size\": 0,\n                        \"oc_pointer\": \"563034215|1|3|0\",\n                        \"oc_block\": false\n                    }\n                ]\n            },\n            {\n                \"group_id\": 2,\n                \"group_name\": \"Handicap\",\n                \"columns\": 2,\n                \"oc_list\": [\n                    {\n                        \"oc_group_name\": \"Handicap\",\n                        \"oc_name\": \"1 (-1.5)\",\n                        \"oc_rate\": 1.904,\n                        \"oc_size\": -1.5,\n                        \"oc_pointer\": \"563034215|2|7|-1.5\",\n                        \"oc_block\": false\n                    },\n                    {\n                        \"oc_group_name\": \"Handicap\",\n                        \"oc_name\": \"1 (0)\",\n                        \"oc_rate\": 1.06,\n                        \"oc_size\": 0,\n                        \"oc_pointer\": \"563034215|2|7|0\",\n                        \"oc_block\": false\n                    },\n                    {\n                        \"oc_group_name\": \"Handicap\",\n                        \"oc_name\": \"2 (0)\",\n                        \"oc_rate\": 6.02,\n                        \"oc_size\": 0,\n                        \"oc_pointer\": \"563034215|2|8|0\",\n                        \"oc_block\": false\n                    },\n                    {\n                        \"oc_group_name\": \"Handicap\",\n                        \"oc_name\": \"2 (+1.5)\",\n                        \"oc_rate\": 1.76,\n                        \"oc_size\": 1.5,\n                        \"oc_pointer\": \"563034215|2|8|1.5\",\n                        \"oc_block\": false\n                    }\n                ]\n            }\n        ],\n        \"stat_list\": [\n            {\n                \"id\": 45,\n                \"name\": \"Attacks\",\n                \"opp1\": \"22\",\n                \"opp2\": \"28\"\n            },\n            {\n                \"id\": 58,\n                \"name\": \"Dangerous attacks\",\n                \"opp1\": \"13\",\n                \"opp2\": \"25\"\n            },\n            {\n                \"id\": 29,\n                \"name\": \"Possession %\",\n                \"opp1\": \"45\",\n                \"opp2\": \"55\"\n            },\n            {\n                \"id\": 59,\n                \"name\": \"Shots on target\",\n                \"opp1\": \"3\",\n                \"opp2\": \"2\"\n            },\n            {\n                \"id\": 60,\n                \"name\": \"Shots off target\",\n                \"opp1\": \"2\",\n                \"opp2\": \"2\"\n            },\n            {\n                \"id\": 26,\n                \"name\": \"Yellow cards\",\n                \"opp1\": \"0\",\n                \"opp2\": \"0\"\n            },\n            {\n                \"id\": 70,\n                \"name\": \"Corner\",\n                \"opp1\": \"0\",\n                \"opp2\": \"3\"\n            },\n            {\n                \"id\": 71,\n                \"name\": \"Red card\",\n                \"opp1\": \"0\",\n                \"opp2\": \"0\"\n            },\n            {\n                \"id\": 72,\n                \"name\": \"Penalty\",\n                \"opp1\": \"0\",\n                \"opp2\": \"0\"\n            }\n        ],\n        \"sub_games\": [\n            {\n                \"game_id\": 563034216,\n                \"game_num\": 48560,\n                \"game_name\": \"1st half\"\n            },\n            {\n                \"game_id\": 563034217,\n                \"game_num\": 48561,\n                \"game_name\": \"2nd half\"\n            },\n            {\n                \"game_id\": 563034286,\n                \"game_num\": 42676,\n                \"game_name\": \"Result + Total\"\n            }\n        ]\n    }\n}","GET \u002Fv1\u002Fevent\u002F45566556\u002Fsub\u002Flive\u002Fen",{"id":102,"title":103,"html":104},"top","Top matches","\u003Cp>Send this request to get top matches. The request returns a list of all top matches across all sports.\u003C\u002Fp>\u003Ch3>Example request\u003C\u002Fh3>\u003Cp>\u003Cstrong>Note:\u003C\u002Fstrong> Line requests are recommended to be sent at intervals of at least 20 seconds. Live requests — at least 5 seconds. This interval will be sufficient for up-to-date information.\u003C\u002Fp>\u003Cp>\u003Cstrong>GET\u003C\u002Fstrong> &nbsp; Schema: \u003Ccode>[API-URL-LINE] \u002Fv1\u002F topmatches \u002F [TYPE] \u002F [LANG]\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Request: \u003Ccode>HTTPS:\u002F\u002Fexample-domain-demo.com\u002Fv1\u002Ftopmatches\u002Flive\u002Fen\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Headers: \u003Ccode>'Package': '0145-3455-1298-2978-1100'\u003C\u002Fcode>\u003C\u002Fp>",{"id":106,"title":107,"html":108,"json":109,"jsonTitle":110},"search","Match search","\u003Cp>If you need to search the site by teams, you can use the search request.\u003C\u002Fp>\u003Ch3>Example request\u003C\u002Fh3>\u003Cp>\u003Cstrong>GET\u003C\u002Fstrong> &nbsp; Schema: \u003Ccode>[API-URL-LINE] \u002Fv1\u002F search \u002F [TYPE] \u002F [LANG] \u002F [COMAND-NAME]\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Request: \u003Ccode>HTTPS:\u002F\u002Fexample-domain-demo.com\u002Fv1\u002Fsearch\u002Flive\u002Fen\u002Frealmadrid\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Headers: \u003Ccode>'Package': '0145-3455-1298-2978-1100'\u003C\u002Fcode>\u003C\u002Fp>\u003Cp>Integration with our sports line API provides access to up-to-date information on sports, matches, tournaments, and odds. We strive to make the integration process as simple and convenient as possible by providing detailed documentation and request examples. If you have any questions or need help, our support team is always ready to assist you. Use the capabilities of the API to create effective solutions for your business.\u003C\u002Fp>","{\n    \"status\": 1,\n    \"page\": \"\u002Fv1\u002Fevents\",\n    \"body\": [\n        {\n            \"game_id\": 563038643,\n            \"dtype\": \"live\",\n            \"opp1\": \"Real Madrid (Kimmich_8143)\",\n            \"opp2\": \"Bayern Munich (Mata_8254)\",\n            \"champname\": \"FIFA 24. Cyber League\",\n            \"sportname\": \"Football\",\n            \"gamestart\": 1707871900\n        },\n        {\n            \"game_id\": 563043348,\n            \"dtype\": \"live\",\n            \"opp1\": \"Lille OSC U19\",\n            \"opp2\": \"Real Madrid U19\",\n            \"champname\": \"UEFA Youth League\",\n            \"sportname\": \"Football\",\n            \"gamestart\": 1707874000\n        },\n        {\n            \"game_id\": 563046811,\n            \"dtype\": \"live\",\n            \"opp1\": \"Real Madrid (Mevis)\",\n            \"opp2\": \"Chelsea (Mick)\",\n            \"champname\": \"FIFA 23. Volta daily league\",\n            \"sportname\": \"Football\",\n            \"gamestart\": 1707874485\n        },\n        {\n            \"game_id\": 563043227,\n            \"dtype\": \"live\",\n            \"opp1\": \"Real Madrid\",\n            \"opp2\": \"Bayern\",\n            \"champname\": \"FIFA18. Penalty\",\n            \"sportname\": \"FIFA\",\n            \"gamestart\": 1707874900\n        }\n    ]\n}","GET \u002Fv1\u002Fsearch\u002Flive\u002Fen\u002Frealmadrid",{"title":112,"image":113,"items":116},"Looking to connect another product over the API?",{"src":114,"alt":115},"\u002Fassets\u002Fimg\u002Fnormal\u002Fchoose_4.jpg","Choose",[117,120,123],{"label":118,"href":119},"Match Results API","\u002Fsport-rezult-api.html",{"label":121,"href":122},"Outcomes & Odds API","\u002Fsport-events-api.html",{"label":124,"href":125},"Bets & Coupons docs","\u002Fdoc-sport-events-api.html",{},"doc-sport-line-api.html","en\u002Fdoc-sport-line-api","qW2CzdWLMEKRVFZK2BZJIt1nsWUZieu9ASiE2EBwHwg"]