在继续您的订阅之前,我们需要验证您的身份。
这将保护您和其他用户免受潜在欺诈。
- 您将被重定向到我们的安全身份验证合作伙伴Stripe。
- 您需要提供政府颁发的身份证件。
- 该过程是自动的,只需几分钟。
- 完成后,您将被重定向到结账页面继续您的订阅。
set up zyla - https://zylalabs.com/llms.txt
粘贴到 Claude Code、Cursor、Codex 或任何 AI 智能体中。它会读取说明、向您索取 API key 并自动完成连接。
{
"groups": [
{
"uniqueTournaments": [
{
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
{
"name": "Championship",
"slug": "championship",
"primaryColorHex": "#20429a",
"secondaryColorHex": "#ac944a",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 126156,
"liveActivityEnabled": true,
"id": 18,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "চ্যাম্পিয়নশিপ",
"hi": "चैंपियनशिप",
"ar": "دوري البطولة الإنجليزية",
"ru": "Чемпионат"
},
"shortNameTranslation": []
}
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44902/get+category+unique+tournaments?category_id=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"countrySportPriorities": [
{
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"position": 0,
"id": 1978
},
{
"sport": {
"id": 5,
"slug": "tennis",
"name": "Tennis"
},
"position": 1,
"id": 1979
},
{
"sport": {
"id": 2,
"slug": "basketball",
"name": "Basketball"
},
"position": 2,
"id": 1980
},
{
"sport": {
"id": 63,
"slug": "american-football",
"name": "American football"
},
"position": 3,
"id": 1981
},
{
"sport": {
"id": 23,
"slug": "volleyball",
"name": "Volleyball"
},
"position": 4,
"id": 1982
},
{
"sport": {
"id": 6,
"slug": "handball",
"name": "Handball"
},
"position": 5,
"id": 1983
},
{
"sport": {
"id": 20,
"slug": "table-tennis",
"name": "Table tennis"
},
"position": 6,
"id": 1984
},
{
"sport": {
"id": 4,
"slug": "ice-hockey",
"name": "Hockey"
},
"position": 7,
"id": 1985
},
{
"sport": {
"id": 64,
"slug": "baseball",
"name": "Baseball"
},
"position": 8,
"id": 1986
},
{
"sport": {
"id": 22,
"slug": "darts",
"name": "Darts"
},
"position": 9,
"id": 1987
},
{
"sport": {
"id": 72,
"slug": "esports",
"name": "E-sports"
},
"position": 10,
"id": 1988
},
{
"sport": {
"id": 11,
"slug": "motorsport",
"name": "Motorsport"
},
"position": 11,
"id": 1989
},
{
"sport": {
"id": 65,
"slug": "cycling",
"name": "Cycling"
},
"position": 12,
"id": 1990
},
{
"sport": {
"id": 62,
"slug": "cricket",
"name": "Cricket"
},
"position": 13,
"id": 1991
},
{
"sport": {
"id": 76,
"slug": "mma",
"name": "Mixed Martial Arts"
},
"position": 14,
"id": 1992
},
{
"sport": {
"id": 12,
"slug": "rugby",
"name": "Rugby"
},
"position": 15,
"id": 1993
},
{
"sport": {
"id": 29,
"slug": "futsal",
"name": "Futsal"
},
"position": 16,
"id": 1994
},
{
"sport": {
"id": 31,
"slug": "badminton",
"name": "Badminton"
},
"position": 17,
"id": 1995
},
{
"sport": {
"id": 26,
"slug": "waterpolo",
"name": "Waterpolo"
},
"position": 18,
"id": 1996
},
{
"sport": {
"id": 19,
"slug": "snooker",
"name": "Snooker"
},
"position": 19,
"id": 1997
},
{
"sport": {
"id": 13,
"slug": "aussie-rules",
"name": "Aussie rules"
},
"position": 20,
"id": 1998
},
{
"sport": {
"id": 34,
"slug": "beach-volley",
"name": "Beach volley"
},
"position": 21,
"id": 1999
},
{
"sport": {
"id": 109,
"slug": "minifootball",
"name": "Minifootball"
},
"position": 22,
"id": 2000
},
{
"sport": {
"id": 7,
"slug": "floorball",
"name": "Floorball"
},
"position": 23,
"id": 2001
},
{
"sport": {
"id": 15,
"slug": "bandy",
"name": "Bandy"
},
"position": 24,
"id": 2002
},
{
"sport": {
"id": 110,
"slug": "padel",
"name": "Padel"
},
"position": 25,
"id": 2003
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44903/get+sports")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"manager": {
"name": "Mikel Arteta",
"slug": "mikel-arteta",
"shortName": "M. Arteta",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"teams": [
{
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
}
]
},
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
}
]
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
}
]
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"displayInverseHomeAwayTeams": false
},
"priority": 704,
"isLive": false,
"id": 1
},
"primaryUniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
}
]
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"displayInverseHomeAwayTeams": false
},
"userCount": 3717005,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 42,
"fullName": "Arsenal",
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
}
}
],
"preferredFormation": "4-3-3",
"deceased": false
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44904/get+manager+details?manager_id=794075")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"event": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1180708,
"hasRounds": true,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false
},
"priority": 704,
"isGroup": false,
"competitionType": 1,
"isLive": false,
"id": 1
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 11
},
"customId": "rsT",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 3,
"attendance": 60038,
"venue": {
"city": {
"name": "Manchester",
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 18626
},
"venueCoordinates": {
"latitude": 53.483091,
"longitude": -2.200252
},
"hidden": false,
"slug": "etihad-stadium",
"name": "Etihad Stadium",
"capacity": 53400,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 606,
"stadium": {
"name": "Etihad Stadium",
"capacity": 53400
}
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44905/get+match+details?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"confirmed": true,
"home": {
"players": [
{
"player": {
"name": "Gianluigi Donnarumma",
"slug": "gianluigi-donnarumma",
"shortName": "G. Donnarumma",
"position": "G",
"jerseyNumber": "1",
"height": 196,
"userCount": 56233,
"gender": "M",
"sofascoreId": "ke2-kvj",
"country": {
"alpha2": "IT",
"alpha3": "ITA",
"name": "Italy",
"slug": "italy"
},
"id": 824509,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 919900800,
"proposedMarketValueRaw": {
"value": 46000000,
"currency": "EUR"
}
},
"teamId": 17,
"shirtNumber": 1,
"jerseyNumber": "1",
"position": "G",
"substitute": false,
"statistics": {
"totalPass": 37,
"accuratePass": 29,
"totalLongBalls": 14,
"accurateLongBalls": 7,
"goalAssist": 0,
"accurateOwnHalfPasses": 26,
"totalOwnHalfPasses": 29,
"accurateOppositionHalfPasses": 3,
"totalOppositionHalfPasses": 8,
"totalCross": 0,
"accurateCross": 0,
"aerialLost": 0,
"aerialWon": 0,
"duelLost": 0,
"duelWon": 0,
"challengeLost": 0,
"dispossessed": 0,
"totalContest": 0,
"wonContest": 0,
"bigChanceCreated": 0,
"bigChanceMissed": 0,
"shotOffTarget": 0,
"onTargetScoringAttempt": 0,
"blockedScoringAttempt": 0,
"hitWoodwork": 0,
"goals": 0,
"totalClearance": 1,
"clearanceOffLine": 0,
"outfielderBlock": 0,
"interceptionWon": 0,
"ballRecovery": 6,
"lastManTackle": 0,
"totalTackle": 0,
"wonTackle": 0,
"errorLeadToAGoal": 0,
"errorLeadToAShot": 0,
"ownGoals": 0,
"unsuccessfulTouch": 0,
"penaltyConceded": 0,
"wasFouled": 0,
"fouls": 0,
"penaltyWon": 0,
"totalOffside": 0,
"crossNotClaimed": 0,
"goalsConceded": 1,
"goodHighClaim": 1,
"savedShotsFromInsideTheBox": 2,
"penaltySave": 0,
"penaltyFaced": 0,
"saves": 3,
"punches": 1,
"totalKeeperSweeper": 2,
"accurateKeeperSweeper": 2,
"minutesPlayed": 90,
"touches": 45,
"rating": 6.8,
"possessionLostCtrl": 8,
"expectedAssists": 0.00196271,
"topSpeed": 24.70392,
"kilometersCovered": 5.6233769,
"numberOfSprints": 0,
"totalBallCarriesDistance": 91.516100213703,
"ballCarriesCount": 15,
"totalProgression": 42.94357931604,
"progressiveBallCarriesCount": 0,
"keeperSaveValue": 0.4644,
"ratingVersions": {
"original": 6.8,
"alternative": 7
},
"totalShots": 0,
"goalsPrevented": -0.0043,
"passValueNormalized": 0.07,
"dribbleValueNormalized": 0.01,
"defensiveValueNormalized": 0.19,
"goalkeeperValueNormalized": 0.28,
"metersCoveredRunningKm": 0.28,
"metersCoveredHighSpeedRunningKm": 0.02,
"metersCoveredSprintingKm": 0,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
}
}
],
"supportStaff": [],
"formation": "4-2-3-1",
"playerColor": {
"primary": "abd1f5",
"number": "f7f7f7",
"outline": "abd1f5",
"fancyNumber": "222226"
},
"goalkeeperColor": {
"primary": "d87a1a",
"number": "ffffff",
"outline": "d87a1a",
"fancyNumber": "222226"
},
"missingPlayers": [
{
"player": {
"name": "Antoine Semenyo",
"slug": "antoine-semenyo",
"shortName": "A. Semenyo",
"position": "M",
"jerseyNumber": "42",
"height": 185,
"userCount": 120801,
"gender": "M",
"sofascoreId": "n5t-a76",
"country": {
"alpha2": "GH",
"alpha3": "GHA",
"name": "Ghana",
"slug": "ghana"
},
"id": 934354,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 947203200,
"proposedMarketValueRaw": {
"value": 85000000,
"currency": "EUR"
}
},
"type": "missing",
"reason": 1,
"description": "Leg Injury",
"externalType": 5,
"expectedEndDate": "2026-12-20T00:00:00+00:00"
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44906/get+match+lineups?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"statistics": [
{
"period": "ALL",
"groups": [
{
"groupName": "Match overview",
"statisticsItems": [
{
"name": "Ball possession",
"home": "58%",
"away": "42%",
"compareCode": 1,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 58,
"awayValue": 42,
"renderType": 2,
"key": "ballPossession"
},
{
"name": "Distance covered",
"home": "116.6 km",
"away": "119.0 km",
"compareCode": 2,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 116.6036905,
"awayValue": 119.0408677,
"renderType": 1,
"key": "kilometersCovered"
},
{
"name": "Expected goals",
"home": "1.87",
"away": "0.74",
"compareCode": 1,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 1.87,
"awayValue": 0.74,
"renderType": 1,
"key": "expectedGoals"
},
{
"name": "Big chances",
"home": "2",
"away": "1",
"compareCode": 1,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 2,
"awayValue": 1,
"renderType": 1,
"key": "bigChanceCreated"
},
{
"name": "Total shots",
"home": "15",
"away": "5",
"compareCode": 1,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 15,
"awayValue": 5,
"renderType": 1,
"key": "totalShotsOnGoal"
},
{
"name": "Goalkeeper saves",
"home": "3",
"away": "2",
"compareCode": 1,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 3,
"awayValue": 2,
"renderType": 1,
"key": "goalkeeperSaves"
},
{
"name": "Number of sprints",
"home": "124",
"away": "126",
"compareCode": 2,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 124,
"awayValue": 126,
"renderType": 1,
"key": "numberOfSprints"
},
{
"name": "Corner kicks",
"home": "8",
"away": "6",
"compareCode": 1,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 8,
"awayValue": 6,
"renderType": 1,
"key": "cornerKicks"
},
{
"name": "Fouls",
"home": "8",
"away": "11",
"compareCode": 2,
"statisticsType": "negative",
"valueType": "event",
"homeValue": 8,
"awayValue": 11,
"renderType": 1,
"key": "fouls"
},
{
"name": "Passes",
"home": "597",
"away": "427",
"compareCode": 1,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 597,
"awayValue": 427,
"renderType": 1,
"key": "passes"
},
{
"name": "Tackles",
"home": "19",
"away": "31",
"compareCode": 2,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 19,
"awayValue": 31,
"renderType": 1,
"key": "totalTackle"
},
{
"name": "Free kicks",
"home": "11",
"away": "8",
"compareCode": 1,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 11,
"awayValue": 8,
"renderType": 1,
"key": "freeKicks"
},
{
"name": "Yellow cards",
"home": "1",
"away": "3",
"compareCode": 2,
"statisticsType": "negative",
"valueType": "event",
"homeValue": 1,
"awayValue": 3,
"renderType": 1,
"key": "yellowCards"
},
{
"name": "Average rating",
"home": "7.62",
"away": "7.56",
"compareCode": 1,
"statisticsType": "positive",
"valueType": "event",
"homeValue": 7.62,
"awayValue": 7.56,
"renderType": 1,
"key": "avgRating",
"avgRatingVersion": 2
}
]
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44907/get+match+statistics?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"incidents": [
{
"text": "FT",
"homeScore": 1,
"awayScore": 1,
"isLive": false,
"time": 90,
"addedTime": 999,
"timeSeconds": 5400,
"incidentType": "period",
"reversedPeriodTime": 1,
"reversedPeriodTimeSeconds": 0,
"periodTimeSeconds": 2700
},
{
"length": 3,
"time": 90,
"addedTime": 0,
"incidentType": "injuryTime",
"reversedPeriodTime": 1
},
{
"playerIn": {
"name": "Enzo Fernández",
"firstName": null,
"lastName": null,
"slug": "enzo-fernandez",
"shortName": "E. Fernández",
"position": "M",
"jerseyNumber": "17",
"height": 177,
"userCount": 157974,
"gender": "M",
"sofascoreId": "8jj-2j9",
"id": 974505,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 979689600,
"proposedMarketValueRaw": {
"value": 116000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إنزو فرنانديز",
"bn": "এনজো ফার্নান্ডেজ",
"hi": "एन्ज़ो फर्नांडीज़",
"ru": "Энцо Фернандес"
},
"shortNameTranslation": {
"ar": "إ. فرنانديز",
"bn": "ই. ফার্নান্ডেজ",
"hi": "ई. फर्नांडीज़",
"ru": "Э. Фернандес"
}
}
},
"playerOut": {
"name": "Ayyoub Bouaddi",
"firstName": "Ayyoub Bouaddi",
"slug": "bouaddi-ayyoub",
"shortName": "A. Bouaddi",
"position": "M",
"jerseyNumber": "32",
"height": 185,
"userCount": 79438,
"gender": "M",
"sofascoreId": "g87-zpt",
"id": 1564180,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 1191283200,
"proposedMarketValueRaw": {
"value": 98000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أيوب بوعدي",
"bn": "আইয়ুব বৌয়াদ্দি",
"hi": "अय्यूब बौआद्दी",
"ru": "Айюб Буадди"
},
"shortNameTranslation": {
"ar": "أ. بوعدي",
"bn": "এ. বৌয়াদ্দি",
"hi": "ए. बौआद्दी",
"ru": "А. Буадди"
}
}
},
"id": 127418945,
"time": 85,
"injury": false,
"isHome": true,
"incidentClass": "regular",
"incidentType": "substitution",
"reversedPeriodTime": 6
},
{
"playerIn": {
"name": "Tom Cairney",
"slug": "tom-cairney",
"shortName": "T. Cairney",
"position": "M",
"jerseyNumber": "10",
"height": 185,
"userCount": 834,
"gender": "M",
"sofascoreId": "f7u-zeb",
"id": 82566,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 664329600,
"proposedMarketValueRaw": {
"value": 530000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "توم كايرني",
"bn": "টম কেয়ারনে",
"hi": "टॉम केर्नी",
"ru": "Том Керни"
},
"shortNameTranslation": {
"ar": "ت. كايرني",
"bn": "টি. কেয়ারনে",
"hi": "टी. केर्नी",
"ru": "Т. Керни"
}
}
},
"playerOut": {
"name": "Rodrigo Muniz",
"slug": "rodrigo-muniz",
"shortName": "R. Muniz",
"position": "F",
"jerseyNumber": "9",
"height": 184,
"userCount": 4845,
"gender": "M",
"sofascoreId": "5fq-bg4",
"id": 1015256,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 988934400,
"proposedMarketValueRaw": {
"value": 22000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "رودريغو مونيز",
"bn": "রদ্রিগো মুনিজ",
"hi": "रोड्रिगो मुनिज़",
"ru": "Родриго Муниз"
},
"shortNameTranslation": {
"ar": "ر. مونيز",
"bn": "আর. মুনিজ",
"hi": "आर. मुनिज़",
"ru": "Р. Муниз"
}
}
},
"id": 127418931,
"time": 83,
"injury": false,
"isHome": false,
"incidentClass": "regular",
"incidentType": "substitution",
"reversedPeriodTime": 8
}
],
"home": {
"goalkeeperColor": {
"primary": "d87a1a",
"number": "ffffff",
"outline": "d87a1a",
"fancyNumber": "222226"
},
"playerColor": {
"primary": "abd1f5",
"number": "f7f7f7",
"outline": "abd1f5",
"fancyNumber": "222226"
}
},
"away": {
"goalkeeperColor": {
"primary": "33f22b",
"number": "181818",
"outline": "33f22b",
"fancyNumber": "222226"
},
"playerColor": {
"primary": "ffffff",
"number": "000000",
"outline": "ffffff",
"fancyNumber": "222226"
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44908/get+match+incidents?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"graphPoints": [
{
"minute": 1,
"value": -1
},
{
"minute": 2,
"value": -2
},
{
"minute": 3,
"value": -7
},
{
"minute": 4,
"value": -22
},
{
"minute": 5,
"value": -42
},
{
"minute": 6,
"value": -18
},
{
"minute": 7,
"value": 14
},
{
"minute": 8,
"value": 45
},
{
"minute": 9,
"value": 100
},
{
"minute": 10,
"value": 90
},
{
"minute": 11,
"value": 51
},
{
"minute": 12,
"value": 7
},
{
"minute": 13,
"value": -6
},
{
"minute": 14,
"value": -15
},
{
"minute": 15,
"value": -9
},
{
"minute": 16,
"value": -10
},
{
"minute": 17,
"value": -41
},
{
"minute": 18,
"value": -30
},
{
"minute": 19,
"value": -20
},
{
"minute": 20,
"value": -6
},
{
"minute": 21,
"value": -21
},
{
"minute": 22,
"value": -7
},
{
"minute": 23,
"value": 15
},
{
"minute": 24,
"value": 14
},
{
"minute": 25,
"value": 23
},
{
"minute": 26,
"value": 59
},
{
"minute": 27,
"value": 49
},
{
"minute": 28,
"value": 38
},
{
"minute": 29,
"value": -31
},
{
"minute": 30,
"value": -34
},
{
"minute": 31,
"value": -34
},
{
"minute": 32,
"value": -34
},
{
"minute": 33,
"value": -29
},
{
"minute": 34,
"value": -25
},
{
"minute": 35,
"value": -19
},
{
"minute": 36,
"value": 15
},
{
"minute": 37,
"value": -13
},
{
"minute": 38,
"value": 19
},
{
"minute": 39,
"value": 13
},
{
"minute": 40,
"value": 67
},
{
"minute": 41,
"value": 45
},
{
"minute": 42,
"value": 31
},
{
"minute": 43,
"value": 76
},
{
"minute": 44,
"value": 45
},
{
"minute": 45,
"value": -33
},
{
"minute": 45.5,
"value": 35
},
{
"minute": 46,
"value": 6
},
{
"minute": 47,
"value": 8
},
{
"minute": 48,
"value": 9
},
{
"minute": 49,
"value": 9
},
{
"minute": 50,
"value": -23
},
{
"minute": 51,
"value": -5
},
{
"minute": 52,
"value": 17
},
{
"minute": 53,
"value": 15
},
{
"minute": 54,
"value": 6
},
{
"minute": 55,
"value": 3
},
{
"minute": 56,
"value": 3
},
{
"minute": 57,
"value": 12
},
{
"minute": 58,
"value": 70
},
{
"minute": 59,
"value": 34
},
{
"minute": 60,
"value": 28
},
{
"minute": 61,
"value": 24
},
{
"minute": 62,
"value": 21
},
{
"minute": 63,
"value": 10
},
{
"minute": 64,
"value": 28
},
{
"minute": 65,
"value": 39
},
{
"minute": 66,
"value": 35
},
{
"minute": 67,
"value": 24
},
{
"minute": 68,
"value": -24
},
{
"minute": 69,
"value": -9
},
{
"minute": 70,
"value": -60
},
{
"minute": 71,
"value": -37
},
{
"minute": 72,
"value": -16
},
{
"minute": 73,
"value": -10
},
{
"minute": 74,
"value": -2
},
{
"minute": 75,
"value": -36
},
{
"minute": 76,
"value": -29
},
{
"minute": 77,
"value": -10
},
{
"minute": 78,
"value": 9
},
{
"minute": 79,
"value": -2
},
{
"minute": 80,
"value": 1
},
{
"minute": 81,
"value": -7
},
{
"minute": 82,
"value": -6
},
{
"minute": 83,
"value": -16
},
{
"minute": 84,
"value": 18
},
{
"minute": 85,
"value": 12
},
{
"minute": 86,
"value": 18
},
{
"minute": 87,
"value": 19
},
{
"minute": 88,
"value": 17
},
{
"minute": 89,
"value": 2
},
{
"minute": 90,
"value": -7
}
],
"periodTime": 45,
"overtimeLength": 15,
"periodCount": 2,
"overtimeCount": null
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44909/get+match+momentum+graph?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"comments": [
{
"text": "Match ends, Manchester City 1, Fulham 1.",
"type": "matchEnded",
"id": 41547280
},
{
"text": "Second Half ends, Manchester City 1, Fulham 1.",
"type": "endSecondHalf",
"id": 41547265,
"periodName": "2ND"
},
{
"text": "Fourth official has announced 3 minutes of added time.",
"type": "addedTime",
"id": 41547266,
"periodName": "2ND",
"time": 91
}
],
"home": {
"goalkeeperColor": {
"primary": "d87a1a",
"number": "ffffff",
"outline": "d87a1a",
"fancyNumber": "222226"
},
"playerColor": {
"primary": "abd1f5",
"number": "f7f7f7",
"outline": "abd1f5",
"fancyNumber": "222226"
}
},
"away": {
"goalkeeperColor": {
"primary": "33f22b",
"number": "181818",
"outline": "33f22b",
"fancyNumber": "222226"
},
"playerColor": {
"primary": "ffffff",
"number": "000000",
"outline": "ffffff",
"fancyNumber": "222226"
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44910/get+match+commentary?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"vote": {
"vote1": 71522,
"vote2": 4341,
"voteX": 7341
},
"bothTeamsToScoreVote": {
"voteYes": 9541,
"voteNo": 3208
},
"firstTeamToScoreVote": {
"voteHome": 9787,
"voteNoGoal": 311,
"voteAway": 794
},
"whoShouldHaveWonVote": {
"vote1": 0,
"vote2": 0
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44911/get+match+votes?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"homeTeam": {
"avgRating": "7.66",
"position": 3,
"value": "21",
"form": [
"W",
"W",
"L",
"L",
"L"
]
},
"awayTeam": {
"avgRating": "7.34",
"position": 15,
"value": "10",
"form": [
"L",
"W",
"W",
"D",
"D"
]
},
"label": "Pts"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44912/get+match+pregame+form?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"teamDuel": {
"homeWins": 9,
"awayWins": 0,
"draws": 1
},
"managerDuel": {
"homeWins": 0,
"awayWins": 0,
"draws": 1
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44913/get+match+h2h?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 24
},
"customId": "rsT",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Fulham",
"slug": "fulham",
"shortName": "Fulham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 300656,
"nameCode": "FUL",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 43,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "فولهام",
"bn": "ফুলহাম",
"hi": "फुलहम",
"ru": "Фулхэм"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"homeScore": [],
"awayScore": [],
"time": [],
"changes": {
"changeTimestamp": 0
},
"hasGlobalHighlights": false,
"crowdsourcingDataDisplayEnabled": false,
"id": 16363798,
"slug": "fulham-manchester-city",
"startTimestamp": 1801926000,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44914/get+match+h2h+matches?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"general": [
{
"name": "No wins",
"value": "3",
"team": "away",
"continued": true
},
{
"name": "Without clean sheet",
"value": "8",
"team": "home",
"continued": true
},
{
"name": "Without clean sheet",
"value": "3",
"team": "away",
"continued": true
},
{
"name": "More than 2.5 goals",
"value": "9/10",
"team": "home",
"continued": false
},
{
"name": "Less than 2.5 goals",
"value": "5/5",
"team": "away",
"continued": true
},
{
"name": "Both teams scoring",
"value": "7/8",
"team": "home",
"continued": true
},
{
"name": "First to concede",
"value": "4/5",
"team": "home",
"continued": true
},
{
"name": "Less than 4.5 cards",
"value": "6/8",
"team": "home",
"continued": true
},
{
"name": "Less than 4.5 cards",
"value": "8/10",
"team": "away",
"continued": true
},
{
"name": "Less than 10.5 corners",
"value": "4/5",
"team": "home",
"continued": false
}
],
"head2head": [
{
"name": "Wins",
"value": "20",
"team": "home",
"continued": false
},
{
"name": "Without clean sheet",
"value": "20",
"team": "away",
"continued": true
},
{
"name": "More than 2.5 goals",
"value": "9/10",
"team": "both",
"continued": false
},
{
"name": "First to score",
"value": "7/8",
"team": "home",
"continued": false
},
{
"name": "First half winner",
"value": "6/7",
"team": "home",
"continued": false
},
{
"name": "Less than 4.5 cards",
"value": "4/5",
"team": "both",
"continued": true
},
{
"name": "Less than 10.5 corners",
"value": "7/8",
"team": "both",
"continued": false
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44915/get+match+team+streaks?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"markets": [
{
"sourceId": 203186235,
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 465208684,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "21/50",
"fractionalValue": "4/11",
"sourceId": 257789315,
"name": "1",
"winning": false,
"change": -1
},
{
"initialFractionalValue": "15/4",
"fractionalValue": "17/4",
"sourceId": 257789317,
"name": "X",
"winning": true,
"change": 1
},
{
"initialFractionalValue": "11/2",
"fractionalValue": "13/2",
"sourceId": 257789319,
"name": "2",
"winning": false,
"change": 1
}
]
},
{
"sourceId": 203186235,
"structureType": 1,
"marketId": 2,
"marketName": "Double chance",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 472233417,
"marketGroup": "Double chance",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "1/10",
"fractionalValue": "1/10",
"sourceId": 258548112,
"name": "1X",
"winning": true,
"change": 0
},
{
"initialFractionalValue": "7/4",
"fractionalValue": "2/1",
"sourceId": 258548084,
"name": "X2",
"winning": true,
"change": 1
},
{
"initialFractionalValue": "2/11",
"fractionalValue": "1/6",
"sourceId": 258548108,
"name": "12",
"winning": false,
"change": -1
}
]
},
{
"sourceId": 203186235,
"structureType": 1,
"marketId": 3,
"marketName": "1st half",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 472233418,
"marketGroup": "1X2",
"marketPeriod": "1st half",
"choices": [
{
"initialFractionalValue": "5/6",
"fractionalValue": "4/5",
"sourceId": 258547976,
"name": "1",
"winning": false,
"change": -1
},
{
"initialFractionalValue": "13/8",
"fractionalValue": "7/4",
"sourceId": 258547979,
"name": "X",
"winning": false,
"change": 1
},
{
"initialFractionalValue": "11/2",
"fractionalValue": "11/2",
"sourceId": 258548001,
"name": "2",
"winning": true,
"change": 0
}
]
},
{
"sourceId": 203186235,
"structureType": 1,
"marketId": 4,
"marketName": "Draw no bet",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 472233419,
"marketGroup": "Draw no bet",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "1/7",
"fractionalValue": "1/8",
"sourceId": 258548180,
"name": "1",
"winning": false,
"change": -1
},
{
"initialFractionalValue": "9/2",
"fractionalValue": "5/1",
"sourceId": 258548181,
"name": "2",
"winning": false,
"change": 1
}
]
}
],
"eventId": 16363661,
"liveStreamUrl": null
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44916/get+match+odds?match_id=16363661&provider_id=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"featured": {
"default": {
"sourceId": 203186235,
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 465208684,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "21/50",
"fractionalValue": "4/11",
"sourceId": 257789315,
"name": "1",
"winning": false,
"change": -1
},
{
"initialFractionalValue": "15/4",
"fractionalValue": "17/4",
"sourceId": 257789317,
"name": "X",
"winning": true,
"change": 1
},
{
"initialFractionalValue": "11/2",
"fractionalValue": "13/2",
"sourceId": 257789319,
"name": "2",
"winning": false,
"change": 1
}
]
},
"asian": {
"sourceId": 203186235,
"structureType": 1,
"marketId": 17,
"marketName": "Asian handicap",
"isLive": false,
"fid": 203186236,
"suspended": false,
"id": 472233422,
"marketGroup": "Asian Handicap",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "33/40",
"fractionalValue": "4/5",
"sourceId": 257789324,
"name": "(-1.25) Manchester City",
"change": -1
},
{
"initialFractionalValue": "41/40",
"fractionalValue": "21/20",
"sourceId": 257789326,
"name": "(1.25) Fulham",
"change": 1
}
]
},
"fullTime": {
"sourceId": 203186235,
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 465208684,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "21/50",
"fractionalValue": "4/11",
"sourceId": 257789315,
"name": "1",
"winning": false,
"change": -1
},
{
"initialFractionalValue": "15/4",
"fractionalValue": "17/4",
"sourceId": 257789317,
"name": "X",
"winning": true,
"change": 1
},
{
"initialFractionalValue": "11/2",
"fractionalValue": "13/2",
"sourceId": 257789319,
"name": "2",
"winning": false,
"change": 1
}
]
}
},
"hasMoreOdds": true,
"liveStreamUrl": null
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44917/get+match+featured+odds?match_id=16363661&provider_id=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"bestHomeTeamPlayer": {
"value": "8.4",
"label": "rating",
"player": {
"name": "Elliot Anderson",
"firstName": null,
"lastName": null,
"slug": "elliot-anderson",
"shortName": "E. Anderson",
"position": "M",
"jerseyNumber": "5",
"height": 179,
"userCount": 39417,
"gender": "M",
"sofascoreId": "n5z-a3f",
"id": 994546,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 1036540800,
"proposedMarketValueRaw": {
"value": 109000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إليوت أندرسون",
"bn": "এলিয়ট অ্যান্ডারসন",
"hi": "इलियट एंडरसन",
"ru": "Эллиот Андерсон"
},
"shortNameTranslation": {
"ar": "إ. أندرسون",
"bn": "ই. অ্যান্ডারসন",
"hi": "ई. एंडरसन",
"ru": "Э. Андерсон"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
"bestAwayTeamPlayer": {
"value": "8.2",
"label": "rating",
"player": {
"name": "Rodrigo Muniz",
"slug": "rodrigo-muniz",
"shortName": "R. Muniz",
"position": "F",
"jerseyNumber": "9",
"height": 184,
"userCount": 4897,
"gender": "M",
"sofascoreId": "5fq-bg4",
"id": 1015256,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 988934400,
"proposedMarketValueRaw": {
"value": 22000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "رودريغو مونيز",
"bn": "রদ্রিগো মুনিজ",
"hi": "रोड्रिगो मुनिज़",
"ru": "Родриго Муниз"
},
"shortNameTranslation": {
"ar": "ر. مونيز",
"bn": "আর. মুনিজ",
"hi": "आर. मुनिज़",
"ru": "Р. Муниз"
}
}
},
"team": {
"name": "Fulham",
"slug": "fulham",
"shortName": "Fulham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 300609,
"nameCode": "FUL",
"disabled": false,
"national": false,
"type": 0,
"id": 43,
"teamColors": {
"primary": "#ffffff",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "فولهام",
"bn": "ফুলহাম",
"hi": "फुलहम",
"ru": "Фулхэм"
},
"shortNameTranslation": []
}
}
},
"leaderboard": [
{
"value": "8.4",
"label": "rating",
"player": {
"name": "Elliot Anderson",
"firstName": null,
"lastName": null,
"slug": "elliot-anderson",
"shortName": "E. Anderson",
"position": "M",
"jerseyNumber": "5",
"height": 179,
"userCount": 39417,
"gender": "M",
"sofascoreId": "n5z-a3f",
"id": 994546,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 1036540800,
"proposedMarketValueRaw": {
"value": 109000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إليوت أندرسون",
"bn": "এলিয়ট অ্যান্ডারসন",
"hi": "इलियट एंडरसन",
"ru": "Эллиот Андерсон"
},
"shortNameTranslation": {
"ar": "إ. أندرسون",
"bn": "ই. অ্যান্ডারসন",
"hi": "ई. एंडरसन",
"ru": "Э. Андерсон"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44918/get+match+best+players?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"home": [
{
"player": {
"name": "Rayan Cherki",
"firstName": null,
"lastName": null,
"slug": "cherki-rayan",
"shortName": "R. Cherki",
"position": "M",
"jerseyNumber": "10",
"userCount": 113487,
"gender": "M",
"sofascoreId": "5ff-uus",
"id": 979128,
"fieldTranslations": {
"nameTranslation": {
"ar": "ريان شرقي",
"bn": "রায়ান চেরকি",
"hi": "रायन चेरकी",
"ru": "Раян Шерки"
},
"shortNameTranslation": {
"ar": "ر. شرقي",
"bn": "আর. চেরকি",
"hi": "आर. चेरकी",
"ru": "Р. Шерки"
}
}
},
"averageX": 57.12,
"averageY": 46.728,
"pointsCount": 25
},
{
"player": {
"name": "Allan",
"firstName": "Allan",
"slug": "allan",
"shortName": "Allan",
"position": "M",
"jerseyNumber": "37",
"userCount": 30738,
"gender": "M",
"sofascoreId": "kmk-afx",
"id": 1835889,
"fieldTranslations": {
"nameTranslation": {
"ar": "ألان",
"ru": "Аллан"
},
"shortNameTranslation": {
"ar": "ألان",
"ru": "Аллан"
}
}
},
"averageX": 53.247058823529,
"averageY": 14.629411764706,
"pointsCount": 17
},
{
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"jerseyNumber": "9",
"userCount": 1083364,
"gender": "M",
"sofascoreId": "ghm-8ni",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"averageX": 71.423529411765,
"averageY": 53.876470588235,
"pointsCount": 34
}
],
"away": [
{
"player": {
"name": "Josh King",
"firstName": "Joshua",
"lastName": "King",
"slug": "joshua-king",
"shortName": "J. King",
"position": "M",
"jerseyNumber": "24",
"userCount": 3859,
"gender": "M",
"sofascoreId": "xzw-3x6",
"id": 1546231,
"fieldTranslations": {
"nameTranslation": {
"ar": "جوشوا كينغ",
"ru": "Джошуа Кинг"
},
"shortNameTranslation": {
"ar": "ج. كينغ",
"ru": "Д. Кинг"
}
}
},
"averageX": 54.210256410256,
"averageY": 38.135897435897,
"pointsCount": 39
},
{
"player": {
"name": "Rodrigo Muniz",
"slug": "rodrigo-muniz",
"shortName": "R. Muniz",
"position": "F",
"jerseyNumber": "9",
"userCount": 4894,
"gender": "M",
"sofascoreId": "5fq-bg4",
"id": 1015256,
"fieldTranslations": {
"nameTranslation": {
"ar": "رودريغو مونيز",
"bn": "রদ্রিগো মুনিজ",
"hi": "रोड्रिगो मुनिज़",
"ru": "Родриго Муниз"
},
"shortNameTranslation": {
"ar": "ر. مونيز",
"bn": "আর. মুনিজ",
"hi": "आर. मुनिज़",
"ru": "Р. Муниз"
}
}
},
"averageX": 57.127777777778,
"averageY": 58.238888888889,
"pointsCount": 36
}
],
"substitutions": [
{
"playerIn": {
"name": "Rayan Cherki",
"firstName": null,
"lastName": null,
"slug": "cherki-rayan",
"shortName": "R. Cherki",
"position": "M",
"jerseyNumber": "10",
"userCount": 113487,
"gender": "M",
"sofascoreId": "5ff-uus",
"id": 979128,
"fieldTranslations": {
"nameTranslation": {
"ar": "ريان شرقي",
"bn": "রায়ান চেরকি",
"hi": "रायन चेरकी",
"ru": "Раян Шерки"
},
"shortNameTranslation": {
"ar": "ر. شرقي",
"bn": "আর. চেরকি",
"hi": "आर. चेरकी",
"ru": "Р. Шерки"
}
}
},
"playerOut": {
"name": "Phil Foden",
"firstName": "Phil",
"lastName": "Foden",
"slug": "phil-foden",
"shortName": "P. Foden",
"position": "M",
"jerseyNumber": "47",
"userCount": 130080,
"gender": "M",
"sofascoreId": "c62-qug",
"id": 859765,
"fieldTranslations": {
"nameTranslation": {
"ar": "فيل فودين",
"bn": "ফিল ফোডেন",
"hi": "फिल फोडेन",
"ru": "Фил Фоден"
},
"shortNameTranslation": {
"ar": "ف. فودين",
"bn": "পি. ফোডেন",
"hi": "पी. फोडेन",
"ru": "Ф. Фоден"
}
}
},
"id": 127418760,
"time": 70,
"injury": false,
"isHome": true,
"incidentClass": "regular",
"incidentType": "substitution",
"reversedPeriodTime": 21
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44919/get+match+average+positions?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"shotmap": [
{
"player": {
"name": "Rayan Cherki",
"firstName": null,
"lastName": null,
"slug": "cherki-rayan",
"shortName": "R. Cherki",
"position": "M",
"jerseyNumber": "10",
"userCount": 113487,
"gender": "M",
"sofascoreId": "5ff-uus",
"id": 979128,
"fieldTranslations": {
"nameTranslation": {
"ar": "ريان شرقي",
"bn": "রায়ান চেরকি",
"hi": "रायन चेरकी",
"ru": "Раян Шерки"
},
"shortNameTranslation": {
"ar": "ر. شرقي",
"bn": "আর. চেরকি",
"hi": "आर. चेरकी",
"ru": "Р. Шерки"
}
}
},
"isHome": true,
"shotType": "block",
"situation": "assisted",
"playerCoordinates": {
"x": 10.9,
"y": 67.3,
"z": 0
},
"bodyPart": "right-foot",
"goalMouthLocation": "low-centre",
"goalMouthCoordinates": {
"x": 0,
"y": 50.9,
"z": 13.9
},
"blockCoordinates": {
"x": 8.9,
"y": 64.4,
"z": 0
},
"xg": 0.053925346583128,
"xgot": 0,
"goalkeeper": {
"name": "Bernd Leno",
"firstName": "Bernd",
"lastName": "Leno",
"slug": "bernd-leno",
"shortName": "B. Leno",
"position": "G",
"jerseyNumber": "1",
"userCount": 2590,
"gender": "M",
"sofascoreId": "6en-t3h",
"id": 103335,
"fieldTranslations": {
"nameTranslation": {
"ar": "بيرند لينو",
"bn": "বার্ন্ড লেনো",
"hi": "बर्न्ड लेनो",
"ru": "Бернд Лено"
},
"shortNameTranslation": {
"ar": "ب. لينو",
"bn": "বি. লেনো",
"hi": "बी. लेनो",
"ru": "Б. Лено"
}
}
},
"id": 9685416,
"time": 83,
"timeSeconds": 4922,
"draw": {
"start": {
"x": 67.3,
"y": 10.9
},
"block": {
"x": 64.4,
"y": 8.9
},
"end": {
"x": 49.1,
"y": 0
},
"goal": {
"x": 49.1,
"y": 86.1
}
},
"incidentType": "shot",
"reversedPeriodTime": 8,
"reversedPeriodTimeSeconds": 478,
"periodTimeSeconds": 2222
},
{
"player": {
"name": "Rodrigo Muniz",
"slug": "rodrigo-muniz",
"shortName": "R. Muniz",
"position": "F",
"jerseyNumber": "9",
"userCount": 4894,
"gender": "M",
"sofascoreId": "5fq-bg4",
"id": 1015256,
"fieldTranslations": {
"nameTranslation": {
"ar": "رودريغو مونيز",
"bn": "রদ্রিগো মুনিজ",
"hi": "रोड्रिगो मुनिज़",
"ru": "Родриго Муниз"
},
"shortNameTranslation": {
"ar": "ر. مونيز",
"bn": "আর. মুনিজ",
"hi": "आर. मुनिज़",
"ru": "Р. Муниз"
}
}
},
"isHome": false,
"shotType": "block",
"situation": "corner",
"playerCoordinates": {
"x": 5.7,
"y": 49.3,
"z": 0
},
"bodyPart": "head",
"goalMouthLocation": "low-centre",
"goalMouthCoordinates": {
"x": 0,
"y": 49.8,
"z": 13.9
},
"blockCoordinates": {
"x": 4.2,
"y": 50.2,
"z": 0
},
"xg": 0.16440945863724,
"xgot": 0,
"goalkeeper": {
"name": "Gianluigi Donnarumma",
"slug": "gianluigi-donnarumma",
"shortName": "G. Donnarumma",
"position": "G",
"jerseyNumber": "1",
"userCount": 56233,
"gender": "M",
"sofascoreId": "ke2-kvj",
"id": 824509,
"fieldTranslations": {
"nameTranslation": {
"ar": "جيانلويجي دوناروما",
"bn": "জিয়ানলুইগি ডোনারুম্মা",
"hi": "जियानलुइगी डोनारुम्मा",
"ru": "Джанлуиджи Доннарумма"
},
"shortNameTranslation": {
"ar": "ج. دوناروما",
"bn": "জি. ডোনারুম্মা",
"hi": "जी. डोनारुम्मा",
"ru": "Д. Доннарумма"
}
}
},
"id": 9685332,
"time": 75,
"timeSeconds": 4487,
"draw": {
"start": {
"x": 49.3,
"y": 5.7
},
"block": {
"x": 50.2,
"y": 4.2
},
"end": {
"x": 50.2,
"y": 0
},
"goal": {
"x": 50.2,
"y": 86.1
}
},
"incidentType": "shot",
"reversedPeriodTime": 16,
"reversedPeriodTimeSeconds": 913,
"periodTimeSeconds": 1787
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44920/get+match+shotmap?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"jerseyNumber": "9",
"height": 195,
"userCount": 1083364,
"gender": "M",
"sofascoreId": "ghm-8ni",
"id": 839956,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 964137600,
"proposedMarketValueRaw": {
"value": 240000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"statistics": {
"totalPass": 15,
"accuratePass": 7,
"totalLongBalls": 0,
"accurateLongBalls": 0,
"goalAssist": 0,
"accurateOwnHalfPasses": 1,
"totalOwnHalfPasses": 3,
"accurateOppositionHalfPasses": 6,
"totalOppositionHalfPasses": 12,
"totalCross": 0,
"accurateCross": 0,
"aerialLost": 1,
"aerialWon": 4,
"duelLost": 3,
"duelWon": 5,
"challengeLost": 0,
"dispossessed": 1,
"totalContest": 0,
"wonContest": 0,
"bigChanceCreated": 0,
"bigChanceMissed": 1,
"shotOffTarget": 1,
"onTargetScoringAttempt": 1,
"blockedScoringAttempt": 2,
"hitWoodwork": 0,
"goals": 0,
"totalClearance": 0,
"clearanceOffLine": 0,
"outfielderBlock": 0,
"interceptionWon": 0,
"ballRecovery": 0,
"lastManTackle": 0,
"totalTackle": 0,
"wonTackle": 0,
"errorLeadToAGoal": 0,
"errorLeadToAShot": 0,
"ownGoals": 0,
"unsuccessfulTouch": 2,
"penaltyConceded": 0,
"wasFouled": 1,
"fouls": 1,
"penaltyWon": 0,
"totalOffside": 0,
"crossNotClaimed": 0,
"goalsConceded": 1,
"goodHighClaim": 0,
"savedShotsFromInsideTheBox": 0,
"penaltySave": 0,
"penaltyFaced": 0,
"saves": 0,
"punches": 0,
"totalKeeperSweeper": 0,
"accurateKeeperSweeper": 0,
"minutesPlayed": 90,
"touches": 24,
"rating": 6.3,
"possessionLostCtrl": 11,
"expectedGoals": 1.031,
"expectedGoalsOnTarget": 0.3421,
"expectedAssists": 0.0532675,
"topSpeed": 32.46876,
"kilometersCovered": 9.6544013,
"numberOfSprints": 13,
"totalBallCarriesDistance": 40.825978553685,
"ballCarriesCount": 4,
"totalProgression": 21.3913306687,
"bestBallCarryProgression": 18.258238123559,
"totalProgressiveBallCarriesDistance": 29.421078770161,
"progressiveBallCarriesCount": 1,
"keyPass": 1,
"ratingVersions": {
"original": 6.3,
"alternative": 6.6
},
"totalShots": 4,
"shotValueNormalized": -0.79,
"passValueNormalized": 0.03,
"dribbleValueNormalized": 0.17,
"defensiveValueNormalized": -0.02,
"metersCoveredRunningKm": 1.24,
"metersCoveredHighSpeedRunningKm": 0.47,
"metersCoveredSprintingKm": 0.26,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"position": "F",
"extra": null
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44921/get+match+player+statistics?match_id=16363661&player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"heatmap": [
{
"x": 89,
"y": 69
},
{
"x": 96,
"y": 69
},
{
"x": 97,
"y": 34
},
{
"x": 67,
"y": 52
},
{
"x": 67,
"y": 81
},
{
"x": 50,
"y": 49
},
{
"x": 95,
"y": 62
},
{
"x": 96,
"y": 53
},
{
"x": 97,
"y": 51
},
{
"x": 94,
"y": 82
},
{
"x": 55,
"y": 31
},
{
"x": 53,
"y": 32
},
{
"x": 90,
"y": 68
},
{
"x": 57,
"y": 55
},
{
"x": 76,
"y": 56
},
{
"x": 92,
"y": 70
},
{
"x": 86,
"y": 51
},
{
"x": 98,
"y": 61
},
{
"x": 71,
"y": 73
},
{
"x": 71,
"y": 73
},
{
"x": 63,
"y": 42
},
{
"x": 63,
"y": 42
},
{
"x": 91,
"y": 75
},
{
"x": 65,
"y": 48
},
{
"x": 53,
"y": 33
},
{
"x": 53,
"y": 33
},
{
"x": 56,
"y": 46
},
{
"x": 35,
"y": 83
},
{
"x": 37,
"y": 27
},
{
"x": 67,
"y": 30
},
{
"x": 58,
"y": 63
},
{
"x": 44,
"y": 56
},
{
"x": 65,
"y": 34
},
{
"x": 65,
"y": 34
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44922/get+match+player+heatmap?match_id=16363661&player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"pointByPoint": [
{
"set": 2,
"games": [
{
"game": 12,
"points": [
{
"homePoint": "0",
"awayPoint": "15",
"pointDescription": 0,
"homePointType": 5,
"awayPointType": 1
},
{
"homePoint": "15",
"awayPoint": "15",
"pointDescription": 0,
"homePointType": 1,
"awayPointType": 5
},
{
"homePoint": "15",
"awayPoint": "30",
"pointDescription": 0,
"homePointType": 5,
"awayPointType": 1
},
{
"homePoint": "30",
"awayPoint": "30",
"pointDescription": 1,
"homePointType": 1,
"awayPointType": 5
},
{
"homePoint": "40",
"awayPoint": "30",
"pointDescription": 1,
"homePointType": 3,
"awayPointType": 5
}
],
"score": {
"homeScore": 7,
"awayScore": 5,
"serving": 1,
"scoring": 1
}
},
{
"game": 11,
"points": [
{
"homePoint": "15",
"awayPoint": "0",
"pointDescription": 0,
"homePointType": 1,
"awayPointType": 5
},
{
"homePoint": "15",
"awayPoint": "15",
"pointDescription": 0,
"homePointType": 5,
"awayPointType": 1
},
{
"homePoint": "30",
"awayPoint": "15",
"pointDescription": 0,
"homePointType": 1,
"awayPointType": 5
},
{
"homePoint": "30",
"awayPoint": "30",
"pointDescription": 0,
"homePointType": 5,
"awayPointType": 1
},
{
"homePoint": "30",
"awayPoint": "40",
"pointDescription": 1,
"homePointType": 5,
"awayPointType": 1
},
{
"homePoint": "40",
"awayPoint": "40",
"pointDescription": 0,
"homePointType": 1,
"awayPointType": 5
},
{
"homePoint": "A",
"awayPoint": "40",
"pointDescription": 0,
"homePointType": 2,
"awayPointType": 5
}
],
"score": {
"homeScore": 6,
"awayScore": 5,
"serving": 2,
"scoring": 1
}
},
{
"game": 10,
"points": [
{
"homePoint": "0",
"awayPoint": "15",
"pointDescription": 0,
"homePointType": 5,
"awayPointType": 1
},
{
"homePoint": "0",
"awayPoint": "30",
"pointDescription": 0,
"homePointType": 5,
"awayPointType": 1
},
{
"homePoint": "15",
"awayPoint": "30",
"pointDescription": 0,
"homePointType": 1,
"awayPointType": 5
},
{
"homePoint": "30",
"awayPoint": "30",
"pointDescription": 0,
"homePointType": 1,
"awayPointType": 5
},
{
"homePoint": "40",
"awayPoint": "30",
"pointDescription": 0,
"homePointType": 1,
"awayPointType": 5
},
{
"homePoint": "40",
"awayPoint": "40",
"pointDescription": 0,
"homePointType": 5,
"awayPointType": 1
},
{
"homePoint": "A",
"awayPoint": "40",
"pointDescription": 0,
"homePointType": 1,
"awayPointType": 5
}
],
"score": {
"homeScore": 5,
"awayScore": 5,
"serving": 1,
"scoring": 1
}
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44923/get+match+point+by+point?match_id=17545043")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"countryChannels": {
"HR": [
137
],
"SI": [
4479
],
"BN": [
3844,
6668,
6669
],
"BF": [
6411,
2781,
3030
],
"ML": [
6411,
2781,
3030
],
"SS": [
2781,
3030,
4186,
1925,
113,
3323
],
"BI": [
6411,
2781,
3030
],
"BJ": [
6411,
3030
],
"CF": [
6411,
3030
],
"CG": [
6411,
2781,
3030
],
"GA": [
6411,
2781,
3030
],
"TG": [
6411,
2781,
3030
],
"SK": [
4488
],
"AO": [
2781,
3030
],
"ER": [
2781,
3030
],
"ET": [
2781,
3030
],
"LR": [
2781,
3030
],
"LS": [
2781,
3030
],
"MG": [
2781,
3030
],
"MZ": [
2781,
3030
],
"NA": [
2781,
3030
],
"CM": [
6411,
2781,
3030
],
"CV": [
6411,
2781,
3030
],
"DJ": [
6411,
2781,
3030,
4186,
1925,
113,
3323
],
"GM": [
6411,
2781,
3030
],
"GN": [
6411,
2781,
3030
],
"GQ": [
6411,
2781,
3030
],
"NE": [
6411,
2781,
3030
],
"SL": [
6411,
2781,
3030
],
"SN": [
6411,
2781,
3030
],
"TD": [
6411,
2781,
3030,
4186,
1925,
113,
3323
],
"BW": [
2781,
3030
],
"MU": [
2781,
3030
],
"SC": [
2781,
3030
],
"SZ": [
2781,
3030
],
"GW": [
6411,
2781,
3030
],
"CZ": [
4488
],
"GH": [
6411,
2781,
3030
],
"NG": [
6411,
2781
],
"PL": [
6459
],
"SD": [
2781,
3030,
4186,
1925,
113,
3323
],
"VN": [
3970
],
"MY": [
3844,
6668,
6669,
5130
],
"MR": [
6411,
2781,
3030,
4186,
1925,
113,
3323
],
"PY": [
6961
],
"CD": [
2781,
3030
],
"MW": [
2781,
3030
],
"RW": [
6411,
3030
],
"BG": [
161
],
"TZ": [
2781,
3030
],
"CI": [
2781,
3030
],
"UG": [
2781,
3030
],
"ZW": [
2781,
3030
],
"BO": [
6963
],
"RS": [
3783
],
"PT": [
7331
],
"PE": [
6963
],
"KE": [
2781,
3030
],
"KG": [
108
],
"EC": [
6966
],
"UA": [
5493,
2721
],
"CO": [
6966
],
"VE": [
6966
],
"BA": [
3783
],
"AR": [
6961
],
"UY": [
6961
],
"FR": [
287,
4631
],
"BY": [
108
],
"KZ": [
108
],
"TM": [
108
],
"UZ": [
108
],
"TJ": [
108
],
"IN": [
6830
],
"CL": [
6963
],
"EE": [
108
],
"MD": [
108
],
"AM": [
108
],
"LV": [
108
],
"IL": [
697
],
"LT": [
108
],
"BR": [
7209,
6261,
151
],
"YT": [
3030
],
"RE": [
3030
],
"AT": [
4276,
4607
],
"PH": [
6610
],
"ST": [
3030
],
"PS": [
4186,
1925,
113,
3323
],
"ES": [
2453,
6729,
8539
],
"AZ": [
1292
],
"SY": [
4186,
1925,
113,
3323
],
"TN": [
4186,
1925,
113,
3323
],
"AF": [
3323
],
"CH": [
287
],
"HU": [
1456
],
"KM": [
3030
],
"YE": [
4186,
1925,
113,
3323
],
"DZ": [
4186,
1925,
113,
3323
],
"LB": [
4186,
1925,
113,
3323
],
"LY": [
4186,
1925,
113,
3323
],
"BD": [
7797
],
"SM": [
3151,
3509,
613
],
"JO": [
4186,
1925,
113,
3323
],
"KW": [
4186,
1925,
113,
3323
],
"MX": [
7401
],
"LU": [
4276
],
"BH": [
4186,
1925,
113,
3323
],
"OM": [
4186,
1925,
113,
3323
],
"IT": [
3151,
3509,
613
],
"MA": [
4186,
1925,
113,
3323
],
"FI": [
3932,
274
],
"PK": [
7797
],
"SO": [
3030,
4186,
1925,
113,
3323
],
"IQ": [
4186,
1925,
113,
3323
],
"BE": [
128
],
"AE": [
4186,
1925,
113,
3323
],
"IR": [
1925,
113,
3323
],
"DK": [
8318
],
"QA": [
4186,
1925,
113,
3323
],
"SE": [
8319
],
"SA": [
1925,
113,
3323
],
"ZM": [
3030
],
"EG": [
4186,
1925,
113,
3323
],
"ID": [
4405
],
"GR": [
4452
],
"GB": [
8556,
5430,
5487
],
"NO": [
4471,
375
],
"IE": [
5804
],
"DE": [
7657,
4276,
7693,
7639
],
"TR": [
468,
1292
],
"US": [
7240,
553,
672
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44924/get+match+tv+channels?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Turkiye Kupasi, Knockout stage",
"slug": "turkiye-kupasi-knockout-stage",
"category": {
"name": "Turkey",
"slug": "turkey",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"country": {
"alpha2": "TR",
"alpha3": "TUR",
"name": "Türkiye",
"slug": "turkiye"
},
"id": 46,
"flag": "turkey",
"alpha2": "TR"
},
"uniqueTournament": {
"name": "Türkiye Kupası",
"slug": "turkiye-kupasi",
"secondaryColorHex": "#ed1d25",
"category": {
"name": "Turkey",
"slug": "turkey",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"country": {
"alpha2": "TR",
"alpha3": "TUR",
"name": "Türkiye",
"slug": "turkiye"
},
"id": 46,
"flag": "turkey",
"alpha2": "TR"
},
"userCount": 15952,
"liveActivityEnabled": false,
"country": [],
"id": 96,
"displayInverseHomeAwayTeams": false
},
"priority": 483,
"isLive": false,
"id": 63
},
"roundInfo": {
"round": 4,
"name": "Round 4",
"slug": "round-4"
},
"customId": "PPcsnQtd",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Eyüpspor",
"slug": "eyupspor",
"shortName": "Eyüpspor",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 25253,
"nameCode": "EYU",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "TR",
"alpha3": "TUR",
"name": "Türkiye",
"slug": "turkiye"
},
"id": 7040,
"teamColors": {
"primary": "#fcf366",
"secondary": "#000000",
"text": "#000000"
}
},
"awayTeam": {
"name": "Muş Spor Kulübü",
"slug": "mus-1984-musspor",
"shortName": "Muşspor",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3125,
"nameCode": "MUS",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "TR",
"alpha3": "TUR",
"name": "Türkiye",
"slug": "turkiye"
},
"id": 422063,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
}
},
"homeScore": [],
"awayScore": [],
"id": 17492483,
"slug": "mus-spor-kulubu-eyupspor",
"startTimestamp": 1796301000,
"finalResultOnly": false
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44925/get+dropping+odds?provider_id=1&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"markets": [
{
"structureType": 1,
"marketId": 101,
"marketName": "To Win Outright",
"isLive": false,
"choices": [
{
"slipContent": "/?bs=193053788-1075898718~2/7~10",
"team": {
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3717005,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 42,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"initialDecimalValue": 1.909,
"decimalValue": 1.286,
"initialFractionalValue": "10/11",
"fractionalValue": "2/7",
"name": "Arsenal",
"id": 168
},
{
"slipContent": "/?bs=193053788-1075898789~11/2~10",
"team": {
"name": "Liverpool FC",
"slug": "liverpool",
"shortName": "Liverpool",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3738749,
"nameCode": "LIV",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 44,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليفربول",
"bn": "লিভারপুল",
"hi": "लिवरपूल",
"ru": "Ливерпуль"
},
"shortNameTranslation": []
}
},
"initialDecimalValue": 8,
"decimalValue": 6.5,
"initialFractionalValue": "7/1",
"fractionalValue": "11/2",
"name": "Liverpool",
"id": 169
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44926/get+season+outright+odds?unique_tournament_id=17&season_id=96668&provider_id=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1181093,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"displayInverseHomeAwayTeams": false
},
"priority": 704,
"isLive": false,
"id": 1
},
"primaryUniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1181093,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"displayInverseHomeAwayTeams": false
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
}
},
"position": "F",
"positionsDetailed": [
"ST"
],
"jerseyNumber": "9",
"height": 195,
"dateOfBirth": "2000-07-21T00:00:00+00:00",
"preferredFoot": "Left",
"userCount": 1083364,
"deceased": false,
"gender": "M",
"sofascoreId": "ghm-8ni",
"country": {
"alpha2": "NO",
"alpha3": "NOR",
"name": "Norway",
"slug": "norway"
},
"id": 839956,
"underage": false,
"shirtNumber": 9,
"dateOfBirthTimestamp": 964137600,
"contractUntilTimestamp": 2035238400,
"proposedMarketValue": 240000000,
"proposedMarketValueRaw": {
"value": 240000000,
"currency": "EUR"
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44927/get+player+details?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"transferHistory": [
{
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"jerseyNumber": "9",
"userCount": 1083364,
"gender": "M",
"sofascoreId": "ghm-8ni",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"transferFrom": {
"name": "Borussia Dortmund",
"slug": "borussia-dortmund",
"shortName": "Dortmund",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1282756,
"nameCode": "BVB",
"disabled": false,
"national": false,
"type": 0,
"id": 2673,
"teamColors": {
"primary": "#ffe600",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "بوروسيا دورتموند",
"hi": "बोरुस्सिया डॉर्टमुंड",
"ru": "Боруссия Дортмунд"
},
"shortNameTranslation": {
"ar": "دورتموند",
"bn": "ডর্টমুন্ড",
"hi": "डॉर्टमुंड",
"ru": "Дортмунд"
}
}
},
"transferTo": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"fromTeamName": "Borussia Dortmund",
"toTeamName": "Manchester City",
"type": 3,
"transferFee": 60000000,
"transferFeeDescription": "60M €",
"id": 1404775,
"transferDateTimestamp": 1656633600,
"transferFeeRaw": {
"value": 60000000,
"currency": "EUR"
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44928/get+player+transfer+history?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"statistics": {
"rating": 7.5923076923077,
"totalRating": 98.7,
"countRating": 13,
"goals": 11,
"bigChancesCreated": 3,
"bigChancesMissed": 8,
"assists": 0,
"expectedAssists": 0.94376241,
"goalsAssistsSum": 11,
"expectedGoalInvolvements": 9.98066241,
"accuratePasses": 118,
"inaccuratePasses": 59,
"totalPasses": 177,
"accuratePassesPercentage": 66.666666666667,
"accurateOwnHalfPasses": 42,
"accurateOppositionHalfPasses": 76,
"accurateFinalThirdPasses": 49,
"keyPasses": 7,
"successfulDribbles": 7,
"successfulDribblesPercentage": 50,
"tackles": 2,
"interceptions": 2,
"yellowCards": 0,
"directRedCards": 0,
"redCards": 0,
"accurateCrosses": 0,
"accurateCrossesPercentage": 0,
"totalShots": 47,
"shotsOnTarget": 22,
"shotsOffTarget": 12,
"groundDuelsWon": 17,
"groundDuelsWonPercentage": 39.53488372093,
"aerialDuelsWon": 31,
"aerialDuelsWonPercentage": 63.265306122449,
"totalDuelsWon": 48,
"totalDuelsWonPercentage": 52.173913043478,
"minutesPlayed": 1160,
"goalConversionPercentage": 23.404255319149,
"penaltiesTaken": 0,
"penaltyGoals": 0,
"penaltyWon": 0,
"penaltyConceded": 0,
"shotFromSetPiece": 0,
"freeKickGoal": 0,
"goalsFromInsideTheBox": 11,
"goalsFromOutsideTheBox": 0,
"shotsFromInsideTheBox": 45,
"shotsFromOutsideTheBox": 2,
"headedGoals": 4,
"leftFootGoals": 5,
"rightFootGoals": 2,
"accurateLongBalls": 2,
"accurateLongBallsPercentage": 66.666666666667,
"clearances": 17,
"errorLeadToGoal": 0,
"errorLeadToShot": 0,
"dispossessed": 9,
"possessionLost": 95,
"possessionWonAttThird": 4,
"totalChippedPasses": 8,
"accurateChippedPasses": 5,
"touches": 321,
"wasFouled": 8,
"fouls": 8,
"hitWoodwork": 0,
"ownGoals": 0,
"dribbledPast": 3,
"offsides": 2,
"blockedShots": 13,
"passToAssist": 0,
"saves": 0,
"kilometersCovered": 126.2517386,
"numberOfSprints": 153,
"topSpeed": 35.32824,
"cleanSheet": 3,
"penaltyFaced": 0,
"penaltySave": 0,
"savedShotsFromInsideTheBox": 0,
"savedShotsFromOutsideTheBox": 0,
"goalsConcededInsideTheBox": 16,
"goalsConcededOutsideTheBox": 0,
"punches": 0,
"runsOut": 0,
"successfulRunsOut": 0,
"highClaims": 0,
"crossesNotClaimed": 0,
"matchesStarted": 13,
"penaltyConversion": 0,
"setPieceConversion": 0,
"totalAttemptAssist": 7,
"totalContest": 14,
"totalCross": 0,
"duelLost": 44,
"aerialLost": 18,
"attemptPenaltyMiss": 0,
"attemptPenaltyPost": 0,
"attemptPenaltyTarget": 0,
"totalLongBalls": 3,
"goalsConceded": 16,
"tacklesWon": 0,
"tacklesWonPercentage": 0,
"scoringFrequency": 105.45454545455,
"yellowRedCards": 0,
"savesCaught": 0,
"savesParried": 0,
"totalOwnHalfPasses": 60,
"totalOppositionHalfPasses": 117,
"totwAppearances": 4,
"expectedGoals": 9.0369,
"goalKicks": 0,
"ballRecovery": 25,
"outfielderBlocks": 2,
"expectedGoalsOnTarget": 9.6084,
"touchesInOppBox": 73,
"unsuccessfulTouches": 19,
"metersCoveredRunning": 14310.9295,
"metersCoveredHighSpeedRunning": 6422.0453,
"metersCoveredSprinting": 2928.9169,
"expectedGoalsConceded": 15.8318,
"expectedGoalsOnTargetConceded": 15.3855,
"cornersTaken": 0,
"defensiveContributions": 23,
"metersCoveredWalking": 0,
"metersCoveredJogging": 0,
"metersCoveredWalkingJogging": 0,
"savesPercentage": 0,
"sprintingPercentage": 2.3199022306375,
"runningPercentage": 11.335233604458,
"highSpeedRunningPercentage": 5.0866985050771,
"walkingJoggingPercentage": 0,
"metersCovered": 126251.7386,
"penaltySavePercentage": 0,
"kilometersCoveredPer90": 9.795393512069,
"numberOfSprintsPer90": 11.870689655172,
"id": 3307766,
"goalInvolvements": 11,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"seasonRatingBreakdown": {
"shotValue": 0.21,
"passValue": 0.06,
"dribbleValue": 0.18,
"defensiveValue": 0.14
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44929/get+player+season+statistics?player_id=839956&unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "FIFA World Cup, Group I",
"slug": "world-championship-gr-i",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"country": [],
"id": 1468,
"flag": "international"
},
"uniqueTournament": {
"name": "FIFA World Cup",
"slug": "world-championship",
"primaryColorHex": "#d20a11",
"secondaryColorHex": "#e8bb57",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"country": [],
"id": 1468,
"flag": "international"
},
"userCount": 1909882,
"hasPerformanceGraphFeature": false,
"liveActivityEnabled": true,
"country": [],
"id": 16,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false
},
"priority": 812,
"isGroup": true,
"groupName": "Group I",
"groupSign": "I",
"id": 139403
},
"season": {
"name": "World Cup 2026",
"year": "2026",
"editor": false,
"seasonCoverageInfo": [],
"id": 58210
},
"roundInfo": {
"round": 3
},
"customId": "AObsGOb",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 2,
"homeTeam": {
"name": "Norway",
"slug": "norway",
"shortName": "Norway",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 464219,
"nameCode": "NOR",
"ranking": 19,
"disabled": false,
"national": true,
"type": 0,
"country": {
"alpha2": "NO",
"alpha3": "NOR",
"name": "Norway",
"slug": "norway"
},
"id": 4475,
"subTeams": [],
"teamColors": {
"primary": "#ef2b2d",
"secondary": "#001f5b",
"text": "#001f5b"
}
},
"awayTeam": {
"name": "France",
"slug": "france",
"shortName": "France",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1895770,
"nameCode": "FRA",
"ranking": 3,
"disabled": false,
"national": true,
"type": 0,
"country": {
"alpha2": "FR",
"alpha3": "FRA",
"name": "France",
"slug": "france"
},
"id": 4481,
"subTeams": [],
"teamColors": {
"primary": "#01509e",
"secondary": "#e30613",
"text": "#e30613"
}
},
"homeScore": {
"current": 1,
"display": 1,
"period1": 1,
"period2": 0,
"normaltime": 1
},
"awayScore": {
"current": 4,
"display": 4,
"period1": 3,
"period2": 1,
"normaltime": 4
},
"coverage": -1,
"time": {
"injuryTime1": 5,
"injuryTime2": 5,
"currentPeriodStartTimestamp": 1782504550
},
"changes": {
"changes": [
"status.code"
],
"changeTimestamp": 1782507560
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": true,
"correctHalftimeAiInsight": true,
"id": 15186537,
"slug": "france-norway",
"startTimestamp": 1782500400,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"national"
],
"level": [
"top-competitions"
],
"gender": [
"M"
]
}
}
],
"hasNextPage": true,
"playedForTeamMap": {
"15186770": 4475,
"15186537": 4475,
"12812989": 4475,
"12813006": 4475,
"12813017": 4475,
"16248427": 17,
"16363243": 17,
"16363252": 17,
"16363263": 17,
"16938854": 17,
"16363645": 17,
"16363867": 17,
"15534100": 4475,
"15534096": 4475,
"15534104": 4475,
"15534095": 4475,
"16363878": 17,
"16938772": 17,
"16363887": 17,
"16938775": 17,
"16363892": 17,
"16363908": 17,
"16938938": 17,
"16363919": 17,
"15534103": 4475,
"15534099": 4475,
"16363661": 17,
"16938774": 17,
"16363664": 17,
"16363689": 17,
"16363700": 17
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44930/get+player+finished+matches?player_id=839956&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"rankings": [
{
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"hi": "प्रिमियर लीग",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"totalTeams": 9,
"playingTeams": 9,
"year": "2027",
"type": 1,
"rowName": "England",
"ranking": 1,
"points": 109.019,
"id": 268217,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"rankingClass": "uniquetournament"
},
{
"uniqueTournament": {
"name": "Serie A",
"slug": "serie-a",
"primaryColorHex": "#09519e",
"secondaryColorHex": "#008fd7",
"category": {
"name": "Italy",
"slug": "italy",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 7,
"country": {
"alpha2": "IT",
"alpha3": "ITA",
"name": "Italy",
"slug": "italy"
},
"id": 31,
"flag": "italy",
"alpha2": "IT",
"fieldTranslations": {
"nameTranslation": {
"ar": "إيطاليا",
"bn": "ইতালি",
"hi": "इटली",
"ru": "Италия"
},
"shortNameTranslation": []
}
},
"userCount": 635568,
"liveActivityEnabled": true,
"country": [],
"id": 23,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإيطالي",
"bn": "সিরি আ",
"hi": "सीरी ए",
"ru": "Серия А"
},
"shortNameTranslation": []
}
},
"totalTeams": 7,
"playingTeams": 7,
"year": "2027",
"type": 1,
"rowName": "Italy",
"ranking": 2,
"points": 93.446,
"id": 268218,
"country": {
"alpha2": "IT",
"alpha3": "ITA",
"name": "Italy",
"slug": "italy"
},
"rankingClass": "uniquetournament"
},
{
"uniqueTournament": {
"name": "LaLiga",
"slug": "laliga",
"primaryColorHex": "#2f4a89",
"secondaryColorHex": "#f4a32e",
"category": {
"name": "Spain",
"slug": "spain",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 9,
"country": {
"alpha2": "ES",
"alpha3": "ESP",
"name": "Spain",
"slug": "spain"
},
"id": 32,
"flag": "spain",
"alpha2": "ES",
"fieldTranslations": {
"nameTranslation": {
"ar": "إسبانيا",
"bn": "স্পেন",
"hi": "स्पेन",
"ru": "Испания"
},
"shortNameTranslation": []
}
},
"userCount": 842952,
"liveActivityEnabled": true,
"country": [],
"id": 8,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإسباني",
"bn": "লা লীগা",
"hi": "ला लिगा",
"ru": "Ла Лига"
},
"shortNameTranslation": []
}
},
"totalTeams": 8,
"playingTeams": 8,
"year": "2027",
"type": 1,
"rowName": "Spain",
"ranking": 3,
"points": 87.743,
"id": 268219,
"country": {
"alpha2": "ES",
"alpha3": "ESP",
"name": "Spain",
"slug": "spain"
},
"rankingClass": "uniquetournament"
}
],
"updatedAtTimestamp": 1796283025
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44931/get+rankings?ranking_type_id=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"results": [
{
"entity": {
"id": 42,
"name": "Arsenal",
"nameCode": "ARS",
"slug": "arsenal",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3717005,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"type": 0,
"gender": "M",
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"score": 268255.9,
"type": "team"
},
{
"entity": {
"id": 934235,
"name": "Bukayo Saka",
"slug": "bukayo-saka",
"userCount": 169732,
"team": {
"id": 42,
"name": "Arsenal",
"nameCode": "ARS",
"slug": "arsenal",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3717005,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"gender": "M",
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"deceased": false,
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
},
"shortName": "B. Saka",
"position": "F",
"jerseyNumber": "7",
"sofascoreId": "iw8-xrp",
"fieldTranslations": {
"nameTranslation": {
"ar": "ب. ساكا",
"bn": "বি. সাকা",
"hi": "बी. साका",
"ru": "Б. Сака"
},
"shortNameTranslation": []
}
},
"score": 49643.965,
"type": "player"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44932/search+all?q=arsenal&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"categories": [
{
"name": "Virtual Leagues",
"slug": "virtual-leagues",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1156,
"flag": "virtual-leagues",
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوريات الافتراضية",
"ru": "Виртуальные лиги"
},
"shortNameTranslation": []
}
},
{
"name": "Zanzibar",
"slug": "zanzibar",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1159,
"flag": "zanzibar",
"fieldTranslations": {
"nameTranslation": {
"ar": "زانزيبار",
"ru": "Занзибар"
},
"shortNameTranslation": []
}
},
{
"name": "Electronic Leagues",
"slug": "electronic-leagues",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1453,
"flag": "electronic-leagues",
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوريات الإلكترونية",
"ru": "Electronic Leagues"
},
"shortNameTranslation": []
}
},
{
"name": "Crimea",
"slug": "crimea",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1483,
"flag": "crimea",
"fieldTranslations": {
"nameTranslation": {
"ar": "شبه جزيرة القرم",
"ru": "Крым"
},
"shortNameTranslation": []
}
},
{
"name": "Northern Cyprus",
"slug": "northern-cyprus",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1495,
"flag": "northern-cyprus",
"fieldTranslations": {
"nameTranslation": {
"ar": "قبرص الشمالية",
"ru": "Северный Кипр"
},
"shortNameTranslation": []
}
},
{
"name": "Timor-Leste",
"slug": "timor-leste",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"id": 1834,
"flag": "timor-leste",
"alpha2": "TL",
"fieldTranslations": {
"nameTranslation": {
"ar": "تيمور الشرقية",
"ru": "Восточный Тимор"
},
"shortNameTranslation": []
}
},
{
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
{
"name": "Afghanistan",
"slug": "afghanistan",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1084,
"flag": "afghanistan",
"alpha2": "AF",
"fieldTranslations": {
"nameTranslation": {
"ar": "أفغانستان",
"ru": "Афганистан"
},
"shortNameTranslation": []
}
},
{
"name": "Central African Republic",
"slug": "central-african-republic",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1924,
"flag": "central-african-rep",
"alpha2": "CF",
"fieldTranslations": {
"nameTranslation": {
"ar": "جمهورية إفريقيا الوسطى",
"bn": "মধ্য আফ্রিকান প্রজাতন্ত্র",
"hi": "मध्य अफ़्रीकी गणराज्य",
"ru": "Центрально-Африканская Республика"
},
"shortNameTranslation": []
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44933/get+sport+categories?sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "U19 UEFA European Championship, W, Q, R1, Gr. A2",
"slug": "u19-uefa-european-championship-w-q-r1-gr-a2",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"country": [],
"id": 1465,
"flag": "europe"
},
"uniqueTournament": {
"name": "U19 European Women's Championship Qualif.",
"slug": "u19-european-womens-championship-qualif",
"primaryColorHex": "#d32b79",
"secondaryColorHex": "#cb93ac",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"country": [],
"id": 1465,
"flag": "europe"
},
"userCount": 2455,
"hasPerformanceGraphFeature": false,
"showBanner": true,
"liveActivityEnabled": false,
"country": [],
"id": 746,
"hasEventPlayerStatistics": false,
"displayInverseHomeAwayTeams": false
},
"priority": 0,
"isGroup": true,
"groupName": "Group A2",
"isLive": false,
"id": 95258
},
"season": {
"name": "U19 UEFA European Championship, Women, Qualification 2027",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 5
},
"id": 100228
},
"roundInfo": {
"round": 3
},
"customId": "mXosqXo",
"status": {
"code": 7,
"description": "2nd half",
"type": "inprogress"
},
"homeTeam": {
"name": "Wales U19",
"slug": "wales-u19",
"shortName": "Wales U19",
"gender": "F",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 833,
"nameCode": "WAL",
"national": true,
"type": 0,
"country": {
"alpha2": "WA",
"alpha3": "WAL",
"name": "Wales",
"slug": "wales"
},
"id": 37366,
"subTeams": [],
"teamColors": {
"primary": "#ff0000",
"secondary": "#00813c",
"text": "#00813c"
}
},
"awayTeam": {
"name": "Spain U19",
"slug": "spain-u19",
"shortName": "Spain U19",
"gender": "F",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 5796,
"nameCode": "ESP",
"disabled": false,
"national": true,
"type": 0,
"country": {
"alpha2": "ES",
"alpha3": "ESP",
"name": "Spain",
"slug": "spain"
},
"id": 37362,
"subTeams": [],
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
}
},
"homeScore": {
"current": 0,
"display": 0,
"period1": 0,
"period2": 0
},
"awayScore": {
"current": 2,
"display": 2,
"period1": 2,
"period2": 0
},
"time": {
"periodLength": 2700,
"overtimeLength": 900,
"totalPeriodCount": 2,
"currentPeriodStartTimestamp": 1796290388,
"lastPeriodEndTimestamp": 1796289417,
"initial": 2700,
"max": 5400,
"extra": 540
},
"changes": {
"changes": [
"time.currentPeriodStart"
],
"changeTimestamp": 1796290928
},
"hasGlobalHighlights": false,
"crowdsourcingDataDisplayEnabled": false,
"id": 17372169,
"varInProgress": {
"homeTeam": false,
"awayTeam": false
},
"statusTime": {
"prefix": null,
"initial": 2700,
"max": 5400,
"timestamp": 1796290388,
"extra": 540
},
"slug": "wales-u19-spain-u19",
"startTimestamp": 1796286600,
"lastPeriod": "period2",
"finalResultOnly": false,
"feedLocked": false,
"isEditor": false,
"eventFilters": {
"category": [
"national"
],
"level": [
"pro"
],
"gender": [
"F"
]
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44934/get+sport+live+matches?sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": []
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44935/get+sport+matches+by+date?sport_slug=football&date=2026-11-20&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
}
]
},
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
}
]
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
}
]
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"displayInverseHomeAwayTeams": false
},
"priority": 704,
"isLive": false,
"id": 1
},
"primaryUniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
}
]
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"displayInverseHomeAwayTeams": false
},
"userCount": 4166685,
"manager": {
"name": "Enzo Maresca",
"slug": "enzo-maresca",
"shortName": "E. Maresca",
"country": {
"alpha2": "IT",
"alpha3": "ITA",
"name": "Italy",
"slug": "italy"
},
"id": 794873
},
"venue": {
"city": {
"name": "Manchester",
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 18626
},
"venueCoordinates": {
"latitude": 53.483091,
"longitude": -2.200252
},
"hidden": false,
"slug": "etihad-stadium",
"name": "Etihad Stadium",
"capacity": 53400,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 606,
"stadium": {
"name": "Etihad Stadium",
"capacity": 53400
}
},
"nameCode": "MCI",
"class": 4,
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"fullName": "Manchester City",
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"foundationDateTimestamp": -2811888000,
"timeActive": []
},
"pregameForm": {
"avgRating": "7.80",
"position": 8,
"value": "10",
"form": [
"W"
]
},
"editorEntity": false
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44936/get+team+details?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"players": [
{
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1181093,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"displayInverseHomeAwayTeams": false
},
"priority": 704,
"isLive": false,
"id": 1
},
"primaryUniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1181093,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"displayInverseHomeAwayTeams": false
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
}
},
"position": "F",
"positionsDetailed": [
"ST"
],
"jerseyNumber": "9",
"height": 195,
"dateOfBirth": "2000-07-21T00:00:00+00:00",
"preferredFoot": "Left",
"userCount": 1083364,
"deceased": false,
"gender": "M",
"sofascoreId": "ghm-8ni",
"country": {
"alpha2": "NO",
"alpha3": "NOR",
"name": "Norway",
"slug": "norway"
},
"id": 839956,
"underage": false,
"shirtNumber": 9,
"dateOfBirthTimestamp": 964137600,
"contractUntilTimestamp": 2035238400,
"proposedMarketValue": 240000000,
"proposedMarketValueRaw": {
"value": 240000000,
"currency": "EUR"
}
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44937/get+team+players?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"transfersIn": [
{
"player": {
"name": "Iliman Ndiaye",
"slug": "iliman-ndiaye",
"shortName": "I. Ndiaye",
"position": "M",
"jerseyNumber": "7",
"userCount": 88283,
"gender": "M",
"sofascoreId": "zzm-cnd",
"id": 914309,
"fieldTranslations": {
"nameTranslation": {
"ar": "إليمان نداي",
"bn": "ইলিমান এনদিয়ায়ে",
"hi": "इलीमन नदिये",
"ru": "Илиман Ндиайе"
},
"shortNameTranslation": {
"ar": "إ. نداي",
"bn": "আই. এনদিয়ায়ে",
"hi": "आई. नदिये",
"ru": "И. Ндиайе"
}
}
},
"transferFrom": {
"name": "Everton",
"slug": "everton",
"shortName": "Everton",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 340113,
"nameCode": "EVE",
"disabled": false,
"national": false,
"type": 0,
"id": 48,
"teamColors": {
"primary": "#274488",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إيفرتون",
"bn": "এভারটন",
"hi": "एवर्टन",
"ru": "Эвертон"
},
"shortNameTranslation": []
}
},
"transferTo": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"fromTeamName": "Everton",
"toTeamName": "Manchester City",
"type": 3,
"transferFee": 70000000,
"transferFeeDescription": "70M €",
"id": 3684094,
"transferDateTimestamp": 1788220800,
"transferFeeRaw": {
"value": 70000000,
"currency": "EUR"
}
}
],
"transfersOut": [
{
"player": {
"name": "Claudio Echeverri",
"slug": "claudio-echeverri",
"shortName": "C. Echeverri",
"position": "M",
"jerseyNumber": "30",
"userCount": 32113,
"gender": "M",
"sofascoreId": "5fw-vwp",
"id": 1482424,
"fieldTranslations": {
"nameTranslation": {
"ar": "كلاوديو إتشيفيري",
"bn": "ক্লাউদিও এচেভেরি",
"hi": "क्लाउडियो एचेवेरी",
"ru": "Клаудио Эчеверри"
},
"shortNameTranslation": {
"ar": "ك. إتشيفيري",
"bn": "সি. এচেভেরি",
"hi": "सी. एचेवेरी",
"ru": "К. Эчеверри"
}
}
},
"transferFrom": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"transferTo": {
"name": "Benfica",
"slug": "benfica",
"shortName": "Benfica",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 764618,
"nameCode": "SLB",
"disabled": false,
"national": false,
"type": 0,
"id": 3006,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "بنفيكا",
"bn": "বেনফিকা",
"hi": "बेनफिका",
"ru": "Бенфика"
},
"shortNameTranslation": []
}
},
"fromTeamName": "Manchester City",
"toTeamName": "Benfica",
"type": 1,
"transferFee": 0,
"transferFeeDescription": "-",
"id": 3696570,
"transferDateTimestamp": 1788307200,
"transferFeeRaw": {
"value": 0,
"currency": "EUR"
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44938/get+team+transfers?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1
},
"season": {
"name": "Premier League 25/26",
"year": "25/26",
"editor": false,
"id": 76986
},
"roundInfo": {
"round": 35
},
"customId": "rY",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 3,
"homeTeam": {
"name": "Everton",
"slug": "everton",
"shortName": "Everton",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 340113,
"nameCode": "EVE",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 48,
"subTeams": [],
"teamColors": {
"primary": "#274488",
"secondary": "#ffffff",
"text": "#ffffff"
}
},
"awayTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
}
},
"homeScore": {
"current": 3,
"display": 3,
"period1": 0,
"period2": 3,
"normaltime": 3
},
"awayScore": {
"current": 3,
"display": 3,
"period1": 1,
"period2": 2,
"normaltime": 3
},
"time": {
"injuryTime1": 2,
"injuryTime2": 6,
"currentPeriodStartTimestamp": 1777925035
},
"changes": {
"changes": [
"status.code"
],
"changeTimestamp": 1777928221
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": false,
"correctHalftimeAiInsight": false,
"id": 14023930,
"slug": "everton-manchester-city",
"startTimestamp": 1777921200,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions"
],
"gender": [
"M"
]
}
}
],
"hasNextPage": true
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44939/get+team+finished+matches?team_id=17&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 14
},
"customId": "rsab",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Brentford",
"slug": "brentford",
"shortName": "Brentford",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 281162,
"nameCode": "BRE",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 50,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#ff0000",
"text": "#ff0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برينتفورد",
"bn": "ব্রেন্টফোর্ড",
"hi": "ब्रेंटफोर्ड",
"ru": "Брентфорд"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"homeScore": [],
"awayScore": [],
"time": [],
"changes": {
"changeTimestamp": 0
},
"hasGlobalHighlights": false,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"id": 16363700,
"slug": "brentford-manchester-city",
"startTimestamp": 1796500800,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
}
],
"hasNextPage": false
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44940/get+team+upcoming+matches?team_id=17&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"statistics": {
"goalsScored": 26,
"goalsConceded": 16,
"ownGoals": 1,
"assists": 20,
"shots": 191,
"penaltyGoals": 0,
"penaltiesTaken": 0,
"freeKickGoals": 1,
"freeKickShots": 3,
"goalsFromInsideTheBox": 23,
"goalsFromOutsideTheBox": 3,
"shotsFromInsideTheBox": 147,
"shotsFromOutsideTheBox": 44,
"headedGoals": 5,
"leftFootGoals": 9,
"rightFootGoals": 12,
"bigChances": 43,
"bigChancesCreated": 40,
"bigChancesMissed": 28,
"shotsOnTarget": 65,
"shotsOffTarget": 63,
"blockedScoringAttempt": 63,
"successfulDribbles": 153,
"dribbleAttempts": 309,
"corners": 77,
"hitWoodwork": 8,
"fastBreaks": 17,
"fastBreakGoals": 3,
"fastBreakShots": 14,
"averageBallPossession": 62.153846153846,
"totalPasses": 7865,
"accuratePasses": 6924,
"accuratePassesPercentage": 88.035600762873,
"totalOwnHalfPasses": 3547,
"accurateOwnHalfPasses": 3285,
"accurateOwnHalfPassesPercentage": 92.613476177051,
"totalOppositionHalfPasses": 4318,
"accurateOppositionHalfPasses": 3639,
"accurateOppositionHalfPassesPercentage": 84.275127373784,
"totalLongBalls": 389,
"accurateLongBalls": 200,
"accurateLongBallsPercentage": 51.413881748072,
"totalCrosses": 228,
"accurateCrosses": 73,
"accurateCrossesPercentage": 32.017543859649,
"cleanSheets": 4,
"tackles": 176,
"interceptions": 87,
"saves": 33,
"errorsLeadingToGoal": 6,
"errorsLeadingToShot": 7,
"penaltiesCommited": 1,
"penaltyGoalsConceded": 1,
"clearances": 257,
"clearancesOffLine": 1,
"lastManTackles": 3,
"totalDuels": 1368,
"duelsWon": 699,
"duelsWonPercentage": 51.09649122807,
"totalGroundDuels": 1027,
"groundDuelsWon": 516,
"groundDuelsWonPercentage": 50.243427458617,
"totalAerialDuels": 341,
"aerialDuelsWon": 183,
"aerialDuelsWonPercentage": 53.66568914956,
"possessionLost": 1653,
"offsides": 18,
"fouls": 139,
"yellowCards": 18,
"yellowRedCards": 0,
"redCards": 1,
"avgRating": 7.6276923076923,
"avgRatingVersion": 2,
"accurateFinalThirdPassesAgainst": 740,
"accurateOppositionHalfPassesAgainst": 1615,
"accurateOwnHalfPassesAgainst": 2069,
"accuratePassesAgainst": 3684,
"bigChancesAgainst": 34,
"bigChancesCreatedAgainst": 25,
"bigChancesMissedAgainst": 22,
"clearancesAgainst": 299,
"cornersAgainst": 55,
"crossesSuccessfulAgainst": 41,
"crossesTotalAgainst": 188,
"dribbleAttemptsTotalAgainst": 182,
"dribbleAttemptsWonAgainst": 88,
"errorsLeadingToGoalAgainst": 3,
"errorsLeadingToShotAgainst": 6,
"hitWoodworkAgainst": 7,
"interceptionsAgainst": 163,
"keyPassesAgainst": 100,
"longBallsSuccessfulAgainst": 263,
"longBallsTotalAgainst": 627,
"offsidesAgainst": 28,
"redCardsAgainst": 1,
"shotsAgainst": 133,
"shotsBlockedAgainst": 30,
"shotsFromInsideTheBoxAgainst": 90,
"shotsFromOutsideTheBoxAgainst": 43,
"shotsOffTargetAgainst": 55,
"shotsOnTargetAgainst": 49,
"blockedScoringAttemptAgainst": 29,
"tacklesAgainst": 294,
"totalFinalThirdPassesAgainst": 1119,
"oppositionHalfPassesTotalAgainst": 2295,
"ownHalfPassesTotalAgainst": 2315,
"totalPassesAgainst": 4610,
"yellowCardsAgainst": 30,
"throwIns": 222,
"goalKicks": 78,
"ballRecovery": 580,
"freeKicks": 187,
"kilometersCovered": 1470.9486072,
"numberOfSprints": 1343,
"kilometersCoveredPerGame": 113.14989286154,
"numberOfSprintsPerGame": 103.30769230769,
"expectedGoals": 24.0279,
"expectedGoalsOnTarget": 21.7199,
"expectedAssists": 18.502729,
"goalsPrevented": -0.3421,
"touches": 10385,
"keyPasses": 154,
"defensiveContributions": 549,
"id": 91587,
"matches": 13,
"awardedMatches": 0,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "team"
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44941/get+team+season+statistics?team_id=17&unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"logo": {
"md5": "a282e49dbb721f162ebfd662abc65480",
"id": 1418035
},
"darkLogo": {
"md5": "168dc1bd4037337e846eed3a83e441b0",
"id": 3240337
},
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"name": "England"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1179580,
"tier": 1,
"titleHolder": {
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3717005,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"name": "England"
},
"id": 42,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
}
},
"titleHolderTitles": 14,
"mostTitles": 20,
"linkedUniqueTournaments": [],
"hasRounds": true,
"hasGroups": false,
"hasPlayoffSeries": false,
"upperDivisions": [],
"lowerDivisions": [
{
"name": "Championship",
"slug": "championship",
"primaryColorHex": "#20429a",
"secondaryColorHex": "#ac944a",
"logo": {
"md5": "25e2ced9104ace1fe1a929d12e56da19",
"id": 294000
},
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"name": "England"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"tier": 2,
"hasRounds": true,
"hasGroups": false,
"hasPlayoffSeries": false,
"hasPerformanceGraphFeature": true,
"periodLength": [],
"gender": "M",
"excludeFromCareerStats": false,
"liveActivityEnabled": true,
"editorCoverageNeeded": false,
"country": [],
"id": 18,
"startDateTimestamp": 1786665600,
"endDateTimestamp": 1811548800,
"mostTitlesTeams": [
{
"name": "Leicester City",
"slug": "leicester-city",
"shortName": "Leicester",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 231305,
"nameCode": "LEI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"name": "England"
},
"id": 31,
"teamColors": {
"primary": "#003090",
"secondary": "#ffffff",
"text": "#ffffff"
}
}
],
"disabledHomeAwayStandings": false,
"displayInverseHomeAwayTeams": false
}
],
"hasPerformanceGraphFeature": true,
"periodLength": [],
"gender": "M",
"excludeFromCareerStats": false,
"liveActivityEnabled": true,
"editorCoverageNeeded": false,
"country": [],
"id": 17,
"startDateTimestamp": 1787270400,
"endDateTimestamp": 1811635200,
"mostTitlesTeams": [
{
"name": "Manchester United",
"slug": "manchester-united",
"shortName": "Man Utd",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3813851,
"nameCode": "MUN",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"name": "England"
},
"id": 35,
"teamColors": {
"primary": "#ff0000",
"secondary": "#373737",
"text": "#373737"
}
}
],
"disabledHomeAwayStandings": false,
"displayInverseHomeAwayTeams": false
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44942/get+unique+tournament+details?unique_tournament_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"seasons": [
{
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
{
"name": "Premier League 25/26",
"year": "25/26",
"editor": false,
"id": 76986
},
{
"name": "Premier League 24/25",
"year": "24/25",
"editor": false,
"id": 61627
},
{
"name": "Premier League 23/24",
"year": "23/24",
"editor": false,
"id": 52186
},
{
"name": "Premier League 22/23",
"year": "22/23",
"editor": false,
"seasonCoverageInfo": [],
"id": 41886
},
{
"name": "Premier League 21/22",
"year": "21/22",
"editor": false,
"id": 37036
},
{
"name": "Premier League 20/21",
"year": "20/21",
"editor": false,
"id": 29415
},
{
"name": "Premier League 19/20",
"year": "19/20",
"editor": false,
"id": 23776
},
{
"name": "Premier League 18/19",
"year": "18/19",
"editor": false,
"id": 17359
},
{
"name": "Premier League 17/18",
"year": "17/18",
"editor": false,
"id": 13380
},
{
"name": "Premier League 16/17",
"year": "16/17",
"editor": false,
"id": 11733
},
{
"name": "Premier League 15/16",
"year": "15/16",
"editor": false,
"id": 10356
},
{
"name": "Premier League 14/15",
"year": "14/15",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 8186
},
{
"name": "Premier League 13/14",
"year": "13/14",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 6311
},
{
"name": "Premier League 12/13",
"year": "12/13",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 4710
},
{
"name": "Premier League 11/12",
"year": "11/12",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 3391
},
{
"name": "Premier League 10/11",
"year": "10/11",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2746
},
{
"name": "Premier League 09/10",
"year": "09/10",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2139
},
{
"name": "Premier League 08/09",
"year": "08/09",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 1544
},
{
"name": "Premier League 07/08",
"year": "07/08",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 581
},
{
"name": "Premier League 06/07",
"year": "06/07",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 4
},
{
"name": "Premier League 05/06",
"year": "05/06",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 3
},
{
"name": "Premier League 04/05",
"year": "04/05",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2
},
{
"name": "Premier League 03/04",
"year": "03/04",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 1
},
{
"name": "Premier League 02/03",
"year": "02/03",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 46
},
{
"name": "Premier League 01/02",
"year": "01/02",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 47
},
{
"name": "Premier League 00/01",
"year": "00/01",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 48
},
{
"name": "Premier League 99/00",
"year": "99/00",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 49
},
{
"name": "Premier League 98/99",
"year": "98/99",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 50
},
{
"name": "Premier League 97/98",
"year": "97/98",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 51
},
{
"name": "Premier League 96/97",
"year": "96/97",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 25682
},
{
"name": "Premier League 95/96",
"year": "95/96",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 25681
},
{
"name": "Premier League 94/95",
"year": "94/95",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 29167
},
{
"name": "Premier League 93/94",
"year": "93/94",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 25680
},
{
"name": "Premier League 92/93",
"year": "92/93",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 13043
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44943/get+unique+tournament+seasons?unique_tournament_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"standings": [
{
"id": 280504,
"type": "total",
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"name": "Premier League 26/27",
"descriptions": [],
"tieBreakingRule": {
"id": 17827,
"text": "In the event that two (or more) teams have an equal number of points, the following rules break the tie:\n1. Goal difference\n2. Goals scored\n3. H2H"
},
"rows": [
{
"id": 2356398,
"team": {
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3717005,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 42,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"descriptions": [],
"promotion": {
"id": 804,
"text": "Champions League"
},
"position": 1,
"matches": 13,
"wins": 9,
"losses": 1,
"draws": 3,
"scoresFor": 20,
"scoresAgainst": 10,
"points": 30,
"scoreDiffFormatted": "+10",
"avgRating": 7.7,
"avgRatingVersion": 2
}
],
"updatedAtTimestamp": 1796249440
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44944/get+season+standings?unique_tournament_id=17&season_id=96668&type=total")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"currentRound": {
"round": 13
},
"rounds": [
{
"round": 1
},
{
"round": 2
},
{
"round": 3
},
{
"round": 4
},
{
"round": 5
},
{
"round": 6
},
{
"round": 7
},
{
"round": 8
},
{
"round": 9
},
{
"round": 10
},
{
"round": 11
},
{
"round": 12
},
{
"round": 13
},
{
"round": 14
},
{
"round": 15
},
{
"round": 16
},
{
"round": 17
},
{
"round": 18
},
{
"round": 19
},
{
"round": 20
},
{
"round": 21
},
{
"round": 22
},
{
"round": 23
},
{
"round": 24
},
{
"round": 25
},
{
"round": 26
},
{
"round": 27
},
{
"round": 28
},
{
"round": 29
},
{
"round": 30
},
{
"round": 31
},
{
"round": 32
},
{
"round": 33
},
{
"round": 34
},
{
"round": 35
},
{
"round": 36
},
{
"round": 37
},
{
"round": 38
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44945/get+season+rounds?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 10
},
"customId": "lsY",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Everton",
"slug": "everton",
"shortName": "Everton",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 340113,
"nameCode": "EVE",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 48,
"subTeams": [],
"teamColors": {
"primary": "#274488",
"secondary": "#ffffff",
"text": "#ffffff"
}
},
"awayTeam": {
"name": "Coventry City",
"slug": "coventry-city",
"shortName": "Coventry",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 124382,
"nameCode": "COC",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 11,
"subTeams": [],
"teamColors": {
"primary": "#0099cc",
"secondary": "#999999",
"text": "#999999"
}
},
"homeScore": {
"current": 3,
"display": 3,
"period1": 0,
"period2": 3,
"normaltime": 3
},
"awayScore": {
"current": 1,
"display": 1,
"period1": 0,
"period2": 1,
"normaltime": 1
},
"time": {
"injuryTime1": 1,
"injuryTime2": 6,
"currentPeriodStartTimestamp": 1793999042,
"lastPeriodEndTimestamp": 1793998100
},
"changes": {
"changes": [
"status.code"
],
"changeTimestamp": 1794002114
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": true,
"correctHalftimeAiInsight": false,
"id": 16363914,
"slug": "everton-coventry-city",
"startTimestamp": 1793995200,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions"
],
"gender": [
"M"
]
}
}
],
"hasNextPage": false
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44946/get+season+round+matches?unique_tournament_id=17&season_id=96668&round=10")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 10
},
"customId": "KP",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 3,
"venue": {
"city": {
"name": "Manchester",
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 18626
},
"venueCoordinates": {
"latitude": 53.46311,
"longitude": -2.291387
},
"hidden": false,
"slug": "old-trafford",
"name": "Old Trafford",
"capacity": 74879,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 9,
"stadium": {
"name": "Old Trafford",
"capacity": 74879
}
},
"homeTeam": {
"name": "Manchester United",
"slug": "manchester-united",
"shortName": "Man Utd",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3813851,
"nameCode": "MUN",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 35,
"subTeams": [],
"teamColors": {
"primary": "#ff0000",
"secondary": "#373737",
"text": "#373737"
}
},
"awayTeam": {
"name": "Aston Villa",
"slug": "aston-villa",
"shortName": "Aston Villa",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 944975,
"nameCode": "AVL",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 40,
"subTeams": [],
"teamColors": {
"primary": "#670e36",
"secondary": "#94bee5",
"text": "#94bee5"
}
},
"homeScore": {
"current": 4,
"display": 4,
"period1": 2,
"period2": 2,
"normaltime": 4
},
"awayScore": {
"current": 4,
"display": 4,
"period1": 2,
"period2": 2,
"normaltime": 4
},
"time": {
"injuryTime1": 4,
"injuryTime2": 6,
"currentPeriodStartTimestamp": 1794159370,
"lastPeriodEndTimestamp": 1794158460
},
"changes": {
"changes": [
"status.code"
],
"changeTimestamp": 1794162602
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": false,
"correctHalftimeAiInsight": true,
"id": 16363918,
"slug": "aston-villa-manchester-united",
"startTimestamp": 1794155400,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions"
],
"gender": [
"M"
]
}
}
],
"hasNextPage": true
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44947/get+season+finished+matches?unique_tournament_id=17&season_id=96668&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 13
},
"customId": "IsT",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"venue": {
"city": {
"name": "London",
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17960
},
"venueCoordinates": {
"latitude": 51.604036,
"longitude": -0.066153
},
"hidden": false,
"slug": "tottenham-hotspur-stadium",
"name": "Tottenham Hotspur Stadium",
"capacity": 62850,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 24806,
"stadium": {
"name": "Tottenham Hotspur Stadium",
"capacity": 62850
}
},
"homeTeam": {
"name": "Tottenham Hotspur",
"slug": "tottenham-hotspur",
"shortName": "Tottenham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1345067,
"nameCode": "TOT",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 33,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#000066",
"text": "#000066"
}
},
"awayTeam": {
"name": "Fulham",
"slug": "fulham",
"shortName": "Fulham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 300656,
"nameCode": "FUL",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 43,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#000000",
"text": "#000000"
}
},
"homeScore": [],
"awayScore": [],
"time": [],
"changes": {
"changeTimestamp": 0
},
"hasGlobalHighlights": false,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"id": 16363693,
"slug": "fulham-tottenham-hotspur",
"startTimestamp": 1796328000,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions"
],
"gender": [
"M"
]
}
}
],
"hasNextPage": true
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44948/get+season+upcoming+matches?unique_tournament_id=17&season_id=96668&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"topPlayers": {
"rating": [
{
"statistics": {
"rating": 7.9583333333333,
"id": 3303151,
"type": "overall",
"appearances": 12,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Jan Paul van Hecke",
"slug": "jan-paul-van-hecke",
"shortName": "J. P. van Hecke",
"position": "D",
"userCount": 11423,
"gender": "M",
"id": 962012
},
"team": {
"name": "Tottenham Hotspur",
"slug": "tottenham-hotspur",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1345067,
"national": false,
"type": 0,
"id": 33,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
}
}
}
],
"goals": [
{
"statistics": {
"goals": 11,
"id": 3307766,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Erling Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"userCount": 1083364,
"gender": "M",
"id": 839956
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
}
}
}
],
"expectedGoals": [
{
"statistics": {
"goals": 11,
"expectedGoals": 9.0369,
"id": 3307766,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Erling Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"userCount": 1083364,
"gender": "M",
"id": 839956
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
}
}
}
],
"assists": [
{
"statistics": {
"assists": 5,
"id": 3296106,
"type": "overall",
"appearances": 12,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Declan Rice",
"slug": "declan-rice",
"shortName": "D. Rice",
"position": "M",
"userCount": 75084,
"gender": "M",
"id": 856714
},
"team": {
"name": "Arsenal",
"slug": "arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3717005,
"national": false,
"type": 0,
"id": 42,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
}
}
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44949/get+season+top+players?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"results": [
{
"goals": 2,
"expectedGoals": 1.79,
"successfulDribbles": 0,
"tackles": 17,
"assists": 0,
"accuratePassesPercentage": 91.37,
"rating": 7.96,
"player": {
"name": "Jan Paul van Hecke",
"slug": "jan-paul-van-hecke",
"userCount": 11423,
"gender": "M",
"id": 962012,
"fieldTranslations": {
"nameTranslation": {
"ar": "جان بول فان هيك",
"bn": "জান পল ভ্যান হেকে",
"hi": "जान पॉल वैन हेक",
"ru": "Ян Паул ван Хекке"
},
"shortNameTranslation": {
"ar": "ج. ب. فان هيك",
"bn": "জে. পি. ভ্যান হেকে",
"hi": "जे.पी. वैन हेक",
"ru": "Я. ван Хекке"
}
}
},
"team": {
"name": "Tottenham Hotspur",
"slug": "tottenham-hotspur",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 0,
"national": false,
"type": 0,
"id": 33,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "توتنهام هوتسبير",
"hi": "टोटेनहैम हॉटस्पर ऍफ़सी",
"ru": "Тоттенхэм Хотспур"
},
"shortNameTranslation": {
"ar": "توتنهام",
"bn": "টটেনহ্যাম",
"hi": "टॉटनहैम"
}
}
}
},
{
"goals": 0,
"expectedGoals": null,
"successfulDribbles": 0,
"tackles": 0,
"assists": 0,
"accuratePassesPercentage": 75.87,
"rating": 7.68,
"player": {
"name": "Bart Verbruggen",
"slug": "bart-verbruggen",
"userCount": 9030,
"gender": "M",
"id": 994363,
"fieldTranslations": {
"nameTranslation": {
"ar": "بارت فيربروغين",
"bn": "বার্ট ভারব্রুগেন",
"hi": "बार्ट वर्ब्रुगेन",
"ru": "Барт Вербругген"
},
"shortNameTranslation": {
"ar": "ب. فيربروغين",
"bn": "বি. ভারব্রুগেন",
"hi": "बी. वर्ब्रुगेन",
"ru": "Б. Вербругген"
}
}
},
"team": {
"name": "Brighton & Hove Albion",
"slug": "brighton-and-hove-albion",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 0,
"national": false,
"type": 0,
"id": 30,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برايتون أند هوف ألبيون",
"hi": "ब्राइटोन एंड होव एल्बिओन ऍफ़सी",
"ru": "Брайтон энд Хоув Альбион"
},
"shortNameTranslation": {
"ar": "برايتون",
"bn": "ব্রাইটন",
"hi": "ब्राइटन"
}
}
}
}
],
"page": 1,
"pages": 9
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44950/get+season+player+statistics?unique_tournament_id=17&season_id=96668&limit=20&offset=Optionalorder=-rating&accumulation=total&group=summary&filters=position.in.G~D")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"formation": "4-1-3-2",
"players": [
{
"team": {
"name": "Leeds United",
"slug": "leeds-united",
"shortName": "Leeds",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 257572,
"nameCode": "LEE",
"disabled": false,
"national": false,
"type": 0,
"id": 34,
"teamColors": {
"primary": "#ffffff",
"secondary": "#1d4189",
"text": "#1d4189"
}
},
"event": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN"
},
"userCount": 1181093,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false
},
"priority": 704,
"isLive": false,
"id": 1
},
"roundInfo": {
"round": 10
},
"customId": "IsJ",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Leeds United",
"slug": "leeds-united",
"shortName": "Leeds",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 257572,
"nameCode": "LEE",
"disabled": false,
"national": false,
"type": 0,
"id": 34,
"teamColors": {
"primary": "#ffffff",
"secondary": "#1d4189",
"text": "#1d4189"
}
},
"awayTeam": {
"name": "Tottenham Hotspur",
"slug": "tottenham-hotspur",
"shortName": "Tottenham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1345067,
"nameCode": "TOT",
"disabled": false,
"national": false,
"type": 0,
"id": 33,
"teamColors": {
"primary": "#ffffff",
"secondary": "#000066",
"text": "#000066"
}
},
"homeScore": {
"current": 1,
"display": 1,
"period1": 0,
"period2": 1,
"normaltime": 1
},
"awayScore": {
"current": 0,
"display": 0,
"period1": 0,
"period2": 0,
"normaltime": 0
},
"hasXg": true,
"id": 16363917,
"slug": "leeds-united-tottenham-hotspur",
"startTimestamp": 1794054600,
"finalResultOnly": false
},
"rating": "8.7",
"id": 549012,
"type": "rated",
"player": {
"name": "James Trafford",
"firstName": "James",
"lastName": "Trafford",
"slug": "james-trafford",
"shortName": "J. Trafford",
"position": "G",
"jerseyNumber": "1",
"userCount": 21104,
"gender": "M",
"sofascoreId": "jvv-wqy",
"id": 980643
},
"order": 1
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/44951/get+season+team+of+the+week?period_id=30509")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"providers": [
{
"provider": {
"name": "bet365 USA",
"slug": "bet365-usa",
"defaultBetSlipLink": "https://www.bet365.com/hub/aff/open-account?affiliate=365_03966420",
"oddsFrom": {
"name": "bet365",
"slug": "bet365",
"defaultBetSlipLink": "https://www.bet365.com/hub/aff/open-account?affiliate=365_04034487",
"country": "international",
"id": 1,
"colors": {
"primary": "#017b5b"
},
"brandId": 1
},
"liveOddsFrom": {
"name": "bet365",
"slug": "bet365",
"defaultBetSlipLink": "https://www.bet365.com/hub/aff/open-account?affiliate=365_04034487",
"country": "international",
"id": 1,
"colors": {
"primary": "#017b5b"
},
"brandId": 1
},
"country": "international",
"id": 1169,
"colors": {
"primary": "#017b5b"
},
"brandId": 1
},
"branded": false,
"weight": 100,
"featuredOddsType": "default",
"defaultBetSlipLink": "https://www.sofascore.com/",
"betSlipLink": "https://www.sofascore.com/",
"type": "web",
"campaignId": 1640,
"fallbackProvider": {
"name": "bet365",
"slug": "bet365",
"defaultBetSlipLink": "https://www.bet365.com/hub/aff/open-account?affiliate=365_04034487",
"country": "international",
"id": 1,
"colors": {
"primary": "#017b5b"
},
"brandId": 1
},
"id": 7560,
"impressionCostEncrypted": "5mG72X9qJfP1xpneTaW/rjzWmDJldrs=",
"clickable": false
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45130/get+odds+providers?country_code=US")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"uniqueStages": [
{
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40,
"primaryColorHex": "#1f1a17",
"secondaryColorHex": "#fc201c"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45131/get+category+unique+stages?category_id=36")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181774,
"hasPerformanceGraphFeature": false,
"liveActivityEnabled": false,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 11
},
"customId": "rsT",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 3,
"homeTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4168273,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"awayTeam": {
"name": "Fulham",
"slug": "fulham",
"shortName": "Fulham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 301087,
"nameCode": "FUL",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 43,
"subTeams": [],
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "فولهام",
"bn": "ফুলহাম",
"hi": "फुलहम",
"ru": "Фулхэм"
},
"shortNameTranslation": []
}
},
"homeScore": {
"current": 1,
"display": 1,
"period1": 0,
"period2": 1,
"normaltime": 1
},
"awayScore": {
"current": 1,
"display": 1,
"period1": 1,
"period2": 0,
"normaltime": 1
},
"time": {
"injuryTime1": 2,
"injuryTime2": 3,
"currentPeriodStartTimestamp": 1795267991
},
"changes": {
"changes": [
"time.injuryTime2",
"status.code",
"status.description",
"status.type"
],
"changeTimestamp": 1795270885
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"id": 16363661,
"slug": "fulham-manchester-city",
"startTimestamp": 1795264200,
"finalResultOnly": false,
"feedLocked": false,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
},
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45132/get+category+scheduled+matches?category_id=1&date=2026-11-21")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"uniqueTournaments": [
{
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1146603,
"liveActivityEnabled": true,
"id": 7,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ar": "دوري أبطال أوروبا",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ru": "Лига чемпионов УЕФА",
"ro": "UEFA Champions League"
},
"shortNameTranslation": []
}
},
{
"name": "FIFA Club World Cup",
"slug": "club-world-championship",
"primaryColorHex": "#8d1536",
"secondaryColorHex": "#0bbda4",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"id": 1468,
"flag": "international",
"fieldTranslations": {
"nameTranslation": {
"ar": "العالم",
"bn": "বিশ্ব",
"hi": "विश्व",
"ru": "Мир"
},
"shortNameTranslation": []
}
},
"userCount": 470816,
"liveActivityEnabled": false,
"id": 357,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "بطولة العالم للأندية",
"bn": "ক্লাব ওয়ার্ল্ড চ্যাম্পিয়নশিপ",
"hi": "क्लब वर्ल्ड चैंपियनशिप",
"ru": "Кубок мира среди клубов ФИФА"
},
"shortNameTranslation": []
}
},
{
"name": "UEFA Europa League",
"slug": "uefa-europa-league",
"secondaryColorHex": "#f37d25",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 419061,
"liveActivityEnabled": true,
"id": 679,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা ইউরোপা লীগ",
"ar": "الدوري الأوروبي",
"hi": "यूईएफए यूरोपा लीग",
"ru": "Лига Европы УЕФА"
},
"shortNameTranslation": []
}
},
{
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
{
"name": "LaLiga",
"slug": "laliga",
"primaryColorHex": "#2f4a89",
"secondaryColorHex": "#f4a32e",
"category": {
"name": "Spain",
"slug": "spain",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 9,
"id": 32,
"flag": "spain",
"alpha2": "ES",
"fieldTranslations": {
"nameTranslation": {
"ar": "إسبانيا",
"bn": "স্পেন",
"hi": "स्पेन",
"ru": "Испания"
},
"shortNameTranslation": []
}
},
"userCount": 842401,
"liveActivityEnabled": true,
"id": 8,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإسباني",
"hi": "ला लिगा",
"bn": "লা লীগা",
"ru": "Ла Лига"
},
"shortNameTranslation": []
}
},
{
"name": "Bundesliga",
"slug": "bundesliga",
"primaryColorHex": "#e2080e",
"secondaryColorHex": "#8e0902",
"category": {
"name": "Germany",
"slug": "germany",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 8,
"id": 30,
"flag": "germany",
"alpha2": "DE",
"fieldTranslations": {
"nameTranslation": {
"ar": "ألمانيا",
"bn": "জার্মানি",
"hi": "जर्मनी",
"ru": "Германия"
},
"shortNameTranslation": []
}
},
"userCount": 512713,
"liveActivityEnabled": true,
"id": 35,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "বুন্দেসলীগা",
"ar": "الدوري الألماني",
"hi": "बुंडेसलीगा",
"ru": "Бундеслига"
},
"shortNameTranslation": []
}
},
{
"name": "Serie A",
"slug": "serie-a",
"primaryColorHex": "#09519e",
"secondaryColorHex": "#008fd7",
"category": {
"name": "Italy",
"slug": "italy",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 7,
"id": 31,
"flag": "italy"
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45133/get+top+unique+tournaments?country_code=US&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"uniqueTournaments": [
{
"name": "UEFA Super Cup",
"slug": "uefa-super-cup",
"primaryColorHex": "#626366",
"secondaryColorHex": "#009ade",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 103278,
"liveActivityEnabled": true,
"id": 465,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "كأس السوبر الأوروبي",
"bn": "উয়েফা সুপার কাপ",
"hi": "यूईएफए सुपर कप",
"ru": "Суперкубок УЕФА"
},
"shortNameTranslation": []
}
},
{
"name": "MLS",
"slug": "mls",
"primaryColorHex": "#e2231a",
"secondaryColorHex": "#062f69",
"category": {
"name": "USA",
"slug": "usa",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 26,
"flag": "usa",
"alpha2": "US",
"fieldTranslations": {
"nameTranslation": {
"ar": "الولايات المتحدة",
"ru": "Соединенные Штаты"
},
"shortNameTranslation": []
}
},
"userCount": 103032,
"liveActivityEnabled": true,
"id": 242,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الأمريكي لكرة القدم",
"bn": "এমএলএস",
"hi": "एमएलएस",
"ru": "MLS"
},
"shortNameTranslation": []
}
},
{
"name": "FIFA World Cup",
"slug": "world-championship",
"primaryColorHex": "#d20a11",
"secondaryColorHex": "#e8bb57",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"id": 1468,
"flag": "international",
"fieldTranslations": {
"nameTranslation": {
"ar": "العالم",
"bn": "বিশ্ব",
"hi": "विश्व",
"ru": "Мир"
},
"shortNameTranslation": []
}
},
"userCount": 1909347,
"liveActivityEnabled": true,
"id": 16,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"pt-pt": "Mundial",
"ar": "كأس العالم",
"bn": "ওয়ার্ল্ড চ্যাম্পিয়নশিপ",
"hi": "वर्ल्ड चैंपियनशिप",
"hr": "FIFA Svjetsko prvenstvo",
"az": "FİFA Dünya Kuboku",
"nl": "Wereldkampioenschap",
"fr": "Coupe du monde",
"de": "Weltmeisterschaft",
"el": "Παγκόσμιο Κύπελλο",
"hu": "FIFA Világbajnokság",
"id": "Piala Dunia FIFA",
"it": "Coppa del Mondo FIFA",
"ja": "FIFAワールドカップ",
"ko": "FIFA 월드컵",
"no": "Verdensmesterskapet",
"pl": "Mistrzostwa Świata",
"pt": "Copa do Mundo FIFA",
"ro": "Campionatul Mondial",
"es": "Copa Mundial",
"es-la": "Copa Mundial",
"sv": "Världsmästerskapet",
"th": "ฟุตบอลโลก",
"tr": "FIFA Dünya Kupası",
"vi": "Giải Vô Địch Thế Giới",
"ru": "Чемпионат мира",
"sr": "Светско првенство"
},
"shortNameTranslation": []
}
},
{
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1146603,
"liveActivityEnabled": true,
"id": 7,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ar": "دوري أبطال أوروبا",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ru": "Лига чемпионов УЕФА",
"ro": "UEFA Champions League"
},
"shortNameTranslation": []
}
},
{
"name": "LaLiga",
"slug": "laliga",
"primaryColorHex": "#2f4a89",
"secondaryColorHex": "#f4a32e",
"category": {
"name": "Spain",
"slug": "spain",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 9,
"id": 32,
"flag": "spain",
"alpha2": "ES",
"fieldTranslations": {
"nameTranslation": {
"ar": "إسبانيا",
"bn": "স্পেন",
"hi": "स्पेन",
"ru": "Испания"
},
"shortNameTranslation": []
}
},
"userCount": 842401,
"liveActivityEnabled": true,
"id": 8,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإسباني",
"hi": "ला लिगा",
"bn": "লা লীগা",
"ru": "Ла Лига"
},
"shortNameTranslation": []
}
},
{
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45134/get+default+unique+tournaments?country_code=US&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"football": {
"uniqueTournaments": [
{
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1147355,
"gender": "M",
"liveActivityEnabled": true,
"id": 7,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ar": "دوري أبطال أوروبا",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ru": "Лига чемпионов УЕФА",
"ro": "UEFA Champions League"
},
"shortNameTranslation": []
}
},
{
"name": "FIFA Club World Cup",
"slug": "club-world-championship",
"primaryColorHex": "#8d1536",
"secondaryColorHex": "#0bbda4",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"id": 1468,
"flag": "international",
"fieldTranslations": {
"nameTranslation": {
"ar": "العالم",
"bn": "বিশ্ব",
"hi": "विश्व",
"ru": "Мир"
},
"shortNameTranslation": []
}
},
"userCount": 471187,
"gender": "M",
"liveActivityEnabled": false,
"id": 357,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "بطولة العالم للأندية",
"bn": "ক্লাব ওয়ার্ল্ড চ্যাম্পিয়নশিপ",
"hi": "क्लब वर्ल्ड चैंपियनशिप",
"ru": "Кубок мира среди клубов ФИФА"
},
"shortNameTranslation": []
}
},
{
"name": "UEFA Europa League",
"slug": "uefa-europa-league",
"secondaryColorHex": "#f37d25",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 419342,
"gender": "M",
"liveActivityEnabled": true,
"id": 679,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা ইউরোপা লীগ",
"ar": "الدوري الأوروبي",
"hi": "यूईएफए यूरोपा लीग",
"ru": "Лига Европы УЕФА"
},
"shortNameTranslation": []
}
},
{
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"gender": "M",
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
{
"name": "LaLiga",
"slug": "laliga",
"primaryColorHex": "#2f4a89",
"secondaryColorHex": "#f4a32e",
"category": {
"name": "Spain",
"slug": "spain",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 9,
"id": 32,
"flag": "spain",
"alpha2": "ES",
"fieldTranslations": {
"nameTranslation": {
"ar": "إسبانيا",
"bn": "স্পেন",
"hi": "स्पेन",
"ru": "Испания"
},
"shortNameTranslation": []
}
},
"userCount": 842952,
"gender": "M",
"liveActivityEnabled": true,
"id": 8,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإسباني",
"hi": "ला लिगा",
"bn": "লা লীগা",
"ru": "Ла Лига"
},
"shortNameTranslation": []
}
},
{
"name": "Bundesliga",
"slug": "bundesliga",
"primaryColorHex": "#e2080e",
"secondaryColorHex": "#8e0902",
"category": {
"name": "Germany",
"slug": "germany",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 8,
"id": 30,
"flag": "germany",
"alpha2": "DE",
"fieldTranslations": {
"nameTranslation": {
"ar": "ألمانيا",
"bn": "জার্মানি",
"hi": "जर्मनी",
"ru": "Германия"
}
}
}
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45135/get+popular+entities?country_code=US")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "DFB Pokal",
"slug": "dfb-pokal",
"category": {
"name": "Germany",
"slug": "germany",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 8,
"country": {
"alpha2": "DE",
"alpha3": "DEU",
"name": "Germany",
"slug": "germany"
},
"id": 30,
"flag": "germany",
"alpha2": "DE",
"fieldTranslations": {
"nameTranslation": {
"ar": "ألمانيا",
"bn": "জার্মানি",
"hi": "जर्मनी",
"ru": "Германия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "DFB Pokal",
"slug": "dfb-pokal",
"primaryColorHex": "#ffcc00",
"secondaryColorHex": "#666666",
"category": {
"name": "Germany",
"slug": "germany",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 8,
"country": {
"alpha2": "DE",
"alpha3": "DEU",
"name": "Germany",
"slug": "germany"
},
"id": 30,
"flag": "germany",
"alpha2": "DE",
"fieldTranslations": {
"nameTranslation": {
"ar": "ألمانيا",
"bn": "জার্মানি",
"hi": "जर्मनी",
"ru": "Германия"
},
"shortNameTranslation": []
}
},
"userCount": 81580,
"hasPerformanceGraphFeature": false,
"liveActivityEnabled": true,
"country": [],
"id": 217,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "كأس ألمانيا",
"bn": "ডিএফবি পোকাল",
"hi": "डीएफबी पोकल",
"ru": "Кубок DFB"
},
"shortNameTranslation": []
}
},
"priority": 487,
"isGroup": false,
"isLive": false,
"id": 43,
"fieldTranslations": {
"nameTranslation": {
"ar": "كأس ألمانيا",
"bn": "ডিএফবি কাপ",
"hi": "डीएफबी पोकल",
"ru": "Кубок DFB"
},
"shortNameTranslation": []
}
},
"season": {
"name": "DFB Pokal 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 95860
},
"roundInfo": {
"round": 5,
"name": "Round of 16",
"slug": "round-of-16",
"cupRoundType": 8
},
"customId": "VbbsCdb",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "VfB Stuttgart",
"slug": "vfb-stuttgart",
"shortName": "Stuttgart",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 269191,
"nameCode": "VFB",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "DE",
"alpha3": "DEU",
"name": "Germany",
"slug": "germany"
},
"id": 2677,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#ff0000",
"text": "#ff0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "شتوتجارت",
"hi": "VFB स्टुटगार्ट",
"ru": "Штутгарт"
},
"shortNameTranslation": {
"ar": "شتوتجارت",
"bn": "স্টুটগার্ট",
"hi": "स्टुटगार्ट"
}
}
},
"awayTeam": {
"name": "SG Dynamo Dresden",
"slug": "sg-dynamo-dresden",
"shortName": "Dresden",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 22268,
"nameCode": "SGD",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "DE",
"alpha3": "DEU",
"name": "Germany",
"slug": "germany"
},
"id": 2595,
"subTeams": [],
"teamColors": {
"primary": "#ffcc00",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "دينامو درسدن",
"ru": "Динамо Дрезден"
},
"shortNameTranslation": {
"ar": "دينامو درسدن"
}
}
},
"homeScore": {
"current": 2,
"display": 2,
"period1": 1,
"period2": 1,
"normaltime": 2
},
"awayScore": {
"current": 1,
"display": 1,
"period1": 1,
"period2": 0,
"normaltime": 1
},
"time": {
"injuryTime1": 4,
"injuryTime2": 4,
"currentPeriodStartTimestamp": 1796148397,
"lastPeriodEndTimestamp": 1796147354
},
"changes": {
"changes": [
"status.code",
"status.description",
"status.type"
],
"changeTimestamp": 1796151363
},
"hasGlobalHighlights": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": true,
"correctHalftimeAiInsight": true,
"id": 17469292,
"slug": "vfb-stuttgart-sg-dynamo-dresden",
"startTimestamp": 1796144400,
"finalResultOnly": false,
"feedLocked": true,
"cupMatchesInRound": 1,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
},
{
"eventState": [],
"tournament": {
"name": "DFB Pokal",
"slug": "dfb-pokal",
"category": {
"name": "Germany",
"slug": "germany",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 8,
"country": {
"alpha2": "DE",
"alpha3": "DEU",
"name": "Germany",
"slug": "germany"
},
"id": 30,
"flag": "germany",
"alpha2": "DE"
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45136/get+trending+matches?country_code=US")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"careerHistory": [
{
"team": {
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3715396,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"id": 42,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"performance": {
"total": 373,
"wins": 231,
"draws": 65,
"losses": 77,
"totalPoints": 758
},
"startTimestamp": 1576972800,
"endTimestamp": 1909008000
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45137/get+manager+career+history?manager_id=794075")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 25/26",
"year": "25/26",
"editor": false,
"id": 76986
},
"roundInfo": {
"round": 35
},
"customId": "RsT",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3715396,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"id": 42,
"subTeams": [],
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Fulham",
"slug": "fulham",
"shortName": "Fulham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 302434,
"nameCode": "FUL",
"disabled": false,
"national": false,
"type": 0,
"id": 43,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "فولهام",
"bn": "ফুলহাম",
"hi": "फुलहम",
"ru": "Фулхэм"
},
"shortNameTranslation": []
}
},
"homeScore": {
"current": 3,
"display": 3,
"period1": 3,
"period2": 0,
"normaltime": 3
},
"awayScore": {
"current": 0,
"display": 0,
"period1": 0,
"period2": 0,
"normaltime": 0
},
"time": {
"injuryTime1": 3,
"injuryTime2": 4,
"currentPeriodStartTimestamp": 1777743326
},
"changes": {
"changes": [
"status.code",
"status.description",
"status.type"
],
"changeTimestamp": 1777746282
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": true,
"correctHalftimeAiInsight": true,
"id": 14023931,
"slug": "fulham-arsenal",
"startTimestamp": 1777739400,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
},
{
"eventState": [],
"tournament": {
"name": "UEFA Champions League, Knockout stage",
"slug": "uefa-champions-league-knockout-stage",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45138/get+manager+finished+matches?manager_id=794075&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 14
},
"customId": "IsR",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Tottenham Hotspur",
"slug": "tottenham-hotspur",
"shortName": "Tottenham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1347885,
"nameCode": "TOT",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 33,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#000066",
"text": "#000066"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "توتنهام هوتسبير",
"hi": "टोटेनहैम हॉटस्पर ऍफ़सी",
"ru": "Тоттенхэм Хотспур"
},
"shortNameTranslation": {
"ar": "توتنهام",
"bn": "টটেনহ্যাম",
"hi": "टॉटनहैम"
}
}
},
"awayTeam": {
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3715396,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 42,
"subTeams": [],
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"homeScore": [],
"awayScore": [],
"time": [],
"changes": {
"changeTimestamp": 0
},
"hasGlobalHighlights": false,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"id": 16363708,
"slug": "arsenal-tottenham-hotspur",
"startTimestamp": 1796574600,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
},
{
"eventState": [],
"tournament": {
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"country": [],
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45139/get+manager+upcoming+matches?manager_id=794075&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"homeManager": {
"name": "Enzo Maresca",
"slug": "enzo-maresca",
"shortName": "E. Maresca",
"id": 794873,
"fieldTranslations": {
"nameTranslation": {
"ar": "إنزو ماريسكا",
"bn": "এনজো মারেস্কা",
"hi": "एन्ज़ो मारेस्का",
"ru": "Энцо Мареска"
},
"shortNameTranslation": {
"ar": "إ. ماريسكا",
"hi": "ई. मारेस्का",
"bn": "ই. মারেস্কা",
"ru": "Э. Мареска"
}
}
},
"awayManager": {
"name": "Álvaro Arbeloa",
"slug": "alvaro-arbeloa",
"shortName": "Á. Arbeloa",
"id": 798940,
"fieldTranslations": {
"nameTranslation": {
"ar": "ألفارو أربيلوا",
"ru": "Альваро Арбелоа"
},
"shortNameTranslation": {
"ar": "أ. أربيلوا",
"ru": "А. Арбелоа"
}
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45140/get+match+managers?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"homeTeam": {
"teamId": 17,
"events": [
{
"event": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1179580,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 10
},
"customId": "osr",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Nottingham Forest",
"slug": "nottingham-forest",
"shortName": "Forest",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 363496,
"nameCode": "NFO",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 14,
"subTeams": [],
"teamColors": {
"primary": "#cc0000",
"secondary": "#cc0000",
"text": "#cc0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "نوتينغهام فورست",
"hi": "नाटिंन्ग्हम फारेस्ट",
"ru": "Ноттингем Форест"
},
"shortNameTranslation": {
"ar": "نوتينغهام فورست",
"bn": "ফরেস্ট",
"hi": "फॉरेस्ट"
}
}
},
"awayTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"homeScore": {
"current": 3,
"display": 3,
"period1": 2,
"period2": 1
}
}
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45141/get+match+team+form?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"general": [
{
"sourceId": 203186235,
"structureType": 1,
"marketId": 5,
"marketName": "Both teams to score",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 472233420,
"marketGroup": "Both teams to score",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "7/10",
"fractionalValue": "4/6",
"sourceId": 258552751,
"name": "Yes",
"winning": true,
"change": -1
},
{
"initialFractionalValue": "21/20",
"fractionalValue": "11/10",
"sourceId": 258552755,
"name": "No",
"winning": false,
"change": 1
}
]
},
{
"sourceId": 203186235,
"structureType": 2,
"marketId": 9,
"marketName": "Match goals",
"choiceGroup": "2.5",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 472233431,
"marketGroup": "Match goals",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "13/8",
"fractionalValue": "4/9",
"sourceId": 257789320,
"name": "Over",
"winning": false,
"change": -1
},
{
"initialFractionalValue": "1/2",
"fractionalValue": "7/4",
"sourceId": 257789322,
"name": "Under",
"winning": true,
"change": 1
}
]
},
{
"sourceId": 203186235,
"structureType": 2,
"marketId": 9,
"marketName": "Match goals",
"choiceGroup": "2.5",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 472233431,
"marketGroup": "Match goals",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "13/8",
"fractionalValue": "4/9",
"sourceId": 257789320,
"name": "Over",
"winning": false,
"change": -1
},
{
"initialFractionalValue": "1/2",
"fractionalValue": "7/4",
"sourceId": 257789322,
"name": "Under",
"winning": true,
"change": 1
}
]
}
],
"head2head": [
{
"sourceId": 203186235,
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 465208684,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "21/50",
"fractionalValue": "4/11",
"sourceId": 257789315,
"name": "1",
"winning": false,
"change": -1
},
{
"initialFractionalValue": "15/4",
"fractionalValue": "17/4",
"sourceId": 257789317,
"name": "X",
"winning": true,
"change": 1
},
{
"initialFractionalValue": "11/2",
"fractionalValue": "13/2",
"sourceId": 257789319,
"name": "2",
"winning": false,
"change": 1
}
]
},
{
"sourceId": 203186235,
"structureType": 2,
"marketId": 9,
"marketName": "Match goals",
"choiceGroup": "2.5",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 472233431,
"marketGroup": "Match goals",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "13/8",
"fractionalValue": "4/9",
"sourceId": 257789320,
"name": "Over",
"winning": false,
"change": -1
},
{
"initialFractionalValue": "1/2",
"fractionalValue": "7/4",
"sourceId": 257789322,
"name": "Under",
"winning": true,
"change": 1
}
]
},
{
"sourceId": 203186235,
"structureType": 2,
"marketId": 21,
"marketName": "Corners 2-Way",
"choiceGroup": "10.5",
"isLive": false,
"fid": 203186235,
"suspended": false,
"id": 475164494,
"marketGroup": "Corners 2-Way",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "5/6",
"fractionalValue": "5/6",
"sourceId": 258615091,
"name": "Over",
"winning": true,
"change": 0
},
{
"initialFractionalValue": "5/6",
"fractionalValue": "5/6",
"sourceId": 258615094,
"name": "Under",
"winning": false,
"change": 0
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45142/get+match+team+streaks+with+odds?match_id=16363661&provider_id=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"changedOdds": [
{
"timestamp": "1794057850",
"choice1": {
"name": "1",
"fractionalValue": "21/50",
"changeFromInitial": 0,
"changeFromLast": 0
},
"choice2": {
"name": "X",
"fractionalValue": "15/4",
"changeFromInitial": 0,
"changeFromLast": 0
},
"choice3": {
"name": "2",
"fractionalValue": "11/2",
"changeFromInitial": 0,
"changeFromLast": 0
}
},
{
"timestamp": "1794083043",
"choice1": {
"name": "1",
"fractionalValue": "11/25",
"changeFromInitial": 1.6901408450704,
"changeFromLast": 1.6901408450704
},
"choice2": {
"name": "X",
"fractionalValue": "15/4",
"changeFromInitial": 0,
"changeFromLast": 0
},
"choice3": {
"name": "2",
"fractionalValue": "21/4",
"changeFromInitial": -3.8461538461538,
"changeFromLast": -3.8461538461538
}
},
{
"timestamp": "1794158653",
"choice1": {
"name": "1",
"fractionalValue": "12/25",
"changeFromInitial": 4.225352112676,
"changeFromLast": 2.4930747922438
},
"choice2": {
"name": "X",
"fractionalValue": "7/2",
"changeFromInitial": -5.2631578947368,
"changeFromLast": -5.2631578947368
},
"choice3": {
"name": "2",
"fractionalValue": "5/1",
"changeFromInitial": -7.6923076923077,
"changeFromLast": -4
}
},
{
"timestamp": "1794205420",
"choice1": {
"name": "1",
"fractionalValue": "21/50",
"changeFromInitial": 0,
"changeFromLast": -4.0540540540541
},
"choice2": {
"name": "X",
"fractionalValue": "15/4",
"changeFromInitial": 0,
"changeFromLast": 5.5555555555556
},
"choice3": {
"name": "2",
"fractionalValue": "11/2",
"changeFromInitial": 0,
"changeFromLast": 8.3333333333333
}
},
{
"timestamp": "1794608619",
"choice1": {
"name": "1",
"fractionalValue": "2/5",
"changeFromInitial": -1.4084507042253,
"changeFromLast": -1.4084507042253
},
"choice2": {
"name": "X",
"fractionalValue": "15/4",
"changeFromInitial": 0,
"changeFromLast": 0
},
"choice3": {
"name": "2",
"fractionalValue": "6/1",
"changeFromInitial": 7.6923076923077,
"changeFromLast": 7.6923076923077
}
},
{
"timestamp": "1794961415",
"choice1": {
"name": "1",
"fractionalValue": "19/50",
"changeFromInitial": -2.8169014084507,
"changeFromLast": -1.4285714285714
},
"choice2": {
"name": "X",
"fractionalValue": "17/4",
"changeFromInitial": 10.526315789474,
"changeFromLast": 10.526315789474
},
"choice3": {
"name": "2",
"fractionalValue": "13/2",
"changeFromInitial": 15.384615384615,
"changeFromLast": 7.1428571428571
}
},
{
"timestamp": "1794983014",
"choice1": {
"name": "1",
"fractionalValue": "21/50",
"changeFromInitial": 0,
"changeFromLast": 2.8985507246377
},
"choice2": {
"name": "X",
"fractionalValue": "4/1",
"changeFromInitial": 5.2631578947368,
"changeFromLast": -4.7619047619048
},
"choice3": {
"name": "2",
"fractionalValue": "11/2",
"changeFromInitial": 0,
"changeFromLast": -13.333333333333
}
},
{
"timestamp": "1795065823",
"choice1": {
"name": "1",
"fractionalValue": "19/50",
"changeFromInitial": -2.8169014084507,
"changeFromLast": -2.8169014084507
},
"choice2": {
"name": "X",
"fractionalValue": "17/4",
"changeFromInitial": 10.526315789474,
"changeFromLast": 5
},
"choice3": {
"name": "2",
"fractionalValue": "6/1",
"changeFromInitial": 7.6923076923077,
"changeFromLast": 7.6923076923077
}
},
{
"timestamp": "1795087424",
"choice1": {
"name": "1",
"fractionalValue": "2/5",
"changeFromInitial": -1.4084507042253,
"changeFromLast": 1.4492753623188
},
"choice2": {
"name": "X",
"fractionalValue": "17/4",
"changeFromInitial": 10.526315789474,
"changeFromLast": 0
},
"choice3": {
"name": "2",
"fractionalValue": "11/2",
"changeFromInitial": 0,
"changeFromLast": -7.1428571428571
}
},
{
"timestamp": "1795105417",
"choice1": {
"name": "1",
"fractionalValue": "19/50",
"changeFromInitial": -2.8169014084507,
"changeFromLast": -1.4285714285714
},
"choice2": {
"name": "X",
"fractionalValue": "17/4",
"changeFromInitial": 10.526315789474,
"changeFromLast": 0
},
"choice3": {
"name": "2",
"fractionalValue": "6/1",
"changeFromInitial": 7.6923076923077,
"changeFromLast": 7.6923076923077
}
},
{
"timestamp": "1795202620",
"choice1": {
"name": "1",
"fractionalValue": "19/50",
"changeFromInitial": -2.8169014084507,
"changeFromLast": 0
},
"choice2": {
"name": "X",
"fractionalValue": "17/4",
"changeFromInitial": 10.526315789474,
"changeFromLast": 0
},
"choice3": {
"name": "2",
"fractionalValue": "11/2",
"changeFromInitial": 0,
"changeFromLast": -7.1428571428571
}
},
{
"timestamp": "1795220606",
"choice1": {
"name": "1",
"fractionalValue": "4/11",
"changeFromInitial": -3.943661971831,
"changeFromLast": -1.1594202898551
},
"choice2": {
"name": "X",
"fractionalValue": "17/4",
"changeFromInitial": 10.526315789474,
"changeFromLast": 0
},
"choice3": {
"name": "2",
"fractionalValue": "13/2",
"changeFromInitial": 15.384615384615,
"changeFromLast": 15.384615384615
}
},
{
"timestamp": "1795231406",
"choice1": {
"name": "1",
"fractionalValue": "2/5",
"changeFromInitial": -1.4084507042253,
"changeFromLast": 2.6392961876833
},
"choice2": {
"name": "X",
"fractionalValue": "4/1",
"changeFromInitial": 5.2631578947368,
"changeFromLast": -4.7619047619048
},
"choice3": {
"name": "2",
"fractionalValue": "6/1",
"changeFromInitial": 7.6923076923077,
"changeFromLast": -6.6666666666667
}
},
{
"timestamp": "1795235008",
"choice1": {
"name": "1",
"fractionalValue": "19/50",
"changeFromInitial": -2.8169014084507,
"changeFromLast": -1.4285714285714
},
"choice2": {
"name": "X",
"fractionalValue": "17/4",
"changeFromInitial": 10.526315789474,
"changeFromLast": 5
},
"choice3": {
"name": "2",
"fractionalValue": "13/2"
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45143/get+match+odds+changes?match_id=16363661&provider_id=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"home": {
"fractionalValue": "4/11",
"expected": 73,
"actual": 60,
"id": 26981211
},
"away": null
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45144/get+match+winning+odds?match_id=16363661&provider_id=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"bestHomeTeamPlayers": [
{
"value": "8.4",
"label": "rating",
"player": {
"name": "Elliot Anderson",
"firstName": "",
"lastName": "",
"slug": "elliot-anderson",
"shortName": "E. Anderson",
"position": "M",
"jerseyNumber": "5",
"height": 179,
"userCount": 39417,
"gender": "M",
"sofascoreId": "n5z-a3f",
"id": 994546,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 1036540800,
"proposedMarketValueRaw": {
"value": 109000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إليوت أندرسون",
"bn": "এলিয়ট অ্যান্ডারসন",
"hi": "इलियट एंडरसन",
"ru": "Эллиот Андерсон"
},
"shortNameTranslation": {
"ar": "إ. أندرسون",
"bn": "ই. অ্যান্ডারসন",
"hi": "ई. एंडरसन",
"ru": "Э. Андерсон"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"value": "7.4",
"label": "rating",
"player": {
"name": "Iliman Ndiaye",
"slug": "iliman-ndiaye",
"shortName": "I. Ndiaye",
"position": "M",
"jerseyNumber": "7",
"height": 180,
"userCount": 88049,
"gender": "M",
"sofascoreId": "zzm-cnd",
"id": 914309,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 952300800,
"proposedMarketValueRaw": {
"value": 63000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إليمان نداي",
"bn": "ইলিমান এনদিয়ায়ে",
"hi": "इलीमन नदिये",
"ru": "Илиман Ндиайе"
},
"shortNameTranslation": {
"ar": "إ. نداي",
"bn": "আই. এনদিয়ায়ে",
"hi": "आई. नदिये",
"ru": "И. Ндиайе"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"value": "7.2",
"label": "rating",
"player": {
"name": "Phil Foden",
"firstName": "Phil",
"lastName": "Foden",
"slug": "phil-foden",
"shortName": "P. Foden",
"position": "M",
"jerseyNumber": "47",
"height": 171,
"userCount": 130059,
"gender": "M",
"sofascoreId": "c62-qug",
"id": 859765,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 959472000,
"proposedMarketValueRaw": {
"value": 62000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "فيل فودين",
"bn": "ফিল ফোডেন",
"hi": "फिल फोडेन",
"ru": "Фил Фоден"
},
"shortNameTranslation": {
"ar": "ف. فودين",
"bn": "পি. ফোডেন",
"hi": "पी. फोडेन",
"ru": "Ф. Фоден"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
}
],
"bestAwayTeamPlayers": [
{
"value": "8.2",
"label": "rating",
"player": {
"name": "Rodrigo Muniz",
"slug": "rodrigo-muniz",
"shortName": "R. Muniz",
"position": "F",
"jerseyNumber": "9",
"height": 184,
"userCount": 4897,
"gender": "M",
"sofascoreId": "5fq-bg4",
"id": 1015256,
"marketValueCurrency": "EUR",
"dateOfBirthTimestamp": 988934400,
"proposedMarketValueRaw": {
"value": 22000000,
"currency": "EUR"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "رودريغو مونيز",
"bn": "রদ্রিগো মুনিজ",
"hi": "रोड्रिगो मुनिज़",
"ru": "Родриго Муниз"
},
"shortNameTranslation": {
"ar": "ر. مونيز",
"bn": "আর. মুনিজ",
"hi": "आर. मुनिज़"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45145/get+match+best+players+summary?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"status": "finished",
"openTimestamp": 1795264200,
"closeTimestamp": 1795274476,
"totalVotes": 8648,
"options": [
{
"player": {
"name": "Elliot Anderson",
"firstName": "",
"lastName": "",
"slug": "elliot-anderson",
"shortName": "E. Anderson",
"position": "M",
"jerseyNumber": "5",
"userCount": 39417,
"gender": "M",
"sofascoreId": "n5z-a3f",
"id": 994546,
"fieldTranslations": {
"nameTranslation": {
"ar": "إليوت أندرسون",
"bn": "এলিয়ট অ্যান্ডারসন",
"hi": "इलियट एंडरसन",
"ru": "Эллиот Андерсон"
},
"shortNameTranslation": {
"hi": "ई. एंडरसन",
"ar": "إ. أندرسون",
"bn": "ই. অ্যান্ডারসন",
"ru": "Э. Андерсон"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ru": "Манчестер Сити",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ar": "مانشستر سيتي"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मैन सिटी",
"bn": "ম্যান সিটি"
}
}
},
"rating": 8.4,
"votes": 5460
},
{
"player": {
"name": "Rodrigo Muniz",
"slug": "rodrigo-muniz",
"shortName": "R. Muniz",
"position": "F",
"jerseyNumber": "9",
"userCount": 4897,
"gender": "M",
"sofascoreId": "5fq-bg4",
"id": 1015256,
"fieldTranslations": {
"nameTranslation": {
"ar": "رودريغو مونيز",
"bn": "রদ্রিগো মুনিজ",
"hi": "रोड्रिगो मुनिज़",
"ru": "Родриго Муниз"
},
"shortNameTranslation": {
"hi": "आर. मुनिज़",
"ar": "ر. مونيز",
"bn": "আর. মুনিজ",
"ru": "Р. Муниз"
}
}
},
"team": {
"name": "Fulham",
"slug": "fulham",
"shortName": "Fulham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 300609,
"nameCode": "FUL",
"disabled": false,
"national": false,
"type": 0,
"id": 43,
"teamColors": {
"primary": "#ffffff",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ru": "Фулхэм",
"ar": "فولهام",
"hi": "फुलहम",
"bn": "ফুলহাম"
},
"shortNameTranslation": []
}
},
"rating": 8.2,
"votes": 1330
},
{
"player": {
"name": "Abdukodir Khusanov",
"slug": "abdukodir-khusanov",
"shortName": "A. Khusanov",
"position": "D",
"jerseyNumber": "45",
"userCount": 111873,
"gender": "M",
"sofascoreId": "km5-vce",
"id": 1194333,
"fieldTranslations": {
"nameTranslation": {
"ar": "عبدالقدير خوسانوف",
"bn": "আবদুকোদির খুসানভ",
"hi": "अब्दुकोदिर खुसानोव",
"ru": "Абдукодир Хусанов"
},
"shortNameTranslation": {
"hi": "ए. खुसानोव",
"ar": "ع. خوسانوف",
"bn": "এ. খুসানভ",
"ru": "А. Хусанов"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ru": "Манчестер Сити",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ar": "مانشستر سيتي"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मैन सिटी",
"bn": "ম্যান সিটি"
}
}
},
"rating": 6.7,
"votes": 438
},
{
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"jerseyNumber": "9",
"userCount": 1082049,
"gender": "M",
"sofascoreId": "ghm-8ni",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ru": "Манчестер Сити",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ar": "مانشستر سيتي"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45146/get+match+player+of+the+match?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"playerPoints": [
{
"x": 41.8,
"y": 77.3
},
{
"x": 30.5,
"y": 10.4
},
{
"x": 31.4,
"y": 9.4
},
{
"x": 74.9,
"y": 77.3
},
{
"x": 56,
"y": 43.8
},
{
"x": 60,
"y": 38.5
},
{
"x": 60,
"y": 38.2
},
{
"x": 74.6,
"y": 13.9
},
{
"x": 76.9,
"y": 19.2
},
{
"x": 76.1,
"y": 21.2
},
{
"x": 47.1,
"y": 92.1
},
{
"x": 36.1,
"y": 81.8
},
{
"x": 57.5,
"y": 42.9
},
{
"x": 39.9,
"y": 81.7
},
{
"x": 38.6,
"y": 77.1
},
{
"x": 40.4,
"y": 66.7
},
{
"x": 89.1,
"y": 32.7
},
{
"x": 39.5,
"y": 36.4
},
{
"x": 40.1,
"y": 32.9
},
{
"x": 61.4,
"y": 23.6
},
{
"x": 69.8,
"y": 34.6
},
{
"x": 64.1,
"y": 81.5
},
{
"x": 63.4,
"y": 82.8
},
{
"x": 89.5,
"y": 29.2
},
{
"x": 69.3,
"y": 23
},
{
"x": 33,
"y": 4.8
},
{
"x": 48.1,
"y": 6.6
},
{
"x": 16.5,
"y": 6.9
},
{
"x": 14.2,
"y": 6.2
},
{
"x": 83.7,
"y": 23.2
},
{
"x": 65.6,
"y": 13
},
{
"x": 63.5,
"y": 13.8
},
{
"x": 38,
"y": 5.7
},
{
"x": 75.2,
"y": 18.8
},
{
"x": 72.7,
"y": 17.7
},
{
"x": 77.4,
"y": 4.8
},
{
"x": 67.9,
"y": 11.9
},
{
"x": 43.1,
"y": 11.5
},
{
"x": 40.4,
"y": 30.9
},
{
"x": 69.8,
"y": 27
},
{
"x": 10.5,
"y": 15.6
},
{
"x": 85.6,
"y": 30.3
},
{
"x": 89.4,
"y": 69.3
},
{
"x": 96.8,
"y": 69.8
},
{
"x": 97.6,
"y": 34.4
},
{
"x": 67.8,
"y": 52
},
{
"x": 67.3,
"y": 81.1
},
{
"x": 50.2,
"y": 49.8
},
{
"x": 95.4,
"y": 62
},
{
"x": 96.5,
"y": 53.4
},
{
"x": 97.2,
"y": 51.2
},
{
"x": 94.1,
"y": 82.6
},
{
"x": 55.2,
"y": 31.1
},
{
"x": 53.5,
"y": 32.7
},
{
"x": 90.5,
"y": 68.3
},
{
"x": 57.7,
"y": 55.3
},
{
"x": 76.7,
"y": 56.4
},
{
"x": 92,
"y": 70.2
},
{
"x": 86.1,
"y": 51.7
},
{
"x": 98.6,
"y": 61.6
},
{
"x": 71.4,
"y": 73.8
},
{
"x": 71.4,
"y": 73.8
},
{
"x": 63.5,
"y": 42.1
},
{
"x": 63.5,
"y": 42.1
},
{
"x": 91.6,
"y": 75.3
},
{
"x": 65.9,
"y": 48.8
},
{
"x": 53.4,
"y": 33.8
},
{
"x": 53.4,
"y": 33.8
},
{
"x": 56.5,
"y": 46.1
},
{
"x": 35.3,
"y": 83.2
},
{
"x": 37.5,
"y": 27.6
},
{
"x": 67.3,
"y": 30.9
},
{
"x": 58.8,
"y": 63
},
{
"x": 44.9,
"y": 56.4
},
{
"x": 65.7,
"y": 34.1
},
{
"x": 65.7,
"y": 34.1
},
{
"x": 26.4,
"y": 92.6
},
{
"x": 30.1,
"y": 85.6
},
{
"x": 21.8,
"y": 90
},
{
"x": 22.5,
"y": 84
},
{
"x": 26.2,
"y": 92
},
{
"x": 39.6,
"y": 88.5
},
{
"x": 51,
"y": 86.2
},
{
"x": 17.8,
"y": 91.5
},
{
"x": 29.3,
"y": 100
},
{
"x": 22,
"y": 100
},
{
"x": 27.8,
"y": 76.7
},
{
"x": 53.8,
"y": 41.3
},
{
"x": 59,
"y": 31.9
},
{
"x": 57.7,
"y": 70.4
},
{
"x": 34.6,
"y": 100
},
{
"x": 23,
"y": 94.4
},
{
"x": 27.4,
"y": 96.2
},
{
"x": 49.2,
"y": 100
},
{
"x": 9.5,
"y": 87.1
},
{
"x": 29,
"y": 94.1
},
{
"x": 39.2,
"y": 84.6
},
{
"x": 16.9,
"y": 92.9
},
{
"x": 26.1,
"y": 95.9
},
{
"x": 99,
"y": 48.9
},
{
"x": 90.8,
"y": 67.9
},
{
"x": 96.4,
"y": 59.8
},
{
"x": 38.6,
"y": 85.6
},
{
"x": 35.8,
"y": 83.2
},
{
"x": 29.6,
"y": 78.2
},
{
"x": 28.7,
"y": 91.6
},
{
"x": 29.9,
"y": 100
},
{
"x": 58.1,
"y": 90.3
},
{
"x": 58.9,
"y": 70.3
},
{
"x": 68.3,
"y": 75.9
},
{
"x": 60.8,
"y": 78.8
},
{
"x": 63.3,
"y": 93.2
},
{
"x": 66.3,
"y": 90.2
},
{
"x": 65.4,
"y": 90.6
},
{
"x": 72.4,
"y": 96
},
{
"x": 77.2,
"y": 95.7
},
{
"x": 39.3,
"y": 90.6
},
{
"x": 39.7,
"y": 90.6
},
{
"x": 60,
"y": 83.2
},
{
"x": 85.9,
"y": 76.4
},
{
"x": 63.8,
"y": 82.1
},
{
"x": 70.4,
"y": 81.4
},
{
"x": 79.1,
"y": 88.4
},
{
"x": 81.1,
"y": 89.4
},
{
"x": 74.9,
"y": 90.8
},
{
"x": 87.6,
"y": 86.7
},
{
"x": 26,
"y": 82.7
},
{
"x": 13.1,
"y": 86.4
},
{
"x": 68.9,
"y": 87
},
{
"x": 65.2,
"y": 85.9
},
{
"x": 43.5,
"y": 84.6
},
{
"x": 85.9,
"y": 68.6
},
{
"x": 14,
"y": 65
},
{
"x": 11.6,
"y": 70.9
},
{
"x": 46.1,
"y": 93.2
},
{
"x": 41.9,
"y": 79.6
},
{
"x": 42.5,
"y": 100
},
{
"x": 86.2,
"y": 87
},
{
"x": 69.1,
"y": 95.5
},
{
"x": 21.2,
"y": 60.5
},
{
"x": 69.2,
"y": 58.3
},
{
"x": 67.6,
"y": 52.4
},
{
"x": 60.4,
"y": 79.7
},
{
"x": 13.1,
"y": 62.1
},
{
"x": 7
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45147/get+match+team+heatmap?match_id=16363661&team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"passes": [
{
"playerCoordinates": {
"x": 97.6,
"y": 34.4
},
"passEndCoordinates": {
"x": 99,
"y": 48.9
},
"eventActionType": "pass",
"isHome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 67.8,
"y": 52
},
"passEndCoordinates": {
"x": 56.1,
"y": 54.7
},
"eventActionType": "pass",
"isHome": true,
"outcome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 50.2,
"y": 49.8
},
"passEndCoordinates": {
"x": 28.9,
"y": 50.8
},
"eventActionType": "pass",
"isHome": true,
"outcome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 95.4,
"y": 62
},
"passEndCoordinates": {
"x": 92.5,
"y": 48
},
"eventActionType": "pass",
"isHome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 94.1,
"y": 82.6
},
"passEndCoordinates": {
"x": 85,
"y": 74
},
"eventActionType": "pass",
"isHome": true,
"outcome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 57.7,
"y": 55.3
},
"passEndCoordinates": {
"x": 59.2,
"y": 60.6
},
"eventActionType": "pass",
"isHome": true,
"outcome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 76.7,
"y": 56.4
},
"passEndCoordinates": {
"x": 79,
"y": 60.8
},
"eventActionType": "pass",
"isHome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 71.4,
"y": 73.8
},
"passEndCoordinates": {
"x": 76.7,
"y": 71.1
},
"eventActionType": "pass",
"isHome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 63.5,
"y": 42.1
},
"passEndCoordinates": {
"x": 64.8,
"y": 39.7
},
"eventActionType": "pass",
"isHome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 91.6,
"y": 75.3
},
"passEndCoordinates": {
"x": 87.9,
"y": 60.8
},
"eventActionType": "pass",
"isHome": true,
"outcome": true,
"keypass": true
},
{
"playerCoordinates": {
"x": 65.9,
"y": 48.8
},
"passEndCoordinates": {
"x": 67,
"y": 55.9
},
"eventActionType": "pass",
"isHome": true,
"outcome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 37.5,
"y": 27.6
},
"passEndCoordinates": {
"x": 46,
"y": 42.7
},
"eventActionType": "pass",
"isHome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 67.3,
"y": 30.9
},
"passEndCoordinates": {
"x": 71.8,
"y": 15.1
},
"eventActionType": "pass",
"isHome": true,
"outcome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 44.9,
"y": 56.4
},
"passEndCoordinates": {
"x": 45.7,
"y": 45.2
},
"eventActionType": "pass",
"isHome": true,
"keypass": false
},
{
"playerCoordinates": {
"x": 65.7,
"y": 34.1
},
"passEndCoordinates": {
"x": 60.6,
"y": 39.8
},
"eventActionType": "pass",
"isHome": true,
"keypass": false
}
],
"dribbles": [],
"defensive": [],
"ball-carries": [
{
"playerCoordinates": {
"x": 86.7,
"y": 67.4
},
"passEndCoordinates": {
"x": 90.8,
"y": 69.7
},
"eventActionType": "ball-carry",
"isHome": true
},
{
"playerCoordinates": {
"x": 59.3,
"y": 60.3
},
"passEndCoordinates": {
"x": 57.7,
"y": 55.3
},
"eventActionType": "ball-carry",
"isHome": true
},
{
"playerCoordinates": {
"x": 88.2,
"y": 75.6
},
"passEndCoordinates": {
"x": 91.6,
"y": 75.3
},
"eventActionType": "ball-carry",
"isHome": true
},
{
"playerCoordinates": {
"x": 48.3,
"y": 62.7
},
"passEndCoordinates": {
"x": 67.3,
"y": 30.9
},
"eventActionType": "ball-carry",
"isHome": true
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45148/get+match+player+rating+breakdown?match_id=16363661&player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"shotmap": [
{
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"jerseyNumber": "9",
"userCount": 1083364,
"gender": "M",
"sofascoreId": "ghm-8ni",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"isHome": true,
"shotType": "block",
"situation": "fast-break",
"playerCoordinates": {
"x": 13.9,
"y": 48.3,
"z": 0
},
"bodyPart": "left-foot",
"goalMouthLocation": "low-left",
"goalMouthCoordinates": {
"x": 0,
"y": 53.5,
"z": 19
},
"blockCoordinates": {
"x": 10.3,
"y": 47.8,
"z": 0
},
"xg": 0.17064172029495,
"xgot": 0,
"goalkeeper": {
"name": "Bernd Leno",
"firstName": "Bernd",
"lastName": "Leno",
"slug": "bernd-leno",
"shortName": "B. Leno",
"position": "G",
"jerseyNumber": "1",
"userCount": 2590,
"gender": "M",
"sofascoreId": "6en-t3h",
"id": 103335,
"fieldTranslations": {
"nameTranslation": {
"ar": "بيرند لينو",
"bn": "বার্ন্ড লেনো",
"hi": "बर्न्ड लेनो",
"ru": "Бернд Лено"
},
"shortNameTranslation": {
"ar": "ب. لينو",
"bn": "বি. লেনো",
"hi": "बी. लेनो",
"ru": "Б. Лено"
}
}
},
"id": 9684472,
"time": 41,
"timeSeconds": 2443,
"draw": {
"start": {
"x": 48.3,
"y": 13.9
},
"block": {
"x": 47.8,
"y": 10.3
},
"end": {
"x": 46.5,
"y": 0
},
"goal": {
"x": 46.5,
"y": 81
}
},
"incidentType": "shot",
"reversedPeriodTime": 5,
"reversedPeriodTimeSeconds": 257,
"periodTimeSeconds": 2443
},
{
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"jerseyNumber": "9",
"userCount": 1083364,
"gender": "M",
"sofascoreId": "ghm-8ni",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"isHome": true,
"shotType": "miss",
"situation": "assisted",
"playerCoordinates": {
"x": 9.5,
"y": 31.7,
"z": 0
},
"bodyPart": "left-foot",
"goalMouthLocation": "high-left",
"goalMouthCoordinates": {
"x": 0,
"y": 60.5,
"z": 93.1
},
"xg": 0.14173871278763,
"xgot": 0,
"goalkeeper": {
"name": "Bernd Leno",
"firstName": "Bernd",
"lastName": "Leno",
"slug": "bernd-leno",
"shortName": "B. Leno",
"position": "G",
"jerseyNumber": "1",
"userCount": 2590,
"gender": "M",
"sofascoreId": "6en-t3h",
"id": 103335,
"fieldTranslations": {
"nameTranslation": {
"ar": "بيرند لينو",
"bn": "বার্ন্ড লেনো",
"hi": "बर्न्ड लेनो",
"ru": "Бернд Лено"
},
"shortNameTranslation": {
"ar": "ب. لينو",
"bn": "বি. লেনো",
"hi": "बी. लेनो",
"ru": "Б. Лено"
}
}
},
"id": 9684388,
"time": 35,
"timeSeconds": 2099,
"draw": {
"start": {
"x": 31.7,
"y": 9.5
},
"end": {
"x": 39.5,
"y": 0
},
"goal": {
"x": 39.5,
"y": 6.9
}
},
"incidentType": "shot",
"reversedPeriodTime": 11,
"reversedPeriodTimeSeconds": 601,
"periodTimeSeconds": 2099
},
{
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"jerseyNumber": "9",
"userCount": 1083364,
"gender": "M",
"sofascoreId": "ghm-8ni",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"isHome": true,
"shotType": "save",
"situation": "assisted",
"playerCoordinates": {
"x": 3.5,
"y": 46.6,
"z": 0
},
"bodyPart": "left-foot",
"goalMouthLocation": "low-centre",
"goalMouthCoordinates": {
"x": 0,
"y": 50.6,
"z": 1.9
},
"blockCoordinates": {
"x": 0,
"y": 50.9,
"z": 0
},
"xg": 0.69547688961029,
"xgot": 0.34208816289902,
"goalkeeper": {
"name": "Bernd Leno",
"firstName": "Bernd",
"lastName": "Leno",
"slug": "bernd-leno",
"shortName": "B. Leno",
"position": "G",
"jerseyNumber": "1",
"userCount": 2590,
"gender": "M",
"sofascoreId": "6en-t3h",
"id": 103335,
"fieldTranslations": {
"nameTranslation": {
"ar": "بيرند لينو",
"bn": "বার্ন্ড লেনো",
"hi": "बर्न्ड लेनो",
"ru": "Бернд Лено"
},
"shortNameTranslation": {
"ar": "ب. لينو"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45149/get+match+player+shotmap?match_id=16363661&player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"tennisPowerRankings": [
{
"set": 1,
"game": 1,
"value": 13.704852014889,
"breakOccurred": false
},
{
"set": 1,
"game": 2,
"value": -10,
"breakOccurred": false
},
{
"set": 1,
"game": 3,
"value": 19.277725488242,
"breakOccurred": false
},
{
"set": 1,
"game": 4,
"value": -10,
"breakOccurred": false
},
{
"set": 1,
"game": 5,
"value": 10,
"breakOccurred": false
},
{
"set": 1,
"game": 6,
"value": -10,
"breakOccurred": false
},
{
"set": 1,
"game": 7,
"value": 10,
"breakOccurred": false
},
{
"set": 1,
"game": 8,
"value": -10,
"breakOccurred": false
},
{
"set": 1,
"game": 9,
"value": 20.472840545464,
"breakOccurred": false
},
{
"set": 1,
"game": 10,
"value": -10,
"breakOccurred": false
},
{
"set": 1,
"game": 11,
"value": 10,
"breakOccurred": false
},
{
"set": 1,
"game": 12,
"value": -10,
"breakOccurred": false
},
{
"set": 1,
"game": 13,
"value": 15,
"breakOccurred": false
},
{
"set": 2,
"game": 1,
"value": -10,
"breakOccurred": false
},
{
"set": 2,
"game": 2,
"value": 47.92,
"breakOccurred": false
},
{
"set": 2,
"game": 3,
"value": 20.904814909489,
"breakOccurred": true
},
{
"set": 2,
"game": 4,
"value": 77.12,
"breakOccurred": false
},
{
"set": 2,
"game": 5,
"value": -39.1,
"breakOccurred": false
},
{
"set": 2,
"game": 6,
"value": 64.6,
"breakOccurred": false
},
{
"set": 2,
"game": 7,
"value": -10,
"breakOccurred": false
},
{
"set": 2,
"game": 8,
"value": -10,
"breakOccurred": true
},
{
"set": 2,
"game": 9,
"value": -10,
"breakOccurred": false
},
{
"set": 2,
"game": 10,
"value": 10,
"breakOccurred": false
},
{
"set": 2,
"game": 11,
"value": 10,
"breakOccurred": true
},
{
"set": 2,
"game": 12,
"value": 10,
"breakOccurred": false
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45150/get+match+tennis+power?match_id=17545043")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"innings": [
{
"number": 1,
"battingTeam": {
"name": "England",
"slug": "england",
"shortName": "ENG",
"gender": "M",
"sport": {
"name": "Cricket",
"slug": "cricket",
"id": 62
},
"userCount": 27630,
"nameCode": "ENG",
"disabled": false,
"national": true,
"type": 0,
"id": 187757,
"teamColors": {
"primary": "#ffffff",
"secondary": "#cc0000",
"text": "#cc0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "انجلترا",
"ru": "Англия"
},
"shortNameTranslation": {
"bn": "ইএনজি",
"hi": "ईएनजी",
"ru": "АНГ"
}
}
},
"bowlingTeam": {
"name": "Australia",
"slug": "australia",
"shortName": "AUS",
"gender": "M",
"sport": {
"name": "Cricket",
"slug": "cricket",
"id": 62
},
"userCount": 20746,
"nameCode": "AUS",
"disabled": false,
"national": true,
"type": 0,
"id": 187746,
"teamColors": {
"primary": "#ffcc00",
"secondary": "#2d324b",
"text": "#2d324b"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أستراليا",
"ru": "Австралия"
},
"shortNameTranslation": {
"bn": "এইউএস",
"hi": "एयूएस",
"ru": "АВТ"
}
}
},
"score": 187,
"wickets": 9,
"overs": 20,
"extra": 3,
"wide": 1,
"noBall": 0,
"bye": 1,
"legBye": 1,
"penalty": 0,
"id": 87424,
"bowlingLine": [
{
"player": {
"name": "Joel Davies",
"slug": "joel-davies",
"shortName": "J Davies",
"position": "AR",
"jerseyNumber": "51",
"userCount": 11,
"gender": "M",
"sofascoreId": "ced-hrw",
"id": 1458026,
"cricketPlayerInfo": {
"batting": "Left",
"bowling": "Slow left-arm orthodox"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "جويل ديفيز",
"ru": "Джоэл Дэвис"
},
"shortNameTranslation": {
"ar": "ج. ديفيز",
"ru": "Д. Дэвис"
}
}
},
"playerName": "J Davies",
"over": 3,
"maiden": 0,
"run": 22,
"wicket": 1,
"wide": 0,
"noBall": 0
},
{
"player": {
"name": "Riley Meredith",
"slug": "riley-meredith",
"shortName": "R Meredith",
"position": "B",
"jerseyNumber": "34",
"userCount": 11,
"gender": "M",
"sofascoreId": "vu3-3md",
"id": 924427,
"cricketPlayerInfo": {
"batting": "Right",
"bowling": "Right-arm fast"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "رايلي ميريديث",
"bn": "রিলি মেরেডিথ",
"hi": "रिले मेरेडिथ",
"ru": "Райли Мередит"
},
"shortNameTranslation": {
"ar": "ر. ميريديث",
"bn": "আর মেরেডিথ",
"hi": "आर. मेरेडिथ",
"ru": "Р. Мередит"
}
}
},
"playerName": "R Meredith",
"over": 4,
"maiden": 0,
"run": 49,
"wicket": 1,
"wide": 0,
"noBall": 0
},
{
"player": {
"name": "Jack Edwards",
"slug": "jack-edwards",
"shortName": "J Edwards",
"position": "AR",
"jerseyNumber": "39",
"userCount": 25,
"gender": "M",
"sofascoreId": "jvv-m6g",
"id": 953987,
"cricketPlayerInfo": {
"batting": "Right",
"bowling": "Right-arm medium fast"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "جاك إدواردز",
"bn": "জ্যাক এডওয়ার্ডস",
"hi": "जैक एडवर्ड्स",
"ru": "Джек Эдвардс"
},
"shortNameTranslation": {
"ar": "ج إدواردز",
"bn": "জে এডওয়ার্ডস",
"hi": "जे. एडवर्ड्स",
"ru": "Д. Эдвардс"
}
}
},
"playerName": "J Edwards",
"over": 3,
"maiden": 0,
"run": 27,
"wicket": 2,
"wide": 0,
"noBall": 0
},
{
"player": {
"name": "Ben Dwarshuis",
"slug": "ben-dwarshuis",
"shortName": "B Dwarshuis",
"position": "B",
"jerseyNumber": "82",
"userCount": 54,
"gender": "M",
"sofascoreId": "eh5-zr8",
"id": 786504,
"cricketPlayerInfo": {
"batting": "Left",
"bowling": "Left-arm fast medium"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "بن دوارشويس",
"bn": "বেন দ্বারশুইস",
"hi": "बेन ड्वार्शुइस",
"ru": "Бен Дваршуйс"
},
"shortNameTranslation": {
"ar": "ب ديوارشويس",
"bn": "বি দ্বারশুইস",
"hi": "बी ड्वार्शुइस",
"ru": "Б. Дваршуйс"
}
}
},
"playerName": "B Dwarshuis",
"over": 2,
"maiden": 0,
"run": 23,
"wicket": 1,
"wide": 1,
"noBall": 0
},
{
"player": {
"name": "Adam Zampa",
"slug": "adam-zampa",
"shortName": "A Zampa",
"position": "B",
"jerseyNumber": "88",
"userCount": 115,
"gender": "M"
}
}
]
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45151/get+match+innings?match_id=15848463")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"highlights": [
{
"title": "Man City 1 - 1 Fulham",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=k9CYpl2fRx4",
"thumbnailUrl": "https://i.ytimg.com/vi/k9CYpl2fRx4/hqdefault.jpg",
"mediaType": 6,
"forCountries": [
"BA",
"HR",
"ME",
"MK",
"RS",
"SI"
],
"doFollow": false,
"keyHighlight": false,
"livestream": false,
"removeOnFinish": false,
"id": 8177598,
"createdAtTimestamp": 1795272912,
"sourceUrl": "https://www.youtube.com/watch?v=k9CYpl2fRx4"
},
{
"title": "Man City 1 - 1 Fulham",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=WwNAJPYc2tg",
"thumbnailUrl": "https://i.ytimg.com/vi/WwNAJPYc2tg/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8178079,
"createdAtTimestamp": 1795298503,
"sourceUrl": "https://www.youtube.com/watch?v=WwNAJPYc2tg"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45152/get+match+highlights?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"tweets": [
{
"id": "2058337431716315506",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "Flick analyzes the season’s final match 👇",
"media": [
{
"id": "2058337342910349312",
"imageUrl": "https://pbs.twimg.com/media/HJCu8arXwAAk7E9.jpg",
"videoUrl": "https://video.twimg.com/amplify_video/2058337342910349312/vid/avc1/480x270/426fhFBAvFLV7mH-.mp4?tag=14"
}
],
"createdAtTimestamp": 1779580860,
"externalUrl": "https://x.com/FCBarcelona/status/2058337431716315506"
},
{
"id": "2058310822917493121",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "✅ That’s a wrap on the 2025/26 season! Thank you for all of your incredible support, culers. \n\nVisca el Barça & Visca Catalunya! 💙❤️",
"media": [
{
"id": "2058310811215351808",
"imageUrl": "https://pbs.twimg.com/media/HJCWxwPWUAAC7Fw.jpg"
}
],
"createdAtTimestamp": 1779574516,
"externalUrl": "https://x.com/FCBarcelona/status/2058310822917493121"
},
{
"id": "2058305756894482578",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "End of the season. See you soon, culers. 💙❤️",
"media": [
{
"id": "2058305752201089025",
"imageUrl": "https://pbs.twimg.com/media/HJCSLR8W0AEwE_X.jpg"
}
],
"createdAtTimestamp": 1779573308,
"externalUrl": "https://x.com/FCBarcelona/status/2058305756894482578"
},
{
"id": "2058301401973805154",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "An honor to witness your greatness in Barça colors, Lewy 💙❤️",
"media": [
{
"id": "2058301389747388416",
"imageUrl": "https://pbs.twimg.com/media/HJCONWiWAAAqVL5.jpg"
}
],
"createdAtTimestamp": 1779572270,
"externalUrl": "https://x.com/FCBarcelona/status/2058301401973805154"
},
{
"id": "2058297129110519814",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "A legendary chapter comes to an end. Thank you for everything, Lewy 🫶",
"media": [
{
"id": "2058296765770575872",
"imageUrl": "https://pbs.twimg.com/media/HJCKCoWWMAAVxVR.jpg",
"videoUrl": "https://video.twimg.com/amplify_video/2058296765770575872/vid/avc1/320x568/OugdgywNz3DSUDa6.mp4?tag=14"
}
],
"createdAtTimestamp": 1779571251,
"externalUrl": "https://x.com/FCBarcelona/status/2058297129110519814"
},
{
"id": "2058294694518423950",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "Sending lots of support to Oviedo, Girona and Mallorca. We hope to see you back in La Liga soon.",
"media": [],
"createdAtTimestamp": 1779570671,
"externalUrl": "https://x.com/FCBarcelona/status/2058294694518423950"
},
{
"id": "2058293493630460299",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "Lewandowski receives a special standing ovation after the match 🥹\n\nWe will miss you, Robert ❤️",
"media": [],
"createdAtTimestamp": 1779570384,
"externalUrl": "https://x.com/FCBarcelona/status/2058293493630460299"
},
{
"id": "2058292636256006651",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "End of the season. See you soon, culers. 💙❤️",
"media": [
{
"id": "2058292632057430016",
"imageUrl": "https://pbs.twimg.com/media/HJCGPlmWQAA-gKK.jpg"
}
],
"createdAtTimestamp": 1779570180,
"externalUrl": "https://x.com/FCBarcelona/status/2058292636256006651"
},
{
"id": "2058292124437594454",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "Valencia score the third. \n⚽️ 3-1 | ⏰ 90+7' | #ValenciaBarça",
"media": [],
"createdAtTimestamp": 1779570058,
"externalUrl": "https://x.com/FCBarcelona/status/2058292124437594454"
},
{
"id": "2058288856919613644",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "🔄 Double substitution for Barça (83')\n\n↑🟢 Cancelo\n↑🟢 M. Casadó\n↓🔴 Ferran\n↓🔴Bernal\n\n#ValenciaBarça",
"media": [
{
"id": "2058288697087258625",
"imageUrl": "https://pbs.twimg.com/media/HJCCqisWcAEPjTu.jpg"
}
],
"createdAtTimestamp": 1779569279,
"externalUrl": "https://x.com/FCBarcelona/status/2058288856919613644"
},
{
"id": "2058287203449540815",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "One final dance from Lewy ✨\n#LaLigaHighlights",
"media": [
{
"id": "2058287142980186112",
"imageUrl": "https://pbs.twimg.com/media/HJCBQhuWIAA5uEj.jpg",
"videoUrl": "https://video.twimg.com/amplify_video/2058287142980186112/vid/avc1/480x270/FQe6_MlB2FVp-FGp.mp4?tag=14"
}
],
"createdAtTimestamp": 1779568885,
"externalUrl": "https://x.com/FCBarcelona/status/2058287203449540815"
},
{
"id": "2058286484961071145",
"account": {
"id": "96951800",
"name": "FC Barcelona",
"handle": "FCBarcelona",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2098686948298874880/DGg9CN7-_normal.jpg"
},
"text": "Lewy scores in his last match for Barça 🥹",
"media": [
{
"id": "2058286114759192576",
"imageUrl": "https://pbs.twimg.com/media/HJCAUOxXMAA-e5A.jpg"
}
],
"createdAtTimestamp": 1779568713
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45153/get+match+official+tweets?match_id=14083739")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"newsArticles": [
{
"source": 10,
"description": "Manchester City drew 1-1 with Fulham at the Etihad. Elliot Anderson scored and posted an 8.5 Sofascore Rating as stats painted a balanced, hard-fought game.",
"thumbnailUrl": "https://files.sofascore.com/news/2026/11/GettyImages-2305604964.jpg",
"id": 732798,
"fieldTranslations": {
"headerTranslation": {
"it": "Man City 1-1 Fulham: Anderson brilla in un pareggio ricco di statistiche",
"pt": "Man City 1-1 Fulham: Anderson brilha em empate repleto de estatísticas",
"es": "Man City 1-1 Fulham: Anderson brilla en un empate cargado de estadísticas",
"fr": "Man City 1-1 Fulham : Anderson brille dans un match nul riche en statistiques"
},
"descriptionTranslation": {
"it": "Il Manchester City ha pareggiato 1-1 contro il Fulham all’Etihad. Elliot Anderson ha segnato e ottenuto una Valutazione Sofascore di 8.5, mentre le statistiche mostrano una partita equilibrata e combattuta.",
"pt": "Manchester City empatou em 1 a 1 com o Fulham no Etihad. Elliot Anderson marcou e recebeu Nota Sofascore de 8,5 em uma partida equilibrada e muito disputada segundo as estatísticas.",
"es": "Manchester City empató 1-1 frente al Fulham en el Etihad. Elliot Anderson marcó y firmó una Puntuación Sofascore de 8.5 mientras las estadísticas mostraron un partido equilibrado y muy disputado.",
"fr": "Manchester City et Fulham se sont quittés sur un score de 1-1 à l’Etihad. Elliot Anderson a marqué et signé une Note Sofascore de 8,5 tandis que les statistiques ont souligné un match équilibré et âprement disputé."
}
},
"header": "Man City 1-1 Fulham: Anderson shines in stat-heavy draw",
"externalUrl": "https://www.sofascore.com/web-view/news/man-city-1-1-fulham-anderson-shines-in-stat-heavy-draw/",
"contentId": "10:173070",
"publishedAtTimestamp": 1795271214,
"newsProvider": {
"id": 10,
"name": "Sofascore News"
}
},
{
"source": 10,
"description": "Manchester City host Fulham at the Etihad. Key odds, head-to-head trends, lineups, and Sofascore Ratings point to an attack-heavy test for both sides.",
"thumbnailUrl": "https://files.sofascore.com/news/2026/11/GettyImages-2302987846.jpg",
"id": 732503,
"fieldTranslations": {
"headerTranslation": {
"fr": "Man City vs Fulham : aperçu, cotes et chiffres clés",
"it": "Man City vs Fulham: anteprima, quote e numeri chiave",
"pt": "Man City x Fulham: prévia, odds e números-chave",
"es": "Man City vs Fulham: previa, cuotas y cifras clave"
},
"descriptionTranslation": {
"fr": "Manchester City reçoit Fulham à l’Etihad. Les cotes, les tendances Face à face, les compos et les Notes Sofascore annoncent un duel offensif pour les deux équipes.",
"it": "Il Manchester City ospita il Fulham all’Etihad. Quote chiave, tendenze nei testa a testa, formazioni e Valutazioni Sofascore indicano una sfida ad alto tasso offensivo per entrambe.",
"pt": "O Manchester City recebe o Fulham no Etihad. Odds principais, tendências do confronto direto, prováveis escalações e Notas Sofascore indicam um teste ofensivo para ambos os lados.",
"es": "Manchester City recibe a Fulham en el Etihad. Cuotas clave, tendencias en los cara a cara, alineaciones y Puntuaciones Sofascore anticipan una dura prueba ofensiva para ambos equipos."
}
},
"header": "Man City vs Fulham: preview, odds and key numbers",
"externalUrl": "https://www.sofascore.com/web-view/news/man-city-vs-fulham-preview-odds-and-key-numbers/",
"contentId": "10:172110",
"publishedAtTimestamp": 1795244400,
"newsProvider": {
"id": 10,
"name": "Sofascore News"
}
},
{
"source": 1,
"description": "Haaland latched onto a beautifully bent cross from Iliman Ndiaye to bundle home from less than eight minutes after Rodrigo Muniz had given the visitors a shock lead at the Etihad.",
"thumbnailUrl": "https://i.dailymail.com/1s/2026/11/21/13/112649567-0-image-a-3_1795268115783.jpg",
"id": 732909,
"header": "Erling Haaland sees Man City equaliser DISALLOWED in controversial circumstances - with fans and pundits split over whether Fulham goalkeeper Bernd Leno had both hands on the ball after fumbled strike",
"externalUrl": "https://www.dailymail.com/sport/football/article-16311225/Erling-Haaland-Man-City-equaliser-DISALLOWED-controversial-Fulham.html?ns_mchannel=rss&ns_campaign=1490&ito=1490",
"contentId": "1:16311225",
"publishedAtTimestamp": 1795277163,
"newsProvider": {
"id": 1,
"name": "Daily Mail"
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45154/get+match+news?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"highlightedItem": {
"type": "highlight",
"item": {
"title": "Man City 1 - 1 Fulham",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=WwNAJPYc2tg",
"thumbnailUrl": "https://i.ytimg.com/vi/WwNAJPYc2tg/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8178079,
"createdAtTimestamp": 1795298503,
"sourceUrl": "https://www.youtube.com/watch?v=WwNAJPYc2tg"
}
},
"mediaItems": [
{
"type": "highlight",
"item": {
"title": "Man City 1 - 1 Fulham",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=WwNAJPYc2tg",
"thumbnailUrl": "https://i.ytimg.com/vi/WwNAJPYc2tg/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8178079,
"createdAtTimestamp": 1795298503,
"sourceUrl": "https://www.youtube.com/watch?v=WwNAJPYc2tg"
}
},
{
"type": "newsArticle",
"item": {
"source": 10,
"description": "Manchester City drew 1-1 with Fulham at the Etihad. Elliot Anderson scored and posted an 8.5 Sofascore Rating as stats painted a balanced, hard-fought game.",
"thumbnailUrl": "https://files.sofascore.com/news/2026/11/GettyImages-2305604964.jpg",
"id": 732798,
"fieldTranslations": {
"headerTranslation": {
"it": "Man City 1-1 Fulham: Anderson brilla in un pareggio ricco di statistiche",
"pt": "Man City 1-1 Fulham: Anderson brilha em empate repleto de estatísticas",
"es": "Man City 1-1 Fulham: Anderson brilla en un empate cargado de estadísticas",
"fr": "Man City 1-1 Fulham : Anderson brille dans un match nul riche en statistiques"
},
"descriptionTranslation": {
"it": "Il Manchester City ha pareggiato 1-1 contro il Fulham all’Etihad. Elliot Anderson ha segnato e ottenuto una Valutazione Sofascore di 8.5, mentre le statistiche mostrano una partita equilibrata e combattuta.",
"pt": "Manchester City empatou em 1 a 1 com o Fulham no Etihad. Elliot Anderson marcou e recebeu Nota Sofascore de 8,5 em uma partida equilibrada e muito disputada segundo as estatísticas.",
"es": "Manchester City empató 1-1 frente al Fulham en el Etihad. Elliot Anderson marcó y firmó una Puntuación Sofascore de 8.5 mientras las estadísticas mostraron un partido equilibrado y muy disputado.",
"fr": "Manchester City et Fulham se sont quittés sur un score de 1-1 à l’Etihad. Elliot Anderson a marqué et signé une Note Sofascore de 8,5 tandis que les statistiques ont souligné un match équilibré et âprement disputé."
}
},
"header": "Man City 1-1 Fulham: Anderson shines in stat-heavy draw",
"externalUrl": "https://www.sofascore.com/web-view/news/man-city-1-1-fulham-anderson-shines-in-stat-heavy-draw/",
"contentId": "10:173070",
"publishedAtTimestamp": 1795271214,
"newsProvider": {
"id": 10,
"name": "Sofascore News"
}
}
}
],
"itemsCount": 2
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45155/get+match+media?country_code=US&match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"conditions": [
{
"temperature": 5.8,
"generalCondition": "sunny",
"condition": "fair_day",
"humidity": 79,
"dewPoint": 2.4,
"cloudCover": 15,
"windSpeed": 4.3,
"windDirection": "NE",
"isForecast": true,
"obsTime": "2026-11-21T12:00:00+00:00",
"provider": "met-norway"
},
{
"temperature": 6.3,
"generalCondition": "sunny",
"condition": "fair_day",
"humidity": 79,
"dewPoint": 2.9,
"cloudCover": 16,
"windSpeed": 4.3,
"windDirection": "NE",
"isForecast": false,
"obsTime": "2026-11-21T13:00:00+00:00",
"provider": "met-norway"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45156/get+match+weather?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"predictionId": 1757308,
"translationLanguage": "en-us",
"predictions": {
"yellowCards": 3,
"corners": 11,
"bothTeamsToScore": true,
"homeNormaltimeScore": 2,
"awayNormaltimeScore": 1,
"winningProbability": {
"home": 67,
"draw": 19,
"away": 14
},
"possibleResultsMatrix": [
[
0.043017443033079,
0.032751850782038,
0.018452060727208,
0.0060442497349496,
0.0014849136120297,
0.00029184345874277
],
[
0.083611233232661,
0.091685525769785,
0.042689937830072,
0.01398373055612,
0.0034354357877819,
0.00067519716599847
],
[
0.10227479324787,
0.10050493564694,
0.049382852649304,
0.016176095366763,
0.0039740423134248,
0.00078105436204786
],
[
0.078872935113371,
0.077508044906456,
0.038083387010932,
0.0124747856215,
0.0030647275987631,
0.00060233854365771
],
[
0.045619304345508,
0.044829865716681,
0.02202704413196,
0.0072152892636003,
0.0017726073064618,
0.00034838649408259
],
[
0.021108593724595,
0.020743311098621,
0.010192174830501,
0.0033386000040083,
0.0008202064455425,
0.00016120256694465
]
],
"bothTeamsToScoreProbabilities": {
"yes": 57,
"no": 43
},
"totalGoalsProbabilities": [
{
"line": 1.5,
"over": 85,
"under": 15
},
{
"line": 2.5,
"over": 64,
"under": 36
},
{
"line": 3.5,
"over": 42,
"under": 58
}
],
"homeTeamPredictions": {
"yellowCards": 1,
"corners": 6,
"cleanSheetProbabilities": {
"yes": 37,
"no": 63
},
"goalsProbabilities": [
10,
23,
27,
20,
20
]
},
"awayTeamPredictions": {
"yellowCards": 2,
"corners": 5,
"cleanSheetProbabilities": {
"yes": 10,
"no": 90
},
"goalsProbabilities": [
37,
37,
18,
6,
2
]
}
},
"sections": [
{
"subtitle": "Manchester City to edge a high-scoring home win",
"text": "Manchester City have won all 10 listed meetings between the teams and face a Fulham side without a win in their last 3 matches, so a home victory is the expected result. Both teams are likely to score: Manchester City have failed to keep a clean sheet in their last 8 matches, while Fulham have scored in 8 of their last 10. More than 2.5 goals are also likely, as 9 of Manchester City's last 10 matches produced 3 goals or more.",
"key": "matchPrediction"
},
{
"subtitle": "Tight spread at the top of the model",
"text": "The most likely scorelines are Manchester City 2-0 Fulham (10.2%), Manchester City 2-1 Fulham (10.1%) and Manchester City 1-1 Fulham (9.2%). Less than 1 percentage point separates the first two.",
"key": "resultProbability"
},
{
"subtitle": "Haaland and Cherki against Fulham's striking pair",
"text": "Erling Haaland leads the Manchester City attack with 14 goals this season and has scored or assisted in 3 of the last 5 matches. Rayan Cherki has 7 goals and 3 assists and has scored or assisted in 2 of the last 5. Fulham's main threats are Josh King (2 goals, 2 assists, scored or assisted in 1 of the last 5) and Rodrigo Muniz (3 goals, scored or assisted in 1 of the last 5). Manchester City are without Antoine Semenyo (leg injury) and Matheus Nunes is doubtful with an unknown problem, while Fulham miss Emile Smith Rowe (hip injury) and Benjamin Lecomte (Achilles tendon injury).",
"key": "keyPlayers"
},
{
"subtitle": "Complete Manchester City dominance",
"text": "Manchester City have won all 10 listed meetings, scoring 33 goals and conceding 10. Fulham failed to score in 5 of those matches. The two most recent meetings were a 3-0 Manchester City win and a 5-4 Manchester City win at Fulham.",
"key": "headToHead"
},
{
"subtitle": "City's open matches against Fulham's low-scoring run",
"text": "Manchester City have won 6 and lost 4 of their last 10, and 9 of those matches produced more than 2.5 goals. They have not kept a clean sheet in 8 matches, and 4 of the 13 league goals they have conceded came in the first 15 minutes. Fulham have won 3, drawn 4 and lost 3 of their last 10 and are without a win in 3; each of their last 5 matches had fewer than 2.5 goals, and 5 of the 12 goals they have conceded came in the final 15 minutes.",
"key": "currentForm"
},
{
"subtitle": "Chance creation and finishing rates compared",
"text": "Manchester City average 2.1 goals scored and 1.3 conceded per game, with 3.8 big chances, 15.0 shots, 6.1 corners and 66% possession. Fulham average 1.0 goal scored and 1.2 conceded, with 2.3 big chances, 14.0 shots, 5.9 corners and 58% possession. Fulham have converted 9.5% of their big chances, the lowest rate in the league, while Manchester City convert 31.6%. At home Manchester City average 2.2 goals and 4.2 big chances; away Fulham average 0.6 goals and 2.5 big chances.",
"key": "seasonStatistics"
},
{
"subtitle": "Third place against fifteenth",
"text": "Manchester City are 3rd with 21 points from 10 matches and a goal difference of +8, 1 point behind 2nd-placed Brighton & Hove Albion and 6 behind leaders Arsenal. Fulham are 15th with 10 points and a goal difference of -2, 1 point above 16th-placed Nottingham Forest. A home win keeps Manchester City close to the top, while Fulham are trying to move clear of the lower part of the table.",
"key": "matchContext"
},
{
"subtitle": "Thomas Bramall in charge at the Etihad Stadium",
"text": "Thomas Bramall is the referee, with 3.4 yellow cards and 0.13 red cards per game. Manchester City average 1.3 yellow cards per game (0.6 at home) and 6.1 corners (5.6 at home); Fulham average 2.1 yellow cards (2.4 away) and 5.9 corners (6.0 away). Fulham have stayed below 4.5 cards in 8 of their last 10 matches and Manchester City in 6 of 8.",
"key": "referee"
}
],
"halftimePredictionId": 1757377,
"halftimeTranslationLanguage": "en-us",
"halftimePredictions": {
"nextTeamToScore": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"playerToScore": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"jerseyNumber": "9",
"userCount": 1082049,
"gender": "M",
"sofascoreId": "ghm-8ni",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"secondHalfOverOneAndAHalfGoals": true,
"homeNormaltimeScore": 2,
"awayNormaltimeScore": 1
},
"halftimeSections": [
{
"subtitle": "Match context"
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45157/get+match+ai+insights?match_id=16363661")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"odds": {
"16435814": {
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 204823180,
"suspended": false,
"id": 477124490,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "4/9",
"fractionalValue": "4/9",
"sourceId": 491385446,
"name": "1",
"winning": true,
"slipContent": "/?bs=204823180-491385446~4/9~10",
"change": 0
},
{
"initialFractionalValue": "7/2",
"fractionalValue": "7/2",
"sourceId": 491385451,
"name": "X",
"winning": false,
"slipContent": "/?bs=204823180-491385451~7/2~10",
"change": 0
},
{
"initialFractionalValue": "4/1",
"fractionalValue": "4/1",
"sourceId": 491385453,
"name": "2",
"winning": false,
"slipContent": "/?bs=204823180-491385453~4/1~10",
"change": 0
}
]
},
"16419930": {
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 203618794,
"suspended": false,
"id": 476306887,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "1/12",
"fractionalValue": "1/12",
"sourceId": 319738959,
"name": "1",
"winning": true,
"slipContent": "/?bs=203618794-319738959~1/12~10",
"change": 0
},
{
"initialFractionalValue": "15/2",
"fractionalValue": "15/2",
"sourceId": 319738966,
"name": "X",
"winning": false,
"slipContent": "/?bs=203618794-319738966~15/2~10",
"change": 0
},
{
"initialFractionalValue": "12/1",
"fractionalValue": "12/1",
"sourceId": 319738967,
"name": "2",
"winning": false,
"slipContent": "/?bs=203618794-319738967~12/1~10",
"change": 0
}
]
},
"16317063": {
"sourceId": 203962894,
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 203962894,
"suspended": false,
"id": 472322453,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "8/11",
"fractionalValue": "4/6",
"sourceId": 368198332,
"name": "1",
"winning": false,
"slipContent": "/?bs=203962894-368198332~4/6~10",
"change": -1
},
{
"initialFractionalValue": "27/10",
"fractionalValue": "27/10",
"sourceId": 368198336,
"name": "X",
"winning": false,
"slipContent": "/?bs=203962894-368198336~27/10~10",
"change": 0
},
{
"initialFractionalValue": "3/1",
"fractionalValue": "10/3",
"sourceId": 368198339,
"name": "2",
"winning": true,
"slipContent": "/?bs=203962894-368198339~10/3~10",
"change": 1
}
]
},
"16475641": {
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 204683664,
"suspended": false,
"id": 477124497,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "9/20",
"fractionalValue": "9/20",
"sourceId": 469511706,
"name": "1",
"winning": false,
"slipContent": "/?bs=204683664-469511706~9/20~10",
"change": 0
},
{
"initialFractionalValue": "15/4",
"fractionalValue": "15/4",
"sourceId": 469511707,
"name": "X",
"winning": true,
"slipContent": "/?bs=204683664-469511707~15/4~10",
"change": 0
},
{
"initialFractionalValue": "15/4",
"fractionalValue": "15/4",
"sourceId": 469511708,
"name": "2",
"winning": false,
"slipContent": "/?bs=204683664-469511708~15/4~10",
"change": 0
}
]
},
"17141938": {
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 204839076,
"suspended": false,
"id": 477121709,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "11/10",
"fractionalValue": "11/10",
"sourceId": 493974433,
"name": "1",
"winning": true,
"slipContent": "/?bs=204839076-493974433~11/10~10",
"change": 0
},
{
"initialFractionalValue": "3/1",
"fractionalValue": "3/1",
"sourceId": 493974444,
"name": "X",
"winning": false,
"slipContent": "/?bs=204839076-493974444~3/1~10",
"change": 0
},
{
"initialFractionalValue": "8/5",
"fractionalValue": "8/5",
"sourceId": 493974449,
"name": "2",
"winning": false,
"slipContent": "/?bs=204839076-493974449~8/5~10",
"change": 0
}
]
},
"16386022": {
"sourceId": 203576459,
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 203576459,
"suspended": false,
"id": 467265359,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "9/25",
"fractionalValue": "21/50",
"sourceId": 313414420,
"name": "1",
"slipContent": "/?bs=203576459-313414420~21/50~10",
"change": 1
},
{
"initialFractionalValue": "3/1",
"fractionalValue": "27/10",
"sourceId": 313414424,
"name": "X",
"slipContent": "/?bs=203576459-313414424~27/10~10",
"change": -1
},
{
"initialFractionalValue": "13/2",
"fractionalValue": "13/2",
"sourceId": 313414426,
"name": "2",
"slipContent": "/?bs=203576459-313414426~13/2~10",
"change": 0
}
]
},
"16384701": {
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 204823172,
"suspended": false,
"id": 477124495,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "11/10",
"fractionalValue": "11/10",
"sourceId": 491384680,
"name": "1",
"winning": true,
"slipContent": "/?bs=204823172-491384680~11/10~10",
"change": 0
},
{
"initialFractionalValue": "11/5",
"fractionalValue": "11/5",
"sourceId": 491384685,
"name": "X",
"winning": false
}
]
}
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45158/get+sport+odds+by+date?sport_slug=football&provider_id=1&date=2026-11-20")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "League Two",
"slug": "league-two",
"category": {
"name": "Scotland",
"slug": "scotland",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 22,
"flag": "scotland",
"alpha2": "SX",
"fieldTranslations": {
"nameTranslation": {
"ar": "اسكتلندا",
"ru": "Шотландия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Scottish League Two",
"slug": "league-two",
"primaryColorHex": "#212759",
"secondaryColorHex": "#a17700",
"category": {
"name": "Scotland",
"slug": "scotland",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 22,
"flag": "scotland",
"alpha2": "SX",
"fieldTranslations": {
"nameTranslation": {
"ar": "اسكتلندا",
"ru": "Шотландия"
},
"shortNameTranslation": []
}
},
"userCount": 1514,
"liveActivityEnabled": false,
"id": 209,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الاسكتلندي الثاني",
"ru": "Лига Два Шотландии"
},
"shortNameTranslation": []
}
},
"priority": 0,
"isLive": false,
"id": 57,
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري الدرجة الثانية",
"ru": "Лига 2"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 16
},
"customId": "wXsCX",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Dumbarton",
"slug": "dumbarton",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 2775,
"nameCode": "DUM",
"national": false,
"type": 0,
"id": 2377,
"teamColors": {
"primary": "#ffffff",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "دامبارتون",
"ru": "ФК Дамбартон"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Stranraer",
"slug": "stranraer",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 2081,
"nameCode": "STR",
"national": false,
"type": 0,
"id": 2371,
"teamColors": {
"primary": "#0000ff",
"secondary": "#222226",
"text": "#222226"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "سترنراير",
"ru": "Странраер"
},
"shortNameTranslation": []
}
},
"homeScore": [],
"awayScore": [],
"id": 16362654,
"slug": "dumbarton-stranraer",
"startTimestamp": 1796413500,
"finalResultOnly": false
},
{
"eventState": [],
"tournament": {
"name": "Championship",
"slug": "championship",
"category": {
"name": "Scotland",
"slug": "scotland",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 22,
"flag": "scotland",
"alpha2": "SX",
"fieldTranslations": {
"nameTranslation": {
"ar": "اسكتلندا",
"ru": "Шотландия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Scottish Championship",
"slug": "championship",
"primaryColorHex": "#212759",
"secondaryColorHex": "#d5a914",
"category": {
"name": "Scotland",
"slug": "scotland",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 22,
"flag": "scotland",
"alpha2": "SX",
"fieldTranslations": {
"nameTranslation": {
"ar": "اسكتلندا",
"ru": "Шотландия"
},
"shortNameTranslation": []
}
},
"userCount": 4744,
"liveActivityEnabled": false,
"id": 206,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "البطولة الاسكتلندية",
"bn": "স্কটিশ চ্যাম্পিয়নশিপ",
"hi": "स्कॉटिश चैंपियनशिप",
"ru": "Чемпионат Шотландии"
},
"shortNameTranslation": []
}
},
"priority": 0,
"isLive": false,
"id": 55,
"fieldTranslations": {
"nameTranslation": {
"ar": "بطولة",
"bn": "চ্যাম্পিয়নশিপ",
"hi": "चैंपियनशिप",
"ru": "Чемпионат"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 17
},
"customId": "gXslX",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Livingston",
"slug": "livingston",
"shortName": "Livingston",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 12706,
"nameCode": "LIV",
"national": false,
"type": 0,
"id": 2356,
"teamColors": {
"primary": "#ff9500",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليفينغستون",
"bn": "লিভিংস্টন"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45159/get+winning+odds?provider_id=1&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Southern League, Premier Division Central",
"slug": "southern-league-premier-division-central",
"category": {
"name": "England Amateur",
"slug": "england-amateur",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 252,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا هواة",
"ru": "Англия Любители"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Southern Football League, Premier Division Central",
"slug": "southern-football-league-premier-division-central",
"primaryColorHex": "#2d2b95",
"secondaryColorHex": "#ff3637",
"category": {
"name": "England Amateur",
"slug": "england-amateur",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 252,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا هواة",
"ru": "Англия Любители"
},
"shortNameTranslation": []
}
},
"userCount": 1148,
"liveActivityEnabled": false,
"id": 11342,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري كرة القدم الجنوبي، الدرجة الممتازة المركزية",
"ru": "Лига южного футбола, Премьер-дивизион Центральный"
},
"shortNameTranslation": []
}
},
"priority": 0,
"isLive": false,
"id": 74125,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الجنوبي، الدرجة الممتازة الوسطى",
"ru": "Южная Лига, Премьер Дивизион Центральный"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 22
},
"customId": "ObsJd",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Kettering Town",
"slug": "kettering-town",
"shortName": "Kettering",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3024,
"nameCode": "KET",
"disabled": false,
"national": false,
"type": 0,
"id": 89,
"teamColors": {
"primary": "#ff0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "كينشام تاون",
"ru": "Кеттеринг Таун"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Bishop's Stortford",
"slug": "bishops-stortford",
"shortName": "Bishop's Stortford",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1325,
"nameCode": "BST",
"national": false,
"type": 0,
"id": 184,
"teamColors": {
"primary": "#2443ea",
"secondary": "#ffff00",
"text": "#ffff00"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "بيشوبس ستورتفورد",
"hi": "Bishop´s Stortford",
"ru": "Бишопс Стортфорд"
},
"shortNameTranslation": []
}
},
"homeScore": [],
"awayScore": [],
"id": 16587230,
"slug": "bishops-stortford-kettering-town",
"startTimestamp": 1796482800,
"finalResultOnly": false
},
{
"eventState": [],
"tournament": {
"name": "Serie A",
"slug": "serie-a",
"category": {
"name": "Italy",
"slug": "italy",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 7,
"id": 31,
"flag": "italy",
"alpha2": "IT",
"fieldTranslations": {
"nameTranslation": {
"ar": "إيطاليا",
"bn": "ইতালি",
"hi": "इटली",
"ru": "Италия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Serie A",
"slug": "serie-a",
"primaryColorHex": "#09519e",
"secondaryColorHex": "#008fd7",
"category": {
"name": "Italy",
"slug": "italy",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 7,
"id": 31,
"flag": "italy",
"alpha2": "IT",
"fieldTranslations": {
"nameTranslation": {
"ar": "إيطاليا",
"bn": "ইতালি",
"hi": "इटली",
"ru": "Италия"
},
"shortNameTranslation": []
}
},
"userCount": 635222,
"liveActivityEnabled": true,
"id": 23,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإيطالي",
"hi": "सीरी ए",
"bn": "সিরি আ",
"ru": "Серия А"
},
"shortNameTranslation": []
}
},
"priority": 703,
"isLive": false,
"id": 33,
"fieldTranslations": {
"nameTranslation": {
"hi": "सीरी ए",
"ar": "الدوري الإيطالي",
"bn": "সিরি আ",
"ru": "Серия А"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 14
},
"customId": "Xdbsbgb",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Frosinone",
"slug": "frosinone",
"shortName": "Frosinone",
"gender": "M"
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45160/get+top+h2h+odds?provider_id=1&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"general": [
{
"event": {
"eventState": [],
"tournament": {
"name": "Eliteserien",
"slug": "eliteserien",
"category": {
"name": "Norway",
"slug": "norway",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 5,
"flag": "norway",
"alpha2": "NO",
"fieldTranslations": {
"nameTranslation": {
"ar": "النرويج",
"ru": "Норвегия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Eliteserien",
"slug": "eliteserien",
"primaryColorHex": "#002a64",
"category": {
"name": "Norway",
"slug": "norway",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 5,
"flag": "norway",
"alpha2": "NO",
"fieldTranslations": {
"nameTranslation": {
"ar": "النرويج",
"ru": "Норвегия"
},
"shortNameTranslation": []
}
},
"userCount": 37423,
"liveActivityEnabled": true,
"id": 20,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري النرويجي الممتاز",
"bn": "এলিট সিরিজ",
"hi": "एलीटसीरिएन",
"ru": "Элитсерия"
},
"shortNameTranslation": []
}
},
"priority": 222,
"isLive": false,
"id": 5,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري النرويجي الممتاز",
"bn": "এলিটসিরিন",
"hi": "एलीटसीरिएन",
"ru": "Элитесериен"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 29
},
"customId": "lnsoy",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Molde FK",
"slug": "molde-fk",
"shortName": "Molde",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 71126,
"nameCode": "MFK",
"disabled": false,
"national": false,
"type": 0,
"id": 661,
"teamColors": {
"primary": "#2173b9",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مولده",
"hi": "मोल्डे ऍफ़के",
"ru": "ФК Мольде"
},
"shortNameTranslation": {
"ar": "مولدي",
"bn": "মোল্ডে",
"hi": "मोल्डे"
}
}
},
"awayTeam": {
"name": "Viking FK",
"slug": "viking-fk",
"shortName": "Viking",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 148106,
"nameCode": "VIK",
"disabled": false,
"national": false,
"type": 0,
"id": 1164,
"teamColors": {
"primary": "#000066",
"secondary": "#000066",
"text": "#000066"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "الفايكنج FK",
"ru": "ФК Викинг"
},
"shortNameTranslation": {
"ar": "فايكنغ",
"bn": "ভাইকিং",
"hi": "वाइकिंग"
}
}
},
"homeScore": [],
"awayScore": [],
"id": 15260956,
"slug": "viking-fk-molde-fk",
"startTimestamp": 1796407200,
"finalResultOnly": false
},
"streak": {
"name": "More than 2.5 goals",
"team": "home",
"value": "10/10"
}
},
{
"event": {
"eventState": [],
"tournament": {
"name": "Beker van Belgie",
"slug": "beker-van-belgie",
"category": {
"name": "Belgium",
"slug": "belgium",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 33,
"flag": "belgium",
"alpha2": "BE",
"fieldTranslations": {
"nameTranslation": {
"ar": "بلجيكا",
"ru": "Бельгия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Belgian Cup",
"slug": "belgian-cup",
"primaryColorHex": "#da2e34",
"secondaryColorHex": "#e0ad0b",
"category": {
"name": "Belgium",
"slug": "belgium",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 33,
"flag": "belgium",
"alpha2": "BE",
"fieldTranslations": {
"nameTranslation": {
"ar": "بلجيكا",
"ru": "Бельгия"
},
"shortNameTranslation": []
}
},
"userCount": 10303,
"liveActivityEnabled": false,
"id": 326,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "كأس بلجيكا",
"bn": "বেলজিয়ান কাপ",
"hi": "बेल्जियन कप",
"ru": "Кубок Бельгии"
}
}
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45161/get+high+value+streaks?provider_id=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"topTeamStreaks": [
{
"team": {
"name": "ACS Dinamic Kids Videle U19",
"slug": "acs-dinamic-kids-videle-u19",
"shortName": "Dinamic Kids Videle U19",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"category": {
"name": "Romania Amateur",
"slug": "romania-amateur",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1599,
"flag": "romania",
"alpha2": "RO",
"fieldTranslations": {
"nameTranslation": {
"ar": "رومانيا هواة",
"ru": "Румыния Любители"
},
"shortNameTranslation": []
},
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
},
{
"activeFrom": "12-30 00:00",
"activeTo": "02-16 00:00"
}
]
},
"tournament": {
"name": "U19 Liga 4 Teleorman",
"slug": "liga-4-teleorman-u19",
"category": {
"name": "Romania Amateur",
"slug": "romania-amateur",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1599,
"flag": "romania",
"alpha2": "RO",
"fieldTranslations": {
"nameTranslation": {
"ar": "رومانيا هواة",
"ru": "Румыния Любители"
},
"shortNameTranslation": []
},
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
},
{
"activeFrom": "12-30 00:00",
"activeTo": "02-16 00:00"
}
]
},
"uniqueTournament": {
"name": "U19 Liga 4 Teleorman ",
"slug": "liga-4-teleorman-u19",
"category": {
"name": "Romania Amateur",
"slug": "romania-amateur",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1599,
"flag": "romania",
"alpha2": "RO",
"fieldTranslations": {
"nameTranslation": {
"ar": "رومانيا هواة",
"ru": "Румыния Любители"
},
"shortNameTranslation": []
},
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
},
{
"activeFrom": "12-30 00:00",
"activeTo": "02-16 00:00"
}
]
},
"userCount": 26,
"hasPerformanceGraphFeature": false,
"liveActivityEnabled": false,
"id": 29933,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري 4 تيليورمان تحت 19",
"ru": "Лига 4 Телорман до 19 лет"
},
"shortNameTranslation": []
}
},
"priority": 0,
"id": 165347,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري 4 تيليورمان تحت 19",
"ru": "Лига 4 Телорман до 19 лет"
},
"shortNameTranslation": []
}
},
"primaryUniqueTournament": {
"name": "U19 Liga 4 Teleorman ",
"slug": "liga-4-teleorman-u19",
"category": {
"name": "Romania Amateur",
"slug": "romania-amateur",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1599,
"flag": "romania",
"alpha2": "RO",
"fieldTranslations": {
"nameTranslation": {
"ar": "رومانيا هواة",
"ru": "Румыния Любители"
},
"shortNameTranslation": []
},
"transferPeriod": [
{
"activeFrom": "06-01 00:00",
"activeTo": "09-18 00:00"
},
{
"activeFrom": "12-30 00:00",
"activeTo": "02-16 00:00"
}
]
},
"userCount": 26,
"hasPerformanceGraphFeature": false,
"liveActivityEnabled": false,
"id": 29933,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري 4 تيليورمان تحت 19",
"ru": "Лига 4 Телорман до 19 лет"
},
"shortNameTranslation": []
}
},
"userCount": 40,
"nameCode": "ADK",
"national": false,
"type": 0,
"id": 1132925,
"fullName": "ACS Dinamic Kids Videle U19",
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إيه سي إس ديناميك كيدز فيديلي تحت 19",
"ru": "АСЦ Динамик Кидс Видеуле U19"
},
"shortNameTranslation": {
"ar": "إ. 19",
"ru": "АСЦ Динамик Кидс Видеуле U19"
}
}
},
"type": "general",
"streakName": "wins",
"value": "32",
"id": 53088140,
"name": "Wins"
},
{
"team": {
"name": "Fortaleza U13",
"slug": "fortaleza-u13",
"shortName": "Fortaleza U13",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"category": {
"name": "Brazil Amateur",
"slug": "brazil-amateur",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 1694,
"flag": "brazil",
"alpha2": "BR"
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45162/get+top+team+streaks?streak_type=wins&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"featuredEvents": []
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45163/get+featured+matches+odds?provider_id=1&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"featuredEvents": [
{
"eventState": [],
"tournament": {
"name": "International Friendly Games Women",
"slug": "international-friendly-games-women",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"country": [],
"id": 1468,
"flag": "international",
"fieldTranslations": {
"nameTranslation": {
"ar": "العالم",
"bn": "বিশ্ব",
"hi": "विश्व",
"ru": "Мир"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "International Friendly Games Women",
"slug": "int-friendly-games-women",
"primaryColorHex": "#25497d",
"secondaryColorHex": "#d38f1d",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"country": [],
"id": 1468,
"flag": "international",
"fieldTranslations": {
"nameTranslation": {
"ar": "العالم",
"bn": "বিশ্ব",
"hi": "विश्व",
"ru": "Мир"
},
"shortNameTranslation": []
}
},
"userCount": 7552,
"liveActivityEnabled": false,
"country": [],
"id": 852,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "المباريات الدولية الودية للسيدات",
"bn": "ইন্টারন্যাশনাল ফ্রেন্ডলি গেমস উইমেন",
"hi": "इंटरनेशनल फ्रेंडली गेम्स वूमेन",
"ru": "Международные товарищеские игры среди женщин"
},
"shortNameTranslation": []
}
},
"priority": 0,
"isLive": false,
"id": 1039,
"fieldTranslations": {
"nameTranslation": {
"ar": "المباريات الودية الدولية - السيدات",
"bn": "ইন্টারন্যাশনাল ফ্রেন্ডলি গেমস, উইমেন",
"hi": "इंटरनेशनल फ्रेंडली गेम्स, वूमेन",
"ru": "Международные товарищеские матчи среди женщин"
},
"shortNameTranslation": []
}
},
"customId": "BbAsEaF",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Albania",
"slug": "albania",
"shortName": "Albania",
"gender": "F",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1674,
"nameCode": "ALB",
"disabled": false,
"national": true,
"type": 0,
"country": {
"alpha2": "AL",
"alpha3": "ALB",
"name": "Albania",
"slug": "albania"
},
"id": 62576,
"teamColors": {
"primary": "#e41e20",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ألبانيا",
"hi": "अल्बानिया",
"ru": "Албания"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Thailand",
"slug": "thailand",
"shortName": "Thailand",
"gender": "F",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 2661,
"nameCode": "THA",
"national": true,
"type": 0,
"country": {
"alpha2": "TH",
"alpha3": "THA",
"name": "Thailand",
"slug": "thailand"
},
"id": 75029,
"teamColors": {
"primary": "#241d4f",
"secondary": "#ed1c24",
"text": "#ed1c24"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "تايلند",
"hi": "थाईलैंड",
"ru": "Таиланд"
},
"shortNameTranslation": []
}
},
"homeScore": [],
"awayScore": [],
"id": 17645612,
"slug": "thailand-albania",
"startTimestamp": 1796367600,
"finalResultOnly": false
},
{
"eventState": [],
"tournament": {
"name": "Bundesliga",
"slug": "bundesliga",
"category": {
"name": "Germany",
"slug": "germany",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 8,
"country": {
"alpha2": "DE",
"alpha3": "DEU",
"name": "Germany",
"slug": "germany"
},
"id": 30,
"flag": "germany",
"alpha2": "DE",
"fieldTranslations": {
"nameTranslation": {
"ar": "ألمانيا",
"bn": "জার্মানি",
"hi": "जर्मनी",
"ru": "Германия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Bundesliga",
"slug": "bundesliga",
"primaryColorHex": "#e2080e",
"secondaryColorHex": "#8e0902",
"category": {
"name": "Germany",
"slug": "germany",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 8,
"country": {
"alpha2": "DE",
"alpha3": "DEU",
"name": "Germany",
"slug": "germany"
},
"id": 30,
"flag": "germany",
"alpha2": "DE",
"fieldTranslations": {
"nameTranslation": {
"ar": "ألمانيا",
"bn": "জার্মানি",
"hi": "जर्मनी",
"ru": "Германия"
},
"shortNameTranslation": []
}
},
"userCount": 512713,
"liveActivityEnabled": true,
"country": [],
"id": 35
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45164/get+popular+matches+odds?provider_id=1&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"featuredEvents": [
{
"eventState": [],
"tournament": {
"name": "International Friendly Games Women",
"slug": "international-friendly-games-women",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"country": [],
"id": 1468,
"flag": "international",
"fieldTranslations": {
"nameTranslation": {
"ar": "العالم",
"hi": "विश्व",
"bn": "বিশ্ব",
"ru": "Мир"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "International Friendly Games Women",
"slug": "int-friendly-games-women",
"primaryColorHex": "#25497d",
"secondaryColorHex": "#d38f1d",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"country": [],
"id": 1468,
"flag": "international",
"fieldTranslations": {
"nameTranslation": {
"ar": "العالم",
"hi": "विश्व",
"bn": "বিশ্ব",
"ru": "Мир"
},
"shortNameTranslation": []
}
},
"userCount": 7552,
"liveActivityEnabled": false,
"country": [],
"id": 852,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "المباريات الدولية الودية للسيدات",
"bn": "ইন্টারন্যাশনাল ফ্রেন্ডলি গেমস উইমেন",
"hi": "इंटरनेशनल फ्रेंडली गेम्स वूमेन",
"ru": "Международные товарищеские игры среди женщин"
},
"shortNameTranslation": []
}
},
"priority": 0,
"isLive": false,
"id": 1039,
"fieldTranslations": {
"nameTranslation": {
"ar": "المباريات الودية الدولية - السيدات",
"bn": "ইন্টারন্যাশনাল ফ্রেন্ডলি গেমস, উইমেন",
"hi": "इंटरनेशनल फ्रेंडली गेम्स, वूमेन",
"ru": "Международные товарищеские матчи среди женщин"
},
"shortNameTranslation": []
}
},
"customId": "BbAsEaF",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Albania",
"slug": "albania",
"shortName": "Albania",
"gender": "F",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1674,
"nameCode": "ALB",
"disabled": false,
"national": true,
"type": 0,
"country": {
"alpha2": "AL",
"alpha3": "ALB",
"name": "Albania",
"slug": "albania"
},
"id": 62576,
"teamColors": {
"primary": "#e41e20",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ألبانيا",
"hi": "अल्बानिया",
"ru": "Албания"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Thailand",
"slug": "thailand",
"shortName": "Thailand",
"gender": "F",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 2661,
"nameCode": "THA",
"national": true,
"type": 0,
"country": {
"alpha2": "TH",
"alpha3": "THA",
"name": "Thailand",
"slug": "thailand"
},
"id": 75029,
"teamColors": {
"primary": "#241d4f",
"secondary": "#ed1c24",
"text": "#ed1c24"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "تايلند",
"hi": "थाईलैंड",
"ru": "Таиланд"
},
"shortNameTranslation": []
}
},
"homeScore": [],
"awayScore": [],
"id": 17645612,
"slug": "thailand-albania",
"startTimestamp": 1796367600,
"finalResultOnly": false
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45165/get+featured+matches+odds+by+tiers?provider_id=1&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"odds": [
{
"event": {
"eventState": [],
"tournament": {
"name": "Trendyol Süper Lig",
"slug": "trendyol-super-lig",
"category": {
"name": "Turkey",
"slug": "turkey",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 46,
"flag": "turkey",
"alpha2": "TR",
"fieldTranslations": {
"nameTranslation": {
"ar": "تركيا",
"ru": "Турция"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Trendyol Süper Lig",
"slug": "trendyol-super-lig",
"primaryColorHex": "#e51937",
"secondaryColorHex": "#adacac",
"category": {
"name": "Turkey",
"slug": "turkey",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 46,
"flag": "turkey",
"alpha2": "TR",
"fieldTranslations": {
"nameTranslation": {
"ar": "تركيا",
"ru": "Турция"
},
"shortNameTranslation": []
}
},
"userCount": 120492,
"liveActivityEnabled": true,
"id": 52,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري تريندول الممتاز",
"bn": "ট্রেন্ডিওল সুপার লিগ",
"hi": "ट्रेंडयोल सुपर लिग",
"ru": "Суперлига Trendyol"
},
"shortNameTranslation": []
}
},
"priority": 513,
"isLive": false,
"id": 62,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري التركي الممتاز",
"bn": "সুপার লিগ",
"hi": "सुपर लीग",
"ru": "Суперлига Trendyol"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 14
},
"customId": "llbsolb",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Galatasaray",
"slug": "galatasaray",
"shortName": "Galatasaray",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1025035,
"nameCode": "GAL",
"disabled": false,
"national": false,
"type": 0,
"id": 3061,
"subTeams": [],
"teamColors": {
"primary": "#ff9900",
"secondary": "#ff0000",
"text": "#ff0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "غلطة سراي",
"bn": "গালাতাসারায়",
"hi": "गैलातसराय",
"ru": "Галатасарай"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Çaykur Rizespor",
"slug": "caykur-rizespor",
"shortName": "Rizespor",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 27857,
"nameCode": "RIZ",
"disabled": false,
"national": false,
"type": 0,
"id": 3064,
"subTeams": [],
"teamColors": {
"primary": "#00cc33",
"secondary": "#0000cc",
"text": "#0000cc"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "تشايكور ريزيسبور",
"ru": "Чайкур Ризеспор"
},
"shortNameTranslation": {
"ar": "ريزيسبور"
}
}
},
"homeScore": [],
"awayScore": [],
"id": 16483930,
"slug": "caykur-rizespor-galatasaray",
"startTimestamp": 1796403600,
"finalResultOnly": false
},
"sourceId": 204344462,
"structureType": 1,
"marketId": 1,
"marketName": "Full time",
"isLive": false,
"fid": 204344462,
"suspended": false,
"id": 491159550,
"marketGroup": "1X2",
"marketPeriod": "Full-time",
"choices": [
{
"initialFractionalValue": "27/100",
"fractionalValue": "37/100",
"sourceId": 423298174,
"name": "1",
"slipContent": "/?bs=204344462-423298174~37/100~10",
"change": 1
},
{
"initialFractionalValue": "17/4",
"fractionalValue": "7/2",
"sourceId": 423298180,
"name": "X",
"slipContent": "/?bs=204344462-423298180~7/2~10",
"change": -1
},
{
"initialFractionalValue": "13/2",
"fractionalValue": "5/1",
"sourceId": 423298181,
"name": "2",
"slipContent": "/?bs=204344462-423298181~5/1~10",
"change": -1
}
]
},
{
"event": {
"eventState": [],
"tournament": {
"name": "Saudi Pro League",
"slug": "saudi-pro-league",
"category": {
"name": "Saudi Arabia",
"slug": "saudi-arabia",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 310,
"flag": "saudi-arabia",
"alpha2": "SA",
"fieldTranslations": {
"nameTranslation": {
"ar": "السعودية",
"bn": "সৌদি আরব",
"hi": "सऊदी अरब",
"ru": "Саудовская Аравия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Saudi Pro League",
"slug": "saudi-pro-league"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45166/get+top+voted+odds?provider_id=1&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"betBoosts": [
{
"event": {
"eventState": [],
"tournament": {
"name": "Ligue 1",
"slug": "ligue-1",
"category": {
"name": "France",
"slug": "france",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 6,
"country": {
"alpha2": "FR",
"alpha3": "FRA",
"name": "France",
"slug": "france"
},
"id": 7,
"flag": "france",
"alpha2": "FR",
"fieldTranslations": {
"nameTranslation": {
"ar": "فرنسا",
"bn": "ফ্রান্স",
"hi": "फ्रांस",
"ru": "Франция"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Ligue 1",
"slug": "ligue-1",
"primaryColorHex": "#091c3e",
"secondaryColorHex": "#a9c011",
"category": {
"name": "France",
"slug": "france",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 6,
"country": {
"alpha2": "FR",
"alpha3": "FRA",
"name": "France",
"slug": "france"
},
"id": 7,
"flag": "france",
"alpha2": "FR",
"fieldTranslations": {
"nameTranslation": {
"ar": "فرنسا",
"bn": "ফ্রান্স",
"hi": "फ्रांस",
"ru": "Франция"
},
"shortNameTranslation": []
}
},
"userCount": 428883,
"liveActivityEnabled": true,
"country": [],
"id": 34,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "লীগ 1",
"ar": "الدوري الفرنسي",
"hi": "लीग 1",
"ru": "Лига 1"
},
"shortNameTranslation": []
}
},
"priority": 701,
"isLive": false,
"id": 4,
"fieldTranslations": {
"nameTranslation": {
"bn": "লীগ 1",
"hi": "लीग 1",
"ar": "الدوري الفرنسي 1",
"ru": "Лига 1"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 13
},
"customId": "YMTc",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Toulouse",
"slug": "toulouse",
"shortName": "Toulouse",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 83487,
"nameCode": "TFC",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "FR",
"alpha3": "FRA",
"name": "France",
"slug": "france"
},
"id": 1681,
"teamColors": {
"primary": "#660099",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "تولوز",
"bn": "টুলুজ",
"hi": "टूलूज़",
"ru": "Тулуза"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Paris Saint-Germain",
"slug": "paris-saint-germain",
"shortName": "PSG",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3486281,
"nameCode": "PSG",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "FR",
"alpha3": "FRA",
"name": "France",
"slug": "france"
},
"id": 1644,
"teamColors": {
"primary": "#000066",
"secondary": "#ff1541",
"text": "#ff1541"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "باريس سان جيرمان",
"hi": "पेरिस सेंट-जर्मेन",
"ru": "Пари Сен-Жермен"
},
"shortNameTranslation": {
"bn": "পিএসজি",
"hi": "पीएसजी",
"ru": "ПСЖ"
}
}
},
"homeScore": [],
"awayScore": [],
"id": 16311036,
"slug": "toulouse-paris-saint-germain",
"startTimestamp": 1796413500,
"finalResultOnly": false
},
"betBoosts": [
{
"name": "Score from Outside the Box",
"betSlipLink": "https://www.bet365.com/dl/sportsbookredirect/?affiliate=365_848359&bs=204331233-422511898~10/1~10~~1101067314~9/1~1&bet=1",
"oddsDecimal": 11,
"unboostedOddsDecimal": 10,
"oddsFractional": "10/1",
"unboostedOddsFractional": "9/1",
"betBoostParticipants": [
{
"name": "Score from Outside the Box - Achraf Hakimi",
"id": 737890
}
],
"id": 348176
},
{
"name": "Score with a Header",
"betSlipLink": "https://www.bet365.com/dl/sportsbookredirect/?affiliate=365_848359&bs=204331233-422511711~10/1~10~~1101067315~17/2~1&bet=1",
"oddsDecimal": 11,
"unboostedOddsDecimal": 9.5,
"oddsFractional": "10/1",
"unboostedOddsFractional": "17/2",
"betBoostParticipants": [
{
"name": "Score with a Header - Ferran Torres",
"id": 737891
}
],
"id": 348177
}
]
},
{
"event": {
"eventState": [],
"tournament": {
"name": "Bundesliga",
"slug": "bundesliga",
"category": {
"name": "Germany",
"slug": "germany"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45167/get+odds+boosts?provider_id=1&sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"positive": [
{
"type": 5,
"rank": 41
},
{
"type": 16,
"rank": 47
},
{
"type": 25,
"rank": 22
}
],
"negative": [
{
"type": 6,
"rank": 1668
}
],
"positions": [
"ST"
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45168/get+player+characteristics?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"playerAttributeOverviews": [
{
"id": 22047,
"attacking": 85,
"technical": 66,
"tactical": 74,
"defending": 33,
"creativity": 54,
"position": "F",
"yearShift": 0
},
{
"id": 30286,
"attacking": 85,
"technical": 65,
"tactical": 77,
"defending": 34,
"creativity": 52,
"position": "F",
"yearShift": 1
},
{
"id": 56218,
"attacking": 82,
"technical": 63,
"tactical": 75,
"defending": 31,
"creativity": 50,
"position": "F",
"yearShift": 2
},
{
"id": 76089,
"attacking": 88,
"technical": 66,
"tactical": 74,
"defending": 33,
"creativity": 55,
"position": "F",
"yearShift": 3
}
],
"averageAttributeOverviews": [
{
"id": 19812,
"attacking": 61,
"technical": 54,
"tactical": 43,
"defending": 32,
"creativity": 45,
"position": "F",
"yearShift": 0
}
],
"sportSlug": "football"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45169/get+player+attribute+overviews?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"statistics": [
{
"team": {
"name": "Norway",
"slug": "norway",
"shortName": "Norway",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 464219,
"nameCode": "NOR",
"ranking": 19,
"disabled": false,
"national": true,
"type": 0,
"id": 4475,
"teamColors": {
"primary": "#ef2b2d",
"secondary": "#001f5b",
"text": "#001f5b"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "النرويج",
"bn": "নরওয়ে",
"hi": "नॉर्वे",
"ru": "Норвегия"
},
"shortNameTranslation": []
}
},
"appearances": 61,
"goals": 68,
"debutTimestamp": 1567641600
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45170/get+player+national+team+statistics?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"summary": [
{
"type": "event",
"timestamp": 1767297600,
"value": "6.2",
"rating": 6.2,
"uniqueTournamentId": 17,
"eventId": 14025270,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 0,
"saves": 0,
"xg": 0.3227
},
{
"type": "event",
"timestamp": 1767547800,
"value": "7",
"rating": 7,
"uniqueTournamentId": 17,
"eventId": 14025286,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 1,
"saves": 0,
"xg": 0.4113
},
{
"type": "event",
"timestamp": 1767814200,
"value": "6.8",
"rating": 6.8,
"uniqueTournamentId": 17,
"eventId": 14025061,
"teamId": 17,
"goals": 1,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 1,
"saves": 0,
"xg": 1.528
},
{
"type": "event",
"timestamp": 1768057200,
"value": "6.5",
"rating": 6.5,
"uniqueTournamentId": 19,
"eventId": 15197270,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 45,
"goalsConceded": 0,
"saves": 0
},
{
"type": "event",
"timestamp": 1768334400,
"value": "6.5",
"rating": 6.5,
"uniqueTournamentId": 21,
"eventId": 15246970,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 0,
"saves": 0
},
{
"type": "event",
"timestamp": 1768653000,
"value": "6.4",
"rating": 6.4,
"uniqueTournamentId": 17,
"eventId": 14025079,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 80,
"goalsConceded": 2,
"saves": 0,
"xg": 0.1342
},
{
"type": "event",
"timestamp": 1768931100,
"value": "6.2",
"rating": 6.2,
"uniqueTournamentId": 7,
"eventId": 14566841,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 3,
"saves": 0,
"xg": 0.3804
},
{
"type": "event",
"timestamp": 1769266800,
"value": "6.4",
"rating": 6.4,
"uniqueTournamentId": 17,
"eventId": 14025116,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 17,
"goalsConceded": 0,
"saves": 0
},
{
"type": "event",
"timestamp": 1769630400,
"value": "7.7",
"rating": 7.7,
"uniqueTournamentId": 7,
"eventId": 14566665,
"teamId": 17,
"goals": 1,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 0,
"saves": 0,
"xg": 0.673
},
{
"type": "event",
"timestamp": 1769963400,
"value": "6.6",
"rating": 6.6,
"uniqueTournamentId": 17,
"eventId": 14025149,
"teamId": 17,
"goals": 0,
"assists": 1,
"minutesPlayed": 90,
"goalsConceded": 2,
"saves": 0,
"xg": 0.2794
},
{
"type": "event",
"timestamp": 1770235200,
"value": "7",
"rating": 7,
"uniqueTournamentId": 21,
"eventId": 15247041,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 19,
"goalsConceded": 0,
"saves": 0
},
{
"type": "event",
"timestamp": 1770568200,
"value": "7.5",
"rating": 7.5,
"uniqueTournamentId": 17,
"eventId": 14025173,
"teamId": 17,
"goals": 1,
"assists": 1,
"minutesPlayed": 90,
"goalsConceded": 1,
"saves": 0,
"xg": 1.2531
},
{
"type": "event",
"timestamp": 1770838200,
"value": "7.5",
"rating": 7.5,
"uniqueTournamentId": 17,
"eventId": 14025212,
"teamId": 17,
"goals": 1,
"assists": 0,
"minutesPlayed": 45,
"goalsConceded": 0,
"saves": 0,
"xg": 0.1186
},
{
"type": "event",
"timestamp": 1771704000,
"value": "7.6",
"rating": 7.6,
"uniqueTournamentId": 17,
"eventId": 14024010,
"teamId": 17,
"goals": 0,
"assists": 1,
"minutesPlayed": 90,
"goalsConceded": 1,
"saves": 0,
"xg": 0.5583
},
{
"type": "event",
"timestamp": 1772652600,
"value": "6",
"rating": 6,
"uniqueTournamentId": 17,
"eventId": 14023984,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 2,
"saves": 0,
"xg": 0.1038
},
{
"type": "event",
"timestamp": 1773259200,
"value": "6.1",
"rating": 6.1,
"uniqueTournamentId": 7,
"eventId": 15631329,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 82,
"goalsConceded": 3,
"saves": 0
},
{
"type": "event",
"timestamp": 1773518400,
"value": "6.5",
"rating": 6.5,
"uniqueTournamentId": 17,
"eventId": 14023993,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 1,
"saves": 0,
"xg": 0.3041
},
{
"type": "event",
"timestamp": 1773777600,
"value": "7.1",
"rating": 7.1,
"uniqueTournamentId": 7,
"eventId": 15631365,
"teamId": 17,
"goals": 1,
"assists": 0,
"minutesPlayed": 56,
"goalsConceded": 1,
"saves": 0,
"xg": 1.1362
},
{
"type": "event",
"timestamp": 1774197000,
"value": "6.2",
"rating": 6.2,
"uniqueTournamentId": 21,
"eventId": 15489359,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 0,
"saves": 0
},
{
"type": "event",
"timestamp": 1774972800,
"value": "6.6",
"rating": 6.6,
"uniqueTournamentId": 851,
"eventId": 15366480,
"teamId": 4475,
"goals": 0,
"assists": 0,
"minutesPlayed": 63,
"goalsConceded": 0,
"saves": 0
},
{
"type": "event",
"timestamp": 1775303100,
"value": "9.5",
"rating": 9.5,
"uniqueTournamentId": 19,
"eventId": 15697198,
"teamId": 17,
"goals": 3,
"assists": 0,
"minutesPlayed": 77,
"goalsConceded": 0,
"saves": 0
},
{
"type": "event",
"timestamp": 1776007800,
"value": "6.3",
"rating": 6.3,
"uniqueTournamentId": 17,
"eventId": 14023998,
"teamId": 17,
"goals": 0,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 0,
"saves": 0,
"xg": 0.5766
},
{
"type": "event",
"timestamp": 1776612600,
"value": "7.4",
"rating": 7.4,
"uniqueTournamentId": 17,
"eventId": 14025039,
"teamId": 17,
"goals": 1,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 1,
"saves": 0,
"xg": 0.8124
},
{
"type": "event",
"timestamp": 1776884400,
"value": "7.6",
"rating": 7.6,
"uniqueTournamentId": 17,
"eventId": 14024003,
"teamId": 17,
"goals": 1,
"assists": 0,
"minutesPlayed": 90,
"goalsConceded": 0,
"saves": 0,
"xg": 1.097
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45171/get+player+last+year+summary?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"uniqueTournaments": [
{
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"gender": "M",
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
{
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1146603,
"gender": "M",
"liveActivityEnabled": true,
"id": 7,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ar": "دوري أبطال أوروبا",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ru": "Лига чемпионов УЕФА",
"ro": "UEFA Champions League"
},
"shortNameTranslation": []
}
},
{
"name": "UEFA Nations League",
"slug": "uefa-nations-league",
"primaryColorHex": "#3a4179",
"secondaryColorHex": "#e5a422",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 318767,
"gender": "M",
"liveActivityEnabled": true,
"id": 10783,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري أمم أوروبا",
"bn": "উয়েফা নেশনস লিগ",
"hi": "यूईएफए नेशंस लीग",
"ru": "Лига наций УЕФА"
},
"shortNameTranslation": []
}
},
{
"name": "Community Shield",
"slug": "community-shield",
"primaryColorHex": "#e4051f",
"secondaryColorHex": "#949fa4",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 43024,
"gender": "M",
"liveActivityEnabled": false,
"id": 346,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "درع الاتحاد",
"bn": "কমিউনিটি শিল্ড",
"hi": "कम्युनिटी शील्ड",
"ru": "Кубок Сообщества"
},
"shortNameTranslation": []
}
},
{
"name": "FIFA World Cup",
"slug": "world-championship",
"primaryColorHex": "#d20a11",
"secondaryColorHex": "#e8bb57",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"id": 1468,
"flag": "international",
"fieldTranslations": {
"nameTranslation": {
"ar": "العالم",
"bn": "বিশ্ব",
"hi": "विश्व",
"ru": "Мир"
},
"shortNameTranslation": []
}
},
"userCount": 1909347,
"gender": "M",
"liveActivityEnabled": true,
"id": 16,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"pt-pt": "Mundial",
"ar": "كأس العالم",
"bn": "ওয়ার্ল্ড চ্যাম্পিয়নশিপ",
"hi": "वर्ल्ड चैंपियनशिप",
"hr": "FIFA Svjetsko prvenstvo",
"az": "FİFA Dünya Kuboku",
"nl": "Wereldkampioenschap",
"fr": "Coupe du monde",
"de": "Weltmeisterschaft",
"el": "Παγκόσμιο Κύπελλο",
"hu": "FIFA Világbajnokság",
"id": "Piala Dunia FIFA",
"it": "Coppa del Mondo FIFA",
"ja": "FIFAワールドカップ",
"ko": "FIFA 월드컵",
"no": "Verdensmesterskapet",
"pl": "Mistrzostwa Świata",
"pt": "Copa do Mundo FIFA",
"ro": "Campionatul Mondial",
"es": "Copa Mundial",
"es-la": "Copa Mundial",
"sv": "Världsmästerskapet",
"th": "ฟุตบอลโลก",
"tr": "FIFA Dünya Kupası",
"vi": "Giải Vô Địch Thế Giới",
"ru": "Чемпионат мира",
"sr": "Светско првенство"
},
"shortNameTranslation": []
}
},
{
"name": "International Friendly Games",
"slug": "int-friendly-games",
"primaryColorHex": "#25497d",
"secondaryColorHex": "#d38f1d",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"id": 1468,
"flag": "international"
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45172/get+player+unique+tournaments?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"uniqueTournamentSeasons": [
{
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"seasons": [
{
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
{
"name": "Premier League 25/26",
"year": "25/26",
"editor": false,
"id": 76986
},
{
"name": "Premier League 24/25",
"year": "24/25",
"editor": false,
"id": 61627
},
{
"name": "Premier League 23/24",
"year": "23/24",
"editor": false,
"id": 52186
},
{
"name": "Premier League 22/23",
"year": "22/23",
"editor": false,
"seasonCoverageInfo": [],
"id": 41886
}
]
},
{
"uniqueTournament": {
"name": "UEFA Nations League",
"slug": "uefa-nations-league",
"primaryColorHex": "#3a4179",
"secondaryColorHex": "#e5a422",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 318767,
"liveActivityEnabled": true,
"id": 10783,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري أمم أوروبا",
"bn": "উয়েফা নেশনস লিগ",
"hi": "यूईएफए नेशंस लीग",
"ru": "Лига наций УЕФА"
},
"shortNameTranslation": []
}
},
"seasons": [
{
"name": "UEFA Nations League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 89945
},
{
"name": "UEFA Nations League 24/25",
"year": "24/25",
"editor": false,
"id": 58337
},
{
"name": "UEFA Nations League 22/23",
"year": "22/23",
"editor": false,
"seasonCoverageInfo": [],
"id": 40128
},
{
"name": "UEFA Nations League 20/21",
"year": "20/21",
"editor": false,
"id": 27595
}
]
},
{
"uniqueTournament": {
"name": "Community Shield",
"slug": "community-shield",
"primaryColorHex": "#e4051f",
"secondaryColorHex": "#949fa4",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 43024,
"liveActivityEnabled": false,
"id": 346,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "درع الاتحاد",
"bn": "কমিউনিটি শিল্ড",
"hi": "कम्युनिटी शील्ड",
"ru": "Кубок Сообщества"
},
"shortNameTranslation": []
}
},
"seasons": [
{
"name": "Community Shield 2026",
"year": "26/27",
"editor": false,
"id": 95402
},
{
"name": "Community Shield 2024",
"year": "24/25",
"editor": false,
"id": 60997
},
{
"name": "Community Shield 2023",
"year": "23/24",
"editor": false,
"id": 53261
},
{
"name": "Community Shield 2022",
"year": "22/23",
"editor": false,
"id": 41860
}
]
},
{
"uniqueTournament": {
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1146603,
"liveActivityEnabled": true,
"id": 7,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ar": "دوري أبطال أوروبا"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45173/get+player+statistics+seasons?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"seasons": [
{
"statistics": {
"accurateCrosses": 0,
"accurateLongBalls": 2,
"accurateLongBallsPercentage": 66.67,
"accuratePasses": 118,
"accuratePassesPercentage": 66.67,
"aerialDuelsWon": 31,
"assists": 0,
"bigChancesCreated": 3,
"bigChancesMissed": 8,
"blockedShots": 2,
"outfielderBlocks": 2,
"cleanSheet": 3,
"dribbledPast": 3,
"errorLeadToGoal": 0,
"expectedAssists": 0.94376241,
"expectedGoals": 9.0369,
"goals": 11,
"goalsAssistsSum": 11,
"goalsConceded": 16,
"interceptions": 2,
"keyPasses": 7,
"minutesPlayed": 1160,
"passToAssist": 0,
"penaltyFaced": 0,
"penaltySave": 0,
"rating": 7.59,
"redCards": 0,
"savedShotsFromInsideTheBox": 0,
"saves": 0,
"shotsOnTarget": 22,
"successfulDribbles": 7,
"successfulRunsOut": 0,
"tackles": 2,
"totalShots": 47,
"yellowCards": 0,
"totalRating": 98.7,
"countRating": 13,
"totalLongBalls": 3,
"totalCross": 0,
"totalPasses": 177,
"shotsFromInsideTheBox": 45,
"accurateOwnHalfPasses": 42,
"accurateOppositionHalfPasses": 76,
"accurateFinalThirdPasses": 49,
"touches": 321,
"touchesInOppBox": 73,
"unsuccessfulTouches": 19,
"successfulDribblesPercentage": 50,
"penaltyWon": 0,
"clearances": 17,
"ballRecovery": 25,
"errorLeadToShot": 0,
"ownGoals": 0,
"defensiveContributions": 23,
"totalDuelsWon": 48,
"totalDuelsWonPercentage": 52.173913043478,
"groundDuelsWon": 17,
"groundDuelsWonPercentage": 39.53488372093,
"aerialDuelsWonPercentage": 63.265306122449,
"wasFouled": 8,
"fouls": 8,
"penaltyConceded": 0,
"offsides": 2,
"expectedGoalsOnTarget": 9.6084,
"goalConversionPercentage": 23.404255319149,
"scoringFrequency": 105.45454545455,
"goalsFromInsideTheBox": 11,
"goalsFromOutsideTheBox": 0,
"headedGoals": 4,
"leftFootGoals": 5,
"rightFootGoals": 2,
"hitWoodwork": 0,
"penaltiesTaken": 0,
"penaltyGoals": 0,
"shotFromSetPiece": 0,
"freeKickGoal": 0,
"setPieceConversion": 0,
"cornersTaken": 0,
"expectedGoalsConceded": 15.8318,
"expectedGoalsOnTargetConceded": 15.3855,
"goalsConcededInsideTheBox": 16,
"goalsConcededOutsideTheBox": 0,
"savedShotsFromOutsideTheBox": 0,
"punches": 0,
"highClaims": 0,
"crossesNotClaimed": 0,
"runsOut": 0,
"metersCovered": 126251.7386,
"metersCoveredWalkingJogging": 0,
"walkingJoggingPercentage": 0,
"metersCoveredRunning": 14310.9295,
"runningPercentage": 11.34,
"metersCoveredHighSpeedRunning": 6422.0453,
"highSpeedRunningPercentage": 5.09,
"metersCoveredSprinting": 2928.9169,
"sprintingPercentage": 2.32,
"matchesStarted": 13,
"totwAppearances": 4,
"shotsOffTarget": 12,
"shotsFromOutsideTheBox": 2,
"attemptPenaltyMiss": 0,
"attemptPenaltyPost": 0,
"attemptPenaltyTarget": 0,
"penaltyConversion": 0,
"inaccuratePasses": 59,
"totalOwnHalfPasses": 60,
"totalOppositionHalfPasses": 117,
"totalChippedPasses": 8,
"accurateChippedPasses": 5,
"totalAttemptAssist": 7,
"totalContest": 14,
"dispossessed": 9,
"possessionLost": 95,
"possessionWonAttThird": 4,
"duelLost": 44,
"aerialLost": 18,
"tacklesWon": 0,
"tacklesWonPercentage": 0,
"savesParried": 0,
"goalKicks": 0,
"yellowRedCards": 0,
"directRedCards": 0,
"kilometersCovered": 126.2517386,
"kilometersCoveredPer90": 9.8,
"numberOfSprints": 153,
"numberOfSprintsPer90": 11.87,
"topSpeed": 35.32824,
"appearances": 13,
"goalInvolvements": 11,
"expectedGoalInvolvements": 9.98066241,
"type": "overall",
"id": 0
},
"year": "26/27",
"startYear": 2026,
"endYear": 2027,
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
},
"competitionType": "domestic-league",
"majorTrophy": true,
"hasAchievements": true
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"potsEnabled": false,
"id": 96668
}
},
{
"statistics": {
"accurateCrosses": 0,
"accurateCrossesPercentage": 0,
"accurateLongBalls": 1,
"accurateLongBallsPercentage": 100,
"accuratePasses": 33,
"accuratePassesPercentage": 60,
"aerialDuelsWon": 8,
"assists": 0,
"bigChancesCreated": 1,
"bigChancesMissed": 7,
"blockedShots": 0,
"outfielderBlocks": 0,
"cleanSheet": 1,
"dribbledPast": 0,
"errorLeadToGoal": 0
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45174/get+player+career+statistics?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"seasons": [
{
"statistics": {
"accurateCrosses": 0,
"accurateLongBalls": 2,
"accurateLongBallsPercentage": 66.67,
"accuratePasses": 118,
"accuratePassesPercentage": 66.67,
"aerialDuelsWon": 31,
"assists": 0,
"bigChancesCreated": 3,
"bigChancesMissed": 8,
"blockedShots": 2,
"outfielderBlocks": 2,
"cleanSheet": 3,
"dribbledPast": 3,
"errorLeadToGoal": 0,
"expectedAssists": 0.94376241,
"expectedGoals": 9.0369,
"goals": 11,
"goalsAssistsSum": 11,
"goalsConceded": 16,
"interceptions": 2,
"keyPasses": 7,
"minutesPlayed": 1160,
"passToAssist": 0,
"penaltyFaced": 0,
"penaltySave": 0,
"rating": 7.59,
"redCards": 0,
"savedShotsFromInsideTheBox": 0,
"saves": 0,
"shotsOnTarget": 22,
"successfulDribbles": 7,
"successfulRunsOut": 0,
"tackles": 2,
"totalShots": 47,
"yellowCards": 0,
"totalRating": 98.7,
"countRating": 13,
"totalLongBalls": 3,
"totalCross": 0,
"totalPasses": 177,
"shotsFromInsideTheBox": 45,
"accurateOwnHalfPasses": 42,
"accurateOppositionHalfPasses": 76,
"accurateFinalThirdPasses": 49,
"touches": 321,
"touchesInOppBox": 73,
"unsuccessfulTouches": 19,
"successfulDribblesPercentage": 50,
"penaltyWon": 0,
"clearances": 17,
"ballRecovery": 25,
"errorLeadToShot": 0,
"ownGoals": 0,
"defensiveContributions": 23,
"totalDuelsWon": 48,
"totalDuelsWonPercentage": 52.173913043478,
"groundDuelsWon": 17,
"groundDuelsWonPercentage": 39.53488372093,
"aerialDuelsWonPercentage": 63.265306122449,
"wasFouled": 8,
"fouls": 8,
"penaltyConceded": 0,
"offsides": 2,
"expectedGoalsOnTarget": 9.6084,
"goalConversionPercentage": 23.404255319149,
"scoringFrequency": 105.45454545455,
"goalsFromInsideTheBox": 11,
"goalsFromOutsideTheBox": 0,
"headedGoals": 4,
"leftFootGoals": 5,
"rightFootGoals": 2,
"hitWoodwork": 0,
"penaltiesTaken": 0,
"penaltyGoals": 0,
"shotFromSetPiece": 0,
"freeKickGoal": 0,
"setPieceConversion": 0,
"cornersTaken": 0,
"expectedGoalsConceded": 15.8318,
"expectedGoalsOnTargetConceded": 15.3855,
"goalsConcededInsideTheBox": 16,
"goalsConcededOutsideTheBox": 0,
"savedShotsFromOutsideTheBox": 0,
"punches": 0,
"highClaims": 0,
"crossesNotClaimed": 0,
"runsOut": 0,
"metersCovered": 126251.7386,
"metersCoveredWalkingJogging": 0,
"walkingJoggingPercentage": 0,
"metersCoveredRunning": 14310.9295,
"runningPercentage": 11.34,
"metersCoveredHighSpeedRunning": 6422.0453,
"highSpeedRunningPercentage": 5.09,
"metersCoveredSprinting": 2928.9169,
"sprintingPercentage": 2.32,
"matchesStarted": 13,
"totwAppearances": 4,
"shotsOffTarget": 12,
"shotsFromOutsideTheBox": 2,
"attemptPenaltyMiss": 0,
"attemptPenaltyPost": 0,
"attemptPenaltyTarget": 0,
"penaltyConversion": 0,
"inaccuratePasses": 59,
"totalOwnHalfPasses": 60,
"totalOppositionHalfPasses": 117,
"totalChippedPasses": 8,
"accurateChippedPasses": 5,
"totalAttemptAssist": 7,
"totalContest": 14,
"dispossessed": 9,
"possessionLost": 95,
"possessionWonAttThird": 4,
"duelLost": 44,
"aerialLost": 18,
"tacklesWon": 0,
"tacklesWonPercentage": 0,
"savesParried": 0,
"goalKicks": 0,
"yellowRedCards": 0,
"directRedCards": 0,
"kilometersCovered": 126.2517386,
"kilometersCoveredPer90": 9.8,
"numberOfSprints": 153,
"numberOfSprintsPer90": 11.87,
"topSpeed": 35.32824,
"appearances": 13,
"goalInvolvements": 11,
"expectedGoalInvolvements": 9.98066241,
"type": "overall",
"id": 0
},
"year": "26/27",
"startYear": 2026,
"endYear": 2027,
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
},
"competitionType": "domestic-league",
"majorTrophy": true,
"hasAchievements": true
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"potsEnabled": false,
"id": 96668
}
},
{
"statistics": {
"accurateCrosses": 0,
"accurateCrossesPercentage": 0,
"accurateLongBalls": 1,
"accurateLongBallsPercentage": 100,
"accuratePasses": 33,
"accuratePassesPercentage": 60,
"aerialDuelsWon": 8,
"assists": 0,
"bigChancesCreated": 1,
"bigChancesMissed": 7,
"blockedShots": 0,
"outfielderBlocks": 0,
"cleanSheet": 1,
"dribbledPast": 0,
"errorLeadToGoal": 0
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45175/get+player+career+statistics+by+season?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"seasons": [
{
"statistics": {
"accurateCrosses": 0,
"accurateLongBalls": 2,
"accurateLongBallsPercentage": 66.67,
"accuratePasses": 118,
"accuratePassesPercentage": 66.67,
"aerialDuelsWon": 31,
"assists": 0,
"bigChancesCreated": 3,
"bigChancesMissed": 8,
"blockedShots": 2,
"outfielderBlocks": 2,
"cleanSheet": 3,
"dribbledPast": 3,
"errorLeadToGoal": 0,
"expectedAssists": 0.94376241,
"expectedGoals": 9.0369,
"goals": 11,
"goalsAssistsSum": 11,
"goalsConceded": 16,
"interceptions": 2,
"keyPasses": 7,
"minutesPlayed": 1160,
"passToAssist": 0,
"penaltyFaced": 0,
"penaltySave": 0,
"rating": 7.59,
"redCards": 0,
"savedShotsFromInsideTheBox": 0,
"saves": 0,
"shotsOnTarget": 22,
"successfulDribbles": 7,
"successfulRunsOut": 0,
"tackles": 2,
"totalShots": 47,
"yellowCards": 0,
"totalRating": 98.7,
"countRating": 13,
"totalLongBalls": 3,
"totalCross": 0,
"totalPasses": 177,
"shotsFromInsideTheBox": 45,
"accurateOwnHalfPasses": 42,
"accurateOppositionHalfPasses": 76,
"accurateFinalThirdPasses": 49,
"touches": 321,
"touchesInOppBox": 73,
"unsuccessfulTouches": 19,
"successfulDribblesPercentage": 50,
"penaltyWon": 0,
"clearances": 17,
"ballRecovery": 25,
"errorLeadToShot": 0,
"ownGoals": 0,
"defensiveContributions": 23,
"totalDuelsWon": 48,
"totalDuelsWonPercentage": 52.173913043478,
"groundDuelsWon": 17,
"groundDuelsWonPercentage": 39.53488372093,
"aerialDuelsWonPercentage": 63.265306122449,
"wasFouled": 8,
"fouls": 8,
"penaltyConceded": 0,
"offsides": 2,
"expectedGoalsOnTarget": 9.6084,
"goalConversionPercentage": 23.404255319149,
"scoringFrequency": 105.45454545455,
"goalsFromInsideTheBox": 11,
"goalsFromOutsideTheBox": 0,
"headedGoals": 4,
"leftFootGoals": 5,
"rightFootGoals": 2,
"hitWoodwork": 0,
"penaltiesTaken": 0,
"penaltyGoals": 0,
"shotFromSetPiece": 0,
"freeKickGoal": 0,
"setPieceConversion": 0,
"cornersTaken": 0,
"expectedGoalsConceded": 15.8318,
"expectedGoalsOnTargetConceded": 15.3855,
"goalsConcededInsideTheBox": 16,
"goalsConcededOutsideTheBox": 0,
"savedShotsFromOutsideTheBox": 0,
"punches": 0,
"highClaims": 0,
"crossesNotClaimed": 0,
"runsOut": 0,
"metersCovered": 126251.7386,
"metersCoveredWalkingJogging": 0,
"walkingJoggingPercentage": 0,
"metersCoveredRunning": 14310.9295,
"runningPercentage": 11.34,
"metersCoveredHighSpeedRunning": 6422.0453,
"highSpeedRunningPercentage": 5.09,
"metersCoveredSprinting": 2928.9169,
"sprintingPercentage": 2.32,
"matchesStarted": 13,
"totwAppearances": 4,
"shotsOffTarget": 12,
"shotsFromOutsideTheBox": 2,
"attemptPenaltyMiss": 0,
"attemptPenaltyPost": 0,
"attemptPenaltyTarget": 0,
"penaltyConversion": 0,
"inaccuratePasses": 59,
"totalOwnHalfPasses": 60,
"totalOppositionHalfPasses": 117,
"totalChippedPasses": 8,
"accurateChippedPasses": 5,
"totalAttemptAssist": 7,
"totalContest": 14,
"dispossessed": 9,
"possessionLost": 95,
"possessionWonAttThird": 4,
"duelLost": 44,
"aerialLost": 18,
"tacklesWon": 0,
"tacklesWonPercentage": 0,
"savesParried": 0,
"goalKicks": 0,
"yellowRedCards": 0,
"directRedCards": 0,
"kilometersCovered": 126.2517386,
"kilometersCoveredPer90": 9.8,
"numberOfSprints": 153,
"numberOfSprintsPer90": 11.87,
"topSpeed": 35.32824,
"appearances": 13,
"goalInvolvements": 11,
"expectedGoalInvolvements": 9.98066241,
"type": "overall",
"id": 0
},
"startYear": 2026,
"endYear": 2027,
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"potsEnabled": false,
"id": 96668
}
},
{
"statistics": {
"accurateCrosses": 1,
"accurateCrossesPercentage": 33.33,
"accurateLongBalls": 4,
"accurateLongBallsPercentage": 28.57,
"accuratePasses": 252,
"accuratePassesPercentage": 65.63,
"aerialDuelsWon": 73,
"assists": 8,
"bigChancesCreated": 9,
"bigChancesMissed": 30,
"blockedShots": 1,
"outfielderBlocks": 1,
"cleanSheet": 9,
"dribbledPast": 6,
"errorLeadToGoal": 0,
"expectedAssists": 2.80503791,
"expectedGoals": 26.0459,
"goals": 27,
"goalsAssistsSum": 35,
"goalsConceded": 32,
"interceptions": 5,
"keyPasses": 25,
"minutesPlayed": 2958,
"passToAssist": 0,
"penaltyFaced": 0,
"penaltySave": 0,
"rating": 7.31,
"redCards": 0,
"savedShotsFromInsideTheBox": 0,
"saves": 0,
"shotsOnTarget": 59,
"successfulDribbles": 17,
"successfulRunsOut": 0,
"tackles": 15,
"totalShots": 126,
"yellowCards": 2,
"totalRating": 255.9,
"countRating": 35,
"totalLongBalls": 14,
"totalCross": 3,
"totalPasses": 384,
"shotsFromInsideTheBox": 114,
"accurateOwnHalfPasses": 92,
"accurateOppositionHalfPasses": 160,
"accurateFinalThirdPasses": 107,
"touches": 778,
"touchesInOppBox": 213,
"unsuccessfulTouches": 47,
"successfulDribblesPercentage": 53.125,
"penaltyWon": 0,
"clearances": 42,
"ballRecovery": 41,
"errorLeadToShot": 0,
"ownGoals": 0,
"defensiveContributions": 63,
"totalDuelsWon": 130,
"totalDuelsWonPercentage": 53.941908713693,
"groundDuelsWon": 57,
"groundDuelsWonPercentage": 46.341463414634,
"aerialDuelsWonPercentage": 61.864406779661,
"wasFouled": 25
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45176/get+player+competition+statistics?player_id=839956&unique_tournament_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"points": [
{
"x": 47,
"y": 55,
"count": 2
},
{
"x": 47,
"y": 41,
"count": 1
},
{
"x": 47,
"y": 59,
"count": 1
},
{
"x": 47,
"y": 73,
"count": 1
},
{
"x": 56,
"y": 77,
"count": 1
},
{
"x": 56,
"y": 79,
"count": 3
},
{
"x": 56,
"y": 64,
"count": 1
},
{
"x": 56,
"y": 46,
"count": 1
},
{
"x": 56,
"y": 48,
"count": 1
},
{
"x": 52,
"y": 33,
"count": 1
},
{
"x": 52,
"y": 40,
"count": 1
},
{
"x": 52,
"y": 54,
"count": 1
},
{
"x": 52,
"y": 68,
"count": 2
},
{
"x": 48,
"y": 47,
"count": 1
},
{
"x": 48,
"y": 30,
"count": 1
},
{
"x": 48,
"y": 24,
"count": 1
},
{
"x": 48,
"y": 36,
"count": 1
},
{
"x": 57,
"y": 36,
"count": 1
},
{
"x": 57,
"y": 55,
"count": 2
},
{
"x": 57,
"y": 38,
"count": 1
},
{
"x": 57,
"y": 71,
"count": 1
},
{
"x": 63,
"y": 55,
"count": 1
},
{
"x": 63,
"y": 26,
"count": 1
},
{
"x": 63,
"y": 57,
"count": 1
},
{
"x": 63,
"y": 88,
"count": 1
},
{
"x": 63,
"y": 95,
"count": 1
},
{
"x": 63,
"y": 90,
"count": 1
},
{
"x": 63,
"y": 42,
"count": 2
},
{
"x": 63,
"y": 40,
"count": 1
},
{
"x": 42,
"y": 9,
"count": 1
},
{
"x": 42,
"y": 37,
"count": 1
},
{
"x": 42,
"y": 46,
"count": 1
},
{
"x": 42,
"y": 67,
"count": 1
},
{
"x": 42,
"y": 30,
"count": 1
},
{
"x": 97,
"y": 61,
"count": 1
},
{
"x": 97,
"y": 43,
"count": 1
},
{
"x": 97,
"y": 60,
"count": 1
},
{
"x": 97,
"y": 34,
"count": 1
},
{
"x": 97,
"y": 51,
"count": 1
},
{
"x": 88,
"y": 47,
"count": 3
},
{
"x": 88,
"y": 39,
"count": 1
},
{
"x": 88,
"y": 29,
"count": 1
},
{
"x": 88,
"y": 98,
"count": 1
},
{
"x": 88,
"y": 67,
"count": 1
},
{
"x": 88,
"y": 64,
"count": 1
},
{
"x": 88,
"y": 44,
"count": 2
},
{
"x": 60,
"y": 64,
"count": 1
},
{
"x": 60,
"y": 67,
"count": 1
},
{
"x": 60,
"y": 54,
"count": 1
},
{
"x": 60,
"y": 73,
"count": 1
},
{
"x": 60,
"y": 63,
"count": 1
},
{
"x": 60,
"y": 32,
"count": 1
},
{
"x": 54,
"y": 25,
"count": 1
},
{
"x": 54,
"y": 57,
"count": 1
},
{
"x": 54,
"y": 40,
"count": 3
},
{
"x": 54,
"y": 5,
"count": 1
},
{
"x": 54,
"y": 51,
"count": 1
},
{
"x": 54,
"y": 56,
"count": 1
},
{
"x": 54,
"y": 49,
"count": 1
},
{
"x": 54,
"y": 90,
"count": 1
},
{
"x": 98,
"y": 17,
"count": 2
},
{
"x": 98,
"y": 29,
"count": 1
},
{
"x": 98,
"y": 30,
"count": 1
},
{
"x": 98,
"y": 61,
"count": 1
},
{
"x": 30,
"y": 67,
"count": 2
},
{
"x": 30,
"y": 61,
"count": 1
},
{
"x": 30,
"y": 50,
"count": 1
},
{
"x": 30,
"y": 65,
"count": 1
},
{
"x": 30,
"y": 38,
"count": 1
},
{
"x": 87,
"y": 41,
"count": 2
},
{
"x": 87,
"y": 33,
"count": 1
},
{
"x": 87,
"y": 43,
"count": 1
},
{
"x": 87,
"y": 61,
"count": 1
},
{
"x": 87,
"y": 50,
"count": 1
},
{
"x": 64,
"y": 44,
"count": 1
},
{
"x": 64,
"y": 78,
"count": 1
},
{
"x": 64,
"y": 59,
"count": 2
},
{
"x": 64,
"y": 69,
"count": 1
},
{
"x": 64,
"y": 80,
"count": 1
},
{
"x": 64,
"y": 20,
"count": 1
},
{
"x": 64,
"y": 63,
"count": 1
},
{
"x": 64,
"y": 43,
"count": 1
},
{
"x": 64,
"y": 86,
"count": 1
},
{
"x": 73,
"y": 43,
"count": 1
},
{
"x": 73,
"y": 47,
"count": 1
},
{
"x": 73,
"y": 45,
"count": 1
},
{
"x": 73,
"y": 48,
"count": 1
},
{
"x": 73,
"y": 39,
"count": 1
},
{
"x": 73,
"y": 73,
"count": 1
},
{
"x": 73,
"y": 15,
"count": 1
},
{
"x": 71,
"y": 65,
"count": 1
},
{
"x": 71,
"y": 48,
"count": 2
},
{
"x": 71,
"y": 45,
"count": 1
},
{
"x": 71,
"y": 38,
"count": 1
},
{
"x": 71,
"y": 75,
"count": 1
},
{
"x": 71,
"y": 73,
"count": 2
},
{
"x": 83,
"y": 28,
"count": 1
},
{
"x": 83,
"y": 13,
"count": 1
},
{
"x": 84,
"y": 70,
"count": 1
},
{
"x": 84,
"y": 51,
"count": 1
},
{
"x": 84,
"y": 59,
"count": 1
},
{
"x": 84,
"y": 60,
"count": 1
},
{
"x": 84,
"y": 84,
"count": 1
},
{
"x": 69,
"y": 57,
"count": 1
},
{
"x": 69,
"y": 55,
"count": 2
},
{
"x": 69,
"y": 36,
"count": 1
},
{
"x": 69,
"y": 42,
"count": 1
},
{
"x": 69,
"y": 41,
"count": 1
},
{
"x": 69,
"y": 34,
"count": 1
},
{
"x": 69,
"y": 80,
"count": 1
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45177/get+player+season+heatmap?player_id=839956&unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"seasonRatings": [
{
"eventId": 16363689,
"event": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 13
},
"customId": "rsJ",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"awayTeam": {
"name": "Leeds United",
"slug": "leeds-united",
"shortName": "Leeds",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 257572,
"nameCode": "LEE",
"disabled": false,
"national": false,
"type": 0,
"id": 34,
"teamColors": {
"primary": "#ffffff",
"secondary": "#1d4189",
"text": "#1d4189"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليدز يونايتد",
"bn": "লিডস",
"hi": "लीड्स यूनाइटेड",
"ru": "Лидс Юнайтед"
},
"shortNameTranslation": {
"ar": "ليدز",
"hi": "लीड्स",
"ru": "Лидс"
}
}
},
"homeScore": {
"current": 2,
"display": 2,
"period1": 2,
"period2": 0,
"normaltime": 2
},
"awayScore": {
"current": 0,
"display": 0,
"period1": 0,
"period2": 0,
"normaltime": 0
},
"hasXg": true,
"id": 16363689,
"slug": "leeds-united-manchester-city",
"startTimestamp": 1796239800,
"finalResultOnly": false
},
"startTimestamp": 1796239800,
"rating": 7.4,
"opponent": {
"name": "Leeds United",
"slug": "leeds-united",
"shortName": "Leeds",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 257572,
"nameCode": "LEE",
"disabled": false,
"national": false,
"type": 0,
"id": 34,
"teamColors": {
"primary": "#ffffff",
"secondary": "#1d4189",
"text": "#1d4189"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليدز يونايتد",
"bn": "লিডস",
"hi": "लीड्स यूनाइटेड",
"ru": "Лидс Юнайтед"
},
"shortNameTranslation": {
"ar": "ليدز",
"hi": "लीड्स",
"ru": "Лидс"
}
}
},
"isHome": true
},
{
"eventId": 16363664,
"event": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football"
}
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45178/get+player+season+ratings?player_id=839956&unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"statistics": {
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"potsEnabled": false,
"id": 96668
},
"rankings": {
"accurateCrosses": {
"value": 0,
"rank": 233,
"count": 464,
"order": 297,
"rankGroupSize": 232
},
"accurateCrossesPercentage": {
"value": 0,
"rank": 233,
"count": 464,
"order": 297,
"rankGroupSize": 232
},
"accurateFinalThirdPasses": {
"value": 49,
"rank": 191,
"count": 464,
"order": 192,
"rankGroupSize": 3
},
"accurateLongBalls": {
"value": 2,
"rank": 306,
"count": 464,
"order": 313,
"rankGroupSize": 38
},
"accurateLongBallsPercentage": {
"value": 66.666666666667,
"rank": 55,
"count": 464,
"order": 59,
"rankGroupSize": 15
},
"accurateOppositionHalfPasses": {
"value": 76,
"rank": 234,
"count": 464,
"order": 234,
"rankGroupSize": 2
},
"accurateOwnHalfPasses": {
"value": 42,
"rank": 281,
"count": 464,
"order": 281,
"rankGroupSize": 5
},
"accuratePasses": {
"value": 118,
"rank": 266,
"count": 464,
"order": 266,
"rankGroupSize": 2
},
"accuratePassesPercentage": {
"value": 66.666666666667,
"rank": 406,
"count": 464,
"order": 408,
"rankGroupSize": 13
},
"aerialDuelsWon": {
"value": 31,
"rank": 28,
"count": 464,
"order": 28,
"rankGroupSize": 1
},
"aerialDuelsWonPercentage": {
"value": 63.265306122449,
"rank": 98,
"count": 464,
"order": 98,
"rankGroupSize": 1
},
"appearances": {
"value": 13,
"rank": 1,
"count": 464,
"order": 29,
"rankGroupSize": 101
},
"assists": {
"value": 0,
"rank": 152,
"count": 464,
"order": 239,
"rankGroupSize": 313
},
"ballRecovery": {
"value": 25,
"rank": 201,
"count": 464,
"order": 204,
"rankGroupSize": 11
},
"bigChancesCreated": {
"value": 3,
"rank": 38,
"count": 464,
"order": 45,
"rankGroupSize": 38
},
"bigChancesMissed": {
"value": 8,
"rank": 4,
"count": 464,
"order": 5,
"rankGroupSize": 3
},
"cleanSheet": {
"value": 3,
"rank": 41,
"count": 464,
"order": 56,
"rankGroupSize": 44
},
"clearances": {
"value": 17,
"rank": 126,
"count": 464,
"order": 127,
"rankGroupSize": 5
},
"cornersTaken": {
"value": 0,
"rank": 125,
"count": 464,
"order": 220,
"rankGroupSize": 340
},
"defensiveContributions": {
"value": 23,
"rank": 210,
"count": 464,
"order": 214,
"rankGroupSize": 10
},
"dribbledPast": {
"value": 3,
"rank": 206,
"count": 464,
"order": 220,
"rankGroupSize": 50
},
"errorLeadToGoal": {
"value": 0,
"rank": 61,
"count": 464,
"order": 167,
"rankGroupSize": 404
},
"errorLeadToShot": {
"value": 0,
"rank": 143,
"count": 464,
"order": 230,
"rankGroupSize": 322
},
"expectedAssists": {
"value": 0.94376241,
"rank": 88,
"count": 460,
"order": 88,
"rankGroupSize": 1
},
"expectedGoalInvolvements": {
"value": 9.98066241,
"rank": 1,
"count": 460,
"order": 1,
"rankGroupSize": 1
},
"expectedGoals": {
"value": 9.0369,
"rank": 1,
"count": 386,
"order": 1,
"rankGroupSize": 1
},
"expectedGoalsOnTarget": {
"value": 9.6084,
"rank": 1,
"count": 464,
"order": 1,
"rankGroupSize": 1
},
"fouls": {
"value": 8,
"rank": 157,
"count": 464,
"order": 161,
"rankGroupSize": 22
},
"freeKickGoal": {
"value": 0,
"rank": 7,
"count": 464,
"order": 129,
"rankGroupSize": 458
},
"goalConversionPercentage": {
"value": 23.404255319149,
"rank": 46,
"count": 464,
"order": 46,
"rankGroupSize": 1
},
"goals": {
"value": 11,
"rank": 1,
"count": 464,
"order": 1,
"rankGroupSize": 1
},
"goalsAssistsSum": {
"value": 11,
"rank": 1,
"count": 464,
"order": 1,
"rankGroupSize": 2
},
"goalsFromInsideTheBox": {
"value": 11,
"rank": 1,
"count": 464,
"order": 1,
"rankGroupSize": 1
},
"goalsFromOutsideTheBox": {
"value": 0,
"rank": 46,
"count": 464,
"order": 158,
"rankGroupSize": 419
},
"groundDuelsWon": {
"value": 17,
"rank": 228,
"count": 464,
"order": 230,
"rankGroupSize": 8
},
"groundDuelsWonPercentage": {
"value": 39.53488372093,
"rank": 351,
"count": 464,
"order": 351,
"rankGroupSize": 1
},
"headedGoals": {
"value": 4,
"rank": 1,
"count": 464,
"order": 1,
"rankGroupSize": 1
},
"highSpeedRunningPercentage": {
"value": 5.0866985050771,
"rank": 334,
"count": 464,
"order": 334,
"rankGroupSize": 1
},
"hitWoodwork": {
"value": 0,
"rank": 68,
"count": 464,
"order": 174,
"rankGroupSize": 397
},
"interceptions": {
"value": 2,
"rank": 250,
"count": 464,
"order": 263,
"rankGroupSize": 44
},
"keyPasses": {
"value": 7,
"rank": 142,
"count": 464,
"order": 143,
"rankGroupSize": 15
},
"kilometersCovered": {
"value": 126.2517386,
"rank": 52,
"count": 464,
"order": 52,
"rankGroupSize": 1
},
"leftFootGoals": {
"value": 5,
"rank": 1,
"count": 464,
"order": 1,
"rankGroupSize": 2
},
"matchesStarted": {
"value": 13,
"rank": 1,
"count": 464,
"order": 21,
"rankGroupSize": 63
},
"metersCoveredHighSpeedRunning": {
"value": 6422.0453,
"rank": 89,
"count": 464,
"order": 89,
"rankGroupSize": 1
}
}
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45179/get+player+season+statistical+rankings?player_id=839956&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 25/26",
"year": "25/26",
"editor": false,
"id": 76986
},
"roundInfo": {
"round": 22
},
"customId": "rK",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Manchester United",
"slug": "manchester-united",
"shortName": "Man Utd",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3813288,
"nameCode": "MUN",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 35,
"subTeams": [],
"teamColors": {
"primary": "#ff0000",
"secondary": "#373737",
"text": "#373737"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر يونايتد",
"hi": "मेनचेस्टर यूनाइटेड ऍफ़सी",
"ru": "Манчестер Юнайтед"
},
"shortNameTranslation": {
"ar": "مانشستر يونايتد",
"bn": "ম্যান ইউনাইটেড",
"hi": "मैन यूनाइटेड"
}
}
},
"awayTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"homeScore": {
"current": 2,
"display": 2,
"period1": 0,
"period2": 2,
"normaltime": 2
},
"awayScore": {
"current": 0,
"display": 0,
"period1": 0,
"period2": 0,
"normaltime": 0
},
"time": {
"injuryTime1": 2,
"injuryTime2": 5,
"currentPeriodStartTimestamp": 1768656806
},
"changes": {
"changes": [
"status.code",
"status.description",
"status.type"
],
"changeTimestamp": 1768659900
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": false,
"correctHalftimeAiInsight": false,
"id": 14025079,
"slug": "manchester-united-manchester-city",
"startTimestamp": 1768653000,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
},
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league"
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45180/get+player+competition+finished+matches?player_id=839956&unique_tournament_id=17&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"media": [
{
"title": "Erling Haaland! Liverpool vs Manchester City - All goals and highlights #football",
"subtitle": "",
"url": "https://www.youtube.com/watch?v=xrvK5HQwdeU",
"thumbnailUrl": "https://i.ytimg.com/vi/xrvK5HQwdeU/mqdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": false,
"livestream": false,
"removeOnFinish": false,
"id": 8140911,
"createdAtTimestamp": 1791792054,
"sourceUrl": "https://www.youtube.com/watch?v=xrvK5HQwdeU"
},
{
"title": "Erling Haaland Reacts to 150-year-old Football Equipment",
"subtitle": "Erling Haaland steps back in time to experience how football was played over 150 years ago! How do you think modern ...",
"url": "https://www.youtube.com/watch?v=SWhax3uAM00",
"thumbnailUrl": "https://i.ytimg.com/vi/SWhax3uAM00/mqdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": false,
"livestream": false,
"removeOnFinish": false,
"id": 8140912,
"createdAtTimestamp": 1791792054,
"sourceUrl": "https://www.youtube.com/watch?v=SWhax3uAM00"
},
{
"title": "The Art of Erling Haaland 🇳🇴🤖",
"subtitle": "Haaland Manchester City Experience the unstoppable force of Erling Haaland in this ultimate football compilation. From explosive ...",
"url": "https://www.youtube.com/watch?v=i2zsd2kAIQ4",
"thumbnailUrl": "https://i.ytimg.com/vi/i2zsd2kAIQ4/mqdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": false,
"livestream": false,
"removeOnFinish": false,
"id": 8140913,
"createdAtTimestamp": 1791792054,
"sourceUrl": "https://www.youtube.com/watch?v=i2zsd2kAIQ4"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45181/get+player+media?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"playerOfTheSeasons": [
{
"rating": 7.9625,
"appearances": 8,
"year": 2021,
"uniqueTournament": {
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1147355,
"liveActivityEnabled": true,
"id": 7,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ar": "دوري أبطال أوروبا",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ru": "Лига чемпионов УЕФА",
"ro": "UEFA Champions League"
},
"shortNameTranslation": []
}
},
"season": {
"name": "UEFA Champions League 20/21",
"year": "20/21",
"editor": false,
"id": 29267
},
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"jerseyNumber": "9",
"userCount": 1083364,
"gender": "M",
"sofascoreId": "ghm-8ni",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"team": {
"name": "Borussia Dortmund",
"slug": "borussia-dortmund",
"shortName": "Dortmund",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1282756,
"nameCode": "BVB",
"disabled": false,
"national": false,
"type": 0,
"id": 2673,
"teamColors": {
"primary": "#ffe600",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "بوروسيا دورتموند",
"hi": "बोरुस्सिया डॉर्टमुंड",
"ru": "Боруссия Дортмунд"
},
"shortNameTranslation": {
"ar": "دورتموند",
"bn": "ডর্টমুন্ড",
"hi": "डॉर्टमुंड",
"ru": "Дортмунд"
}
}
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45182/get+player+of+the+season+awards?player_id=839956")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"rankings": [
{
"rankingType": {
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"name": "UEFA Clubs",
"slug": "uefa-clubs",
"gender": "M",
"id": 9,
"lastUpdatedTimestamp": 1796348422
},
"rankingRows": [
{
"year": 2021,
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"lastEvent": {
"eventState": [],
"tournament": {
"name": "UEFA Champions League, Knockout stage",
"slug": "uefa-champions-league-knockout-stage",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1146603,
"liveActivityEnabled": true,
"id": 7,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ar": "دوري أبطال أوروبا",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ru": "Лига чемпионов УЕФА",
"ro": "UEFA Champions League"
},
"shortNameTranslation": []
}
},
"priority": 717,
"isLive": false,
"id": 23,
"fieldTranslations": {
"nameTranslation": {
"hi": "यूईएफए चैंपियंस लीग",
"ar": "دوري أبطال أوروبا",
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ru": "Лига чемпионов УЕФА, стадия плей-офф",
"ro": "UEFA Champions League, Faza eliminatorie"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 5,
"name": "Round of 16",
"slug": "round-of-16",
"cupRoundType": 8
},
"customId": "rskCo",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"awayTeam": {
"name": "RB Leipzig",
"slug": "rb-leipzig",
"shortName": "Leipzig",
"gender": "M",
"sport": {
"name": "Football"
}
}
}
}
]
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45183/get+team+rankings+history?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"referee": {
"name": "Andy Madley",
"slug": "andy-madley",
"yellowCards": 1481,
"redCards": 36,
"yellowRedCards": 16,
"games": 472,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"country": {
"alpha2": "EN",
"name": "England"
},
"id": 79884,
"fieldTranslations": {
"nameTranslation": {
"ar": "أندي مادلي",
"bn": "অ্যান্ডি ম্যাডলি",
"hi": "एंडी मैडली",
"ru": "Энди Мэдли"
},
"shortNameTranslation": []
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45184/get+referee+details?referee_id=79884")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"statistics": [
{
"uniqueTournament": {
"name": "World Cup Qual. UEFA",
"slug": "world-championship-qual-uefa",
"primaryColorHex": "#9a1133",
"secondaryColorHex": "#c11541",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 186514,
"liveActivityEnabled": true,
"id": 11,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "تصفيات كأس العالم للاتحاد الأوروبي لكرة القدم",
"bn": "ওয়ার্ল্ড চ্যাম্পিয়নশিপ কোয়াল. উয়েফা",
"hi": "वर्ल्ड चैंपियनशिप क्वालीफाइंग यूईएफए",
"ru": "Квалификация к Кубку мира УЕФА"
},
"shortNameTranslation": []
}
},
"appearances": 1,
"yellowCards": 0,
"redCards": 0,
"yellowRedCards": 0,
"penalty": 0
},
{
"uniqueTournament": {
"name": "League Two",
"slug": "league-two",
"primaryColorHex": "#20429a",
"secondaryColorHex": "#be0008",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 15858,
"liveActivityEnabled": false,
"id": 25,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري الدرجة الثانية",
"bn": "লিগ টু",
"hi": "लीग टू",
"ru": "Лига 2"
},
"shortNameTranslation": []
}
},
"appearances": 32,
"yellowCards": 78,
"redCards": 1,
"yellowRedCards": 0,
"penalty": 7
},
{
"uniqueTournament": {
"name": "J1 League",
"slug": "j1-league",
"secondaryColorHex": "#dc351b",
"category": {
"name": "Japan",
"slug": "japan",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 0,
"id": 52,
"flag": "japan",
"alpha2": "JP",
"fieldTranslations": {
"nameTranslation": {
"ar": "اليابان",
"ru": "Япония"
},
"shortNameTranslation": []
}
},
"userCount": 23247,
"liveActivityEnabled": true,
"id": 196,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ru": "Лига J1",
"ar": "دوري الدرجة الأولى الياباني",
"bn": "জে 1 লীগ",
"hi": "J1 लीग",
"ja": "J1リーグ"
},
"shortNameTranslation": []
}
},
"appearances": 2,
"yellowCards": 9,
"redCards": 0,
"yellowRedCards": 0,
"penalty": 0
},
{
"uniqueTournament": {
"name": "International Friendly Games",
"slug": "int-friendly-games",
"primaryColorHex": "#25497d",
"secondaryColorHex": "#d38f1d",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"id": 1468,
"flag": "international",
"fieldTranslations": {
"nameTranslation": {
"ar": "العالم",
"bn": "বিশ্ব",
"hi": "विश्व",
"ru": "Мир"
},
"shortNameTranslation": []
}
},
"userCount": 119021,
"liveActivityEnabled": true,
"id": 851,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "مباريات ودية دولية",
"hi": "इंटरनेशनल फ्रेंडली गेम्स",
"bn": "ইন্টারন্যাশনাল ফ্রেন্ডলি গেমস",
"ru": "Международные товарищеские игры",
"ro": "Meciuri amicale internaționale"
},
"shortNameTranslation": []
}
},
"appearances": 1,
"yellowCards": 3,
"redCards": 0,
"yellowRedCards": 0,
"penalty": 0
},
{
"uniqueTournament": {
"name": "UEFA Nations League",
"slug": "uefa-nations-league",
"primaryColorHex": "#3a4179",
"secondaryColorHex": "#e5a422",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 318767,
"liveActivityEnabled": true,
"id": 10783,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري أمم أوروبا",
"bn": "উয়েফা নেশনস লিগ",
"hi": "यूईएफए नेशंस लीग",
"ru": "Лига наций УЕФА"
},
"shortNameTranslation": []
}
},
"appearances": 2,
"yellowCards": 6,
"redCards": 0,
"yellowRedCards": 0
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45185/get+referee+statistics?referee_id=79884")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 25/26",
"year": "25/26",
"editor": false,
"id": 76986
},
"roundInfo": {
"round": 22
},
"customId": "gsU",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 3,
"homeTeam": {
"name": "Liverpool FC",
"slug": "liverpool",
"shortName": "Liverpool",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3736448,
"nameCode": "LIV",
"disabled": false,
"national": false,
"type": 0,
"id": 44,
"subTeams": [],
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليفربول",
"bn": "লিভারপুল",
"hi": "लिवरपूल",
"ru": "Ливерпуль"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Burnley",
"slug": "burnley",
"shortName": "Burnley",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 137866,
"nameCode": "BUR",
"disabled": false,
"national": false,
"type": 0,
"id": 6,
"subTeams": [],
"teamColors": {
"primary": "#81204c",
"secondary": "#8fd2f4",
"text": "#8fd2f4"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "بيرنلي",
"bn": "বার্নলি",
"hi": "बर्नली",
"ru": "Бернли"
},
"shortNameTranslation": []
}
},
"homeScore": {
"current": 1,
"display": 1,
"period1": 1,
"period2": 0,
"normaltime": 1
},
"awayScore": {
"current": 1,
"display": 1,
"period1": 0,
"period2": 1,
"normaltime": 1
},
"time": {
"injuryTime1": 2,
"injuryTime2": 7,
"currentPeriodStartTimestamp": 1768665771
},
"changes": {
"changes": [
"status.code",
"status.description",
"status.type"
],
"changeTimestamp": 1768668918
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": false,
"correctHalftimeAiInsight": false,
"id": 14025076,
"slug": "liverpool-burnley",
"startTimestamp": 1768662000,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
},
{
"eventState": [],
"tournament": {
"name": "Championship",
"slug": "championship",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Championship",
"slug": "championship",
"primaryColorHex": "#20429a",
"secondaryColorHex": "#ac944a",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45186/get+referee+finished+matches?referee_id=79884&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"results": [
{
"entity": {
"id": 42,
"name": "Arsenal",
"nameCode": "ARS",
"slug": "arsenal",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3715396,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"type": 0,
"gender": "M",
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"score": 268197.84,
"type": "team"
},
{
"entity": {
"id": 26243,
"name": "Arsenal",
"nameCode": "ARS",
"slug": "arsenal-women",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 91006,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"type": 0,
"gender": "F",
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"ru": "Арсенал ЛФК"
},
"shortNameTranslation": []
}
},
"score": 41974.938,
"type": "team"
},
{
"entity": {
"id": 36554,
"name": "Arsenal U21",
"nameCode": "ARS",
"slug": "arsenal-u21",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 13095,
"teamColors": {
"primary": "#ff0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"type": 0,
"gender": "M",
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال تحت 21",
"bn": "আর্সেনাল আন্ডার21",
"hi": "आर्सेनल अंडर 21",
"ru": "Арсенал U21"
},
"shortNameTranslation": []
}
},
"score": 15922.895,
"type": "team"
},
{
"entity": {
"id": 35301,
"name": "Arsenal Tula",
"nameCode": "ART",
"slug": "arsenal-tula",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 8374,
"teamColors": {
"primary": "#ff0000",
"secondary": "#ffff00",
"text": "#ffff00"
},
"type": 0,
"gender": "M",
"country": {
"alpha2": "RU",
"name": "Russia",
"slug": "russia"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"score": 12733.421,
"type": "team"
},
{
"entity": {
"id": 90120,
"name": "Arsenal U19",
"nameCode": "ARS",
"slug": "arsenal-u19",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 6867,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"type": 0,
"gender": "M",
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال تحت 19",
"ru": "Арсенал U19"
},
"shortNameTranslation": []
}
},
"score": 11531.022,
"type": "team"
},
{
"entity": {
"id": 3221,
"name": "Arsenal de Sarandí",
"nameCode": "ARS",
"slug": "arsenal-de-sarandi",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 5990,
"teamColors": {
"primary": "#00ccff",
"secondary": "#ff0000",
"text": "#ff0000"
},
"type": 0,
"gender": "M",
"country": {
"alpha2": "AR",
"name": "Argentina",
"slug": "argentina"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"ru": "Арсенал де Саранди"
},
"shortNameTranslation": []
}
},
"score": 10769.669,
"type": "team"
},
{
"entity": {
"id": 317897,
"name": "Arsenal Dzerzhinsk",
"nameCode": "ARS",
"slug": "fk-arsenal-dzerzhinsk",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3183,
"teamColors": {
"primary": "#e41f26",
"secondary": "#ffffff",
"text": "#ffffff"
},
"type": 0,
"gender": "M",
"country": {
"alpha2": "BY",
"name": "Belarus",
"slug": "belarus"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"ru": "Арсенал Дзержинск"
},
"shortNameTranslation": []
}
},
"score": 7851.2573,
"type": "team"
},
{
"entity": {
"id": 759461,
"name": "Arsenal U18",
"nameCode": "AU1",
"slug": "arsenal-u18",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 2656,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"type": 0,
"gender": "M",
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال تحت 18",
"ru": "Арсенал U18"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45187/search+teams?q=arsenal&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"results": [
{
"entity": {
"id": 934235,
"name": "Bukayo Saka",
"slug": "bukayo-saka",
"userCount": 169585,
"team": {
"id": 42,
"name": "Arsenal",
"nameCode": "ARS",
"slug": "arsenal",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3715396,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"gender": "M",
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"deceased": false,
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
},
"shortName": "B. Saka",
"position": "F",
"jerseyNumber": "7",
"sofascoreId": "iw8-xrp",
"fieldTranslations": {
"nameTranslation": {
"ar": "ب. ساكا",
"bn": "বি. সাকা",
"hi": "बी. साका",
"ru": "Б. Сака"
},
"shortNameTranslation": []
}
},
"score": 49622.46,
"type": "player"
},
{
"entity": {
"id": 804508,
"name": "Viktor Gyökeres",
"slug": "viktor-gyokeres",
"userCount": 168768,
"team": {
"id": 42,
"name": "Arsenal",
"nameCode": "ARS",
"slug": "arsenal",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3715396,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"gender": "M",
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"deceased": false,
"country": {
"alpha2": "SE",
"name": "Sweden",
"slug": "sweden"
},
"shortName": "V. Gyökeres",
"position": "F",
"jerseyNumber": "14",
"sofascoreId": "h2g-w2c",
"fieldTranslations": {
"nameTranslation": {
"ar": "ف. غيوكيريس",
"bn": "ভি. গোকেরেস",
"hi": "वी. ग्योकेरेस",
"ru": "В. Дьёкереш"
},
"shortNameTranslation": []
}
},
"score": 49502.785,
"type": "player"
},
{
"entity": {
"id": 547410,
"name": "Martin Ødegaard",
"slug": "martin-degaard",
"userCount": 83095,
"team": {
"id": 42,
"name": "Arsenal",
"nameCode": "ARS",
"slug": "arsenal",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3715396,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"gender": "M",
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"deceased": false,
"country": {
"alpha2": "NO",
"name": "Norway",
"slug": "norway"
},
"shortName": "M. Ødegaard",
"position": "M",
"jerseyNumber": "8",
"sofascoreId": "nia-e2x",
"fieldTranslations": {
"nameTranslation": {
"ar": "م. أوديغارد",
"bn": "এম. ওডেগার্ড",
"hi": "एम. ओडेगार्ड",
"ru": "М. Эдегор"
},
"shortNameTranslation": []
}
},
"score": 34735.484,
"type": "player"
},
{
"entity": {
"id": 856714,
"name": "Declan Rice",
"slug": "declan-rice",
"userCount": 75078,
"team": {
"id": 42,
"name": "Arsenal",
"nameCode": "ARS",
"slug": "arsenal",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3715396,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"gender": "M",
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"deceased": false,
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
},
"shortName": "D. Rice",
"position": "M",
"jerseyNumber": "41",
"sofascoreId": "c64-thg",
"fieldTranslations": {
"nameTranslation": {
"ar": "د. رايس",
"bn": "ডি. রাইস",
"hi": "डी. राइस",
"ru": "Д. Райс"
},
"shortNameTranslation": []
}
},
"score": 33017.375,
"type": "player"
},
{
"entity": {
"id": 836705,
"name": "Kai Havertz",
"slug": "kai-havertz",
"userCount": 70190,
"team": {
"id": 42,
"name": "Arsenal",
"nameCode": "ARS",
"slug": "arsenal",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3715396,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"gender": "M",
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल"
}
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45188/search+players?q=arsenal&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"results": [
{
"entity": {
"id": 16938805,
"name": "Arsenal - Real Madrid",
"tournament": {
"id": 138314,
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"uniqueTournament": {
"id": 7,
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"category": {
"id": 1465,
"name": "Europe",
"slug": "europe",
"flag": "europe",
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
}
},
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري أبطال أوروبا",
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ro": "UEFA Champions League",
"ru": "Лига чемпионов УЕФА"
},
"shortNameTranslation": []
}
},
"category": {
"id": 1465,
"name": "Europe",
"slug": "europe",
"flag": "europe",
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
}
},
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري أبطال أوروبا",
"ru": "Лига чемпионов УЕФА"
},
"shortNameTranslation": []
}
},
"status": {
"type": "notstarted",
"description": ""
},
"homeTeam": {
"id": 42,
"name": "Arsenal",
"slug": "arsenal",
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3719018,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"id": 2829,
"name": "Real Madrid",
"slug": "real-madrid",
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 7744102,
"teamColors": {
"primary": "#ffffff",
"secondary": "#004996",
"text": "#004996"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ريال مدريد",
"bn": "রিয়াল মাদ্রিদ",
"hi": "रियल मैड्रिड",
"ru": "Реал Мадрид"
},
"shortNameTranslation": []
}
},
"homeScore": [],
"awayScore": [],
"startTimestamp": 1796846400,
"customId": "RsEgb",
"slug": "real-madrid-arsenal",
"finalResultOnly": false
},
"score": 734.966,
"type": "event"
},
{
"entity": {
"id": 16363791,
"name": "Manchester City - Arsenal",
"tournament": {
"id": 1,
"name": "Premier League",
"slug": "premier-league",
"uniqueTournament": {
"id": 17,
"name": "Premier League",
"slug": "premier-league",
"category": {
"id": 1,
"name": "England",
"slug": "england",
"alpha2": "EN",
"flag": "england",
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
}
},
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"hi": "प्रिमियर लीग",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"category": {
"id": 1,
"name": "England",
"slug": "england",
"alpha2": "EN",
"flag": "england",
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"country": {
"alpha2": "EN",
"name": "England",
"slug": "england"
}
},
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"hi": "प्रिमियर लीग",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"status": {
"type": "notstarted",
"description": ""
},
"homeTeam": {
"id": 17,
"name": "Manchester City",
"slug": "manchester-city",
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 4169194,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"id": 42,
"name": "Arsenal",
"slug": "arsenal",
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 3719018,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45189/search+matches?q=arsenal&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"results": [
{
"entity": {
"id": 787262,
"name": "Juan Arsenal",
"slug": "juan-arsenal",
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"deceased": false,
"team": {
"id": 44225,
"name": "Atlético Mancha Real",
"nameCode": "ATL",
"slug": "atletico-mancha-real",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 488,
"teamColors": {
"primary": "#195412",
"secondary": "#010401",
"text": "#010401"
},
"gender": "M",
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشا ريال",
"ru": "Атл Манча Реал"
},
"shortNameTranslation": []
}
},
"country": {
"alpha2": "ES",
"name": "Spain",
"slug": "spain"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ج. أرسنال",
"ru": "Х. Арсенал"
},
"shortNameTranslation": []
}
},
"score": 1412.119,
"type": "manager"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45190/search+managers?q=arsenal&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"results": []
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45191/search+referees?q=arsenal&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"results": []
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45192/search+venues?q=arsenal&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"results": []
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45193/search+competitions?q=arsenal&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"liveCategories": {
"52": 3,
"352": 2,
"1102": 1,
"1144": 1,
"1468": 4,
"1598": 1
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45194/get+sport+live+categories?sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"liveTournaments": {
"128600": 1,
"163089": 1,
"144518": 1,
"196576": 1,
"70585": 3,
"86": 4,
"180717": 1
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45195/get+sport+live+tournaments?sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"scheduled": [
{
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180950,
"hasPerformanceGraphFeature": false,
"liveActivityEnabled": false,
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"hi": "प्रिमियर लीग",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"timezoneEventCount": []
},
{
"tournament": {
"name": "LaLiga",
"slug": "laliga",
"category": {
"name": "Spain",
"slug": "spain",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 9,
"id": 32,
"flag": "spain",
"fieldTranslations": {
"nameTranslation": {
"ar": "إسبانيا",
"bn": "স্পেন",
"hi": "स्पेन",
"ru": "Испания"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "LaLiga",
"slug": "laliga",
"category": {
"name": "Spain",
"slug": "spain",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 9,
"id": 32,
"flag": "spain",
"fieldTranslations": {
"nameTranslation": {
"ar": "إسبانيا",
"bn": "স্পেন",
"hi": "स्पेन",
"ru": "Испания"
},
"shortNameTranslation": []
}
},
"userCount": 840418,
"hasPerformanceGraphFeature": false,
"liveActivityEnabled": false,
"id": 8,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإسباني",
"bn": "লা লীগা",
"hi": "ला लिगा",
"ru": "Ла Лига"
},
"shortNameTranslation": []
}
},
"priority": 702,
"id": 36,
"fieldTranslations": {
"nameTranslation": {
"hi": "ला लीगा",
"ar": "الدوري الإسباني",
"bn": "লা লীগা",
"ru": "Ла Лига"
},
"shortNameTranslation": []
}
},
"timezoneEventCount": {
"-43200": 1,
"-39600": 1,
"-36000": 1,
"-34200": 1,
"-32400": 1,
"-28800": 1,
"-25200": 1,
"-21600": 1,
"-18000": 1,
"-16200": 1,
"-14400": 1,
"-12600": 1,
"-10800": 1,
"-9000": 1,
"-7200": 1,
"-3600": 1,
"0": 1,
"3600": 1,
"7200": 1,
"10800": 1,
"12600": 1
}
},
{
"tournament": {
"name": "Ligue 1",
"slug": "ligue-1",
"category": {
"name": "France",
"slug": "france",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 6,
"id": 7,
"flag": "france",
"fieldTranslations": {
"nameTranslation": {
"ar": "فرنسا",
"bn": "ফ্রান্স",
"hi": "फ्रांस",
"ru": "Франция"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Ligue 1",
"slug": "ligue-1",
"category": {
"name": "France",
"slug": "france",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 6,
"id": 7,
"flag": "france",
"fieldTranslations": {
"nameTranslation": {
"ar": "فرنسا",
"bn": "ফ্রান্স",
"hi": "फ्रांस",
"ru": "Франция"
},
"shortNameTranslation": []
}
},
"userCount": 428031,
"hasPerformanceGraphFeature": false,
"liveActivityEnabled": false,
"id": 34,
"hasEventPlayerStatistics": true
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45196/get+sport+scheduled+tournaments?sport_slug=football&date=2026-11-20&page=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"finished": {
"193726": {
"-43200": 2,
"-39600": 2,
"-36000": 2,
"-34200": 2,
"-32400": 2
},
"135279": {
"-43200": 3,
"-39600": 3,
"-36000": 3,
"-34200": 3,
"-32400": 3,
"-28800": 3,
"-25200": 3,
"-21600": 3,
"-18000": 3,
"-16200": 3,
"-14400": 3,
"-12600": 3,
"-10800": 3,
"-9000": 3,
"-7200": 3,
"-3600": 3,
"0": 3,
"3600": 3,
"7200": 3,
"10800": 3,
"12600": 3,
"14400": 3,
"16200": 3,
"18000": 3,
"19800": 3,
"20700": 3,
"21600": 3,
"23400": 3,
"25200": 3,
"28800": 3,
"30600": 3,
"31500": 3,
"32400": 2,
"34200": 2,
"36000": 1
},
"210036": {
"-3600": 1,
"0": 1,
"3600": 1,
"7200": 1,
"10800": 1,
"12600": 1,
"14400": 1,
"16200": 1,
"18000": 1,
"19800": 1,
"20700": 1,
"21600": 1,
"23400": 1,
"25200": 1,
"28800": 1,
"30600": 1,
"31500": 1,
"32400": 1,
"34200": 1,
"36000": 1,
"37800": 1,
"39600": 1,
"43200": 1,
"45900": 1,
"46800": 1,
"49500": 1,
"50400": 1
},
"172422": {
"-43200": 8,
"-39600": 8,
"-36000": 8,
"-34200": 8,
"-32400": 8,
"-28800": 8,
"-25200": 8,
"-21600": 8,
"-18000": 8,
"-16200": 8,
"-14400": 8,
"-12600": 8,
"-10800": 8,
"-9000": 8,
"-7200": 8,
"-3600": 8,
"0": 8,
"3600": 8,
"7200": 8,
"10800": 8,
"12600": 8,
"14400": 8,
"16200": 8,
"18000": 8,
"19800": 8,
"20700": 8,
"21600": 8,
"23400": 8,
"25200": 8,
"28800": 8,
"30600": 8,
"31500": 8,
"32400": 8,
"34200": 8
},
"195834": {
"-43200": 4,
"-39600": 4,
"-36000": 4,
"-34200": 4
},
"208128": {
"-43200": 8,
"-39600": 8,
"-36000": 8,
"-34200": 8,
"-32400": 8,
"-28800": 8
},
"161990": {
"19800": 1,
"20700": 1,
"21600": 1,
"23400": 1,
"25200": 1,
"28800": 1,
"30600": 1,
"31500": 1,
"32400": 1,
"34200": 1,
"36000": 1,
"37800": 1,
"39600": 1,
"43200": 1,
"45900": 1,
"46800": 1,
"49500": 1,
"50400": 1,
"-43200": 1,
"-39600": 1,
"-36000": 1,
"-34200": 1,
"-32400": 1,
"-28800": 1,
"-25200": 1,
"-21600": 1,
"-18000": 1,
"-16200": 1,
"-14400": 1,
"-12600": 1,
"-10800": 1,
"-9000": 1,
"-7200": 1,
"-3600": 1,
"0": 1,
"3600": 1,
"7200": 1,
"10800": 1,
"12600": 1,
"14400": 1,
"16200": 1,
"18000": 1
},
"203912": {
"-43200": 1,
"-39600": 1,
"-36000": 1,
"-34200": 1,
"-32400": 1,
"-28800": 1,
"-25200": 1,
"-21600": 1,
"-18000": 1,
"-16200": 1,
"-14400": 1,
"-12600": 1,
"-10800": 1,
"-9000": 1,
"-7200": 1,
"-3600": 1,
"0": 1,
"3600": 1,
"7200": 1,
"10800": 1,
"12600": 1,
"14400": 1,
"16200": 1,
"18000": 1,
"19800": 1,
"20700": 1,
"21600": 1
},
"204916": {
"-43200": 2,
"-39600": 2,
"-36000": 2,
"-34200": 2,
"-32400": 2,
"-28800": 2,
"-25200": 2,
"-21600": 2,
"-18000": 2,
"-16200": 2,
"-14400": 2,
"-12600": 2,
"-10800": 2,
"-9000": 2,
"-7200": 2,
"-3600": 2,
"0": 2,
"3600": 2,
"7200": 2,
"10800": 2,
"12600": 2,
"14400": 2,
"16200": 2
},
"12610": {
"-43200": 8,
"-39600": 8,
"-36000": 8,
"-34200": 8,
"-32400": 8,
"-28800": 8,
"-25200": 8,
"-21600": 8,
"-18000": 8,
"-16200": 8,
"-14400": 8,
"-12600": 8,
"-10800": 8,
"-9000": 8,
"-7200": 8,
"-3600": 8,
"0": 8,
"3600": 8,
"7200": 8,
"10800": 8,
"12600": 8,
"14400": 8,
"16200": 8,
"18000": 8,
"19800": 8,
"20700": 8,
"21600": 8,
"23400": 8,
"25200": 8,
"28800": 8,
"30600": 8,
"31500": 8,
"32400": 8,
"34200": 8,
"36000": 8,
"37800": 8
},
"122784": {
"-43200": 1,
"-39600": 1,
"-36000": 1,
"-34200": 1,
"-32400": 1,
"-28800": 1,
"-25200": 1,
"-21600": 1,
"-18000": 1,
"-16200": 1,
"-14400": 1,
"-12600": 1,
"-10800": 1,
"-9000": 1,
"-7200": 1,
"-3600": 1,
"0": 1,
"3600": 1,
"7200": 1
},
"179180": {
"-43200": 6,
"-39600": 6,
"-36000": 6,
"-34200": 6,
"-32400": 6
},
"19": {
"-43200": 5,
"-39600": 5,
"-36000": 5,
"-34200": 5,
"-32400": 5,
"-28800": 5,
"-25200": 5,
"-21600": 5,
"-18000": 5,
"-16200": 5,
"-14400": 5,
"-12600": 5,
"-10800": 5,
"-9000": 5,
"-7200": 5,
"-3600": 5,
"0": 5,
"3600": 5,
"7200": 5,
"10800": 5,
"12600": 5,
"14400": 5,
"16200": 5
},
"132323": {
"-43200": 1,
"-39600": 1
},
"199810": {
"36000": 3,
"37800": 3,
"39600": 3,
"43200": 4,
"45900": 4,
"46800": 4,
"49500": 4,
"50400": 4
},
"165740": {
"43200": 1,
"45900": 1,
"46800": 1,
"49500": 1,
"50400": 1,
"-43200": 4,
"-39600": 4,
"-36000": 4,
"-34200": 4,
"-32400": 4,
"-28800": 4,
"-25200": 4,
"-21600": 4,
"-18000": 4,
"-16200": 4,
"-14400": 4,
"-12600": 4,
"-10800": 4,
"-9000": 4,
"-7200": 4,
"-3600": 4,
"0": 4,
"3600": 4,
"7200": 4,
"10800": 4,
"12600": 4,
"14400": 4,
"16200": 4,
"18000": 4,
"19800": 4,
"20700": 4,
"21600": 4,
"23400": 4,
"25200": 4,
"28800": 4,
"30600": 4,
"31500": 4,
"32400": 2,
"34200": 2,
"36000": 2,
"37800": 2,
"39600": 2
},
"210352": {
"39600": 2,
"43200": 2,
"45900": 2,
"46800": 2,
"49500": 2,
"50400": 2,
"37800": 1
},
"124851": {
"-34200": 1,
"-32400": 1,
"-28800": 1,
"-25200": 1,
"-21600": 1,
"-18000": 1,
"-16200": 1,
"-14400": 1,
"-12600": 1,
"-10800": 1,
"-9000": 1,
"-7200": 1,
"-3600": 1,
"0": 1,
"3600": 1,
"7200": 1,
"10800": 1,
"12600": 1,
"14400": 1,
"16200": 1,
"18000": 1,
"19800": 1,
"20700": 1,
"21600": 1
}
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45197/get+sport+finished+and+upcoming+tournaments?sport_slug=football&date=2026-11-20")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"topPlayers": [
{
"event": {
"eventState": [],
"tournament": {
"name": "Copa del Rey",
"slug": "copa-del-rey",
"category": {
"name": "Spain",
"slug": "spain",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 9,
"id": 32,
"flag": "spain",
"alpha2": "ES",
"fieldTranslations": {
"nameTranslation": {
"ar": "إسبانيا",
"bn": "স্পেন",
"hi": "स्पेन",
"ru": "Испания"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Copa del Rey",
"slug": "copa-del-rey",
"primaryColorHex": "#221C35",
"secondaryColorHex": "#fe0235",
"category": {
"name": "Spain",
"slug": "spain",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 9,
"id": 32,
"flag": "spain",
"alpha2": "ES",
"fieldTranslations": {
"nameTranslation": {
"ar": "إسبانيا",
"bn": "স্পেন",
"hi": "स्पेन",
"ru": "Испания"
},
"shortNameTranslation": []
}
},
"userCount": 163009,
"liveActivityEnabled": true,
"id": 329,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "كأس ملك إسبانيا",
"bn": "কোপা দেল রে",
"hi": "कोपा डेल रे",
"ru": "Кубок короля"
},
"shortNameTranslation": []
}
},
"priority": 698,
"isLive": false,
"id": 150,
"fieldTranslations": {
"nameTranslation": {
"ar": "كأس إسبانيا",
"bn": "কোপা দেল রে",
"hi": "कोपा डेल रे",
"ru": "Кубок короля"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 2,
"name": "Round 2",
"slug": "round-2"
},
"customId": "IgbsFTFc",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 2,
"homeTeam": {
"name": "CD Atlético Paso",
"slug": "cd-atletico-paso",
"shortName": "Atlético Paso",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 2153,
"nameCode": "PAS",
"disabled": false,
"national": false,
"type": 0,
"id": 327180,
"teamColors": {
"primary": "#007840",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "سي دي أتلتيكو باسو",
"ru": "КД Атлетико Пасо"
},
"shortNameTranslation": {
"ar": "أتلتيكو باسو",
"ru": "Атлетико Пасо"
}
}
},
"awayTeam": {
"name": "Sevilla",
"slug": "sevilla",
"shortName": "Sevilla",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 350553,
"nameCode": "SEV",
"disabled": false,
"national": false,
"type": 0,
"id": 2833,
"teamColors": {
"primary": "#ffffff",
"secondary": "#cc1020",
"text": "#cc1020"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إشبيلية",
"bn": "সেভিলা",
"hi": "सेविला",
"ru": "Севи́лья"
},
"shortNameTranslation": {
"ru": "Севи́лья"
}
}
},
"homeScore": {
"current": 1,
"display": 1,
"period1": 1,
"period2": 0,
"normaltime": 1
},
"awayScore": {
"current": 8,
"display": 8,
"period1": 3,
"period2": 5,
"normaltime": 8
},
"id": 17619886,
"slug": "cd-atletico-paso-sevilla",
"startTimestamp": 1796320800,
"finalResultOnly": false
},
"totalPass": 34,
"accuratePass": 30,
"totalLongBalls": 1,
"accurateLongBalls": 1,
"goalAssist": 3,
"accurateOwnHalfPasses": 12,
"totalOwnHalfPasses": 12,
"accurateOppositionHalfPasses": 18,
"totalOppositionHalfPasses": 22,
"totalCross": 1,
"accurateCross": 0,
"aerialLost": 0,
"aerialWon": 1,
"duelLost": 1,
"duelWon": 6,
"challengeLost": 0,
"dispossessed": 1,
"totalContest": 4,
"wonContest": 4,
"bigChanceCreated": 2,
"bigChanceMissed": 0,
"shotOffTarget": 0,
"onTargetScoringAttempt": 1,
"blockedScoringAttempt": 0,
"hitWoodwork": 0,
"goals": 1,
"totalClearance": 0,
"clearanceOffLine": 0,
"outfielderBlock": 0,
"interceptionWon": 0,
"ballRecovery": 5,
"lastManTackle": 0,
"totalTackle": 0,
"wonTackle": 0,
"errorLeadToAGoal": 0,
"errorLeadToAShot": 0,
"ownGoals": 0,
"unsuccessfulTouch": 3,
"penaltyConceded": 0,
"wasFouled": 1,
"fouls": 0,
"penaltyWon": 0,
"totalOffside": 0,
"crossNotClaimed": 0,
"goalsConceded": 1,
"goodHighClaim": 0,
"savedShotsFromInsideTheBox": 0,
"penaltySave": 0,
"penaltyFaced": 0,
"saves": 0,
"punches": 0,
"totalKeeperSweeper": 0,
"accurateKeeperSweeper": 0,
"minutesPlayed": 72,
"touches": 49,
"rating": 10,
"possessionLostCtrl": 11,
"totalBallCarriesDistance": 278.77257645819,
"ballCarriesCount": 23,
"totalProgression": 173.48061293265
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45198/get+sport+trending+top+players?sport_slug=football")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"stages": [
{
"id": 214239,
"slug": "italy-gp",
"name": "Italy GP",
"description": "Italy GP",
"type": {
"id": 2,
"name": "Event"
},
"substageStartDateTimestamps": [
1788517800,
1788530400,
1788604200,
1788616800,
1788699600
],
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"country": {
"alpha2": "IT",
"name": "Italy"
},
"substage": {
"id": 214244,
"slug": "grand-prix",
"name": "Grand Prix",
"description": "Grand Prix",
"type": {
"id": 6,
"name": "Race"
},
"status": {
"description": "Finished",
"type": "finished"
},
"startDateTimestamp": 1788699600,
"winner": {
"name": "Andrea Kimi Antonelli",
"slug": "antonelli-andrea-kimi",
"shortName": "A. K. Antonelli",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"userCount": 20939,
"nameCode": "ANT",
"disabled": false,
"national": false,
"parentTeam": {
"name": "Mercedes",
"slug": "mercedes",
"shortName": "Mercedes",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"userCount": 8685,
"nameCode": "MER",
"disabled": false,
"national": false,
"type": 0,
"id": 214910,
"teamColors": {
"primary": "#00d2be",
"secondary": "#222226",
"text": "#222226"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
},
"shortNameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
}
}
},
"type": 1,
"id": 853016,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أندريا كيمي أنتونيلي",
"ru": "Андреа Кими Антонелли"
},
"shortNameTranslation": {
"ar": "أ. ك. أنتونيلي",
"ru": "А. Антонелли"
}
}
}
}
},
{
"id": 214246,
"slug": "spain-gp",
"name": "Spain GP",
"description": "Spain GP",
"type": {
"id": 2,
"name": "Event"
},
"substageStartDateTimestamps": [
1789126200,
1789138800,
1789209000,
1789221600,
1789304400
],
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"country": {
"alpha2": "ES",
"name": "Spain"
},
"substage": {
"id": 214251,
"slug": "grand-prix",
"name": "Grand Prix",
"description": "Grand Prix",
"type": {
"id": 6,
"name": "Race"
},
"status": {
"description": "Finished",
"type": "finished"
},
"startDateTimestamp": 1789304400,
"winner": {
"name": "Andrea Kimi Antonelli",
"slug": "antonelli-andrea-kimi",
"shortName": "A. K. Antonelli",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"userCount": 20939,
"nameCode": "ANT",
"disabled": false,
"national": false,
"parentTeam": {
"name": "Mercedes",
"slug": "mercedes",
"shortName": "Mercedes",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"userCount": 8685,
"nameCode": "MER",
"disabled": false,
"national": false,
"type": 0,
"id": 214910,
"teamColors": {
"primary": "#00d2be",
"secondary": "#222226",
"text": "#222226"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
},
"shortNameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
}
}
},
"type": 1,
"id": 853016,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أندريا كيمي أنتونيلي",
"ru": "Андреа Кими Антонелли"
},
"shortNameTranslation": {
"ar": "أ. ك. أنتونيلي",
"ru": "А. Антонелли"
}
}
}
}
},
{
"id": 224761,
"slug": "gran-premio-di-san-marino",
"name": "Gran Premio di San Marino",
"description": "Gran Premio di San Marino"
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45199/get+scheduled+stages?sport_slug=motorsport&date=2026-09-03")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"stages": [
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "United Arab Emirates GP",
"slug": "united-arab-emirates-gp",
"type": {
"id": 2,
"name": "Event"
},
"status": {
"description": "Not started",
"type": "notstarted"
},
"circuitCity": {
"name": "Abu Dhabi",
"country": {
"alpha2": "AE",
"name": "United Arab Emirates"
},
"id": 18968
},
"year": "2026",
"country": {
"alpha2": "AE",
"name": "United Arab Emirates"
},
"id": 214302,
"name": "United Arab Emirates GP",
"info": {
"stageRound": 23,
"raceDistance": 306183,
"laps": 58,
"circuitLength": 5281,
"circuit": "Yas Marina",
"circuitCity": "Abu Dhabi",
"circuitCountry": "United Arab Emirates",
"version": "v2"
},
"startDateTimestamp": 1796382504,
"endDateTimestamp": 1796555304,
"seasonStageName": "Formula 1 2026",
"flag": "united-arab-emirates",
"stageParent": {
"description": "Formula 1 2026",
"id": 214140,
"startDateTimestamp": 1767254187,
"slug": "formula-1-2026"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "سباق جائزة أبو ظبي الكبرى",
"ru": "Гран-при Абу-Даби"
},
"shortNameTranslation": []
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45200/get+featured+stages?sport_slug=motorsport")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"seasons": [
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "Formula 1 2027",
"slug": "formula-1-2027",
"year": "2027",
"id": 235668,
"name": "Formula 1 2027",
"startDateTimestamp": 1798761600,
"endDateTimestamp": 1830211200
},
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "Formula 1 2026",
"slug": "formula-1-2026",
"year": "2026",
"id": 214140,
"name": "Formula 1 2026",
"startDateTimestamp": 1767254187
},
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "Formula 1 2025",
"slug": "formula-1-2025",
"year": "2025",
"id": 209766,
"name": "Formula 1 2025",
"startDateTimestamp": 1741916100,
"endDateTimestamp": 1765119600
},
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "Formula 1 2024",
"slug": "formula-1-2024",
"year": "2024",
"id": 206455,
"name": "Formula 1 2024",
"startDateTimestamp": 1709206200,
"endDateTimestamp": 1733670000
},
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "Formula 1 2023",
"slug": "formula-1-2023",
"year": "2023",
"id": 203647,
"name": "Formula 1 2023",
"startDateTimestamp": 1677843000,
"endDateTimestamp": 1701010800
},
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "Formula 1 2022",
"slug": "formula-1-2022",
"year": "2022",
"id": 188803,
"name": "Formula 1 2022",
"startDateTimestamp": 1647604800,
"endDateTimestamp": 1668956400
},
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "Formula 1 2021",
"slug": "formula-1-2021",
"year": "2021",
"id": 170756,
"name": "Formula 1 2021",
"startDateTimestamp": 1616756400,
"endDateTimestamp": 1639321800
},
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1"
}
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45201/get+unique+stage+seasons?unique_stage_id=40")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"stage": {
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "Formula 1 2026",
"slug": "formula-1-2026",
"type": {
"id": 1,
"name": "Season"
},
"status": {
"description": "",
"type": ""
},
"year": "2026",
"country": [],
"id": 214140,
"name": "Formula 1 2026",
"startDateTimestamp": 1767254187,
"seasonStageName": "Formula 1 2026",
"stageParent": {
"description": "Formula 1",
"id": 203387,
"slug": "formula-1"
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45202/get+stage+details?stage_id=214140")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"stage": {
"id": 214140,
"slug": "formula-1-2026",
"name": "Formula 1 2026",
"description": "Formula 1 2026",
"startDateTimestamp": 1767254187,
"type": {
"id": 1,
"name": "Season"
},
"year": "2026",
"status": {
"description": "",
"type": ""
},
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"country": [],
"hasCompetitorResults": true,
"hasTeamResults": true,
"stageParent": {
"id": 203387,
"slug": "formula-1",
"description": "Formula 1"
},
"substages": [
{
"id": 214141,
"slug": "australia-gp",
"name": "Australia GP",
"description": "Australia GP",
"startDateTimestamp": 1772810960,
"endDateTimestamp": 1772983760,
"type": {
"id": 2,
"name": "Event"
},
"year": "2026",
"status": {
"description": "Finished",
"type": "finished"
},
"info": {
"stageRound": 1,
"raceDistance": 306124,
"laps": 58,
"circuitLength": 5278,
"circuit": "Melbourne Grand Prix Circuit",
"circuitCity": "Melbourne",
"circuitCountry": "Australia",
"version": "v2",
"trackCondition": "Dry",
"weather": "sunny",
"airTemperature": "25.0",
"trackTemperature": "34.5",
"lapsCompleted": 58,
"humidity": "52.7",
"lapRecord": "1:22.091"
},
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"country": {
"alpha2": "AU",
"name": "Australia"
},
"flag": "australia",
"hasCompetitorResults": true,
"hasTeamResults": true,
"winner": {
"name": "George Russell",
"slug": "russell-george",
"shortName": "G. Russell",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"userCount": 12806,
"nameCode": "RUS",
"disabled": false,
"national": false,
"parentTeam": {
"name": "Mercedes",
"slug": "mercedes",
"shortName": "Mercedes",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"userCount": 8693,
"nameCode": "MER",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "DE",
"name": "Germany"
},
"id": 214910,
"teamColors": {
"primary": "#00d2be",
"secondary": "#222226",
"text": "#222226"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
},
"shortNameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
}
}
},
"type": 1,
"country": {
"alpha2": "GB",
"name": "United Kingdom"
},
"id": 271315,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "جورج راسل",
"ru": "Джордж Рассел"
},
"shortNameTranslation": {
"ar": "ج. راسل",
"ru": "Д. Рассел"
}
}
},
"stageParent": {
"id": 214140,
"slug": "formula-1-2026",
"description": "Formula 1 2026",
"startDateTimestamp": 1767254187
},
"substages": [
{
"id": 214142,
"slug": "practice-1",
"name": "Practice 1",
"description": "Practice 1",
"sequence": 1,
"startDateTimestamp": 1772760600,
"type": {
"id": 3,
"name": "Practice"
},
"year": "2026",
"status": {
"description": "Finished",
"type": "finished"
},
"info": {
"circuit": "Melbourne Grand Prix Circuit",
"circuitCountry": "Australia",
"stageRound": 0,
"trackCondition": "Dry",
"weather": "sunny",
"airTemperature": "20.7",
"humidity": "69.0",
"trackTemperature": "37.9"
},
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
}
}
}
]
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45203/get+stage+extended+details?stage_id=214140")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"stages": [
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "Australia GP",
"slug": "australia-gp",
"type": {
"id": 2,
"name": "Event"
},
"status": {
"description": "Finished",
"type": "finished"
},
"circuitCity": {
"name": "Melbourne",
"country": {
"alpha2": "AU",
"name": "Australia"
},
"id": 17959
},
"year": "2026",
"country": {
"alpha2": "AU",
"name": "Australia"
},
"id": 214141,
"name": "Australia GP",
"info": {
"stageRound": 1,
"raceDistance": 306124,
"laps": 58,
"circuitLength": 5278,
"circuit": "Melbourne Grand Prix Circuit",
"circuitCity": "Melbourne",
"circuitCountry": "Australia",
"version": "v2",
"trackCondition": "Dry",
"weather": "sunny",
"airTemperature": "25.0",
"trackTemperature": "34.5",
"lapsCompleted": 58,
"humidity": "52.7",
"lapRecord": "1:22.091"
},
"startDateTimestamp": 1772810960,
"endDateTimestamp": 1772983760,
"seasonStageName": "Formula 1 2026",
"winner": {
"name": "George Russell",
"slug": "russell-george",
"shortName": "G. Russell",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"userCount": 12806,
"nameCode": "RUS",
"disabled": false,
"national": false,
"parentTeam": {
"name": "Mercedes",
"slug": "mercedes",
"shortName": "Mercedes",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"userCount": 8693,
"nameCode": "MER",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "DE",
"name": "Germany"
},
"id": 214910,
"teamColors": {
"primary": "#00d2be",
"secondary": "#222226",
"text": "#222226"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
},
"shortNameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
}
}
},
"type": 1,
"country": {
"alpha2": "GB",
"name": "United Kingdom"
},
"id": 271315,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "جورج راسل",
"ru": "Джордж Рассел"
},
"shortNameTranslation": {
"ar": "ج. راسل",
"ru": "Д. Рассел"
}
}
},
"flag": "australia",
"stageParent": {
"description": "Formula 1 2026",
"id": 214140,
"startDateTimestamp": 1767254187,
"slug": "formula-1-2026"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "جائزة أستراليا الكبرى",
"ru": "Гран-при Австралии"
},
"shortNameTranslation": []
}
},
{
"uniqueStage": {
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"name": "Formula 1",
"slug": "formula-1",
"liveActivityEnabled": true,
"id": 40
},
"description": "China GP",
"slug": "china-gp",
"type": {
"id": 2,
"name": "Event"
},
"status": {
"description": "Finished",
"type": "finished"
},
"circuitCity": {
"name": "Shanghai",
"country": {
"alpha2": "CN",
"name": "China"
},
"id": 18988
},
"year": "2026",
"country": {
"alpha2": "CN",
"name": "China"
},
"id": 214148,
"name": "China GP",
"info": {
"stageRound": 2,
"raceDistance": 305066,
"laps": 56,
"circuitLength": 5451,
"circuit": "Shanghai IC",
"circuitCity": "Shanghai",
"circuitCountry": "China",
"version": "v2",
"trackCondition": "Dry",
"weather": "cloudy",
"airTemperature": "14.9",
"trackTemperature": "19.9",
"lapsCompleted": 56,
"humidity": "57.7",
"lapRecord": "1:35.275"
},
"startDateTimestamp": 1773415768,
"endDateTimestamp": 1773588568,
"seasonStageName": "Formula 1 2026",
"winner": {
"name": "Andrea Kimi Antonelli",
"slug": "antonelli-andrea-kimi",
"shortName": "A. K. Antonelli",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"userCount": 20966,
"nameCode": "ANT",
"disabled": false,
"national": false,
"parentTeam": {
"name": "Mercedes",
"slug": "mercedes",
"shortName": "Mercedes",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"userCount": 8693,
"nameCode": "MER",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "DE",
"name": "Germany"
},
"id": 214910,
"teamColors": {
"primary": "#00d2be",
"secondary": "#222226"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45204/get+stage+substages?stage_id=214140")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"standings": [
{
"updatedAtTimestamp": 1795973883,
"team": {
"name": "Andrea Kimi Antonelli",
"slug": "antonelli-andrea-kimi",
"shortName": "A. K. Antonelli",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"userCount": 20966,
"nameCode": "ANT",
"disabled": false,
"national": false,
"parentTeam": {
"name": "Mercedes",
"slug": "mercedes",
"shortName": "Mercedes",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"userCount": 8693,
"nameCode": "MER",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "DE",
"alpha3": "DEU",
"name": "Germany",
"slug": "germany"
},
"id": 214910,
"fullName": "Mercedes",
"flag": "germany",
"teamColors": {
"primary": "#00d2be",
"secondary": "#222226",
"text": "#222226"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
},
"shortNameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
}
},
"motorsportTeamInfo": {
"chassis": "W17",
"engine": "Mercedes-AMG F1 M17"
}
},
"type": 1,
"country": {
"alpha2": "IT",
"alpha3": "ITA",
"name": "Italy",
"slug": "italy"
},
"id": 853016,
"fullName": "Andrea Kimi Antonelli",
"flag": "italy",
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أندريا كيمي أنتونيلي",
"ru": "Андреа Кими Антонелли"
},
"shortNameTranslation": {
"ar": "أ. ك. أنتونيلي",
"ru": "А. Антонелли"
}
}
},
"parentTeam": {
"name": "Mercedes",
"slug": "mercedes",
"shortName": "Mercedes",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"userCount": 8693,
"nameCode": "MER",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "DE",
"alpha3": "DEU",
"name": "Germany",
"slug": "germany"
},
"id": 214910,
"fullName": "Mercedes",
"flag": "germany",
"teamColors": {
"primary": "#00d2be",
"secondary": "#222226",
"text": "#222226"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
},
"shortNameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
}
},
"motorsportTeamInfo": {
"chassis": "W17",
"engine": "Mercedes-AMG F1 M17"
}
},
"points": 427,
"position": 1,
"victories": 10,
"racesStarted": 22,
"racesWithPoints": 20,
"polePositions": 7,
"podiums": 17,
"fastestLaps": 9
},
{
"updatedAtTimestamp": 1795973883,
"team": {
"name": "Max Verstappen",
"slug": "verstappen-max",
"shortName": "M. Verstappen",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"userCount": 86155,
"nameCode": "VER",
"disabled": false,
"national": false,
"parentTeam": {
"name": "Red Bull Racing",
"slug": "red-bull-racing",
"shortName": "Red Bull Racing",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
}
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45205/get+stage+competitor+standings?stage_id=214140")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"standings": [
{
"updatedAtTimestamp": 1795973883,
"team": {
"name": "Mercedes",
"slug": "mercedes",
"shortName": "Mercedes",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"userCount": 8693,
"nameCode": "MER",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "DE",
"alpha3": "DEU",
"name": "Germany",
"slug": "germany"
},
"id": 214910,
"fullName": "Mercedes",
"flag": "germany",
"teamColors": {
"primary": "#00d2be",
"secondary": "#222226",
"text": "#222226"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
},
"shortNameTranslation": {
"ar": "مرسيدس",
"ru": "Мерседес"
}
},
"motorsportTeamInfo": {
"chassis": "W17",
"engine": "Mercedes-AMG F1 M17"
}
},
"points": 709,
"position": 1,
"victories": 13,
"racesStarted": 22,
"racesWithPoints": 22,
"polePositions": 13,
"podiums": 26
},
{
"updatedAtTimestamp": 1795973883,
"team": {
"name": "Ferrari",
"slug": "ferrari",
"shortName": "Ferrari",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"userCount": 20693,
"nameCode": "FER",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "IT",
"alpha3": "ITA",
"name": "Italy",
"slug": "italy"
},
"id": 214908,
"fullName": "Ferrari",
"flag": "italy",
"teamColors": {
"primary": "#dc0000",
"secondary": "#222226",
"text": "#222226"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "فيراري",
"ru": "Феррари"
},
"shortNameTranslation": {
"ar": "فيراري",
"ru": "Феррари"
}
},
"motorsportTeamInfo": {
"chassis": "SF-26",
"engine": "Ferrari 067"
}
},
"points": 531,
"position": 2,
"victories": 2,
"racesStarted": 22,
"racesWithPoints": 22,
"polePositions": 1,
"podiums": 13
},
{
"updatedAtTimestamp": 1795973883,
"team": {
"name": "Red Bull Racing",
"slug": "red-bull-racing",
"shortName": "Red Bull Racing",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"userCount": 9386,
"nameCode": "RBR",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "AT",
"alpha3": "AUT",
"name": "Austria",
"slug": "austria"
},
"id": 214902,
"fullName": "Red Bull Racing",
"flag": "austria",
"teamColors": {
"primary": "#0600ef",
"secondary": "#222226",
"text": "#222226"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ريد بل",
"ru": "Ред Булл Рейсинг"
},
"shortNameTranslation": {
"ar": "ريد بل",
"ru": "Ред Булл"
}
},
"motorsportTeamInfo": {
"chassis": "RB22",
"engine": "Red Bull Ford DM01"
}
},
"points": 456,
"position": 3,
"victories": 4,
"racesStarted": 22,
"racesWithPoints": 22,
"polePositions": 3,
"podiums": 16
},
{
"updatedAtTimestamp": 1795973883,
"team": {
"name": "McLaren",
"slug": "mclaren",
"shortName": "McLaren",
"gender": "M",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"category": {
"name": "Formula 1",
"slug": "formula-1",
"sport": {
"name": "Motorsport",
"slug": "motorsport",
"id": 11
},
"sportVariant": 4,
"priority": 13,
"country": [],
"id": 36,
"flag": "formula-1",
"fieldTranslations": {
"nameTranslation": {
"ar": "فورمولا 1",
"ru": "Формула -1"
},
"shortNameTranslation": []
}
},
"userCount": 6612,
"nameCode": "MCL",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "GB",
"alpha3": "GBR",
"name": "United Kingdom",
"slug": "united-kingdom"
},
"id": 214904,
"fullName": "McLaren",
"flag": "great-britain",
"teamColors": {
"primary": "#ff8700"
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45206/get+stage+team+standings?stage_id=214140")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"totalTrophies": 45,
"achievements": [
{
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
},
"competitionType": "domestic-league",
"majorTrophy": true,
"hasAchievements": true
},
"trophiesWon": 10,
"seasons": [
{
"year": "23/24",
"id": 52186
},
{
"year": "22/23",
"id": 41886
},
{
"year": "21/22",
"id": 37036
},
{
"year": "20/21",
"id": 29415
},
{
"year": "18/19",
"id": 17359
},
{
"year": "17/18",
"id": 13380
},
{
"year": "13/14",
"id": 6311
},
{
"year": "11/12",
"id": 3391
},
{
"year": "67/68"
},
{
"year": "1936/1937"
}
]
},
{
"uniqueTournament": {
"name": "Championship",
"slug": "championship",
"primaryColorHex": "#20429a",
"secondaryColorHex": "#ac944a",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 126115,
"liveActivityEnabled": true,
"id": 18,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "চ্যাম্পিয়নশিপ",
"hi": "चैंपियनशिप",
"ar": "دوري البطولة الإنجليزية",
"ru": "Чемпионат"
},
"shortNameTranslation": []
},
"competitionType": "domestic-league",
"majorTrophy": false,
"hasAchievements": true
},
"trophiesWon": 7,
"seasons": [
{
"year": "01/02"
},
{
"year": "65/66"
},
{
"year": "1946/1947"
},
{
"year": "1927/1928"
},
{
"year": "1909/1910"
},
{
"year": "1902/1903"
},
{
"year": "1898/1899"
}
]
},
{
"uniqueTournament": {
"name": "UEFA Super Cup",
"slug": "uefa-super-cup",
"primaryColorHex": "#626366",
"secondaryColorHex": "#009ade",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 103278,
"liveActivityEnabled": true,
"id": 465,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "كأس السوبر الأوروبي",
"bn": "উয়েফা সুপার কাপ",
"hi": "यूईएफए सुपर कप",
"ru": "Суперкубок УЕФА"
},
"shortNameTranslation": []
},
"competitionType": "international-cup",
"majorTrophy": true,
"hasAchievements": true
},
"trophiesWon": 1,
"seasons": [
{
"year": "23/24",
"id": 52094
}
]
},
{
"uniqueTournament": {
"name": "Community Shield",
"slug": "community-shield",
"primaryColorHex": "#e4051f",
"secondaryColorHex": "#949fa4",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 43024,
"liveActivityEnabled": false,
"id": 346,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "درع الاتحاد",
"bn": "কমিউনিটি শিল্ড",
"hi": "कम्युनिटी शील्ड",
"ru": "Кубок Сообщества"
},
"shortNameTranslation": []
},
"competitionType": "domestic-cup",
"majorTrophy": false,
"hasAchievements": true
},
"trophiesWon": 7,
"seasons": [
{
"year": "24/25",
"id": 60997
},
{
"year": "19/20",
"id": 23752
},
{
"year": "18/19",
"id": 17107
},
{
"year": "12/13",
"id": 4861
},
{
"year": "72/73"
},
{
"year": "68/69"
},
{
"year": "1937/1938"
}
]
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45207/get+team+achievements?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"rankings": [
{
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"year": "2021",
"type": 9,
"rowName": "Manchester City",
"ranking": 3,
"points": 125,
"id": 5534,
"country": [],
"rankingClass": "team"
},
{
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"year": "2020",
"type": 9,
"rowName": "Manchester City",
"ranking": 6,
"points": 116,
"id": 5986,
"country": [],
"rankingClass": "team"
},
{
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"year": "2019",
"type": 9,
"rowName": "Manchester City",
"ranking": 6,
"points": 106,
"id": 6402,
"country": [],
"rankingClass": "team"
},
{
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"year": "2018",
"type": 9,
"rowName": "Manchester City",
"ranking": 8,
"points": 100,
"id": 6851,
"country": [],
"rankingClass": "team"
},
{
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"year": "2022",
"type": 9,
"rowName": "Manchester City",
"ranking": 2,
"points": 134,
"id": 7546,
"country": [],
"rankingClass": "team"
},
{
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45208/get+team+rankings?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1147355,
"hasPerformanceGraphFeature": false,
"liveActivityEnabled": true,
"id": 7,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ar": "دوري أبطال أوروبا",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ru": "Лига чемпионов УЕФА",
"ro": "UEFA Champions League"
},
"shortNameTranslation": []
}
},
"priority": 719,
"isGroup": false,
"id": 138314,
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري أبطال أوروبا",
"ru": "Лига чемпионов УЕФА"
},
"shortNameTranslation": []
}
},
"season": {
"name": "UEFA Champions League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96518
},
"roundInfo": {
"round": 3
},
"customId": "rsapb",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"awayTeam": {
"name": "AEK Athens",
"slug": "aek-athens",
"shortName": "AEK",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 187151,
"nameCode": "AEK",
"disabled": false,
"national": false,
"type": 0,
"id": 3250,
"subTeams": [],
"teamColors": {
"primary": "#000000",
"secondary": "#ffff00",
"text": "#ffff00"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أيك أثينا",
"hi": "एइके एथेंस",
"ru": "АЕК Афины"
},
"shortNameTranslation": {
"ar": "أيك أثينا",
"bn": "এইকে",
"hi": "एईके"
}
}
},
"homeScore": {
"current": 5,
"display": 5,
"period1": 2,
"period2": 3,
"normaltime": 5
},
"awayScore": {
"current": 1,
"display": 1,
"period1": 0,
"period2": 1,
"normaltime": 1
},
"coverage": -1,
"time": {
"injuryTime1": 1,
"injuryTime2": 2,
"currentPeriodStartTimestamp": 1792526617,
"lastPeriodEndTimestamp": 1792525647
},
"changes": {
"changes": [
"status.code",
"status.description",
"status.type"
],
"changeTimestamp": 1792529447
},
"hasGlobalHighlights": false,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": true,
"correctHalftimeAiInsight": true,
"id": 16938775,
"slug": "aek-athens-manchester-city",
"startTimestamp": 1792522800,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
},
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a"
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45209/get+team+performance?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"previousEvent": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 13
},
"customId": "rsJ",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"awayTeam": {
"name": "Leeds United",
"slug": "leeds-united",
"shortName": "Leeds",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 257572,
"nameCode": "LEE",
"disabled": false,
"national": false,
"type": 0,
"id": 34,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#1d4189",
"text": "#1d4189"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليدز يونايتد",
"bn": "লিডস",
"hi": "लीड्स यूनाइटेड",
"ru": "Лидс Юнайтед"
},
"shortNameTranslation": {
"ar": "ليدز",
"hi": "लीड्स",
"ru": "Лидс"
}
}
},
"homeScore": {
"current": 2,
"display": 2,
"period1": 2,
"period2": 0,
"normaltime": 2
},
"awayScore": {
"current": 0,
"display": 0,
"period1": 0,
"period2": 0,
"normaltime": 0
},
"time": {
"injuryTime1": 1,
"injuryTime2": 3,
"currentPeriodStartTimestamp": 1796243584,
"lastPeriodEndTimestamp": 1796242619
},
"changes": {
"changes": [
"status.code",
"status.description",
"status.type"
],
"changeTimestamp": 1796246488
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": true,
"correctHalftimeAiInsight": true,
"id": 16363689,
"slug": "leeds-united-manchester-city",
"startTimestamp": 1796239800,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
},
"nextEvent": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
}
}
}
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45210/get+team+near+matches?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"featuredEvent": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 14
},
"customId": "rsab",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Brentford",
"slug": "brentford",
"shortName": "Brentford",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 281162,
"nameCode": "BRE",
"disabled": false,
"national": false,
"type": 0,
"id": 50,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#ff0000",
"text": "#ff0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برينتفورد",
"bn": "ব্রেন্টফোর্ড",
"hi": "ब्रेंटफोर्ड",
"ru": "Брентфорд"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"homeScore": [],
"awayScore": [],
"time": [],
"changes": {
"changeTimestamp": 0
},
"hasGlobalHighlights": false,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"id": 16363700,
"slug": "brentford-manchester-city",
"startTimestamp": 1796500800,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45211/get+team+featured+match?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"featuredPlayers": {
"16363700": {
"player": {
"name": "Jérémy Doku",
"firstName": "Jeremy",
"lastName": "Doku",
"slug": "jeremy-doku",
"shortName": "J. Doku",
"position": "M",
"jerseyNumber": "11",
"userCount": 85167,
"gender": "M",
"sofascoreId": "n5t-a4h",
"id": 934386,
"fieldTranslations": {
"nameTranslation": {
"ar": "جيريمي دوكو",
"bn": "জেরেমি ডকু",
"hi": "जेरेमी डोकू",
"ru": "Жереми Доку"
},
"shortNameTranslation": {
"ar": "ج. دوكو",
"bn": "জে. ডকু",
"hi": "जे. डोकू",
"ru": "Ж. Доку"
}
}
},
"statistics": {
"rating": 7.5,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"eventId": 16363689
},
"16938782": {
"player": {
"name": "Jérémy Doku",
"firstName": "Jeremy",
"lastName": "Doku",
"slug": "jeremy-doku",
"shortName": "J. Doku",
"position": "M",
"jerseyNumber": "11",
"userCount": 85167,
"gender": "M",
"sofascoreId": "n5t-a4h",
"id": 934386,
"fieldTranslations": {
"nameTranslation": {
"ar": "جيريمي دوكو",
"bn": "জেরেমি ডকু",
"hi": "जेरेमी डोकू",
"ru": "Жереми Доку"
},
"shortNameTranslation": {
"ar": "ج. دوكو",
"bn": "জে. ডকু",
"hi": "जे. डोकू",
"ru": "Ж. Доку"
}
}
},
"statistics": {
"rating": 7.5,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"eventId": 16363689
},
"16363719": {
"player": {
"name": "Jérémy Doku",
"firstName": "Jeremy",
"lastName": "Doku",
"slug": "jeremy-doku",
"shortName": "J. Doku",
"position": "M",
"jerseyNumber": "11",
"userCount": 85167,
"gender": "M",
"sofascoreId": "n5t-a4h",
"id": 934386,
"fieldTranslations": {
"nameTranslation": {
"ar": "جيريمي دوكو",
"bn": "জেরেমি ডকু",
"hi": "जेरेमी डोकू",
"ru": "Жереми Доку"
},
"shortNameTranslation": {
"ar": "ج. دوكو",
"bn": "জে. ডকু",
"hi": "जे. डोकू",
"ru": "Ж. Доку"
}
}
},
"statistics": {
"rating": 7.5,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"eventId": 16363689
},
"17434376": {
"player": {
"name": "Jérémy Doku",
"firstName": "Jeremy",
"lastName": "Doku",
"slug": "jeremy-doku",
"shortName": "J. Doku",
"position": "M",
"jerseyNumber": "11",
"userCount": 85167,
"gender": "M",
"sofascoreId": "n5t-a4h",
"id": 934386,
"fieldTranslations": {
"nameTranslation": {
"ar": "جيريمي دوكو",
"bn": "জেরেমি ডকু",
"hi": "जेरेमी डोकू",
"ru": "Жереми Доку"
},
"shortNameTranslation": {
"ar": "ج. دوكو",
"bn": "জে. ডকু",
"hi": "जे. डोकू",
"ru": "Ж. Доку"
}
}
},
"statistics": {
"rating": 7.5,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"eventId": 16363689
},
"16363729": {
"player": {
"name": "Jérémy Doku",
"firstName": "Jeremy",
"lastName": "Doku",
"slug": "jeremy-doku",
"shortName": "J. Doku",
"position": "M",
"jerseyNumber": "11",
"userCount": 85167,
"gender": "M",
"sofascoreId": "n5t-a4h",
"id": 934386,
"fieldTranslations": {
"nameTranslation": {
"ar": "جيريمي دوكو",
"bn": "জেরেমি ডকু",
"hi": "जेरेमी डोकू",
"ru": "Жереми Доку"
},
"shortNameTranslation": {
"ar": "ج. دوكو",
"bn": "জে. ডকু",
"hi": "जे. डोकू",
"ru": "Ж. Доку"
}
}
},
"statistics": {
"rating": 7.5,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"eventId": 16363689
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45212/get+team+featured+players?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 14
},
"customId": "rsab",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Brentford",
"slug": "brentford",
"shortName": "Brentford",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 281223,
"nameCode": "BRE",
"disabled": false,
"national": false,
"type": 0,
"id": 50,
"teamColors": {
"primary": "#ffffff",
"secondary": "#ff0000",
"text": "#ff0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برينتفورد",
"bn": "ব্রেন্টফোর্ড",
"hi": "ब्रेंटफोर्ड",
"ru": "Брентфорд"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"homeScore": [],
"awayScore": [],
"id": 16363700,
"slug": "brentford-manchester-city",
"startTimestamp": 1796500800,
"finalResultOnly": false
},
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45213/get+team+matches+with+lineups?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"eventIds": [
16939002,
16363776,
16363729,
16363725,
16363742,
16363748,
17434376,
16363664,
16363689,
16363700,
16363719,
16938782,
16363765
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45214/get+team+recent+match+ids?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 25/26",
"year": "25/26",
"editor": false,
"id": 76986
},
"roundInfo": {
"round": 23
},
"customId": "dsr",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"awayTeam": {
"name": "Wolverhampton",
"slug": "wolverhampton",
"shortName": "Wolves",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 251925,
"nameCode": "WOL",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 3,
"subTeams": [],
"teamColors": {
"primary": "#ff9900",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "وولفرهامبتون",
"ru": "Вулверхэмптон Уондерерс"
},
"shortNameTranslation": {
"ar": "وولفز",
"bn": "উলভস",
"hi": "वॉल्व्स"
}
}
},
"homeScore": {
"current": 2,
"display": 2,
"period1": 2,
"period2": 0,
"normaltime": 2
},
"awayScore": {
"current": 0,
"display": 0,
"period1": 0,
"period2": 0,
"normaltime": 0
},
"time": {
"injuryTime1": 4,
"injuryTime2": 5,
"currentPeriodStartTimestamp": 1769270761
},
"changes": {
"changes": [
"status.code",
"status.description",
"status.type"
],
"changeTimestamp": 1769273817
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": true,
"id": 14025116,
"slug": "manchester-city-wolverhampton",
"startTimestamp": 1769266800,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
},
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN"
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45215/get+team+competition+finished+matches?team_id=17&unique_tournament_id=17&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 14
},
"customId": "rsab",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Brentford",
"slug": "brentford",
"shortName": "Brentford",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 281223,
"nameCode": "BRE",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 50,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#ff0000",
"text": "#ff0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برينتفورد",
"bn": "ব্রেন্টফোর্ড",
"hi": "ब्रेंटफोर्ड",
"ru": "Брентфорд"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"homeScore": [],
"awayScore": [],
"time": [],
"changes": {
"changeTimestamp": 0
},
"hasGlobalHighlights": false,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"id": 16363700,
"slug": "brentford-manchester-city",
"startTimestamp": 1796500800,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
},
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45216/get+team+competition+upcoming+matches?team_id=17&unique_tournament_id=17&page=Optional")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"uniqueTournaments": [
{
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"bn": "ইউরোপ",
"hi": "यूरोप",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1146603,
"liveActivityEnabled": true,
"id": 7,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "دوري أبطال أوروبا",
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ro": "UEFA Champions League",
"ru": "Лига чемпионов УЕФА"
},
"shortNameTranslation": []
}
},
{
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"hi": "प्रिमियर लीग",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
{
"name": "EFL Cup",
"slug": "efl-cup",
"primaryColorHex": "#203e93",
"secondaryColorHex": "#bc1723",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 165167,
"liveActivityEnabled": true,
"id": 21,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "كأس رابطة الدوري الإنجليزي",
"bn": "ইএফএল কাপ",
"hi": "ईएफएल कप",
"ru": "Кубок EFL"
},
"shortNameTranslation": []
}
},
{
"name": "Community Shield",
"slug": "community-shield",
"primaryColorHex": "#e4051f",
"secondaryColorHex": "#949fa4",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"bn": "ইংল্যান্ড",
"hi": "इंग्लैंड",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 43024,
"liveActivityEnabled": false,
"id": 346,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "درع الاتحاد",
"bn": "কমিউনিটি শিল্ড",
"hi": "कम्युनिटी शील्ड",
"ru": "Кубок Сообщества"
},
"shortNameTranslation": []
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45217/get+team+unique+tournaments?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"uniqueTournaments": [
{
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1179580,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
{
"name": "Community Shield",
"slug": "community-shield",
"primaryColorHex": "#e4051f",
"secondaryColorHex": "#949fa4",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 43052,
"liveActivityEnabled": false,
"id": 346,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "درع الاتحاد",
"bn": "কমিউনিটি শিল্ড",
"hi": "कम्युनिटी शील्ड",
"ru": "Кубок Сообщества"
},
"shortNameTranslation": []
}
},
{
"name": "EFL Cup",
"slug": "efl-cup",
"primaryColorHex": "#203e93",
"secondaryColorHex": "#bc1723",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 165295,
"liveActivityEnabled": true,
"id": 21,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "كأس رابطة الدوري الإنجليزي",
"bn": "ইএফএল কাপ",
"hi": "ईएफएल कप",
"ru": "Кубок EFL"
},
"shortNameTranslation": []
}
},
{
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1147245,
"liveActivityEnabled": true,
"id": 7,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ar": "دوري أبطال أوروبا",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ru": "Лига чемпионов УЕФА",
"ro": "UEFA Champions League"
},
"shortNameTranslation": []
}
},
{
"name": "Club Friendly Games",
"slug": "club-friendly-games",
"primaryColorHex": "#25497d",
"secondaryColorHex": "#d38f1d",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 20,
"id": 1468,
"flag": "international",
"fieldTranslations": {
"nameTranslation": {
"ar": "العالم",
"hi": "विश्व",
"bn": "বিশ্ব",
"ru": "Мир"
},
"shortNameTranslation": []
}
},
"userCount": 35793,
"liveActivityEnabled": false,
"id": 853,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "ক্লাব ফ্রেন্ডলি গেমস",
"ar": "مباريات ودية للأندية",
"hi": "क्लब फ्रेंडली गेम्स",
"ru": "Товарищеские игры клубов"
},
"shortNameTranslation": []
}
},
{
"name": "FA Cup",
"slug": "fa-cup",
"primaryColorHex": "#bc1821",
"secondaryColorHex": "#e60411",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 164567,
"liveActivityEnabled": true,
"id": 19,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "كأس الاتحاد الإنجليزي",
"bn": "এফএ কাপ",
"hi": "एफए कप",
"ru": "Кубок ФА"
},
"shortNameTranslation": []
}
},
{
"name": "FIFA Club World Cup",
"slug": "club-world-championship",
"primaryColorHex": "#8d1536",
"secondaryColorHex": "#0bbda4",
"category": {
"name": "World",
"slug": "world",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45218/get+team+all+unique+tournaments?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"tournamentSeasons": [
{
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"seasons": [
{
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
{
"name": "Premier League 25/26",
"year": "25/26",
"editor": false,
"id": 76986
},
{
"name": "Premier League 24/25",
"year": "24/25",
"editor": false,
"id": 61627
},
{
"name": "Premier League 23/24",
"year": "23/24",
"editor": false,
"id": 52186
},
{
"name": "Premier League 22/23",
"year": "22/23",
"editor": false,
"seasonCoverageInfo": [],
"id": 41886
},
{
"name": "Premier League 21/22",
"year": "21/22",
"editor": false,
"id": 37036
},
{
"name": "Premier League 20/21",
"year": "20/21",
"editor": false,
"id": 29415
},
{
"name": "Premier League 19/20",
"year": "19/20",
"editor": false,
"id": 23776
},
{
"name": "Premier League 18/19",
"year": "18/19",
"editor": false,
"id": 17359
},
{
"name": "Premier League 17/18",
"year": "17/18",
"editor": false,
"id": 13380
},
{
"name": "Premier League 16/17",
"year": "16/17",
"editor": false,
"id": 11733
},
{
"name": "Premier League 15/16",
"year": "15/16",
"editor": false,
"id": 10356
},
{
"name": "Premier League 14/15",
"year": "14/15",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 8186
},
{
"name": "Premier League 13/14",
"year": "13/14",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 6311
},
{
"name": "Premier League 12/13",
"year": "12/13",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 4710
},
{
"name": "Premier League 11/12",
"year": "11/12",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 3391
},
{
"name": "Premier League 10/11",
"year": "10/11",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2746
},
{
"name": "Premier League 09/10",
"year": "09/10",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2139
},
{
"name": "Premier League 08/09",
"year": "08/09",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 1544
},
{
"name": "Premier League 07/08",
"year": "07/08",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 581
},
{
"name": "Premier League 06/07",
"year": "06/07",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 4
},
{
"name": "Premier League 05/06",
"year": "05/06",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 3
},
{
"name": "Premier League 04/05",
"year": "04/05",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2
},
{
"name": "Premier League 03/04"
}
]
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45219/get+team+standings+seasons?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"uniqueTournamentSeasons": [
{
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"seasons": [
{
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
{
"name": "Premier League 25/26",
"year": "25/26",
"editor": false,
"id": 76986
},
{
"name": "Premier League 24/25",
"year": "24/25",
"editor": false,
"id": 61627
},
{
"name": "Premier League 23/24",
"year": "23/24",
"editor": false,
"id": 52186
},
{
"name": "Premier League 22/23",
"year": "22/23",
"editor": false,
"seasonCoverageInfo": [],
"id": 41886
},
{
"name": "Premier League 21/22",
"year": "21/22",
"editor": false,
"id": 37036
},
{
"name": "Premier League 20/21",
"year": "20/21",
"editor": false,
"id": 29415
},
{
"name": "Premier League 19/20",
"year": "19/20",
"editor": false,
"id": 23776
},
{
"name": "Premier League 18/19",
"year": "18/19",
"editor": false,
"id": 17359
},
{
"name": "Premier League 17/18",
"year": "17/18",
"editor": false,
"id": 13380
},
{
"name": "Premier League 16/17",
"year": "16/17",
"editor": false,
"id": 11733
},
{
"name": "Premier League 15/16",
"year": "15/16",
"editor": false,
"id": 10356
},
{
"name": "Premier League 14/15",
"year": "14/15",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 8186
},
{
"name": "Premier League 13/14",
"year": "13/14",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 6311
},
{
"name": "Premier League 12/13",
"year": "12/13",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 4710
},
{
"name": "Premier League 11/12",
"year": "11/12",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 3391
},
{
"name": "Premier League 10/11",
"year": "10/11",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2746
},
{
"name": "Premier League 09/10",
"year": "09/10",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2139
},
{
"name": "Premier League 08/09",
"year": "08/09",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 1544
},
{
"name": "Premier League 07/08",
"year": "07/08",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 581
},
{
"name": "Premier League 06/07",
"year": "06/07",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 4
},
{
"name": "Premier League 05/06",
"year": "05/06",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 3
},
{
"name": "Premier League 04/05",
"year": "04/05",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2
},
{
"name": "Premier League 03/04",
"year": "03/04",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 1
},
{
"name": "Premier League 02/03",
"year": "02/03",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 46
},
{
"name": "Premier League 00/01",
"year": "00/01",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 48
},
{
"name": "Premier League 95/96",
"year": "95/96",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 25681
},
{
"name": "Premier League 94/95",
"year": "94/95",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 29167
},
{
"name": "Premier League 93/94",
"year": "93/94",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 25680
}
]
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45220/get+team+statistics+seasons?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"uniqueTournamentSeasons": [
{
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"seasons": [
{
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
{
"name": "Premier League 25/26",
"year": "25/26",
"editor": false,
"id": 76986
},
{
"name": "Premier League 24/25",
"year": "24/25",
"editor": false,
"id": 61627
},
{
"name": "Premier League 23/24",
"year": "23/24",
"editor": false,
"id": 52186
},
{
"name": "Premier League 22/23",
"year": "22/23",
"editor": false,
"seasonCoverageInfo": [],
"id": 41886
},
{
"name": "Premier League 21/22",
"year": "21/22",
"editor": false,
"id": 37036
},
{
"name": "Premier League 20/21",
"year": "20/21",
"editor": false,
"id": 29415
},
{
"name": "Premier League 19/20",
"year": "19/20",
"editor": false,
"id": 23776
},
{
"name": "Premier League 18/19",
"year": "18/19",
"editor": false,
"id": 17359
},
{
"name": "Premier League 17/18",
"year": "17/18",
"editor": false,
"id": 13380
},
{
"name": "Premier League 16/17",
"year": "16/17",
"editor": false,
"id": 11733
},
{
"name": "Premier League 15/16",
"year": "15/16",
"editor": false,
"id": 10356
},
{
"name": "Premier League 14/15",
"year": "14/15",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 8186
},
{
"name": "Premier League 13/14",
"year": "13/14",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 6311
},
{
"name": "Premier League 12/13",
"year": "12/13",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 4710
},
{
"name": "Premier League 11/12",
"year": "11/12",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 3391
},
{
"name": "Premier League 10/11",
"year": "10/11",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2746
},
{
"name": "Premier League 09/10",
"year": "09/10",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2139
},
{
"name": "Premier League 08/09",
"year": "08/09",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 1544
},
{
"name": "Premier League 07/08",
"year": "07/08",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 581
},
{
"name": "Premier League 06/07",
"year": "06/07",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 4
},
{
"name": "Premier League 05/06",
"year": "05/06",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 3
},
{
"name": "Premier League 04/05",
"year": "04/05",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 2
},
{
"name": "Premier League 03/04",
"year": "03/04",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 1
},
{
"name": "Premier League 02/03",
"year": "02/03",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 46
},
{
"name": "Premier League 00/01",
"year": "00/01",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 48
},
{
"name": "Premier League 95/96",
"year": "95/96",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 25681
},
{
"name": "Premier League 94/95",
"year": "94/95",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 29167
},
{
"name": "Premier League 93/94",
"year": "93/94",
"editor": false,
"seasonCoverageInfo": {
"editorCoverageLevel": 1
},
"id": 25680
}
]
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45221/get+team+player+statistics+seasons?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"topPlayers": {
"rating": [
{
"statistics": {
"rating": 7.5923076923077,
"id": 3307766,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Erling Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"userCount": 1082750,
"gender": "M",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"statistics": {
"rating": 7.4444444444444,
"id": 3392199,
"type": "overall",
"appearances": 9,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Jérémy Doku",
"slug": "jeremy-doku",
"shortName": "J. Doku",
"position": "M",
"userCount": 85135,
"gender": "M",
"id": 934386,
"fieldTranslations": {
"nameTranslation": {
"ar": "جيريمي دوكو",
"bn": "জেরেমি ডকু",
"hi": "जेरेमी डोकू",
"ru": "Жереми Доку"
},
"shortNameTranslation": {
"ar": "ج. دوكو",
"bn": "জে. ডকু",
"hi": "जे. डोकू",
"ru": "Ж. Доку"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"statistics": {
"rating": 7.41,
"id": 3307798,
"type": "overall",
"appearances": 10,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Rayan Cherki",
"slug": "cherki-rayan",
"shortName": "R. Cherki",
"position": "M",
"userCount": 113437,
"gender": "M",
"id": 979128,
"fieldTranslations": {
"nameTranslation": {
"ar": "ريان شرقي",
"bn": "রায়ান চেরকি",
"hi": "रायन चेरकी",
"ru": "Раян Шерки"
},
"shortNameTranslation": {
"ar": "ر. شرقي",
"bn": "আর. চেরকি",
"hi": "आर. चेरकी",
"ru": "Р. Шерки"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"statistics": {
"rating": 7.4,
"id": 3307762,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Elliot Anderson",
"slug": "elliot-anderson",
"shortName": "E. Anderson"
}
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45222/get+team+season+top+players?team_id=17&unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"playerStatistics": [
{
"player": {
"name": "Kaden Braithwaite",
"firstName": "Kaden Braithwaite",
"slug": "kaden-braithwaite",
"shortName": "K. Braithwaite",
"position": "D",
"positionsDetailed": [
"DC",
"DL"
],
"jerseyNumber": "61",
"userCount": 2472,
"gender": "M",
"sofascoreId": "hei-7zq",
"id": 1899484,
"fieldTranslations": {
"nameTranslation": {
"ar": "كادين برايثويت",
"ru": "Кейден Брейтуэйт"
},
"shortNameTranslation": {
"ar": "ك. برايثويت",
"ru": "К. Брейтуэйт"
}
}
},
"teamId": 17,
"statistics": {
"rating": 0,
"totalRating": 0,
"countRating": 0,
"goals": 0,
"bigChancesCreated": 0,
"bigChancesMissed": 0,
"assists": 0,
"expectedAssists": 0.00145561,
"goalsAssistsSum": 0,
"expectedGoalInvolvements": 0.00145561,
"accuratePasses": 10,
"inaccuratePasses": 0,
"totalPasses": 10,
"accuratePassesPercentage": 100,
"accurateOwnHalfPasses": 5,
"accurateOppositionHalfPasses": 5,
"accurateFinalThirdPasses": 0,
"keyPasses": 0,
"successfulDribbles": 0,
"successfulDribblesPercentage": 0,
"tackles": 0,
"interceptions": 0,
"yellowCards": 0,
"directRedCards": 0,
"redCards": 0,
"accurateCrosses": 0,
"accurateCrossesPercentage": 0,
"totalShots": 0,
"shotsOnTarget": 0,
"shotsOffTarget": 0,
"groundDuelsWon": 0,
"groundDuelsWonPercentage": 0,
"aerialDuelsWon": 0,
"aerialDuelsWonPercentage": 0,
"totalDuelsWon": 0,
"totalDuelsWonPercentage": 0,
"minutesPlayed": 1,
"goalConversionPercentage": 0,
"penaltiesTaken": 0,
"penaltyGoals": 0,
"penaltyWon": 0,
"penaltyConceded": 0,
"shotFromSetPiece": 0,
"freeKickGoal": 0,
"goalsFromInsideTheBox": 0,
"goalsFromOutsideTheBox": 0,
"shotsFromInsideTheBox": 0,
"shotsFromOutsideTheBox": 0,
"headedGoals": 0,
"leftFootGoals": 0,
"rightFootGoals": 0,
"accurateLongBalls": 0,
"accurateLongBallsPercentage": 0,
"clearances": 0,
"errorLeadToGoal": 0,
"errorLeadToShot": 0,
"dispossessed": 0,
"possessionLost": 0,
"possessionWonAttThird": 0,
"totalChippedPasses": 0,
"accurateChippedPasses": 0,
"touches": 10,
"wasFouled": 0,
"fouls": 0,
"hitWoodwork": 0,
"ownGoals": 0,
"dribbledPast": 0,
"offsides": 0,
"blockedShots": 0,
"passToAssist": 0,
"saves": 0,
"kilometersCovered": 0.8852012,
"numberOfSprints": 0,
"topSpeed": 24.08328,
"cleanSheet": 0,
"penaltyFaced": 0,
"penaltySave": 0,
"savedShotsFromInsideTheBox": 0,
"savedShotsFromOutsideTheBox": 0,
"goalsConcededInsideTheBox": 0,
"goalsConcededOutsideTheBox": 0,
"punches": 0,
"runsOut": 0,
"successfulRunsOut": 0,
"highClaims": 0,
"crossesNotClaimed": 0,
"matchesStarted": 0,
"penaltyConversion": 0,
"setPieceConversion": 0,
"totalAttemptAssist": 0,
"totalContest": 0,
"totalCross": 0,
"duelLost": 0,
"aerialLost": 0,
"attemptPenaltyMiss": 0,
"attemptPenaltyPost": 0,
"attemptPenaltyTarget": 0,
"totalLongBalls": 0,
"goalsConceded": 0,
"tacklesWon": 0,
"tacklesWonPercentage": 0,
"scoringFrequency": 0,
"yellowRedCards": 0,
"savesCaught": 0,
"savesParried": 0,
"totalOwnHalfPasses": 5,
"totalOppositionHalfPasses": 5,
"totwAppearances": 0,
"goalKicks": 0,
"ballRecovery": 1,
"outfielderBlocks": 0,
"expectedGoalsOnTarget": 0,
"touchesInOppBox": 0,
"unsuccessfulTouches": 0,
"metersCoveredRunning": 166.1943,
"metersCoveredHighSpeedRunning": 17.3043,
"metersCoveredSprinting": 0,
"expectedGoalsConceded": 0,
"cornersTaken": 0,
"defensiveContributions": 0,
"metersCoveredWalking": 0,
"metersCoveredJogging": 0,
"metersCoveredWalkingJogging": 0,
"savesPercentage": 0,
"sprintingPercentage": 0,
"runningPercentage": 18.774748610824,
"highSpeedRunningPercentage": 1.9548437123673,
"walkingJoggingPercentage": 0,
"metersCovered": 885.2012,
"penaltySavePercentage": 0,
"id": 3324283,
"goalInvolvements": 0,
"type": "overall",
"appearances": 1,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": false
},
{
"player": {
"name": "Ryan McAidoo",
"slug": "ryan-mcaidoo",
"shortName": "R. McAidoo",
"position": "M",
"positionsDetailed": [
"RW"
],
"jerseyNumber": "56",
"userCount": 8474,
"gender": "M",
"sofascoreId": "6g6-mre",
"id": 1826151,
"fieldTranslations": {
"nameTranslation": {
"ar": "رايان مكأيدو",
"ru": "Райан Макайду"
},
"shortNameTranslation": {
"ar": "ر. مكأيدو",
"ru": "Р. Макайду"
}
}
},
"teamId": 17,
"statistics": {
"rating": 6.7333333333333,
"totalRating": 20.2,
"countRating": 3,
"goals": 0,
"bigChancesCreated": 0,
"bigChancesMissed": 0,
"assists": 0,
"expectedAssists": 0.06732608,
"goalsAssistsSum": 0,
"expectedGoalInvolvements": 0.16502608,
"accuratePasses": 10,
"inaccuratePasses": 6,
"totalPasses": 16,
"accuratePassesPercentage": 62.5,
"accurateOwnHalfPasses": 2,
"accurateOppositionHalfPasses": 8,
"accurateFinalThirdPasses": 5,
"keyPasses": 1,
"successfulDribbles": 6,
"successfulDribblesPercentage": 54.545454545455,
"tackles": 2,
"interceptions": 0,
"yellowCards": 1,
"directRedCards": 0,
"redCards": 0,
"accurateCrosses": 2,
"accurateCrossesPercentage": 66.666666666667,
"totalShots": 1,
"shotsOnTarget": 0,
"shotsOffTarget": 1,
"groundDuelsWon": 10,
"groundDuelsWonPercentage": 62.5,
"aerialDuelsWon": 0,
"aerialDuelsWonPercentage": 0,
"totalDuelsWon": 10,
"totalDuelsWonPercentage": 62.5,
"minutesPlayed": 38,
"goalConversionPercentage": 0,
"penaltiesTaken": 0,
"penaltyGoals": 0,
"penaltyWon": 0,
"penaltyConceded": 0,
"shotFromSetPiece": 0,
"freeKickGoal": 0,
"goalsFromInsideTheBox": 0,
"goalsFromOutsideTheBox": 0,
"shotsFromInsideTheBox": 0,
"shotsFromOutsideTheBox": 1,
"headedGoals": 0,
"leftFootGoals": 0
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45223/get+team+season+player+statistics?team_id=17&unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"goalDistributions": [
{
"type": "overall",
"periods": [
{
"periodStart": 1,
"periodEnd": 15,
"scoredGoals": 1,
"concededGoals": 4,
"id": 386546
},
{
"periodStart": 16,
"periodEnd": 30,
"scoredGoals": 5,
"concededGoals": 4,
"id": 386547
},
{
"periodStart": 31,
"periodEnd": 45,
"scoredGoals": 4,
"concededGoals": 2,
"id": 386548
},
{
"periodStart": 46,
"periodEnd": 60,
"scoredGoals": 8,
"concededGoals": 3,
"id": 386549
},
{
"periodStart": 61,
"periodEnd": 75,
"scoredGoals": 3,
"concededGoals": 1,
"id": 386550
},
{
"periodStart": 76,
"periodEnd": 90,
"scoredGoals": 5,
"concededGoals": 2,
"id": 386551
}
],
"matches": 13,
"scoredGoals": 26,
"concededGoals": 16,
"id": 64840
},
{
"type": "home",
"periods": [
{
"periodStart": 1,
"periodEnd": 15,
"scoredGoals": 1,
"concededGoals": 2,
"id": 386552
},
{
"periodStart": 16,
"periodEnd": 30,
"scoredGoals": 4,
"concededGoals": 3,
"id": 386553
},
{
"periodStart": 31,
"periodEnd": 45,
"scoredGoals": 3,
"concededGoals": 1,
"id": 386554
},
{
"periodStart": 46,
"periodEnd": 60,
"scoredGoals": 2,
"concededGoals": 1,
"id": 386555
},
{
"periodStart": 61,
"periodEnd": 75,
"scoredGoals": 1,
"concededGoals": 0,
"id": 386556
},
{
"periodStart": 76,
"periodEnd": 90,
"scoredGoals": 3,
"concededGoals": 1,
"id": 386557
}
],
"matches": 7,
"scoredGoals": 14,
"concededGoals": 8,
"id": 64841
},
{
"type": "away",
"periods": [
{
"periodStart": 1,
"periodEnd": 15,
"scoredGoals": 0,
"concededGoals": 2,
"id": 386558
},
{
"periodStart": 16,
"periodEnd": 30,
"scoredGoals": 1,
"concededGoals": 1,
"id": 386559
},
{
"periodStart": 31,
"periodEnd": 45,
"scoredGoals": 1,
"concededGoals": 1,
"id": 386560
},
{
"periodStart": 46,
"periodEnd": 60,
"scoredGoals": 6,
"concededGoals": 2,
"id": 386561
},
{
"periodStart": 61,
"periodEnd": 75,
"scoredGoals": 2,
"concededGoals": 1,
"id": 386562
},
{
"periodStart": 76,
"periodEnd": 90,
"scoredGoals": 2,
"concededGoals": 1,
"id": 386563
}
],
"matches": 6,
"scoredGoals": 12,
"concededGoals": 8,
"id": 64842
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45224/get+team+season+goal+distributions?team_id=17&unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"graphData": [
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 1
},
"customId": "rkb",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"awayTeam": {
"name": "Bournemouth",
"slug": "bournemouth",
"shortName": "Bournemouth",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 329505,
"nameCode": "BOU",
"disabled": false,
"national": false,
"type": 0,
"id": 60,
"teamColors": {
"primary": "#000000",
"secondary": "#cc0000",
"text": "#cc0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "بورنموث",
"bn": "বোর্নেমাউথ",
"hi": "बोर्नमाउथ",
"ru": "Борнмут"
},
"shortNameTranslation": []
}
},
"homeScore": {
"current": 2,
"display": 2,
"period1": 0,
"period2": 2,
"normaltime": 2
},
"awayScore": {
"current": 1,
"display": 1,
"period1": 1,
"period2": 0,
"normaltime": 1
},
"hasXg": true,
"id": 16363243,
"slug": "bournemouth-manchester-city",
"startTimestamp": 1787490000,
"finalResultOnly": false
}
],
"week": 1,
"position": 8,
"timeframeStart": 1787270400,
"timeframeEnd": 1787875200
},
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
}
}
}
]
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45225/get+team+season+performance+graph?team_id=17&unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"mediaItems": [
{
"type": "youtubeVideo",
"item": {
"url": "https://www.youtube.com/watch?v=tlG--t3PU7c",
"title": "Pure ART from Man City 🤌",
"description": "love this video? weve got even more for you to enjoy on the premier league app\nios: ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/tlG--t3PU7c/maxresdefault.jpg",
"id": 467765
}
},
{
"type": "youtubeVideo",
"item": {
"url": "https://www.youtube.com/watch?v=JlrQXI2ra9k",
"title": "Manchester City 2-0 Leeds United | Premier League highlights",
"description": "highlights from our game against manchester city at the etihad stadium in the 2026/27 premier league. \n \n#leedsunited #lufc \n\nget exclusive leeds united video content first - download the official app: ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/JlrQXI2ra9k/maxresdefault.jpg",
"id": 466743
}
}
],
"itemsCount": 9
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45226/get+team+media?team_id=17&country_code=US")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"videos": [
{
"url": "https://www.youtube.com/watch?v=Jp0RtPG1GCc",
"title": "FC BARCELONA 2 - 1 ATLÉTICO DE MADRID | RESUMEN LALIGA EA SPORTS",
"description": "el fc barcelona sumo una victoria clave al superar 2-1 al atletico de madrid en el spotify camp nou. lamine yamal fue protagonista con una accion individual que provoco el penalti transformado por raphinha y firmo el segundo tanto azulgrana con un gran disparo en la segunda mitad. jonathan david recorto distancias en la recta final, pero el conjunto local resistio el empuje rojiblanco para ampliar a cinco puntos su ventaja en la clasificacion sobre los madrilenos.\n\n#barcaatleti laliga ea sports ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/Jp0RtPG1GCc/maxresdefault.jpg",
"id": 466662
},
{
"url": "https://www.youtube.com/watch?v=PdN0apYhzys",
"title": "FC BARCELONA 2 - 1 ATLÉTICO DE MADRID | RESUMEN LALIGA EA SPORTS",
"description": "el fc barcelona sumo una victoria clave al superar 2-1 al atletico de madrid en el spotify camp nou. lamine yamal fue protagonista con una accion individual que provoco el penalti transformado por raphinha y firmo el segundo tanto azulgrana con un gran disparo en la segunda mitad. jonathan david recorto distancias en la recta final, pero el conjunto local resistio el empuje rojiblanco para ampliar a cinco puntos su ventaja en la clasificacion sobre los madrilenos.\n\n#barcaatleti laliga ea sports ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/PdN0apYhzys/maxresdefault.jpg",
"id": 466626
},
{
"url": "https://www.youtube.com/watch?v=N2gHQtiNtsU",
"title": "Los ÚLTIMOS 18 MINUTOS del gol de SØRLOTH en el 96 ante el FC BARCELONA",
"description": "revive los ultimos 18 minutos completos del partido entre el fc barcelona y el atletico de madrid de la temporada 2024/25 de laliga! con el marcador empatado a 1-1 y ambos equipos luchando por la victoria, alexander srloth marco el gol de la victoria en el minuto 96, que aseguro una impresionante victoria a domicilio por 2-1 para el cuadro rojiblanco. vive la tension, la emocion y el final inolvidable de este emocionante enfrentamiento!\n\n\nsuscribete al canal de laliga ea sports: ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/N2gHQtiNtsU/maxresdefault.jpg",
"id": 465667
},
{
"url": "https://www.youtube.com/watch?v=AEYXlIDVyRw",
"title": "TODOS LOS GOLES de la JORNADA 14 | LALIGA EA SPORTS 2026/27",
"description": "raphinha anoto un impresionante hat-trick en la contundente victoria por 5-1 del fc barcelona sobre el rc deportivo, pablo garcia marco dos espectaculares goles desde fuera del area en la remontada por 3-1 del real racing club ante el levante ud, y el athletic club se llevo un emocionante triunfo por 4-3 frente al malaga cf en un partidazo de siete goles. todo esto y mucho mas! no te pierdas todos los goles de la jornada 14 de laliga ea sports 2026/27!\n\n\nsuscribete al canal de laliga ea sports",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/AEYXlIDVyRw/maxresdefault.jpg",
"id": 463842
},
{
"url": "https://www.youtube.com/watch?v=4q_f2M-tm20",
"title": "REFCAM RC Deportivo vs FC Barcelona",
"description": "vive el futbol desde una perspectiva unica! tras mas de ocho anos sin verse las caras en primera division, el rc deportivo de la coruna y el fc barcelona se reencontraron en un duelo vibrante que termino con victoria azulgrana por 1-5.\n\nen este video exclusivo de la refcam (camara subjetiva del arbitro), acompana a isidro diaz a ras de cesped. siente la velocidad real del balon, la presion de la grada, el dialogo directo con los jugadores y como se toman las decisiones clave en milesimas de seg",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/4q_f2M-tm20/maxresdefault.jpg",
"id": 463422
},
{
"url": "https://www.youtube.com/watch?v=sB73mkY2RcQ",
"title": "RC DEPORTIVO 1 - 5 FC BARCELONA | RESUMEN LALIGA EA SPORTS",
"description": "el fc barcelona firmo una nueva goleada en abanca-riazor tras superar 1-5 al rc deportivo y afianzar su liderato en laliga ea sports. lamine yamal adelanto al conjunto azulgrana, aubameyang igualo para los locales y dani olmo devolvio la ventaja antes del descanso. raphinha completo un brillante hat-trick en la segunda mitad, apoyado en las asistencias de yamal, para sellar la sexta victoria consecutiva.\n\n#deporbarca laliga ea sports 2026/27 j14\nsuscribete al canal de laliga ea sports: ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/sB73mkY2RcQ/maxresdefault.jpg",
"id": 462028
},
{
"url": "https://www.youtube.com/watch?v=vs2MdiqjJkM",
"title": "RC DEPORTIVO 1 - 5 FC BARCELONA | RESUMEN LALIGA EA SPORTS",
"description": "el fc barcelona firmo una nueva goleada en abanca-riazor tras superar 1-5 al rc deportivo y afianzar su liderato en laliga ea sports. lamine yamal adelanto al conjunto azulgrana, aubameyang igualo para los locales y dani olmo devolvio la ventaja antes del descanso. raphinha completo un brillante hat-trick en la segunda mitad, apoyado en las asistencias de yamal, para sellar la sexta victoria consecutiva.\n\n#deporbarca laliga ea sports 2026/27 j14\nsuscribete al canal de laliga ea sports: ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/vs2MdiqjJkM/maxresdefault.jpg",
"id": 461348
},
{
"url": "https://www.youtube.com/watch?v=wdtYGRqHv-M",
"title": "ATLÉTICO DE MADRID 1 - 2 FC BARCELONA | RESUMEN LALIGA EA SPORTS",
"description": "el fc barcelona remonto para imponerse 1-2 al atletico de madrid en el riyadh air metropolitano y reforzar su liderato. giuliano simeone adelanto al conjunto rojiblanco tras una asistencia de julian alvarez, pero fermin igualo antes del descanso y completo la remontada en la segunda mitad tras un pase de lamine yamal. el triunfo deja al barca lider en solitario con 33 puntos.\n\n#atletibarca laliga ea sports 2026/27 j12\nsuscribete al canal de laliga ea sports: ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/wdtYGRqHv-M/maxresdefault.jpg",
"id": 461242
},
{
"url": "https://www.youtube.com/watch?v=Ngrd58fZSVA",
"title": "FC BARCELONA 3 - 2 VILLARREAL CF | RESUMEN LALIGA EA SPORTS",
"description": "el fc barcelona remonto para imponerse 3-2 al villarreal cf en el spotify camp nou y mantenerse al frente de la clasificacion. buchanan y oluwaseyi adelantaron al conjunto amarillo en los primeros minutos, pero gerard martin y fermin igualaron tras el descanso antes de que un gol en propia puerta de pau navarro completara la remontada azulgrana.\n\n#barcavillarreal laliga ea sports 2026/27 j13\nsuscribete al canal de laliga ea sports: ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/Ngrd58fZSVA/maxresdefault.jpg",
"id": 461241
},
{
"url": "https://www.youtube.com/watch?v=p4-gXy4DnaM",
"title": "REFCAM FC Barcelona vs Villarreal CF",
"description": "asi se vio y se escucho el barca - villarreal a traves de la refcam, la camara subjetiva equipada por el arbitro alejandro hernandez hernandez durante la ultima jornada de laliga ea sports.\n\ncual es el momento que mas te ha sorprendido? dejalo en comentarios! \n\nsuscribete al canal de laliga ea sports: ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/p4-gXy4DnaM/maxresdefault.jpg",
"id": 458548
},
{
"url": "https://www.youtube.com/watch?v=cXhQ8wK7ECE",
"title": "RC DEPORTIVO 2-4 FC BARCELONA 2017/18 | Resumen ampliado",
"description": "revive el partido entre el deportivo de la coruna y el fc barcelona (2-4) de la temporada 2017/18 de laliga. disfruta de los seis goles y de un encuentro inolvidable.\n\n\nsuscribete al canal de laliga ea sports: ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/cXhQ8wK7ECE/maxresdefault.jpg",
"id": 458248
},
{
"url": "https://www.youtube.com/watch?v=iXKLVQ5WnpY",
"title": "Las MEJORES JUGADAS de PEDRI en LALIGA EA SPORTS",
"description": "un primer toque perfecto, un pase increible, una jugada brillante... pedri hace que todo parezca demasiado facil! disfruta de lo mejor del centrocampista del fc barcelona, desde toques magicos hasta momentos inolvidables en laliga a lo largo de los anos. ponte comodo y disfruta de la magia de pedri!\n\n\nsuscribete al canal de laliga ea sports: ",
"embeddable": true,
"thumbnailUrl": "https://i.ytimg.com/vi/iXKLVQ5WnpY/maxresdefault.jpg",
"id": 455919
},
{
"url": "https://www.youtube.com/watch?v=iR0ZsDF-oAU"
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45227/get+team+videos?team_id=2817")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"tweets": [
{
"id": "2125360131000893465",
"account": {
"id": "14573900",
"name": "Manchester City",
"handle": "ManCity",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2120874082262499328/7ggtwYf__normal.jpg"
},
"text": "Enzo 💬",
"media": [
{
"id": "2125359969558056960",
"imageUrl": "https://pbs.twimg.com/media/HX7LobVX0AA7Ru-.jpg"
}
],
"createdAtTimestamp": 1795560317,
"externalUrl": "https://x.com/ManCity/status/2125360131000893465"
},
{
"id": "2125359733074792799",
"account": {
"id": "14573900",
"name": "Manchester City",
"handle": "ManCity",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2120874082262499328/7ggtwYf__normal.jpg"
},
"text": "Erling's reaction after tonight's draw 🗣️",
"media": [
{
"id": "2125359483056459776",
"imageUrl": "https://pbs.twimg.com/media/HX7LMG-WkAA_msN.jpg"
}
],
"createdAtTimestamp": 1795560222,
"externalUrl": "https://x.com/ManCity/status/2125359733074792799"
},
{
"id": "2123891959647682878",
"account": {
"id": "14573900",
"name": "Manchester City",
"handle": "ManCity",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2120874082262499328/7ggtwYf__normal.jpg"
},
"text": "Santa Claus is coming to town! 🎅\n\nJoin us in Medlock Square for a special winter wonderland Matchday Live screening of our trip to North London as we take on Arsenal! 💪\n\nEvery child in attendance will receive a free present from the big man! 🎁\n\nGet your tickets now 👉",
"media": [
{
"id": "2123880188295462912",
"imageUrl": "https://pbs.twimg.com/media/HXmJx0jXQAAawK6.jpg"
}
],
"createdAtTimestamp": 1795210277,
"externalUrl": "https://x.com/ManCity/status/2123891959647682878"
},
{
"id": "2123884169722020145",
"account": {
"id": "14573900",
"name": "Manchester City",
"handle": "ManCity",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2120874082262499328/7ggtwYf__normal.jpg"
},
"text": "It's a City thing! 🩵",
"media": [
{
"id": "2123878283179622400",
"imageUrl": "https://pbs.twimg.com/amplify_video_thumb/2123878283179622400/img/s2eVs5LZU0qiunFw.jpg",
"videoUrl": "https://video.twimg.com/amplify_video/2123878283179622400/vid/avc1/480x270/czulklsTfEFpGUFv.mp4?tag=29"
}
],
"createdAtTimestamp": 1795208420,
"externalUrl": "https://x.com/ManCity/status/2123884169722020145"
},
{
"id": "2123869058890412276",
"account": {
"id": "14573900",
"name": "Manchester City",
"handle": "ManCity",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2120874082262499328/7ggtwYf__normal.jpg"
},
"text": "A long-range stunner that left the Etihad speechless! 💫\n\nBut who is the Mystery Blue completing his hat-trick against the Cottagers? 🧐",
"media": [
{
"id": "2123868821450629120",
"imageUrl": "https://pbs.twimg.com/amplify_video_thumb/2123868821450629120/img/1mOupdu0n6h5fQCM.jpg",
"videoUrl": "https://video.twimg.com/amplify_video/2123868821450629120/vid/avc1/320x568/jFcBMENUhzrjMhmC.mp4?tag=29"
}
],
"createdAtTimestamp": 1795204817,
"externalUrl": "https://x.com/ManCity/status/2123869058890412276"
},
{
"id": "2123861436090773954",
"account": {
"id": "14573900",
"name": "Manchester City",
"handle": "ManCity",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2120874082262499328/7ggtwYf__normal.jpg"
},
"text": "The third and final batch of Once A Blue members who will be in attendance tomorrow afternoon:\n\nKeith Curle, David Brightwell, Richard Edghill, Nicky Weaver & Shaun Wright-Phillips! 🩵\n\nDon't miss out 👉",
"media": [
{
"id": "2123857415456120832",
"imageUrl": "https://pbs.twimg.com/media/HXl1ERHXYAAA5Ju.jpg"
},
{
"id": "2123860502627463168",
"imageUrl": "https://pbs.twimg.com/media/HXl339uXsAA8Aw9.jpg"
},
{
"id": "2123860502610575360",
"imageUrl": "https://pbs.twimg.com/media/HXl339qWAAA1l7Q.jpg"
},
{
"id": "2123860502606426112",
"imageUrl": "https://pbs.twimg.com/media/HXl339pWsAAYh9n.jpg"
},
{
"id": "2123860502614781952",
"imageUrl": "https://pbs.twimg.com/media/HXl339rWMAANkgQ.jpg"
}
],
"createdAtTimestamp": 1795203000,
"externalUrl": "https://x.com/ManCity/status/2123861436090773954"
},
{
"id": "2123853912281067958",
"account": {
"id": "14573900",
"name": "Manchester City",
"handle": "ManCity",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2120874082262499328/7ggtwYf__normal.jpg"
},
"text": "\"Gianluigi Donnarumma is a brilliant goalkeeper and wonderful human being!\" 🧤\n\nRead the first edition of The Joe Hart Column now ⤵️\n\n🔗",
"media": [
{
"id": "2123841699554217984",
"imageUrl": "https://pbs.twimg.com/media/HXlmxe0XUAAc2EY.jpg"
}
],
"createdAtTimestamp": 1795201206,
"externalUrl": "https://x.com/ManCity/status/2123853912281067958"
},
{
"id": "2123831236112113826",
"account": {
"id": "14573900",
"name": "Manchester City",
"handle": "ManCity",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2120874082262499328/7ggtwYf__normal.jpg"
},
"text": "The second group of Once A Blue members joining us at the Etihad tomorrow afternoon is here:\n\nAlex Williams, Clive Wilson, Mick McCarthy, Steve Redmond, Ian Brightwell, David White, Imre Varadi and Paul Lake! 🩵\n\nGet your tickets now 👉",
"media": [
{
"id": "2123823177939779584",
"imageUrl": "https://pbs.twimg.com/media/HXlV7YbXgAAJxPm.jpg"
},
{
"id": "2123823177448947712",
"imageUrl": "https://pbs.twimg.com/media/HXlV7WmWAAAKHsK.jpg"
},
{
"id": "2123823177990094848",
"imageUrl": "https://pbs.twimg.com/media/HXlV7YnXQAA9xKJ.jpg"
},
{
"id": "2123823177495113728",
"imageUrl": "https://pbs.twimg.com/media/HXlV7WxWcAAIorM.jpg"
},
{
"id": "2123823177470025728",
"imageUrl": "https://pbs.twimg.com/media/HXlV7WrXoAAaTe3.jpg"
},
{
"id": "2123823177482600448",
"imageUrl": "https://pbs.twimg.com/media/HXlV7WuXgAAFtua.jpg"
},
{
"id": "2123823177461551104",
"imageUrl": "https://pbs.twimg.com/media/HXlV7WpWUAAxp8T.jpg"
},
{
"id": "2123823177465757696",
"imageUrl": "https://pbs.twimg.com/media/HXlV7WqWgAAjq2U.jpg"
}
],
"createdAtTimestamp": 1795195800,
"externalUrl": "https://x.com/ManCity/status/2123831236112113826"
},
{
"id": "2123820048200630703",
"account": {
"id": "14573900",
"name": "Manchester City",
"handle": "ManCity",
"verified": true,
"profilePictureUrl": "https://pbs.twimg.com/profile_images/2120874082262499328/7ggtwYf__normal.jpg"
},
"text": "All eyes on tomorrow 👀"
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45228/get+team+official+tweets?team_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"statistics": [
{
"matches": 8,
"groundType": "Grass",
"totalServeAttempts": 1110,
"tiebreakLosses": 5,
"tiebreaksWon": 5,
"tournamentsWon": 1,
"tournamentsPlayed": 3,
"wins": 6,
"aces": 109,
"firstServePointsScored": 459,
"firstServePointsTotal": 600,
"firstServeTotal": 855,
"secondServePointsScored": 150,
"secondServePointsTotal": 223,
"secondServeTotal": 255,
"breakPointsScored": 11,
"breakPointsTotal": 44,
"opponentBreakPointsTotal": 30,
"opponentBreakPointsScored": 7,
"winnersTotal": 66,
"unforcedErrorsTotal": 32,
"doubleFaults": 32
},
{
"matches": 16,
"groundType": "Hardcourt indoor",
"totalServeAttempts": 1770,
"tiebreakLosses": 6,
"tiebreaksWon": 7,
"tournamentsWon": 1,
"tournamentsPlayed": 4,
"wins": 12,
"aces": 262,
"firstServePointsScored": 735,
"firstServePointsTotal": 964,
"firstServeTotal": 1367,
"secondServePointsScored": 232,
"secondServePointsTotal": 370,
"secondServeTotal": 403,
"breakPointsScored": 26,
"breakPointsTotal": 72,
"opponentBreakPointsTotal": 76,
"opponentBreakPointsScored": 20,
"doubleFaults": 33
},
{
"matches": 29,
"groundType": "Hardcourt outdoor",
"totalServeAttempts": 3349,
"tiebreakLosses": 9,
"tiebreaksWon": 12,
"tournamentsWon": 1,
"tournamentsPlayed": 9,
"wins": 21,
"aces": 273,
"firstServePointsScored": 1342,
"firstServePointsTotal": 1765,
"firstServeTotal": 2557,
"secondServePointsScored": 459,
"secondServePointsTotal": 711,
"secondServeTotal": 792,
"breakPointsScored": 81,
"breakPointsTotal": 208,
"opponentBreakPointsTotal": 142,
"opponentBreakPointsScored": 47,
"winnersTotal": 470,
"unforcedErrorsTotal": 397,
"doubleFaults": 81
},
{
"matches": 13,
"groundType": "Red clay",
"totalServeAttempts": 1459,
"tiebreakLosses": 2,
"tiebreaksWon": 8,
"tournamentsWon": 1,
"tournamentsPlayed": 6,
"wins": 8,
"aces": 112,
"firstServePointsScored": 565,
"firstServePointsTotal": 739,
"firstServeTotal": 1099,
"secondServePointsScored": 217,
"secondServePointsTotal": 322,
"secondServeTotal": 360,
"breakPointsScored": 16,
"breakPointsTotal": 45,
"opponentBreakPointsTotal": 50,
"opponentBreakPointsScored": 12,
"winnersTotal": 80,
"unforcedErrorsTotal": 41,
"doubleFaults": 38
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45229/get+tennis+player+year+statistics?team_id=385485&year=2026")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"results": [
{
"id": 2363,
"name": "Australian Open, Men",
"years": [
{
"year": 2022,
"seasonId": 40339,
"isLive": false,
"isUpcoming": false,
"winner": false
},
{
"year": 2023,
"seasonId": 48186,
"isLive": false,
"isUpcoming": false,
"round": "Quarterfinals",
"winner": false
},
{
"year": 2024,
"seasonId": 55443,
"isLive": false,
"isUpcoming": false,
"round": "Round of 32",
"winner": false
},
{
"year": 2025,
"seasonId": 69039,
"isLive": false,
"isUpcoming": false,
"round": "Semifinals",
"winner": false
},
{
"year": 2026,
"seasonId": 80012,
"isLive": false,
"isUpcoming": false,
"round": "Quarterfinals",
"winner": false
}
]
},
{
"id": 2480,
"name": "Roland Garros, Men",
"years": [
{
"year": 2022,
"seasonId": 41638,
"isLive": false,
"isUpcoming": false,
"winner": false
},
{
"year": 2023,
"seasonId": 50017,
"isLive": false,
"isUpcoming": false,
"round": "Round of 128",
"winner": false
},
{
"year": 2024,
"seasonId": 52016,
"isLive": false,
"isUpcoming": false,
"round": "Round of 32",
"winner": false
},
{
"year": 2025,
"seasonId": 61364,
"isLive": false,
"isUpcoming": false,
"round": "Round of 16",
"winner": false
},
{
"year": 2026,
"seasonId": 85951,
"isLive": false,
"isUpcoming": false,
"round": "Round of 64",
"winner": false
}
]
},
{
"id": 2361,
"name": "Wimbledon, Men",
"years": [
{
"year": 2022,
"seasonId": 42300,
"isLive": false,
"isUpcoming": false,
"winner": false
},
{
"year": 2023,
"seasonId": 50012,
"isLive": false,
"isUpcoming": false,
"round": "Round of 64",
"winner": false
},
{
"year": 2024,
"seasonId": 55487,
"isLive": false,
"isUpcoming": false,
"round": "Round of 16",
"winner": false
},
{
"year": 2025,
"seasonId": 63966,
"isLive": false,
"isUpcoming": false,
"round": "Quarterfinals",
"winner": false
},
{
"year": 2026,
"seasonId": 85943,
"isLive": false,
"isUpcoming": false,
"round": "Round of 128",
"winner": false
}
]
},
{
"id": 2449,
"name": "US Open, Men",
"years": [
{
"year": 2022,
"seasonId": 45261,
"isLive": false,
"isUpcoming": false,
"round": "Round of 128",
"winner": false
},
{
"year": 2023,
"seasonId": 50022,
"isLive": false,
"isUpcoming": false,
"round": "Semifinals",
"winner": false
},
{
"year": 2024,
"seasonId": 55587,
"isLive": false,
"isUpcoming": false,
"round": "Round of 32",
"winner": false
},
{
"year": 2025,
"seasonId": 67287,
"isLive": false,
"isUpcoming": false,
"round": "Round of 32",
"winner": false
},
{
"year": 2026,
"seasonId": 85956,
"isLive": false,
"isUpcoming": false,
"round": "Final",
"winner": false
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45230/get+tennis+player+grand+slam+best+results?team_id=385485")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"channels": [
{
"name": "4 News Now",
"id": 7906
},
{
"name": "11 Alive",
"id": 7899
},
{
"name": "12 ABC",
"id": 7900
},
{
"name": "12 News KPNX",
"id": 7903
},
{
"name": "21 Alive",
"id": 7904
},
{
"name": "95.5 The Game",
"id": 7367
},
{
"name": "360 Sports TV",
"id": 4446
},
{
"name": "ABC",
"id": 1428
},
{
"name": "ABC 7",
"id": 7907
},
{
"name": "ABC22",
"id": 7902
},
{
"name": "ABC 35 Lafayette",
"id": 7901
},
{
"name": "ABC App",
"id": 3939
},
{
"name": "ABC Regional",
"id": 7908
},
{
"name": "ACC Network",
"id": 4524
},
{
"name": "ACC Network Extra",
"id": 3940
},
{
"name": "ACC Network X",
"id": 7909
},
{
"name": "AFN Sports 2",
"id": 7304
},
{
"name": "AT&T SportsNet Pittsburgh",
"id": 6205
},
{
"name": "AYM Sports",
"id": 2383
},
{
"name": "AZ Family 3TV",
"id": 7913
},
{
"name": "AZ Family Sports",
"id": 7910
},
{
"name": "Aggienetwork.tv",
"id": 7911
},
{
"name": "All Red Video",
"id": 7912
},
{
"name": "Altitude+",
"id": 8526
},
{
"name": "Altitude Sports",
"id": 4180
},
{
"name": "Altitude Sports 2",
"id": 5146
},
{
"name": "AmericaEast.TV",
"id": 7785
},
{
"name": "Angels Broadcast Television",
"id": 7905
},
{
"name": "Antenna (KIAH2)",
"id": 7914
},
{
"name": "Antenna TV WPMT 43.2",
"id": 7915
},
{
"name": "Apple TV",
"id": 7273
},
{
"name": "Apple TV",
"id": 7789
},
{
"link": "https://tv.apple.com/channel/tvs.sbd.4000?itscg=30200&at=1010l3Qzc&itsct=sofascore_mls",
"name": "Apple TV",
"id": 7916
},
{
"name": "Apple TV+",
"id": 7390
},
{
"name": "Arizona's Family 3TV",
"id": 7924
},
{
"name": "Arizona's Family Sports",
"id": 7925
},
{
"name": "Arizona 58",
"id": 7921
},
{
"name": "Arizona 61",
"id": 7922
},
{
"name": "Arizona Coyotes",
"id": 7923
},
{
"name": "Arizona Family Sports KPHE",
"id": 6894
},
{
"name": "Arsenal.com",
"id": 7926
},
{
"name": "Astros.com",
"id": 7927
},
{
"name": "Athletics.TV",
"id": 7928
},
{
"name": "Atlanta 69",
"id": 7929
},
{
"name": "Atlanta News First",
"id": 7930
},
{
"name": "B/R Live",
"id": 2891
},
{
"name": "BIG12",
"id": 7931
},
{
"name": "BTN",
"id": 4525
},
{
"name": "BTN+",
"id": 4526
},
{
"name": "BTV",
"id": 1776
},
{
"name": "BYU (Brigham Young University)",
"id": 7932
},
{
"name": "BYU TV",
"id": 4734
},
{
"name": "Ball State All-Access",
"id": 7884
},
{
"name": "BallerTV",
"id": 7933
},
{
"name": "Bally Sports",
"id": 4166
},
{
"name": "Bally Sports Florida",
"id": 6091
},
{
"name": "Bally Sports Live",
"id": 7934
},
{
"name": "Bally Sports San Diego",
"id": 6187
},
{
"name": "Barstool",
"id": 7937
},
{
"name": "Benfica TV",
"id": 403
},
{
"name": "BetMGM",
"id": 7486
},
{
"name": "Big East Digital Network",
"id": 7935
},
{
"name": "Big Ten Network",
"id": 7938
},
{
"name": "Big Ten Plus",
"id": 7936
},
{
"name": "Billings CW",
"id": 7939
},
{
"name": "BlazerVision",
"id": 7952
},
{
"name": "Bleacher Report App",
"id": 5252
},
{
"name": "Blue Jackets Hockey Network",
"id": 8531
},
{
"name": "Bounce TV",
"id": 7941
},
{
"name": "BoxCast TV",
"id": 7942
},
{
"name": "Braves.TV",
"id": 7943
},
{
"name": "BravesVision",
"id": 7477
},
{
"name": "Brewers.TV",
"id": 7944
},
{
"name": "Bronco All-Access",
"id": 7945
},
{
"name": "Bucks.com",
"id": 7946
},
{
"name": "CBS",
"id": 1427
},
{
"name": "CBS",
"id": 7947
},
{
"name": "CBS 4K",
"id": 7948
},
{
"name": "CBS 8",
"id": 7954
},
{
"name": "CBS 58 Milwaukee",
"id": 7953
},
{
"name": "CBS All Access",
"id": 5319
},
{
"name": "CBS News Sacramento",
"id": 7949
},
{
"name": "CBS Pittsburgh",
"id": 7950
},
{
"name": "CBS Sports Golazo",
"id": 5826
},
{
"name": "CBS Sports Network",
"id": 2266
},
{
"name": "CBSsports.com",
"id": 7951
},
{
"name": "CFL+",
"id": 7539
},
{
"name": "CIAA Network",
"id": 7940
},
{
"name": "CNBC",
"id": 1710
},
{
"name": "CONCACAF GO",
"id": 2829
},
{
"name": "CSURams.com",
"id": 7956
},
{
"name": "CTV",
"id": 2476
},
{
"name": "CW",
"id": 7957
},
{
"name": "CW5 Palm Springs",
"id": 7974
},
{
"name": "CW6",
"id": 7975
},
{
"name": "CW 18",
"id": 7958
},
{
"name": "CW23",
"id": 7973
},
{
"name": "CW 33",
"id": 7959
},
{
"name": "CW 39",
"id": 7961
},
{
"name": "CW 43",
"id": 7960
},
{
"name": "CW 62",
"id": 7963
},
{
"name": "CW App",
"id": 7962
},
{
"name": "CW Detroit 50 WKBD TV",
"id": 6891
},
{
"name": "CW Las Vegas",
"id": 7970
},
{
"name": "CW Los Angeles",
"id": 7964
},
{
"name": "CW New York City",
"id": 7971
},
{
"name": "CW Plus",
"id": 7965
},
{
"name": "CW Portland",
"id": 7966
},
{
"name": "CW Rochester",
"id": 7967
},
{
"name": "CWS Video",
"id": 7976
},
{
"name": "CW San Antonio",
"id": 7968
},
{
"name": "CW Tampa Bay",
"id": 7972
},
{
"name": "CW Tucson",
"id": 7969
},
{
"name": "CW Virginia",
"id": 7955
},
{
"name": "Cardinals.TV",
"id": 7977
},
{
"name": "Centro America TV",
"id": 7801
},
{
"name": "Channel 2",
"id": 5636
},
{
"name": "Channel 3"
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45231/get+tv+channels?country_code=US")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"channel": {
"name": "ABC",
"id": 1428
},
"events": [
{
"sport": {
"name": "American football",
"slug": "american-football",
"id": 63
},
"tournament": {
"name": "NCAA Division FBS, Regular season",
"slug": "regular-season",
"category": {
"name": "USA",
"slug": "usa",
"sport": {
"name": "American football",
"slug": "american-football",
"id": 63
},
"priority": 0,
"id": 1370,
"flag": "usa",
"alpha2": "US",
"fieldTranslations": {
"nameTranslation": {
"ar": "الولايات المتحدة",
"ru": "Соединенные Штаты"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "NCAA Division FBS",
"slug": "ncaa-division-fbs",
"category": {
"name": "USA",
"slug": "usa",
"sport": {
"name": "American football",
"slug": "american-football",
"id": 63
},
"priority": 0,
"id": 1370,
"flag": "usa",
"alpha2": "US",
"fieldTranslations": {
"nameTranslation": {
"ar": "الولايات المتحدة",
"ru": "Соединенные Штаты"
},
"shortNameTranslation": []
}
},
"userCount": 3785,
"liveActivityEnabled": false,
"id": 32199,
"displayInverseHomeAwayTeams": true,
"fieldTranslations": {
"nameTranslation": {
"ru": "НCAA, Дивизион FBS"
},
"shortNameTranslation": []
}
},
"priority": 0,
"id": 174172,
"fieldTranslations": {
"nameTranslation": {
"ru": "Регулярный сезон"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 29,
"name": "Final",
"slug": "final",
"cupRoundType": 1
},
"customId": "hMbscXt",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Utah Utes",
"slug": "utah-utes",
"shortName": "Utah",
"gender": "M",
"sport": {
"name": "American football",
"slug": "american-football",
"id": 63
},
"userCount": 1126,
"nameCode": "UTAH",
"national": false,
"type": 0,
"id": 47352,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "يوتا",
"ru": "ФК Юта Ютс"
},
"shortNameTranslation": {
"ru": "Юта"
}
}
},
"awayTeam": {
"name": "Texas Tech Red Raiders",
"slug": "texas-tech-red-raiders",
"shortName": "Texas Tech",
"gender": "M",
"sport": {
"name": "American football",
"slug": "american-football",
"id": 63
},
"userCount": 1401,
"nameCode": "TTU",
"national": false,
"type": 0,
"id": 4357,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "تيكساس تيك",
"ru": "Техас Тек Ред Рейдерс"
},
"shortNameTranslation": {
"ru": "Техас Тек"
}
}
},
"homeScore": [],
"awayScore": [],
"id": 17651406,
"slug": "utah-utes-texas-tech-red-raiders",
"startTimestamp": 1796432400,
"finalResultOnly": false
},
{
"sport": {
"name": "American football",
"slug": "american-football",
"id": 63
},
"tournament": {
"name": "NCAA Division FBS, Regular season",
"slug": "regular-season",
"category": {
"name": "USA",
"slug": "usa",
"sport": {
"name": "American football",
"slug": "american-football",
"id": 63
},
"priority": 0,
"id": 1370,
"flag": "usa",
"alpha2": "US",
"fieldTranslations": {
"nameTranslation": {
"ar": "الولايات المتحدة",
"ru": "Соединенные Штаты"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "NCAA Division FBS",
"slug": "ncaa-division-fbs",
"category": {
"name": "USA",
"slug": "usa",
"sport": {
"name": "American football",
"slug": "american-football",
"id": 63
},
"priority": 0,
"id": 1370,
"flag": "usa",
"alpha2": "US",
"fieldTranslations": {
"nameTranslation": {
"ar": "الولايات المتحدة",
"ru": "Соединенные Штаты"
},
"shortNameTranslation": []
}
},
"userCount": 3785,
"liveActivityEnabled": false,
"id": 32199,
"displayInverseHomeAwayTeams": true,
"fieldTranslations": {
"nameTranslation": {
"ru": "НCAA, Дивизион FBS"
},
"shortNameTranslation": []
}
},
"priority": 0,
"id": 174172,
"fieldTranslations": {
"nameTranslation": {
"ru": "Регулярный сезон"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 29,
"name": "Final",
"slug": "final",
"cupRoundType": 1
},
"customId": "HLbsiXt",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"homeTeam": {
"name": "Georgia Bulldogs",
"slug": "georgia-bulldogs",
"shortName": "Georgia Bulldogs",
"gender": "M",
"sport": {
"name": "American football",
"slug": "american-football",
"id": 63
},
"userCount": 4404,
"nameCode": "UGA",
"disabled": false,
"national": false,
"type": 0,
"id": 47358,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5"
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45232/get+tv+channel+schedule?channel_id=1428")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"featuredEvents": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 13
},
"customId": "IsT",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 3,
"homeTeam": {
"name": "Tottenham Hotspur",
"slug": "tottenham-hotspur",
"shortName": "Tottenham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1347885,
"nameCode": "TOT",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 33,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#000066",
"text": "#000066"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "توتنهام هوتسبير",
"hi": "टोटेनहैम हॉटस्पर ऍफ़सी",
"ru": "Тоттенхэм Хотспур"
},
"shortNameTranslation": {
"ar": "توتنهام",
"bn": "টটেনহ্যাম",
"hi": "टॉटनहैम"
}
}
},
"awayTeam": {
"name": "Fulham",
"slug": "fulham",
"shortName": "Fulham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 302434,
"nameCode": "FUL",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 43,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "فولهام",
"bn": "ফুলহাম",
"hi": "फुलहम",
"ru": "Фулхэм"
},
"shortNameTranslation": []
}
},
"homeScore": {
"current": 1,
"display": 1,
"period1": 0,
"period2": 1,
"normaltime": 1
},
"awayScore": {
"current": 1,
"display": 1,
"period1": 1,
"period2": 0,
"normaltime": 1
},
"time": {
"injuryTime1": 2,
"injuryTime2": 3,
"currentPeriodStartTimestamp": 1796331803,
"lastPeriodEndTimestamp": 1796330839
},
"changes": {
"changes": [
"status.code",
"status.description",
"status.type"
],
"changeTimestamp": 1796334757
},
"hasGlobalHighlights": true,
"hasXg": true,
"hasEventPlayerStatistics": true,
"hasEventPlayerHeatMap": true,
"detailId": 1,
"crowdsourcingDataDisplayEnabled": false,
"correctAiInsight": false,
"correctHalftimeAiInsight": true,
"id": 16363693,
"slug": "fulham-tottenham-hotspur",
"startTimestamp": 1796328000,
"finalResultOnly": false,
"feedLocked": true,
"isEditor": false,
"eventFilters": {
"category": [
"club"
],
"level": [
"top-competitions",
"pro"
],
"gender": [
"M"
]
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45233/get+unique+tournament+featured+matches?unique_tournament_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"events": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1179580,
"hasPerformanceGraphFeature": true,
"liveActivityEnabled": true,
"country": [],
"id": 17,
"hasEventPlayerStatistics": true,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isGroup": false,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"roundInfo": {
"round": 11
},
"customId": "rsT",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 3,
"venue": {
"city": {
"name": "Manchester",
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 18626
},
"venueCoordinates": {
"latitude": 53.483091,
"longitude": -2.200252
},
"hidden": false,
"slug": "etihad-stadium",
"name": "Etihad Stadium",
"capacity": 53400,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 606,
"fieldTranslations": {
"nameTranslation": {
"ar": "ملعب الإتحاد",
"hi": "क्रेवेन कॉटेज",
"bn": "ইতিহাদ স্টেডিয়াম",
"ru": "Стадион Etihad"
},
"shortNameTranslation": []
},
"stadium": {
"name": "Etihad Stadium",
"capacity": 53400
}
},
"homeTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4159938,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"subTeams": [],
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"awayTeam": {
"name": "Fulham",
"slug": "fulham",
"shortName": "Fulham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 300609,
"nameCode": "FUL",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 43,
"subTeams": [],
"teamColors": {
"primary": "#ffffff",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "فولهام",
"bn": "ফুলহাম",
"hi": "फुलहम",
"ru": "Фулхэм"
},
"shortNameTranslation": []
}
},
"homeScore": {
"current": 1,
"display": 1,
"period1": 0,
"period2": 1,
"normaltime": 1
},
"awayScore": {
"current": 1,
"display": 1,
"period1": 1,
"period2": 0,
"normaltime": 1
},
"time": {
"injuryTime1": 2,
"injuryTime2": 3,
"currentPeriodStartTimestamp": 1795267991,
"lastPeriodEndTimestamp": 1795267058
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45234/get+unique+tournament+scheduled+matches?unique_tournament_id=17&date=2026-11-21")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"winners": [
{
"year": 2026,
"id": 76986,
"team": {
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3717005,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"id": 42,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
}
},
{
"year": 2025,
"id": 61627,
"team": {
"name": "Liverpool FC",
"slug": "liverpool",
"shortName": "Liverpool",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3738749,
"nameCode": "LIV",
"disabled": false,
"national": false,
"type": 0,
"id": 44,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليفربول",
"bn": "লিভারপুল",
"hi": "लिवरपूल",
"ru": "Ливерпуль"
},
"shortNameTranslation": []
}
}
},
{
"year": 2024,
"id": 52186,
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"year": 2023,
"id": 41886,
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"year": 2022,
"id": 37036,
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"year": 2021,
"id": 29415,
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"year": 2020,
"id": 23776,
"team": {
"name": "Liverpool FC",
"slug": "liverpool",
"shortName": "Liverpool",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3738749,
"nameCode": "LIV",
"disabled": false,
"national": false,
"type": 0,
"id": 44,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليفربول",
"bn": "লিভারপুল",
"hi": "लिवरपूल",
"ru": "Ливерпуль"
},
"shortNameTranslation": []
}
}
},
{
"year": 2019,
"id": 17359,
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45235/get+unique+tournament+winners?unique_tournament_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"media": [
{
"title": "Tottenham 1 - 1 Fulham",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=n5ScniZlmJM",
"thumbnailUrl": "https://i.ytimg.com/vi/n5ScniZlmJM/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8184420,
"createdAtTimestamp": 1796341901,
"sourceUrl": "https://www.youtube.com/watch?v=n5ScniZlmJM"
},
{
"title": "Tottenham 1 - 1 Fulham",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=8N4C0iH2Jbs",
"thumbnailUrl": "https://i.ytimg.com/vi/8N4C0iH2Jbs/maxresdefault.jpg",
"mediaType": 6,
"forCountries": [
"BA",
"HR",
"ME",
"MK",
"RS",
"SI"
],
"doFollow": false,
"keyHighlight": false,
"livestream": false,
"removeOnFinish": false,
"id": 8184381,
"createdAtTimestamp": 1796335233,
"sourceUrl": "https://www.youtube.com/watch?v=8N4C0iH2Jbs"
},
{
"title": "Hull 1 - 1 Forest",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=7qk4ydBQURs",
"thumbnailUrl": "https://i.ytimg.com/vi/7qk4ydBQURs/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8184156,
"createdAtTimestamp": 1796288263,
"sourceUrl": "https://www.youtube.com/watch?v=7qk4ydBQURs"
},
{
"title": "Liverpool 2 - 1 Sunderland",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=VKA8pnZ0Mic",
"thumbnailUrl": "https://i.ytimg.com/vi/VKA8pnZ0Mic/hqdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8184135,
"createdAtTimestamp": 1796282615,
"sourceUrl": "https://www.youtube.com/watch?v=VKA8pnZ0Mic"
},
{
"title": "Chelsea 2 - 1 Crystal Palace",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=KiKsF7pZyp0",
"thumbnailUrl": "https://i.ytimg.com/vi/KiKsF7pZyp0/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8183964,
"createdAtTimestamp": 1796256557,
"sourceUrl": "https://www.youtube.com/watch?v=KiKsF7pZyp0"
},
{
"title": "Newcastle 2 - 1 Man Utd",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=R2kX4AU0msU",
"thumbnailUrl": "https://i.ytimg.com/vi/R2kX4AU0msU/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8183959,
"createdAtTimestamp": 1796256111,
"sourceUrl": "https://www.youtube.com/watch?v=R2kX4AU0msU"
},
{
"title": "Brentford 1 - 1 Arsenal",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=MAJ59VKHJ9A",
"thumbnailUrl": "https://i.ytimg.com/vi/MAJ59VKHJ9A/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8183958,
"createdAtTimestamp": 1796256058,
"sourceUrl": "https://www.youtube.com/watch?v=MAJ59VKHJ9A"
},
{
"title": "Aston Villa 2 - 1 Everton",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=WPz5uBx1exk",
"thumbnailUrl": "https://i.ytimg.com/vi/WPz5uBx1exk/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8183957,
"createdAtTimestamp": 1796256048,
"sourceUrl": "https://www.youtube.com/watch?v=WPz5uBx1exk"
},
{
"title": "Man City 2 - 0 Leeds",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=JlrQXI2ra9k",
"thumbnailUrl": "https://i.ytimg.com/vi/JlrQXI2ra9k/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8183956,
"createdAtTimestamp": 1796256034,
"sourceUrl": "https://www.youtube.com/watch?v=JlrQXI2ra9k"
},
{
"title": "Bournemouth 0 - 0 Brighton",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=ff7si1leoUg",
"thumbnailUrl": "https://i.ytimg.com/vi/ff7si1leoUg/maxresdefault.jpg",
"mediaType": 6,
"doFollow": false,
"keyHighlight": true,
"livestream": false,
"removeOnFinish": false,
"id": 8183955,
"createdAtTimestamp": 1796256027,
"sourceUrl": "https://www.youtube.com/watch?v=ff7si1leoUg"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45236/get+unique+tournament+media?unique_tournament_id=17")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"info": {
"season": {
"name": "Premier League 26/27",
"year": "26/27",
"editor": false,
"seasonCoverageInfo": [],
"id": 96668
},
"goals": 358,
"homeTeamWins": 56,
"awayTeamWins": 37,
"draws": 37,
"yellowCards": 542,
"redCards": 24,
"newcomersUpperDivision": [],
"newcomersLowerDivision": [
{
"name": "Ipswich Town",
"slug": "ipswich-town",
"shortName": "Ipswich",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 132977,
"nameCode": "IPS",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 32,
"teamColors": {
"primary": "#0000ff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إيبسويتش تاون",
"hi": "इप्स्विच टाउन",
"ru": "Ипсвич Таун"
},
"shortNameTranslation": {
"ar": "إيبسويتش"
}
}
},
{
"name": "Coventry City",
"slug": "coventry-city",
"shortName": "Coventry",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 124634,
"nameCode": "COC",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 11,
"teamColors": {
"primary": "#0099cc",
"secondary": "#999999",
"text": "#999999"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "كوفنتري سيتي",
"hi": "कोवेंट्री सिटी",
"ru": "Ковентри Сити"
},
"shortNameTranslation": {
"ar": "كوفنتري"
}
}
},
{
"name": "Hull City",
"slug": "hull-city",
"shortName": "Hull",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 131609,
"nameCode": "HUL",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 96,
"teamColors": {
"primary": "#de8f38",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "هال سيتي",
"hi": "हल सिटी",
"ru": "Халл Сити"
},
"shortNameTranslation": {
"ar": "هال سيتي"
}
}
}
],
"newcomersOther": [],
"numberOfCompetitors": 20,
"id": 63201,
"hostCountries": []
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45237/get+season+details?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"cupTrees": [
{
"id": 10850333,
"name": "UEFA Champions League 25/26, Knockout stage",
"tournament": {
"name": "UEFA Champions League, Knockout stage",
"slug": "uefa-champions-league-knockout-stage",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "UEFA Champions League",
"slug": "uefa-champions-league",
"primaryColorHex": "#062b5c",
"secondaryColorHex": "#086aab",
"category": {
"name": "Europe",
"slug": "europe",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 19,
"id": 1465,
"flag": "europe",
"fieldTranslations": {
"nameTranslation": {
"ar": "أوروبا",
"hi": "यूरोप",
"bn": "ইউরোপ",
"ru": "Европа"
},
"shortNameTranslation": []
}
},
"userCount": 1147355,
"liveActivityEnabled": true,
"id": 7,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ar": "دوري أبطال أوروبا",
"hi": "यूईएफए चैंपियंस लीग",
"hr": "UEFA Liga prvaka",
"ru": "Лига чемпионов УЕФА",
"ro": "UEFA Champions League"
},
"shortNameTranslation": []
}
},
"priority": 717,
"isLive": false,
"id": 23,
"fieldTranslations": {
"nameTranslation": {
"hi": "यूईएफए चैंपियंस लीग",
"ar": "دوري أبطال أوروبا",
"bn": "উয়েফা চ্যাম্পিয়ন্স লীগ",
"ru": "Лига чемпионов УЕФА, стадия плей-офф",
"ro": "UEFA Champions League, Faza eliminatorie"
},
"shortNameTranslation": []
}
},
"currentRound": 5,
"rounds": [
{
"order": 1,
"type": 0,
"description": "Playoff round",
"blocks": [
{
"finished": true,
"matchesInRound": 0,
"order": 1,
"participants": [
{
"team": {
"name": "Chelsea",
"slug": "chelsea",
"shortName": "Chelsea",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 2987950,
"nameCode": "CHE",
"disabled": false,
"national": false,
"type": 0,
"id": 38,
"teamColors": {
"primary": "#0310a7",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "تشيلسي",
"bn": "চেলসি",
"hi": "चेल्सी",
"ru": "Челси"
},
"shortNameTranslation": []
}
},
"winner": true,
"order": 1,
"id": 5324819
}
],
"hasNextRoundLink": true,
"id": 2946977,
"events": [],
"blockId": 2536334,
"automaticProgression": false
},
{
"finished": true,
"matchesInRound": 2,
"order": 2,
"result": "4:5",
"homeTeamScore": "4",
"awayTeamScore": "5",
"participants": [
{
"team": {
"name": "AS Monaco",
"slug": "as-monaco",
"shortName": "Monaco",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 452814,
"nameCode": "ASM",
"disabled": false,
"national": false,
"type": 0,
"id": 1653,
"teamColors": {
"primary": "#ffffff",
"secondary": "#ff0000",
"text": "#ff0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "نادي موناكو",
"bn": "এএস মোনাকো",
"hi": "एएस मोनाको",
"ru": "Монако"
},
"shortNameTranslation": {
"ar": "موناكو"
}
}
},
"winner": false,
"order": 1,
"id": 5324820
},
{
"team": {
"name": "Paris Saint-Germain",
"slug": "paris-saint-germain",
"shortName": "PSG",
"gender": "M",
"sport": {
"name": "Football"
}
}
}
]
}
]
}
]
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45238/get+season+cup+trees?unique_tournament_id=7&season_id=76953")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"teams": [
{
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 3715396,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 42,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
{
"name": "Leeds United",
"slug": "leeds-united",
"shortName": "Leeds",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 257548,
"nameCode": "LEE",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 34,
"teamColors": {
"primary": "#ffffff",
"secondary": "#1d4189",
"text": "#1d4189"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليدز يونايتد",
"bn": "লিডস",
"hi": "लीड्स यूनाइटेड",
"ru": "Лидс Юнайтед"
},
"shortNameTranslation": {
"ar": "ليدز",
"hi": "लीड्स",
"ru": "Лидс"
}
}
},
{
"name": "Brighton & Hove Albion",
"slug": "brighton-and-hove-albion",
"shortName": "Brighton",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 447690,
"nameCode": "BHA",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 30,
"teamColors": {
"primary": "#0054a6",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برايتون أند هوف ألبيون",
"hi": "ब्राइटोन एंड होव एल्बिओन ऍफ़सी",
"ru": "Брайтон энд Хоув Альбион"
},
"shortNameTranslation": {
"ar": "برايتون",
"bn": "ব্রাইটন",
"hi": "ब्राइटन"
}
}
},
{
"name": "Brentford",
"slug": "brentford",
"shortName": "Brentford",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 281223,
"nameCode": "BRE",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 50,
"teamColors": {
"primary": "#ffffff",
"secondary": "#ff0000",
"text": "#ff0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برينتفورد",
"bn": "ব্রেন্টফোর্ড",
"hi": "ब्रेंटफोर्ड",
"ru": "Брентфорд"
},
"shortNameTranslation": []
}
},
{
"name": "Sunderland",
"slug": "sunderland",
"shortName": "Sunderland",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"country": {
"alpha2": "EN",
"alpha3": "ENG"
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45239/get+season+teams?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"venues": [
{
"city": {
"name": "Liverpool",
"id": 21511
},
"venueCoordinates": {
"latitude": 53.4251,
"longitude": -3.0028
},
"hidden": true,
"slug": "everton-stadium",
"name": "Hill Dickinson Stadium",
"capacity": 52769,
"id": 50461,
"fieldTranslations": {
"nameTranslation": {
"ru": "Стадион Hill Dickinson"
},
"shortNameTranslation": []
},
"stadium": {
"name": "Hill Dickinson Stadium",
"capacity": 52769
}
},
{
"city": {
"name": "Hull",
"id": 26019
},
"venueCoordinates": {
"latitude": 53.746226,
"longitude": -0.367824
},
"hidden": false,
"slug": "mkm-stadium",
"name": "MKM Stadium",
"capacity": 25586,
"id": 1138,
"fieldTranslations": {
"nameTranslation": {
"ar": "ملعب MKM",
"hi": "एमकेएम स्टेडियम",
"bn": "এমকেএম স্টেডিয়াম",
"ru": "Стадион MKM"
},
"shortNameTranslation": []
},
"stadium": {
"name": "MKM Stadium",
"capacity": 25586
}
},
{
"city": {
"name": "London",
"id": 17960
},
"venueCoordinates": {
"latitude": 51.55504,
"longitude": -0.1084
},
"hidden": false,
"slug": "emirates-stadium",
"name": "Emirates Stadium",
"capacity": 60704,
"id": 624,
"fieldTranslations": {
"nameTranslation": {
"ar": "ملعب الإمارات",
"hi": "एमिरेट्स स्टेडियम",
"bn": "এমিরেটস স্টেডিয়াম",
"ru": "Стадион Emirates"
},
"shortNameTranslation": []
},
"stadium": {
"name": "Emirates Stadium",
"capacity": 60704
}
},
{
"city": {
"name": "Newcastle upon Tyne",
"id": 18572
},
"venueCoordinates": {
"latitude": 54.975469,
"longitude": -1.621874
},
"hidden": false,
"slug": "st-james-park",
"name": "St James' Park",
"capacity": 52409,
"id": 765,
"fieldTranslations": {
"nameTranslation": {
"ar": "بارك سانت جيمس",
"hi": "सेंट जेम्स पार्क",
"bn": "সেন্ট জেমস পার্ক",
"ru": "Стадион St James' Park"
},
"shortNameTranslation": []
},
"stadium": {
"name": "St James' Park",
"capacity": 52409
}
},
{
"city": {
"name": "London",
"id": 17960
},
"venueCoordinates": {
"latitude": 51.474922,
"longitude": -0.221745
},
"hidden": false,
"slug": "craven-cottage",
"name": "Craven Cottage",
"capacity": 29600,
"id": 611,
"fieldTranslations": {
"nameTranslation": {
"ar": "كرافن كوتيج",
"hi": "क्रेवेन कॉटेज",
"bn": "ক্রেভেন কটেজ",
"ru": "Клуб Craven Cottage"
},
"shortNameTranslation": []
},
"stadium": {
"name": "Craven Cottage",
"capacity": 29600
}
},
{
"city": {
"name": "Leeds",
"id": 20183
},
"venueCoordinates": {
"latitude": 53.775644,
"longitude": -1.575748
},
"hidden": false,
"slug": "elland-road",
"name": "Elland Road",
"capacity": 37890,
"id": 2223,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيلاند رود",
"hi": "एलैंड रोड",
"bn": "এল্যান্ড রোড",
"ru": "Стадион Elland Road"
},
"shortNameTranslation": []
},
"stadium": {
"name": "Elland Road",
"capacity": 37890
}
},
{
"city": {
"name": "London",
"id": 17960
},
"venueCoordinates": {
"latitude": 51.490713,
"longitude": -0.28898
},
"hidden": false,
"slug": "brentford-community-stadium",
"name": "Brentford Community Stadium",
"capacity": 17250,
"id": 29716,
"fieldTranslations": {
"nameTranslation": {
"ar": "ملعب برينتفورد المجتمعي",
"hi": "ब्रेंटफोर्ड कम्युनिटी स्टेडियम",
"bn": "ব্রেন্টফোর্ড কমিউনিটি স্টেডিয়াম",
"ru": "Стадион Brentford Community Stadium"
},
"shortNameTranslation": []
},
"stadium": {
"name": "Brentford Community Stadium",
"capacity": 17250
}
},
{
"city": {
"name": "Manchester",
"id": 18626
},
"venueCoordinates": {
"latitude": 53.46311,
"longitude": -2.291387
},
"hidden": false,
"slug": "old-trafford",
"name": "Old Trafford",
"capacity": 74879,
"id": 9,
"fieldTranslations": {
"nameTranslation": {
"ar": "أولد ترافورد",
"hi": "ओल्ड ट्रैफर्ड",
"bn": "ওল্ড ট্র্যাফোর্ড",
"ru": "Стадион Old Trafford"
},
"shortNameTranslation": []
},
"stadium": {
"name": "Old Trafford",
"capacity": 74879
}
},
{
"city": {
"name": "London",
"id": 17960
},
"venueCoordinates": {
"latitude": 51.398243,
"longitude": -0.085255
},
"hidden": false,
"slug": "selhurst-park",
"name": "Selhurst Park",
"capacity": 25456,
"id": 10,
"fieldTranslations": {
"nameTranslation": {
"ar": "سلهارست بارك",
"hi": "सेलहर्स्ट पार्क",
"bn": "সেলহার্স্ট পার্ক",
"ru": "Парк Selhurst"
},
"shortNameTranslation": []
},
"stadium": {
"name": "Selhurst Park",
"capacity": 25456
}
},
{
"city": {
"name": "Manchester",
"id": 18626
},
"venueCoordinates": {
"latitude": 53.483091,
"longitude": -2.200252
},
"hidden": false,
"slug": "etihad-stadium",
"name": "Etihad Stadium",
"capacity": 53400,
"id": 606,
"fieldTranslations": {
"nameTranslation": {
"ar": "ملعب الإتحاد",
"hi": "क्रेवेन कॉटेज",
"bn": "ইতিহাদ স্টেডিয়াম",
"ru": "Стадион Etihad"
},
"shortNameTranslation": []
},
"stadium": {
"name": "Etihad Stadium",
"capacity": 53400
}
},
{
"city": {
"name": "London",
"id": 17960
},
"venueCoordinates": {
"latitude": 51.604036,
"longitude": -0.066153
},
"hidden": false,
"slug": "tottenham-hotspur-stadium"
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45240/get+season+venues?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"tournamentTeamEvents": {
"1": {
"33": [
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1181093,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 13
},
"customId": "IsT",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 3,
"homeTeam": {
"name": "Tottenham Hotspur",
"slug": "tottenham-hotspur",
"shortName": "Tottenham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1345067,
"nameCode": "TOT",
"disabled": false,
"national": false,
"type": 0,
"id": 33,
"teamColors": {
"primary": "#ffffff",
"secondary": "#000066",
"text": "#000066"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "توتنهام هوتسبير",
"hi": "टोटेनहैम हॉटस्पर ऍफ़सी",
"ru": "Тоттенхэм Хотспур"
},
"shortNameTranslation": {
"ar": "توتنهام",
"bn": "টটেনহ্যাম",
"hi": "टॉटनहैम"
}
}
},
"awayTeam": {
"name": "Fulham",
"slug": "fulham",
"shortName": "Fulham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 300656,
"nameCode": "FUL",
"disabled": false,
"national": false,
"type": 0,
"id": 43,
"teamColors": {
"primary": "#ffffff",
"secondary": "#000000",
"text": "#000000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "فولهام",
"bn": "ফুলহাম",
"hi": "फुलहम",
"ru": "Фулхэм"
},
"shortNameTranslation": []
}
},
"homeScore": {
"current": 1,
"display": 1,
"period1": 0,
"period2": 1,
"normaltime": 1
},
"awayScore": {
"current": 1,
"display": 1,
"period1": 1,
"period2": 0,
"normaltime": 1
},
"hasXg": true,
"id": 16363693,
"slug": "fulham-tottenham-hotspur",
"startTimestamp": 1796328000,
"finalResultOnly": false
},
{
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league"
}
}
}
]
}
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45241/get+season+team+matches?unique_tournament_id=17&season_id=96668&type=total")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"topPlayers": {
"rating": [
{
"statistic": 10,
"player": {
"name": "Rio Ngumoha",
"firstName": "Rio Ngumoha",
"slug": "rio-ngumoha",
"shortName": "R. Ngumoha",
"position": "F",
"jerseyNumber": "73",
"userCount": 43984,
"gender": "M",
"sofascoreId": "wmr-3xp",
"id": 1881902,
"fieldTranslations": {
"nameTranslation": {
"ar": "ريو نجوموها",
"bn": "রিও এনগুমোহা",
"hi": "रियो न्गुमोहा",
"ru": "Рио Нгумоа"
},
"shortNameTranslation": {
"ar": "ر. نجوموها",
"bn": "আর. এনগুমোহা",
"hi": "आर. न्गुमोहा",
"ru": "Р. Нгумоа"
}
}
},
"event": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 11
},
"customId": "KU",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Liverpool FC",
"slug": "liverpool",
"shortName": "Liverpool",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3736448,
"nameCode": "LIV",
"disabled": false,
"national": false,
"type": 0,
"id": 44,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليفربول",
"bn": "লিভারপুল",
"hi": "लिवरपूल",
"ru": "Ливерпуль"
},
"shortNameTranslation": []
}
},
"awayTeam": {
"name": "Manchester United",
"slug": "manchester-united",
"shortName": "Man Utd",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3813288,
"nameCode": "MUN",
"disabled": false,
"national": false,
"type": 0,
"id": 35,
"teamColors": {
"primary": "#ff0000",
"secondary": "#373737",
"text": "#373737"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر يونايتد",
"hi": "मेनचेस्टर यूनाइटेड ऍफ़सी",
"ru": "Манчестер Юнайтед"
},
"shortNameTranslation": {
"ar": "مانشستر يونايتد",
"bn": "ম্যান ইউনাইটেড",
"hi": "मैन यूनाइटेड"
}
}
},
"homeScore": {
"current": 4,
"display": 4,
"period1": 2,
"period2": 2,
"normaltime": 4
},
"awayScore": {
"current": 0,
"display": 0,
"period1": 0,
"period2": 0,
"normaltime": 0
},
"hasXg": true,
"id": 16363660,
"slug": "liverpool-fc-manchester-united",
"startTimestamp": 1795365000,
"finalResultOnly": false
}
},
{
"statistic": 10
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45242/get+season+top+players+per+game?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"topTeams": {
"avgRating": [
{
"team": {
"name": "Brighton & Hove Albion",
"slug": "brighton-and-hove-albion",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 447690,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 30,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برايتون أند هوف ألبيون",
"hi": "ब्राइटोन एंड होव एल्बिओन ऍफ़सी",
"ru": "Брайтон энд Хоув Альбион"
},
"shortNameTranslation": {
"ar": "برايتون",
"bn": "ব্রাইটন",
"hi": "ब्राइटन"
}
}
},
"statistics": {
"avgRating": 7.7969230769231,
"avgRatingVersion": 2,
"id": 91584,
"matches": 13,
"awardedMatches": 0
}
},
{
"team": {
"name": "Liverpool FC",
"slug": "liverpool",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3736448,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 44,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليفربول",
"bn": "লিভারপুল",
"hi": "लिवरपूल",
"ru": "Ливерпуль"
},
"shortNameTranslation": []
}
},
"statistics": {
"avgRating": 7.7438461538462,
"avgRatingVersion": 2,
"id": 91702,
"matches": 13,
"awardedMatches": 0
}
},
{
"team": {
"name": "Arsenal",
"slug": "arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3715396,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 42,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"statistics": {
"avgRating": 7.6984615384615,
"avgRatingVersion": 2,
"id": 90971,
"matches": 13,
"awardedMatches": 0
}
},
{
"team": {
"name": "Brentford",
"slug": "brentford",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 281223,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 50,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برينتفورد",
"bn": "ব্রেন্টফোর্ড",
"hi": "ब्रेंटफोर्ड",
"ru": "Брентфорд"
},
"shortNameTranslation": []
}
},
"statistics": {
"avgRating": 7.65,
"avgRatingVersion": 2,
"id": 91377,
"matches": 13,
"awardedMatches": 0
}
},
{
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"statistics": {
"avgRating": 7.6276923076923,
"avgRatingVersion": 2,
"id": 91587,
"matches": 13,
"awardedMatches": 0
}
},
{
"team": {
"name": "Tottenham Hotspur",
"slug": "tottenham-hotspur",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1347885,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 33,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
}
}
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45243/get+season+top+teams?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"topPlayers": {
"rating": [
{
"statistics": {
"rating": 7.8615384615385,
"id": 3303151,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Jan Paul van Hecke",
"slug": "jan-paul-van-hecke",
"shortName": "J. P. van Hecke",
"position": "D",
"userCount": 11514,
"gender": "M",
"id": 962012,
"fieldTranslations": {
"nameTranslation": {
"ar": "جان بول فان هيك",
"bn": "জান পল ভ্যান হেকে",
"hi": "जान पॉल वैन हेक",
"ru": "Ян Паул ван Хекке"
},
"shortNameTranslation": {
"ar": "ج. ب. فان هيك",
"bn": "জে. পি. ভ্যান হেকে",
"hi": "जे.पी. वैन हेक",
"ru": "Я. ван Хекке"
}
}
},
"team": {
"name": "Tottenham Hotspur",
"slug": "tottenham-hotspur",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1347885,
"national": false,
"type": 0,
"id": 33,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "توتنهام هوتسبير",
"hi": "टोटेनहैम हॉटस्पर ऍफ़सी",
"ru": "Тоттенхэм Хотспур"
},
"shortNameTranslation": {
"ar": "توتنهام",
"bn": "টটেনহ্যাম",
"hi": "टॉटनहैम"
}
}
}
},
{
"statistics": {
"rating": 7.6769230769231,
"id": 3307710,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Bart Verbruggen",
"slug": "bart-verbruggen",
"shortName": "B. Verbruggen",
"position": "G",
"userCount": 9059,
"gender": "M",
"id": 994363,
"fieldTranslations": {
"nameTranslation": {
"ar": "بارت فيربروغين",
"bn": "বার্ট ভারব্রুগেন",
"hi": "बार्ट वर्ब्रुगेन",
"ru": "Барт Вербругген"
},
"shortNameTranslation": {
"ar": "ب. فيربروغين",
"bn": "বি. ভারব্রুগেন",
"hi": "बी. वर्ब्रुगेन",
"ru": "Б. Вербругген"
}
}
},
"team": {
"name": "Brighton & Hove Albion",
"slug": "brighton-and-hove-albion",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 447690,
"national": false,
"type": 0,
"id": 30,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برايتون أند هوف ألبيون",
"hi": "ब्राइटोन एंड होव एल्बिओन ऍफ़सी",
"ru": "Брайтон энд Хоув Альбион"
},
"shortNameTranslation": {
"ar": "برايتون",
"bn": "ব্রাইটন",
"hi": "ब्राइटन"
}
}
}
},
{
"statistics": {
"rating": 7.5923076923077,
"id": 3307766,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Erling Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"userCount": 1082750,
"gender": "M",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"statistics": {
"rating": 7.5555555555556,
"id": 3300351,
"type": "overall",
"appearances": 10,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Granit Xhaka",
"slug": "granit-xhaka",
"shortName": "G. Xhaka",
"position": "M",
"userCount": 17707,
"gender": "M",
"id": 117777
}
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45244/get+season+top+ratings?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"topFollowedPlayers": [
{
"player": {
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"jerseyNumber": "9",
"userCount": 1082750,
"gender": "M",
"sofascoreId": "ghm-8ni",
"country": {
"alpha2": "NO",
"alpha3": "NOR",
"name": "Norway",
"slug": "norway"
},
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
},
{
"player": {
"name": "Cole Palmer",
"slug": "cole-palmer",
"shortName": "C. Palmer",
"position": "M",
"jerseyNumber": "10",
"userCount": 299924,
"gender": "M",
"sofascoreId": "hii-hbd",
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 982780,
"fieldTranslations": {
"nameTranslation": {
"ar": "كول بالمر",
"bn": "কোল পামার",
"hi": "कोल पाल्मर",
"ru": "Коул Палмер"
},
"shortNameTranslation": {
"ar": "ك. بالمر",
"bn": "সি. পামার",
"hi": "सी. पाल्मर",
"ru": "К. Палмер"
}
}
},
"team": {
"name": "Chelsea",
"slug": "chelsea",
"shortName": "Chelsea",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 2986008,
"nameCode": "CHE",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 38,
"teamColors": {
"primary": "#0310a7",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "تشيلسي",
"bn": "চেলসি",
"hi": "चेल्सी",
"ru": "Челси"
},
"shortNameTranslation": []
}
}
},
{
"player": {
"name": "Bruno Fernandes",
"firstName": "Bruno",
"lastName": "Fernandes",
"slug": "bruno-fernandes",
"shortName": "B. Fernandes",
"position": "M",
"jerseyNumber": "8",
"userCount": 297354,
"gender": "M",
"sofascoreId": "wta-i8k",
"country": {
"alpha2": "PT",
"alpha3": "PRT",
"name": "Portugal",
"slug": "portugal"
},
"id": 288205,
"fieldTranslations": {
"nameTranslation": {
"ar": "برونو فيرنانديز",
"bn": "ব্রুনো ফার্নান্দেস",
"hi": "ब्रूनो फर्नांडीस",
"ru": "Бруну Фернандеш"
},
"shortNameTranslation": {
"ar": "ب. فرنانديز",
"bn": "বি. ফার্নান্দেস",
"hi": "बी. फर्नांडीस",
"ru": "Б. Фернандеш"
}
}
},
"team": {
"name": "Manchester United",
"slug": "manchester-united",
"shortName": "Man Utd",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3813288,
"nameCode": "MUN",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 35,
"teamColors": {
"primary": "#ff0000",
"secondary": "#373737",
"text": "#373737"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر يونايتد",
"hi": "मेनचेस्टर यूनाइटेड ऍफ़सी",
"ru": "Манчестер Юнайтед"
},
"shortNameTranslation": {
"ar": "مانشستر يونايتد",
"bn": "ম্যান ইউনাইটেড",
"hi": "मैन यूनाइटेड"
}
}
}
},
{
"player": {
"name": "Marcus Rashford",
"firstName": "Marcus",
"lastName": "Rashford",
"slug": "marcus-rashford",
"shortName": "M. Rashford",
"position": "F",
"jerseyNumber": "9",
"userCount": 284435,
"gender": "M",
"sofascoreId": "pfe-u27",
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 814590,
"fieldTranslations": {
"nameTranslation": {
"ar": "ماركوس راشفورد",
"bn": "মার্কাস রাশফোর্ড",
"hi": "मार्कस रैशफोर्ड",
"ru": "Маркус Рашфорд"
},
"shortNameTranslation": {
"ar": "م. راشفورد",
"bn": "এম. রাশফোর্ড"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45245/get+season+top+followed+players?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"teams": [
{
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3717005,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"id": 42,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
{
"name": "Aston Villa",
"slug": "aston-villa",
"shortName": "Aston Villa",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 944975,
"nameCode": "AVL",
"disabled": false,
"national": false,
"type": 0,
"id": 40,
"teamColors": {
"primary": "#670e36",
"secondary": "#94bee5",
"text": "#94bee5"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أستون فيلا",
"bn": "অ্যাস্টন ভিলা",
"hi": "एस्टन विला",
"ru": "Астон Вилла"
},
"shortNameTranslation": []
}
},
{
"name": "Bournemouth",
"slug": "bournemouth",
"shortName": "Bournemouth",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 329505,
"nameCode": "BOU",
"disabled": false,
"national": false,
"type": 0,
"id": 60,
"teamColors": {
"primary": "#000000",
"secondary": "#cc0000",
"text": "#cc0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "بورنموث",
"bn": "বোর্নেমাউথ",
"hi": "बोर्नमाउथ",
"ru": "Борнмут"
},
"shortNameTranslation": []
}
},
{
"name": "Brentford",
"slug": "brentford",
"shortName": "Brentford",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 281162,
"nameCode": "BRE",
"disabled": false,
"national": false,
"type": 0,
"id": 50,
"teamColors": {
"primary": "#ffffff",
"secondary": "#ff0000",
"text": "#ff0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برينتفورد",
"bn": "ব্রেন্টফোর্ড",
"hi": "ब्रेंटफोर्ड",
"ru": "Брентфорд"
},
"shortNameTranslation": []
}
},
{
"name": "Brighton & Hove Albion",
"slug": "brighton-and-hove-albion",
"shortName": "Brighton",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 447247,
"nameCode": "BHA",
"disabled": false,
"national": false,
"type": 0,
"id": 30,
"teamColors": {
"primary": "#0054a6",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برايتون أند هوف ألبيون",
"hi": "ब्राइटोन एंड होव एल्बिओन ऍफ़सी",
"ru": "Брайтон энд Хоув Альбион"
},
"shortNameTranslation": {
"ar": "برايتون",
"bn": "ব্রাইটন",
"hi": "ब्राइटन"
}
}
},
{
"name": "Chelsea",
"slug": "chelsea",
"shortName": "Chelsea",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 2987950,
"nameCode": "CHE",
"disabled": false,
"national": false,
"type": 0,
"id": 38,
"teamColors": {
"primary": "#0310a7",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "تشيلسي",
"bn": "চেলসি",
"hi": "चेल्सी",
"ru": "Челси"
},
"shortNameTranslation": []
}
},
{
"name": "Coventry City",
"slug": "coventry-city",
"shortName": "Coventry",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 124382,
"nameCode": "COC",
"disabled": false,
"national": false,
"type": 0,
"id": 11,
"teamColors": {
"primary": "#0099cc",
"secondary": "#999999",
"text": "#999999"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "كوفنتري سيتي",
"hi": "कोवेंट्री सिटी",
"ru": "Ковентри Сити"
},
"shortNameTranslation": {
"ar": "كوفنتري"
}
}
},
{
"name": "Crystal Palace",
"slug": "crystal-palace",
"shortName": "Crystal Palace",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 386189,
"nameCode": "CRY",
"disabled": false,
"national": false,
"type": 0,
"id": 7,
"teamColors": {
"primary": "#0033ff",
"secondary": "#b90d2b",
"text": "#b90d2b"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "كريستال بالاس",
"bn": "ক্রিস্টাল প্যালেস",
"hi": "क्रिस्टल पैलेस",
"ru": "Кристал Пэлас"
},
"shortNameTranslation": []
}
},
{
"name": "Everton",
"slug": "everton",
"shortName": "Everton",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 340113,
"nameCode": "EVE",
"disabled": false,
"national": false,
"type": 0,
"id": 48,
"teamColors": {
"primary": "#274488",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "إيفرتون",
"bn": "এভারটন",
"hi": "एवर्टन",
"ru": "Эвертон"
},
"shortNameTranslation": []
}
},
{
"name": "Fulham",
"slug": "fulham",
"shortName": "Fulham",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 300656,
"nameCode": "FUL",
"disabled": false,
"national": false,
"type": 0,
"id": 43
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45246/get+season+player+statistics+info?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"periods": [
{
"id": 31280,
"type": "round",
"periodName": "round",
"sequence": 12,
"createdAtTimestamp": 1796030439,
"round": {
"round": 12,
"name": "12",
"slug": "12"
},
"startDateTimestamp": 12
},
{
"id": 31149,
"type": "round",
"periodName": "round",
"sequence": 11,
"createdAtTimestamp": 1795507572,
"round": {
"round": 11,
"name": "11",
"slug": "11"
},
"startDateTimestamp": 11
},
{
"id": 30509,
"type": "round",
"periodName": "round",
"sequence": 10,
"createdAtTimestamp": 1794215788,
"round": {
"round": 10,
"name": "10",
"slug": "10"
},
"startDateTimestamp": 10
},
{
"id": 30363,
"type": "round",
"periodName": "round",
"sequence": 9,
"createdAtTimestamp": 1793694759,
"round": {
"round": 9,
"name": "9",
"slug": "9"
},
"startDateTimestamp": 9
},
{
"id": 30076,
"type": "round",
"periodName": "round",
"sequence": 8,
"createdAtTimestamp": 1793004447,
"round": {
"round": 8,
"name": "8",
"slug": "8"
},
"startDateTimestamp": 8
},
{
"id": 29912,
"type": "round",
"periodName": "round",
"sequence": 7,
"createdAtTimestamp": 1792480958,
"round": {
"round": 7,
"name": "7",
"slug": "7"
},
"startDateTimestamp": 7
},
{
"id": 29728,
"type": "round",
"periodName": "round",
"sequence": 6,
"createdAtTimestamp": 1791875900,
"round": {
"round": 6,
"name": "6",
"slug": "6"
},
"startDateTimestamp": 6
},
{
"id": 29321,
"type": "round",
"periodName": "round",
"sequence": 5,
"createdAtTimestamp": 1789976154,
"round": {
"round": 5,
"name": "5",
"slug": "5"
},
"startDateTimestamp": 5
},
{
"id": 29166,
"type": "round",
"periodName": "round",
"sequence": 4,
"createdAtTimestamp": 1789458220,
"round": {
"round": 4,
"name": "4",
"slug": "4"
},
"startDateTimestamp": 4
},
{
"id": 28908,
"type": "round",
"periodName": "round",
"sequence": 3,
"createdAtTimestamp": 1788764701,
"round": {
"round": 3,
"name": "3",
"slug": "3"
},
"startDateTimestamp": 3
},
{
"id": 28789,
"type": "round",
"periodName": "round",
"sequence": 2,
"createdAtTimestamp": 1788249594,
"round": {
"round": 2,
"name": "2",
"slug": "2"
},
"startDateTimestamp": 2
},
{
"id": 28630,
"type": "round",
"periodName": "round",
"sequence": 1,
"createdAtTimestamp": 1787641442,
"round": {
"round": 1,
"name": "1",
"slug": "1"
},
"startDateTimestamp": 1
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45247/get+season+team+of+the+week+periods?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"formation": "3-2-4-1",
"players": [
{
"team": {
"name": "Brentford",
"slug": "brentford",
"shortName": "Brentford",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 281162,
"nameCode": "BRE",
"disabled": false,
"national": false,
"type": 0,
"id": 50,
"teamColors": {
"primary": "#ffffff",
"secondary": "#ff0000",
"text": "#ff0000"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برينتفورد",
"bn": "ব্রেন্টফোর্ড",
"hi": "ब्रेंटफोर्ड",
"ru": "Брентфорд"
},
"shortNameTranslation": []
}
},
"rating": "7.05",
"id": 372110,
"type": "rated",
"player": {
"name": "Caoimhin Kelleher",
"firstName": "Caoimhin",
"lastName": "Kelleher",
"slug": "caoimhin-kelleher",
"shortName": "C. Kelleher",
"position": "G",
"jerseyNumber": "1",
"userCount": 8259,
"gender": "M",
"sofascoreId": "rwg-jum",
"id": 827362,
"fieldTranslations": {
"nameTranslation": {
"ar": "كاويمن كيليهير",
"bn": "কাওইমহিন কেলেহার",
"hi": "काओइमहिन केल्हेर",
"ru": "Коимин Келлехер"
},
"shortNameTranslation": {
"ar": "ك. كيليهير",
"bn": "সি. কেলেহার",
"hi": "सी. केल्हेर",
"ru": "К. Келлехер"
}
}
},
"order": 1
},
{
"team": {
"name": "Arsenal",
"slug": "arsenal",
"shortName": "Arsenal",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3717005,
"nameCode": "ARS",
"disabled": false,
"national": false,
"type": 0,
"id": 42,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "أرسنال",
"bn": "আর্সেনাল",
"hi": "आर्सेनल",
"ru": "Арсенал"
},
"shortNameTranslation": []
}
},
"rating": "7.27",
"id": 372108,
"type": "rated",
"player": {
"name": "Gabriel Magalhães",
"firstName": "Gabriel",
"lastName": "Magalhães",
"slug": "gabriel-magalhaes",
"shortName": "G. Magalhães",
"position": "D",
"jerseyNumber": "6",
"userCount": 68803,
"gender": "M",
"sofascoreId": "8e3-rhw",
"id": 869792,
"fieldTranslations": {
"nameTranslation": {
"ar": "غابرييل ماغالهايس",
"bn": "গ্যাব্রিয়েল ম্যাগালহায়েস",
"hi": "गेब्रियल मैगलहेस",
"ru": "Габриэл Магальяйнс"
},
"shortNameTranslation": {
"ar": "غ. ماغالهايس",
"bn": "গ্যাব্রিয়েল",
"hi": "गेब्रियल मैगलहेस",
"ru": "Г. Магальяйнс"
}
}
},
"order": 2
},
{
"team": {
"name": "Liverpool FC",
"slug": "liverpool",
"shortName": "Liverpool",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3738749,
"nameCode": "LIV",
"disabled": false,
"national": false,
"type": 0,
"id": 44,
"teamColors": {
"primary": "#cc0000",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليفربول",
"bn": "লিভারপুল",
"hi": "लिवरपूल",
"ru": "Ливерпуль"
},
"shortNameTranslation": []
}
},
"rating": "7.26",
"id": 372107,
"type": "rated",
"player": {
"name": "Virgil van Dijk",
"firstName": "Virgil",
"lastName": "van Dijk",
"slug": "virgil-van-dijk",
"shortName": "V. van Dijk",
"position": "D",
"jerseyNumber": "4",
"userCount": 81726,
"gender": "M",
"sofascoreId": "b24-3rq",
"id": 151545,
"fieldTranslations": {
"nameTranslation": {
"ar": "فيرجيل فان دايك",
"bn": "ভার্জিল ভ্যান ডাইক",
"hi": "वर्जिल वान डिक",
"ru": "Вирджил ван Дейк"
},
"shortNameTranslation": {
"ar": "ف. فان دايك",
"bn": "ভি. ভ্যান ডাইক",
"hi": "वी. वान डिक",
"ru": "В. ван Дейк"
}
}
},
"order": 3
},
{
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4166685,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"rating": "7.30",
"id": 372106,
"type": "rated",
"player": {
"name": "Marc Guéhi",
"firstName": "Marc",
"lastName": "Guehi",
"slug": "marc-guehi",
"shortName": "M. Guéhi",
"position": "D",
"jerseyNumber": "6",
"userCount": 34162,
"gender": "M",
"sofascoreId": "cht-bng",
"id": 877994,
"fieldTranslations": {
"nameTranslation": {
"ar": "مارك غيهي",
"bn": "মার্ক গুয়েহি",
"hi": "मार्क गुएही",
"ru": "Марк Гехи"
}
}
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45248/get+season+team+of+the+season?unique_tournament_id=17&season_id=76986")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"player": {
"name": "Bruno Fernandes",
"firstName": "Bruno",
"lastName": "Fernandes",
"slug": "bruno-fernandes",
"shortName": "B. Fernandes",
"position": "M",
"positionsDetailed": [
"AM",
"MC",
"DM"
],
"jerseyNumber": "8",
"userCount": 297484,
"gender": "M",
"sofascoreId": "wta-i8k",
"id": 288205,
"fieldTranslations": {
"nameTranslation": {
"ar": "برونو فيرنانديز",
"bn": "ব্রুনো ফার্নান্দেস",
"hi": "ब्रूनो फर्नांडीस",
"ru": "Бруну Фернандеш"
},
"shortNameTranslation": {
"ar": "ب. فرنانديز",
"bn": "বি. ফার্নান্দেস",
"hi": "बी. फर्नांडीस",
"ru": "Б. Фернандеш"
}
}
},
"team": {
"name": "Manchester United",
"slug": "manchester-united",
"shortName": "Man Utd",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 3813851,
"nameCode": "MUN",
"disabled": false,
"national": false,
"type": 0,
"id": 35,
"teamColors": {
"primary": "#ff0000",
"secondary": "#373737",
"text": "#373737"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر يونايتد",
"hi": "मेनचेस्टर यूनाइटेड ऍफ़सी",
"ru": "Манчестер Юнайтед"
},
"shortNameTranslation": {
"ar": "مانشستر يونايتد",
"bn": "ম্যান ইউনাইটেড",
"hi": "मैन यूनाइटेड"
}
}
},
"statistics": {
"rating": 7.6057142857143,
"appearances": 35,
"type": "overall",
"id": 0
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45249/get+season+player+of+the+season?unique_tournament_id=17&season_id=76986")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"topPlayers": {
"rating": [
{
"statistics": {
"rating": 7.8615384615385,
"id": 3303151,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Jan Paul van Hecke",
"slug": "jan-paul-van-hecke",
"shortName": "J. P. van Hecke",
"position": "D",
"userCount": 11514,
"gender": "M",
"id": 962012,
"fieldTranslations": {
"nameTranslation": {
"ar": "جان بول فان هيك",
"bn": "জান পল ভ্যান হেকে",
"hi": "जान पॉल वैन हेक",
"ru": "Ян Паул ван Хекке"
},
"shortNameTranslation": {
"ar": "ج. ب. فان هيك",
"bn": "জে. পি. ভ্যান হেকে",
"hi": "जे.पी. वैन हेक",
"ru": "Я. ван Хекке"
}
}
},
"team": {
"name": "Tottenham Hotspur",
"slug": "tottenham-hotspur",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 1347885,
"national": false,
"type": 0,
"id": 33,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "توتنهام هوتسبير",
"hi": "टोटेनहैम हॉटस्पर ऍफ़सी",
"ru": "Тоттенхэм Хотспур"
},
"shortNameTranslation": {
"ar": "توتنهام",
"bn": "টটেনহ্যাম",
"hi": "टॉटनहैम"
}
}
}
},
{
"statistics": {
"rating": 7.6769230769231,
"id": 3307710,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Bart Verbruggen",
"slug": "bart-verbruggen",
"shortName": "B. Verbruggen",
"position": "G",
"userCount": 9059,
"gender": "M",
"id": 994363,
"fieldTranslations": {
"nameTranslation": {
"ar": "بارت فيربروغين",
"bn": "বার্ট ভারব্রুগেন",
"hi": "बार्ट वर्ब्रुगेन",
"ru": "Барт Вербругген"
},
"shortNameTranslation": {
"ar": "ب. فيربروغين",
"bn": "বি. ভারব্রুগেন",
"hi": "बी. वर्ब्रुगेन",
"ru": "Б. Вербругген"
}
}
},
"team": {
"name": "Brighton & Hove Albion",
"slug": "brighton-and-hove-albion",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 447690,
"national": false,
"type": 0,
"id": 30,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "برايتون أند هوف ألبيون",
"hi": "ब्राइटोन एंड होव एल्बिओन ऍफ़सी",
"ru": "Брайтон энд Хоув Альбион"
},
"shortNameTranslation": {
"ar": "برايتون",
"bn": "ব্রাইটন",
"hi": "ब्राइटन"
}
}
}
},
{
"statistics": {
"rating": 7.5923076923077,
"id": 3307766,
"type": "overall",
"appearances": 13,
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
}
},
"playedEnough": true,
"player": {
"name": "Erling Haaland",
"slug": "erling-haaland",
"shortName": "E. Haaland",
"position": "F",
"userCount": 1082750,
"gender": "M",
"id": 839956,
"fieldTranslations": {
"nameTranslation": {
"ar": "إيرلينغ هالاند",
"bn": "এরলিং হালান্ড",
"hi": "एर्लिंग हालैंड",
"ru": "Эрлинг Холанд"
},
"shortNameTranslation": {
"ar": "إ. هالاند",
"bn": "ই. হালান্ড",
"hi": "ई. हालैंड",
"ru": "Э. Холанд"
}
}
},
"team": {
"name": "Manchester City",
"slug": "manchester-city",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#374df5",
"secondary": "#374df5",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
}
]
},
"statisticsType": {
"sportSlug": "football",
"statisticsType": "player"
},
"playerOfTheTournament": false
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45250/get+season+player+of+the+season+race?unique_tournament_id=17&season_id=96668")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"venue": {
"city": {
"name": "Manchester",
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 18626
},
"venueCoordinates": {
"latitude": 53.483091,
"longitude": -2.200252
},
"hidden": false,
"slug": "etihad-stadium",
"name": "Etihad Stadium",
"capacity": 53400,
"mainTeams": [
{
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
}
],
"country": {
"alpha2": "EN",
"alpha3": "ENG",
"name": "England",
"slug": "england"
},
"id": 606,
"fieldTranslations": {
"nameTranslation": {
"ar": "ملعب الإتحاد",
"hi": "क्रेवेन कॉटेज",
"bn": "ইতিহাদ স্টেডিয়াম",
"ru": "Стадион Etihad"
},
"shortNameTranslation": []
},
"stadium": {
"name": "Etihad Stadium",
"capacity": 53400
}
},
"statistics": {
"totalMatches": 389,
"homeTeamGoalsScored": 1021,
"awayTeamGoalsScored": 361,
"avgRedCardsPerGame": 0.12082262210797,
"avgCornerKicksPerGame": 17.426735218509,
"homeTeamWinsPercentage": 73.007712082262,
"awayTeamWinsPercentage": 13.881748071979,
"drawsPercentage": 13.110539845758
},
"sportStatistics": {
"football": {
"totalMatches": 389,
"goalsScored": 1382,
"homeTeamWinsPercentage": 73.007712082262,
"drawsPercentage": 13.110539845758
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45251/get+venue+details?venue_id=606")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"previousEvent": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 13
},
"customId": "rsJ",
"status": {
"code": 100,
"description": "Ended",
"type": "finished"
},
"winnerCode": 1,
"homeTeam": {
"name": "Manchester City",
"slug": "manchester-city",
"shortName": "Man City",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 4163899,
"nameCode": "MCI",
"disabled": false,
"national": false,
"type": 0,
"id": 17,
"teamColors": {
"primary": "#66ccff",
"secondary": "#ffffff",
"text": "#ffffff"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "مانشستر سيتي",
"hi": "मेनचेस्टर सिटी ऍफ़सी",
"ru": "Манчестер Сити"
},
"shortNameTranslation": {
"ar": "مانشستر سيتي",
"bn": "ম্যান সিটি",
"hi": "मैन सिटी"
}
}
},
"awayTeam": {
"name": "Leeds United",
"slug": "leeds-united",
"shortName": "Leeds",
"gender": "M",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"userCount": 257548,
"nameCode": "LEE",
"disabled": false,
"national": false,
"type": 0,
"id": 34,
"teamColors": {
"primary": "#ffffff",
"secondary": "#1d4189",
"text": "#1d4189"
},
"fieldTranslations": {
"nameTranslation": {
"ar": "ليدز يونايتد",
"bn": "লিডস",
"hi": "लीड्स यूनाइटेड",
"ru": "Лидс Юнайтед"
},
"shortNameTranslation": {
"ar": "ليدز",
"hi": "लीड्स",
"ru": "Лидс"
}
}
},
"homeScore": {
"current": 2,
"display": 2,
"period1": 2,
"period2": 0,
"normaltime": 2
},
"awayScore": {
"current": 0,
"display": 0,
"period1": 0,
"period2": 0,
"normaltime": 0
},
"hasXg": true,
"id": 16363689,
"slug": "leeds-united-manchester-city",
"startTimestamp": 1796239800,
"finalResultOnly": false
},
"nextEvent": {
"eventState": [],
"tournament": {
"name": "Premier League",
"slug": "premier-league",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"uniqueTournament": {
"name": "Premier League",
"slug": "premier-league",
"primaryColorHex": "#3c1c5a",
"secondaryColorHex": "#f80158",
"category": {
"name": "England",
"slug": "england",
"sport": {
"name": "Football",
"slug": "football",
"id": 1
},
"priority": 10,
"id": 1,
"flag": "england",
"alpha2": "EN",
"fieldTranslations": {
"nameTranslation": {
"ar": "إنجلترا",
"hi": "इंग्लैंड",
"bn": "ইংল্যান্ড",
"ru": "Англия"
},
"shortNameTranslation": []
}
},
"userCount": 1180344,
"liveActivityEnabled": true,
"id": 17,
"displayInverseHomeAwayTeams": false,
"fieldTranslations": {
"nameTranslation": {
"ar": "الدوري الإنجليزي الممتاز",
"hi": "प्रिमियर लीग",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"priority": 704,
"isLive": false,
"id": 1,
"fieldTranslations": {
"nameTranslation": {
"hi": "प्रिमियर लीग",
"ar": "الدوري الإنجليزي الممتاز",
"bn": "প্রিমিয়ার লীগ",
"ru": "Премьер-лига"
},
"shortNameTranslation": []
}
},
"roundInfo": {
"round": 15
},
"customId": "rN",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
}
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45252/get+venue+near+matches?venue_id=606")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"sports": [
{
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"matchCount": 389
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606")
.method("GET", null)
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
String responseData = response.body().string();
System.out.println(responseData);
} else {
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15972/sofascore+pro+api/45253/get+venue+sports?venue_id=606")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 SofaScore 专业版 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
原始体育数据:实时比分、比赛、阵容、统计数据、势头、热图、球员评分、赔率、下跌赔率、球队、球员、积分榜和排名
使用运动类别端点查找类别 ID,然后使用类别唯一锦标赛端点查找赛事 ID。唯一锦标赛赛季端点会列出某项赛事的赛季 ID。这些 ID 可用于在相关请求中选择相应实体
使用“全部搜索”并输入文本查询。结果可能包括球队、球员、比赛、赛事、经理、裁判和场馆。使用详情或统计数据端点前,请检查每个结果的实体类型和 ID
回复包含分钟和值的点。正值表示主队势头占优,负值表示客队势头占优。按分钟顺序绘制这些点,可直观呈现比赛中进攻压力的变化
每个热力图点都包含球员在球场上活动的 x 和 y 坐标。使用这些点绘制空间活动图;响应提供的是坐标,而不是预先渲染的图像
排名响应包含一个表格列表。每个表格的类型标明其范围,例如总排名、主场或客场。条目提供球队排名及相关表格数据,因此在显示或比较排名之前,请先选择所需的表格类型
该端点返回分页的球员结果,包含进球、助攻、预期进球、抢断和评分等统计字段。使用可用的排序和筛选条件,按某项统计数据、位置、球队或出场条件聚焦比较
射门地图列出了每次个人射门尝试及其详细信息,例如球员、位置、结果以及可用时的预期进球数。可用它比较射门位置和质量,或直观呈现进攻机会;它是比赛汇总统计数据的补充
某些数据(例如阵容、统计数据或势头)可能无法用于某场比赛或某项运动。在呈现这些数据之前,请检查响应是否包含预期的集合或字段,并将空集合视为没有数据,而不是数值为零的结果