{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"1563bbf2-889b-46c5-8028-072ca7bced45","name":"StatPal API V2","description":"## Overview For the StatPal API\n\nThis collection represents how to access and use the Statpal V2 API.\n\nAfter [signing up for a free trial](https://statpal.io/#pricing), you can locate your **Access Key** in the welcome email.\n\n[Version 1](https://documenter.getpostman.com/view/41361650/2sAYQdjVNF) marks the initial launch of our live sports data. In [Version 2](https://documenter.getpostman.com/view/41361650/2sAYdeMs9h), we've expanded your options with additional data and enhanced optimizations. It's a work in progress as we continue to enrich it with new features, such as live odds, logos, flags, pictures, and detailed team and player information. Your subscription provides access to both versions, allowing you to select the most suitable option for your production needs.\n\nPlease be aware that Version 1 and Version 2 IDs do not align, so they should be managed separately in your database and coding logic. However, from Version 2 onward, ID consistency will be maintained across all features.\n\nAlways include the query parameter **access_key** with your authorization key to authenticate.\n\nGet started with your first API request:\n\n`https://statpal.io/api/v2/SPORT_NAME/livescores?access_key=YOUR_ACCESS_KEY`","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"41361650","team":12165791,"collectionId":"1563bbf2-889b-46c5-8028-072ca7bced45","publishedId":"2sAYdeMs9h","public":true,"publicUrl":"https://documenter-api.postman.tech/view/41361650/2sAYdeMs9h","privateUrl":"https://go.postman.co/documentation/41361650-1563bbf2-889b-46c5-8028-072ca7bced45","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.1","publishDate":"2025-02-25T17:40:44.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"StatPal Default","id":"66eb6855-56b9-44db-aca7-884678c78d8c","owner":"41361650","values":[{"key":"access_key","value":"b5b07a3f-b019-4a18-8969-6045169feda9","enabled":true,"type":"secret"},{"key":"country","value":"england","enabled":true,"type":"default"},{"key":"day_token","value":"d-1","enabled":true,"type":"default"},{"key":"league_abbreviation","value":"epl","enabled":true,"type":"default"},{"key":"nhl_team_abbreviation","value":"wsh","enabled":true,"type":"default"},{"key":"nfl_team_abbreviation","value":"phi","enabled":true,"type":"default"},{"key":"mlb_team_abbreviation","value":"chc","enabled":true,"type":"default"},{"key":"mlb_league_stats","value":"mlb_player_batting","enabled":true,"type":"default"},{"key":"nba_team_abbreviation","value":"chi","enabled":true,"type":"default"},{"key":"cricket_tour_type","value":"intl","enabled":true,"type":"default"},{"key":"cricket_tour_id","value":"1312","enabled":true,"type":"default"},{"key":"handball_league_id","value":"5037","enabled":true,"type":"default"},{"key":"horse_racing_country","value":"uk","enabled":true,"type":"default"},{"key":"volleyball_league_id","value":"4104","enabled":true,"type":"default"},{"key":"tennis_tournament_name","value":"atp","enabled":true,"type":"default"},{"key":"tennis_tournament_id","value":"17740","enabled":true,"type":"default"},{"key":"v2_soccer_country_id","value":"4","enabled":true,"type":"default"},{"key":"v2_soccer_league_id","value":"310","enabled":true,"type":"default"},{"key":"v2_soccer_season","value":"2023-2024","enabled":true,"type":"default"},{"key":"v2_soccer_stage_id","value":"13032","enabled":true,"type":"default"},{"key":"v2_soccer_team_id","value":"4138","enabled":true,"type":"default"},{"key":"v2_soccer_player_id","value":"61823","enabled":true,"type":"default"},{"key":"v2_soccer_team_1_id","value":"4138","enabled":true,"type":"default"},{"key":"v2_soccer_team_2_id","value":"4139","enabled":true,"type":"default"},{"key":"v2_soccer_matches_date","value":"25-02-2025","enabled":true,"type":"default"},{"key":"v2_soccer_match_id","value":"924118","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/c72e45c21bb6cbad5354728df2f09fb1b526234c95cfed872645427a01770b89","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"StatPal Default","value":"41361650-66eb6855-56b9-44db-aca7-884678c78d8c"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sAYdeMs9h"}