SofaScore Live Football API

API ID 13870

Live football scores and match data from SofaScore feeds. Fixtures, stats and incidents.

API 文档

端点

请求
返回所有正在进行的足球比赛 标准化的JSON包括球队、比分、状态、赛事和SofaScore事件ID
Endpoint ID: 31923
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31923/sofascore+football+live+matches
输入参数

SofaScore 足球实时比赛 — 端点功能

对象 描述
sport 必需 Enter the name of the sport

剩余免费测试请求:3 / 3。


输入参数

sport
API 示例响应
JSON
{
    "source": "sofascore",
    "count": 38,
    "matches": [
        {
            "source": "sofascore",
            "source_event_id": 17068223,
            "sport": "football",
            "status": "1st half",
            "status_code": 6,
            "start_timestamp": 1790082000,
            "home": {
                "id": 336931,
                "name": "Mozambique U20",
                "short_name": "Mozambique U20"
            },
            "away": {
                "id": 273621,
                "name": "Mauritius U20",
                "short_name": null
            },
            "score": {
                "home": 3,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 139176,
                "unique_tournament_id": 23669,
                "name": "COSAFA U20 Championship, Group A",
                "country": "Africa"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 17068224,
            "sport": "football",
            "status": "1st half",
            "status_code": 6,
            "start_timestamp": 1790082000,
            "home": {
                "id": 371822,
                "name": "Namibia U20",
                "short_name": "Namibia"
            },
            "away": {
                "id": 336868,
                "name": "Seychelles U20",
                "short_name": "Seychelles"
            },
            "score": {
                "home": 1,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 139176,
                "unique_tournament_id": 23669,
                "name": "COSAFA U20 Championship, Group A",
                "country": "Africa"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 17148415,
            "sport": "football",
            "status": "1st half",
            "status_code": 6,
            "start_timestamp": 1790082000,
            "home": {
                "id": 370295,
                "name": "Tanzania U20",
                "short_name": "Tanzania U20"
            },
            "away": {
                "id": 286152,
                "name": "Burundi U20",
                "short_name": "Burundi U20"
            },
            "score": {
                "home": 1,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 139562,
                "unique_tournament_id": 23742,
                "name": "CECAFA U20 Championship, Knockout stage",
                "country": "Africa"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 17149267,
            "sport": "football",
            "status": "2nd half",
            "status_code": 7,
            "start_timestamp": 1790076600,
            "home": {
                "id": 1152832,
                "name": "Arman FC",
                "short_name": "Arman"
            },
            "away": {
                "id": 1276003,
                "name": "Omar Zawak",
                "short_name": "Omar Zawak"
            },
            "score": {
                "home": 2,
                "away": 4,
                "period": null
            },
            "tournament": {
                "id": 141764,
                "unique_tournament_id": 24194,
                "name": "Afghanistan Champions League",
                "country": "Afghanistan"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 17156041,
            "sport": "football",
            "status": "2nd half",
            "status_code": 7,
            "start_timestamp": 1790079000,
            "home": {
                "id": 476112,
                "name": "Sportivo Barracas Reserves",
                "short_name": "Sportivo Barracas Reserves"
            },
            "away": {
                "id": 448747,
                "name": "Puerto Nuevo Reserves",
                "short_name": "Puerto Nuevo Reserves"
            },
            "score": {
                "home": 3,
                "away": 1,
                "period": null
            },
            "tournament": {
                "id": 62405,
                "unique_tournament_id": null,
                "name": "Camp. De Reser De Primera Division B Metropolitana",
                "country": "Argentina"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 17156044,
            "sport": "football",
            "status": "1st half",
            "status_code": 6,
            "start_timestamp": 1790082000,
            "home": {
                "id": 515893,
                "name": "Central Ballester Reserves",
                "short_name": "Central Ballester Reserves"
            },
            "away": {
                "id": 450424,
                "name": "CA Claypole Reserves",
                "short_name": null
            },
            "score": {
                "home": 0,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 62405,
                "unique_tournament_id": null,
                "name": "Camp. De Reser De Primera Division B Metropolitana",
                "country": "Argentina"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 17156042,
            "sport": "football",
            "status": "1st half",
            "status_code": 6,
            "start_timestamp": 1790082000,
            "home": {
                "id": 517185,
                "name": "Juventud Unida San Miguel Reserves",
                "short_name": null
            },
            "away": {
                "id": 515633,
                "name": "Deportivo Paraguayo Reserves",
                "short_name": null
            },
            "score": {
                "home": 0,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 62405,
                "unique_tournament_id": null,
                "name": "Camp. De Reser De Primera Division B Metropolitana",
                "country": "Argentina"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16509744,
            "sport": "football",
            "status": "Started",
            "status_code": 20,
            "start_timestamp": 1790083800,
            "home": {
                "id": 1246832,
                "name": "Estudiantes de Caseros U16",
                "short_name": "Estudiantes de Caseros U16"
            },
            "away": {
                "id": 1246828,
                "name": "San Miguel U16",
                "short_name": "San Miguel U16"
            },
            "score": {
                "home": 0,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 190861,
                "unique_tournament_id": 35954,
                "name": "Zona A",
                "country": "Argentina Amateur"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16509751,
            "sport": "football",
            "status": "Started",
            "status_code": 20,
            "start_timestamp": 1790083800,
            "home": {
                "id": 1227963,
                "name": "Ferro Carril Oeste U16",
                "short_name": "Ferro Carril Oeste U16"
            },
            "away": {
                "id": 1245395,
                "name": "Club Mitre U16",
                "short_name": "Club Mitre U16"
            },
            "score": {
                "home": 0,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 190861,
                "unique_tournament_id": 35954,
                "name": "Zona A",
                "country": "Argentina Amateur"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16510066,
            "sport": "football",
            "status": "Started",
            "status_code": 20,
            "start_timestamp": 1790083800,
            "home": {
                "id": 1246819,
                "name": "Deportivo Maipú U16",
                "short_name": "Deportivo Maipú U16"
            },
            "away": {
                "id": 1246817,
                "name": "Almagro U16",
                "short_name": "Almagro U16"
            },
            "score": {
                "home": 0,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 190862,
                "unique_tournament_id": 35954,
                "name": "Zona B",
                "country": "Argentina Amateur"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16510073,
            "sport": "football",
            "status": "Started",
            "status_code": 20,
            "start_timestamp": 1790083800,
            "home": {
                "id": 1244955,
                "name": "Gimnasia (Jujuy) U16",
                "short_name": "Gimnasia (Jujuy) U16"
            },
            "away": {
                "id": 1246815,
                "name": "Güemes U16"
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
SofaScore 足球实时比赛 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31923/sofascore+football+live+matches?sport=football' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出可供足球比赛的国家/地区 按类别进行赛事安排的第一步
Endpoint ID: 31924
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31924/sofascore+list+football+categories
输入参数

SofaScore 足球类别列表 — 端点功能

对象 描述
sport 必需 Enter the name of the sport

剩余免费测试请求:3 / 3。


输入参数

sport
API 示例响应
JSON
{
    "source": "sofascore",
    "sport": "football",
    "count": 272,
    "categories": [
        {
            "id": 1084,
            "name": "Afghanistan",
            "slug": "afghanistan",
            "flag": "afghanistan"
        },
        {
            "id": 1466,
            "name": "Africa",
            "slug": "africa",
            "flag": "africa"
        },
        {
            "id": 257,
            "name": "Albania",
            "slug": "albania",
            "flag": "albania"
        },
        {
            "id": 304,
            "name": "Algeria",
            "slug": "algeria",
            "flag": "algeria"
        },
        {
            "id": 1787,
            "name": "American Samoa",
            "slug": "american-samoa",
            "flag": "american-samoa"
        },
        {
            "id": 376,
            "name": "Andorra",
            "slug": "andorra",
            "flag": "andorra"
        },
        {
            "id": 500,
            "name": "Angola",
            "slug": "angola",
            "flag": "angola"
        },
        {
            "id": 1595,
            "name": "Anguilla",
            "slug": "anguilla",
            "flag": "anguilla"
        },
        {
            "id": 1085,
            "name": "Antigua and Barbuda",
            "slug": "antigua-and-barbuda",
            "flag": "antigua-and-barbuda"
        },
        {
            "id": 48,
            "name": "Argentina",
            "slug": "argentina",
            "flag": "argentina"
        },
        {
            "id": 1783,
            "name": "Argentina Amateur",
            "slug": "argentina-amateur",
            "flag": "argentina"
        },
        {
            "id": 296,
            "name": "Armenia",
            "slug": "armenia",
            "flag": "armenia"
        },
        {
            "id": 1828,
            "name": "Armenia Amateur",
            "slug": "armenia-amateur",
            "flag": "armenia"
        },
        {
            "id": 1086,
            "name": "Aruba",
            "slug": "aruba",
            "flag": "aruba"
        },
        {
            "id": 1467,
            "name": "Asia",
            "slug": "asia",
            "flag": "asia"
        },
        {
            "id": 34,
            "name": "Australia",
            "slug": "australia",
            "flag": "australia"
        },
        {
            "id": 1876,
            "name": "Australia Amateur",
            "slug": "australia-amateur",
            "flag": "australia"
        },
        {
            "id": 17,
            "name": "Austria",
            "slug": "austria",
            "flag": "austria"
        },
        {
            "id": 97,
            "name": "Austria Amateur",
            "slug": "austria-amateur",
            "flag": "austria"
        },
        {
            "id": 297,
            "name": "Azerbaijan",
            "slug": "azerbaijan",
            "flag": "azerbaijan"
        },
        {
            "id": 1087,
            "name": "Bahamas",
            "slug": "bahamas",
            "flag": "bahamas"
        },
        {
            "id": 351,
            "name": "Bahrain",
            "slug": "bahrain",
            "flag": "bahrain"
        },
        {
            "id": 1088,
            "name": "Bangladesh",
            "slug": "bangladesh",
            "flag": "bangladesh"
        },
        {
            "id": 1089,
            "name": "Barbados",
            "slug": "barbados",
            "flag": "barbados"
        },
        {
            "id": 91,
            "name": "Belarus",
            "slug": "belarus",
            "flag": "belarus"
        },
        {
            "id": 33,
            "name": "Belgium",
            "slug": "belgium",
            "flag": "belgium"
        },
        {
            "id": 1620,
            "name": "Belgium Amateur",
            "slug": "belgium-amateur",
            "flag": "belgium"
        },
        {
            "id": 1090,
            "name": "Belize",
            "slug": "belize",
            "flag": "belize"
        },
        {
            "id": 1485,
            "name": "Benin",
            "slug": "benin",
            "flag": "benin"
        },
        {
            "id": 1091,
            "name": "Bermuda",
            "slug": "bermuda",
            "flag": "bermuda"
        },
        {
            "id": 1556,
            "name": "Bhutan",
            "slug": "bhutan",
            "flag": "bhutan"
        },
        {
            "id": 379,
            "name": "Bolivia",
            "slug": "bolivia",
            "flag": "bolivia"
        },
        {
            "id": 2347,
            "name": "Bonaire",
            "slug": "bonaire",
            "flag": "bonaire-sint-eustatius-and-saba"
        },
        {
            "id": 158,
            "name": "Bosnia & Herzegovina",
            "slug": "bosnia-herzegovina",
            "flag": "bosnia-herzegovina"
        },
        {
            "id": 1582,
            "name": "Bosnia & Herzegovina Amateur",
            "slug": "bosnia-and-herzegovina-amateur",
            "flag": "bosnia-herzegovina"
        },
        {
            "id": 1020,
            "name": "Botswana",
            "slug": "botswana",
            "flag": "botswana"
        },
        {
            "id": 13,
            "name": "Brazil",
            "slug": "brazil",
            "flag": "brazil"
        },
        {
            "id": 1694,
            "name": "Brazil Amateur",
            "slug": "brazil-amateur",
            "flag": "brazil"
        },
        {
            "id": 1711,
            "name": "British Virgin Islands",
            "slug": "british-virgin-islands",
            "flag": "british-virgin-islands"
        },
        {
            "id": 1617,
            "name": "Brunei",
            "slug": "brunei",
            "flag": "brunei"
        },
        {
            "id": 78,
            "name": "Bulgaria",
            "slug": "bulgaria",
            "flag": "bulgaria"
        },
        {
            "id": 1590,
            "name": "Bulgaria Amateur",
            "slug": "bulgaria-amateur",
            "flag": "bulgaria"
        },
        {
            "id": 1092,
            "name": "Burkina Faso",
            "slug": "burkina-faso",
            "flag": "burkina-faso"
        },
        {
            "id": 1093,
            "name": "Burundi",
            "slug": "burundi",
            "flag": "burundi"
        },
        {
            "id": 1094,
            "name": "Cambodia",
            "slug": "cambodia",
            "flag": "cambodia"
        },
        {
            "id": 391,
            "name": "Cameroon",
            "slug": "cameroon",
            "flag": "cameroon"
        },
        {
            "id": 388,
            "name": "Canada",
            "slug": "canada",
            "flag": "canada"
        },
        {
            "id": 2381,
            "name": "Canada Amateur",
            "slug": "canada-amateur",
            "flag": "canada"
        },
        {
            "id": 1685,
            "name": "Cape Verde",
            "slug": "cape-verde",
            "flag": "cape-verde"
        },
        {
            "id": 1095,
            "name": "Cayman Islands",
            "slug": "cayman-islands",
            "flag": "cayman-islands"
        },
        {
            "id": 1924,
            "name": "Central African Republic",
            "slug": "central-african-republic",
            "flag": "central-african-rep"
        },
        {
            "id": 1096,
            "name": "Chad",
            "slug": "chad",
            "flag": "chad"
        },
        {
            "id": 49,
            "name": "Chile",
            "slug": "chile",
            "flag": "chile"
        },
        {
            "id": 1687,
            "name": "Chile Amateur",
            "slug": "chile-amateur",
            "flag": "chile"
        },
        {
            "id": 99,
            "name": "China",
            "slug": "china",
            "flag": "china"
        },
        {
            "id": 1097,
            "name": "Chinese Taipei",
            "slug": "chinese-taipei",
            "flag": "taiwan"
        },
        {
            "id": 274,
            "name": "Colombia",
            "slug": "colombia",
            "flag": "colombia"
        },
        {
            "id": 1919,
            "name": "Colombia Amateur",
            "slug": "colombia-amateur",
            "flag": "colombia"
        },
        {
            "id": 1098,
            "name": "Comoros",
            "slug": "comoros",
            "flag": "comoros"
        },
        {
            "id": 1137,
            "name": "Congo Republic",
            "slug": "congo-republic",
            "flag": "congo"
        },
        {
            "id": 1795,
            "name": "Cook Islands",
            "slug": "cook-islands",
            "flag": "cook-islands"
        },
        {
            "id": 289,
            "name": "Costa Rica",
            "slug": "costa-rica",
            "flag": "costa-rica"
        },
        {
            "id": 14,
            "name": "Croatia",
            "slug": "croatia",
            "flag": "croatia"
        },
        {
            "id": 1578,
            "name": "Croatia Amateur",
            "slug": "croatia-amateur",
            "flag": "croatia"
        },
        {
            "id": 1481,
            "name": "Cuba",
            "slug": "cuba",
            "flag": "cuba"
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
SofaScore 足球类别列表 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31924/sofascore+list+football+categories?sport=football' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出类别内的联赛/锦标赛(使用类别调用中的 category_id)
Endpoint ID: 31925
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31925/sofascore+list+tournaments+by+category
输入参数

SofaScore 按类别列出比赛 — 端点功能

对象 描述
sport 必需 Enter the name of the sport

剩余免费测试请求:3 / 3。


输入参数

sport
API 示例响应
JSON
{
    "source": "sofascore",
    "category_id": 1,
    "count": 20,
    "tournaments": [
        {
            "id": 25492,
            "name": "Baller League UK",
            "slug": "baller-league-uk",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 18,
            "name": "Championship",
            "slug": "championship",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 346,
            "name": "Community Shield",
            "slug": "community-shield",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 21,
            "name": "EFL Cup",
            "slug": "efl-cup",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 24029,
            "name": "England National League Cup",
            "slug": "england-national-league-cup",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 19,
            "name": "FA Cup",
            "slug": "fa-cup",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 1696,
            "name": "FA Cup, Qualification",
            "slug": "fa-cup-qualification",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 11667,
            "name": "FA Women's League Cup",
            "slug": "fa-womens-league-cup",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 24640,
            "name": "FA Youth Cup",
            "slug": "fa-youth-cup",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 33702,
            "name": "First Division",
            "slug": "first-division",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 334,
            "name": "Football League Trophy",
            "slug": "football-league-trophy",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 24,
            "name": "League One",
            "slug": "league-one",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 25,
            "name": "League Two",
            "slug": "league-two",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 36931,
            "name": "Midland Football League Cup",
            "slug": "midland-football-league-cup",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 173,
            "name": "National League",
            "slug": "national-league",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 17,
            "name": "Premier League",
            "slug": "premier-league",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 37139,
            "name": "West Midlands Regional League Division One",
            "slug": "west-midlands-regional-league-division-one",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 11666,
            "name": "Women's FA Cup",
            "slug": "fa-cup-women",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 1044,
            "name": "Women's Super League",
            "slug": "the-fa-womens-super-league",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        },
        {
            "id": 10553,
            "name": "Women's Super League 2",
            "slug": "fa-womens-championship",
            "group": null,
            "category_id": 1,
            "category_name": "England"
        }
    ],
    "category": {
        "id": 1,
        "name": "England",
        "slug": "england",
        "flag": "england"
    },
    "cache": {
        "hit": false,
        "ttl_seconds": 86400
    }
}
SofaScore 按类别列出比赛 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31925/sofascore+list+tournaments+by+category?sport=football' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按国家/类别筛选的日期的计划比赛 需要日期和类别_id
Endpoint ID: 31926
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31926/sofascore+fixtures+by+date+and+category
输入参数

SofaScore 按日期和类别的赛事安排 — 端点功能

对象 描述
date 必需 Enter a date YYYY-MM-DD
category_id 必需 Enter the category ID

剩余免费测试请求:3 / 3。


输入参数

date
category_id
API 示例响应
JSON
{
    "source": "sofascore",
    "count": 13,
    "matches": [
        {
            "source": "sofascore",
            "source_event_id": 16363648,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 60,
                "name": "Bournemouth",
                "short_name": "Bournemouth"
            },
            "away": {
                "id": 44,
                "name": "Liverpool FC",
                "short_name": "Liverpool"
            },
            "score": {
                "home": 0,
                "away": 1,
                "period": null
            },
            "tournament": {
                "id": 1,
                "unique_tournament_id": 17,
                "name": "Premier League",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16363866,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 34,
                "name": "Leeds United",
                "short_name": "Leeds"
            },
            "away": {
                "id": 7,
                "name": "Crystal Palace",
                "short_name": "Crystal Palace"
            },
            "score": {
                "home": 0,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 1,
                "unique_tournament_id": 17,
                "name": "Premier League",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16363867,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 17,
                "name": "Manchester City",
                "short_name": "Man City"
            },
            "away": {
                "id": 41,
                "name": "Sunderland",
                "short_name": "Sunderland"
            },
            "score": {
                "home": 5,
                "away": 3,
                "period": null
            },
            "tournament": {
                "id": 1,
                "unique_tournament_id": 17,
                "name": "Premier League",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16363652,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789918200,
            "home": {
                "id": 43,
                "name": "Fulham",
                "short_name": "Fulham"
            },
            "away": {
                "id": 35,
                "name": "Manchester United",
                "short_name": "Man Utd"
            },
            "score": {
                "home": 1,
                "away": 1,
                "period": null
            },
            "tournament": {
                "id": 1,
                "unique_tournament_id": 17,
                "name": "Premier League",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 17048867,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789912800,
            "home": {
                "id": 362884,
                "name": "Southall FC",
                "short_name": "Southall"
            },
            "away": {
                "id": 173464,
                "name": "Dorking Wanderers",
                "short_name": "Dorking"
            },
            "score": {
                "home": 2,
                "away": 2,
                "period": null
            },
            "tournament": {
                "id": 16,
                "unique_tournament_id": 19,
                "name": "FA Cup",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16391689,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789907400,
            "home": {
                "id": 263,
                "name": "Norwich City",
                "short_name": "Norwich"
            },
            "away": {
                "id": 5,
                "name": "Bolton Wanderers",
                "short_name": "Bolton"
            },
            "score": {
                "home": 3,
                "away": 4,
                "period": null
            },
            "tournament": {
                "id": 2,
                "unique_tournament_id": 18,
                "name": "Championship",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16692893,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 266376,
                "name": "Brighton",
                "short_name": "Brighton"
            },
            "away": {
                "id": 266375,
                "name": "Aston Villa",
                "short_name": "Aston Villa"
            },
            "score": {
                "home": 1,
                "away": 1,
                "period": null
            },
            "tournament": {
                "id": 15635,
                "unique_tournament_id": 1044,
                "name": "Women's Super League",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16692883,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 234204,
                "name": "Crystal Palace",
                "short_name": "Crystal Palace"
            },
            "away": {
                "id": 273547,
                "name": "Tottenham FC",
                "short_name": "Tottenham"
            },
            "score": {
                "home": 0,
                "away": 7,
                "period": null
            },
            "tournament": {
                "id": 15635,
                "unique_tournament_id": 1044,
                "name": "Women's Super League",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16692896,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 297802,
                "name": "West Ham",
                "short_name": "West Ham"
            },
            "away": {
                "id": 36704,
                "name": "Everton",
                "short_name": "Everton"
            },
            "score": {
                "home": 0,
                "away": 1,
                "period": null
            },
            "tournament": {
                "id": 15635,
                "unique_tournament_id": 1044,
                "name": "Women's Super League",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16697462,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 371892,
                "name": "Newcastle United WFC",
                "short_name": "Newcastle United"
            },
            "away": {
                "id": 302415,
                "name": "Sheffield United Women",
                "short_name": "Sheffield United"
            },
            "score": {
                "home": 4,
                "away": 1,
                "period": null
            },
            "tournament": {
                "id": 47819,
                "unique_tournament_id": 10553,
                "name": "Super League 2, Women",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16697464,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 192711,
                "name": "Sunderland AFC Women",
                "short_name": "Sunderland"
            },
            "away": {
                "id": 334606,
                "name": "Southampton FC Women",
                "short_name": "Southampton"
            },
            "score": {
                "home": 0,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 47819,
                "unique_tournament_id": 10553,
                "name": "Super League 2, Women",
                "country": "England"
            }
        },
        {
            "source": "sofascore"
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
SofaScore 按日期和类别的赛事安排 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31926/sofascore+fixtures+by+date+and+category?date=2026-09-21&category_id=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
特定联赛的预定比赛(来自比赛调用的unique_tournament_id)
Endpoint ID: 31927
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31927/sofascore+fixtures+by+date+and+league
输入参数

SofaScore 按日期和联赛的比赛安排 — 端点功能

对象 描述
date 必需 Enter a date YYYY-MM-DD
unique_tournament_id 必需 Enter the tournament ID

剩余免费测试请求:3 / 3。


输入参数

date
unique_tournament_id
API 示例响应
JSON
{
    "source": "sofascore",
    "count": 4,
    "matches": [
        {
            "source": "sofascore",
            "source_event_id": 16363648,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 60,
                "name": "Bournemouth",
                "short_name": "Bournemouth"
            },
            "away": {
                "id": 44,
                "name": "Liverpool FC",
                "short_name": "Liverpool"
            },
            "score": {
                "home": 0,
                "away": 1,
                "period": null
            },
            "tournament": {
                "id": 1,
                "unique_tournament_id": 17,
                "name": "Premier League",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16363866,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 34,
                "name": "Leeds United",
                "short_name": "Leeds"
            },
            "away": {
                "id": 7,
                "name": "Crystal Palace",
                "short_name": "Crystal Palace"
            },
            "score": {
                "home": 0,
                "away": 0,
                "period": null
            },
            "tournament": {
                "id": 1,
                "unique_tournament_id": 17,
                "name": "Premier League",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16363867,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789909200,
            "home": {
                "id": 17,
                "name": "Manchester City",
                "short_name": "Man City"
            },
            "away": {
                "id": 41,
                "name": "Sunderland",
                "short_name": "Sunderland"
            },
            "score": {
                "home": 5,
                "away": 3,
                "period": null
            },
            "tournament": {
                "id": 1,
                "unique_tournament_id": 17,
                "name": "Premier League",
                "country": "England"
            }
        },
        {
            "source": "sofascore",
            "source_event_id": 16363652,
            "sport": "football",
            "status": "Ended",
            "status_code": 100,
            "start_timestamp": 1789918200,
            "home": {
                "id": 43,
                "name": "Fulham",
                "short_name": "Fulham"
            },
            "away": {
                "id": 35,
                "name": "Manchester United",
                "short_name": "Man Utd"
            },
            "score": {
                "home": 1,
                "away": 1,
                "period": null
            },
            "tournament": {
                "id": 1,
                "unique_tournament_id": 17,
                "name": "Premier League",
                "country": "England"
            }
        }
    ],
    "date": "2026-09-21",
    "filter": {
        "unique_tournament_id": 17,
        "tournament": {
            "id": 17,
            "name": "Premier League",
            "slug": "premier-league"
        }
    },
    "cache": {
        "hit": false,
        "ttl_seconds": 900
    },
    "pagination": {
        "page": 1,
        "per_page": 100,
        "total": 4,
        "total_pages": 1,
        "has_more": false
    }
}
SofaScore 按日期和联赛的比赛安排 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31927/sofascore+fixtures+by+date+and+league?date=2026-09-21&unique_tournament_id=17' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
比赛完整详情 在 SofaScore 事件id(来自直播或赛程)
Endpoint ID: 31928
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31928/sofascore+match+detail+by+event+id
输入参数

SofaScore比赛详情按事件ID — 端点功能

对象 描述
event_id 必需

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "source": "sofascore",
    "source_event_id": 14083104,
    "sport": "football",
    "status": "Ended",
    "status_code": 100,
    "start_timestamp": 1762200000,
    "home": {
        "id": 2851,
        "name": "Real Oviedo",
        "short_name": "Oviedo"
    },
    "away": {
        "id": 2820,
        "name": "Osasuna",
        "short_name": "Osasuna"
    },
    "score": {
        "home": 0,
        "away": 0,
        "period": null
    },
    "tournament": {
        "id": 36,
        "unique_tournament_id": 8,
        "name": "LaLiga",
        "country": "Spain"
    },
    "cache": {
        "hit": false,
        "ttl_seconds": 20
    }
}
SofaScore比赛详情按事件ID — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31928/sofascore+match+detail+by+event+id&event_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
控球 进攻 Corner和其他比赛统计数据
Endpoint ID: 31929
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31929/sofascore+match+statistics+by+event+id
输入参数

SofaScore比赛统计按事件ID — 端点功能

对象 描述
event_id 必需

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "source": "sofascore",
    "source_event_id": 14083104,
    "statistics": [
        {
            "period": "ALL",
            "group": "Match overview",
            "items": [
                {
                    "name": "Ball possession",
                    "home": "53%",
                    "away": "47%",
                    "home_value": 53,
                    "away_value": 47,
                    "key": "ballPossession"
                },
                {
                    "name": "Distance covered",
                    "home": "100.3 km",
                    "away": "101.8 km",
                    "home_value": 100.33,
                    "away_value": 101.82,
                    "key": "kilometersCovered"
                },
                {
                    "name": "Expected goals",
                    "home": "0.96",
                    "away": "0.82",
                    "home_value": 0.96,
                    "away_value": 0.82,
                    "key": "expectedGoals"
                },
                {
                    "name": "Big chances",
                    "home": "2",
                    "away": "0",
                    "home_value": 2,
                    "away_value": 0,
                    "key": "bigChanceCreated"
                },
                {
                    "name": "Total shots",
                    "home": "8",
                    "away": "11",
                    "home_value": 8,
                    "away_value": 11,
                    "key": "totalShotsOnGoal"
                },
                {
                    "name": "Goalkeeper saves",
                    "home": "5",
                    "away": "2",
                    "home_value": 5,
                    "away_value": 2,
                    "key": "goalkeeperSaves"
                },
                {
                    "name": "Number of sprints",
                    "home": "168",
                    "away": "144",
                    "home_value": 168,
                    "away_value": 144,
                    "key": "numberOfSprints"
                },
                {
                    "name": "Corner kicks",
                    "home": "4",
                    "away": "2",
                    "home_value": 4,
                    "away_value": 2,
                    "key": "cornerKicks"
                },
                {
                    "name": "Fouls",
                    "home": "17",
                    "away": "17",
                    "home_value": 17,
                    "away_value": 17,
                    "key": "fouls"
                },
                {
                    "name": "Passes",
                    "home": "408",
                    "away": "364",
                    "home_value": 408,
                    "away_value": 364,
                    "key": "passes"
                },
                {
                    "name": "Tackles",
                    "home": "22",
                    "away": "18",
                    "home_value": 22,
                    "away_value": 18,
                    "key": "totalTackle"
                },
                {
                    "name": "Free kicks",
                    "home": "17",
                    "away": "17",
                    "home_value": 17,
                    "away_value": 17,
                    "key": "freeKicks"
                },
                {
                    "name": "Yellow cards",
                    "home": "3",
                    "away": "1",
                    "home_value": 3,
                    "away_value": 1,
                    "key": "yellowCards"
                }
            ]
        },
        {
            "period": "ALL",
            "group": "Shots",
            "items": [
                {
                    "name": "Total shots",
                    "home": "8",
                    "away": "11",
                    "home_value": 8,
                    "away_value": 11,
                    "key": "totalShotsOnGoal"
                },
                {
                    "name": "Shots on target",
                    "home": "2",
                    "away": "5",
                    "home_value": 2,
                    "away_value": 5,
                    "key": "shotsOnGoal"
                },
                {
                    "name": "Expected goals",
                    "home": "0.96",
                    "away": "0.82",
                    "home_value": 0.96,
                    "away_value": 0.82,
                    "key": "expectedGoals"
                },
                {
                    "name": "Expected goals on target",
                    "home": "0.65",
                    "away": "1.22",
                    "home_value": 0.65,
                    "away_value": 1.22,
                    "key": "expectedGoalsOnTarget"
                },
                {
                    "name": "Shots off target",
                    "home": "4",
                    "away": "5",
                    "home_value": 4,
                    "away_value": 5,
                    "key": "shotsOffGoal"
                },
                {
                    "name": "Blocked shots",
                    "home": "2",
                    "away": "1",
                    "home_value": 2,
                    "away_value": 1,
                    "key": "blockedScoringAttempt"
                },
                {
                    "name": "Shots inside box",
                    "home": "6",
                    "away": "8",
                    "home_value": 6,
                    "away_value": 8,
                    "key": "totalShotsInsideBox"
                },
                {
                    "name": "Shots outside box",
                    "home": "2",
                    "away": "3",
                    "home_value": 2,
                    "away_value": 3,
                    "key": "totalShotsOutsideBox"
                }
            ]
        },
        {
            "period": "ALL",
            "group": "Attack",
            "items": [
                {
                    "name": "Big chances missed",
                    "home": "2",
                    "away": "0",
                    "home_value": 2,
                    "away_value": 0,
                    "key": "bigChanceMissed"
                },
                {
                    "name": "Through balls",
                    "home": "2",
                    "away": "0",
                    "home_value": 2,
                    "away_value": 0,
                    "key": "accurateThroughBall"
                },
                {
                    "name": "Touches in penalty area",
                    "home": "23",
                    "away": "17",
                    "home_value": 23,
                    "away_value": 17,
                    "key": "touchesInOppBox"
                },
                {
                    "name": "Fouled in final third",
                    "home": "1",
                    "away": "2",
                    "home_value": 1,
                    "away_value": 2,
                    "key": "fouledFinalThird"
                },
                {
                    "name": "Offsides",
                    "home": "3",
                    "away": "0",
                    "home_value": 3,
                    "away_value": 0,
                    "key": "offsides"
                }
            ]
        },
        {
            "period": "ALL",
            "group": "Passes",
            "items": [
                {
                    "name": "Accurate passes",
                    "home": "340",
                    "away": "312",
                    "home_value": 340,
                    "away_value": 312,
                    "key": "accuratePasses"
                },
                {
                    "name": "Throw-ins",
                    "home": "13",
                    "away": "20",
                    "home_value": 13,
                    "away_value": 20,
                    "key": "throwIns"
                },
                {
                    "name": "Final third entries",
                    "home": "43",
                    "away": "36",
                    "home_value": 43,
                    "away_value": 36,
                    "key": "finalThirdEntries"
                },
                {
                    "name": "Final third phase",
                    "home": "51/77 (66%)",
                    "away": "56/75 (75%)",
                    "home_value": 51,
                    "away_value": 56,
                    "key": "finalThirdPhaseStatistic"
                },
                {
                    "name": "Long balls",
                    "home": "32/58 (55%)",
                    "away": "21/41 (51%)",
                    "home_value": 32,
                    "away_value": 21,
                    "key": "accurateLongBalls"
                },
                {
                    "name": "Crosses",
                    "home": "5/18 (28%)",
                    "away": "8/21 (38%)",
                    "home_value": 5,
                    "away_value": 8,
                    "key": "accurateCross"
                }
            ]
        },
        {
            "period": "ALL",
            "group": "Duels",
            "items": [
                {
                    "name": "Duels",
                    "home": "56%",
                    "away": "44%"
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
SofaScore比赛统计按事件ID — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31929/sofascore+match+statistics+by+event+id&event_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
事件的进球、卡片、替换和时期标记
Endpoint ID: 31930
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31930/sofascore+match+incidents+by+event+id
输入参数

SofaScore比赛事件按事件ID — 端点功能

对象 描述
event_id 必需

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "source": "sofascore",
    "source_event_id": 14083104,
    "count": 16,
    "incidents": [
        {
            "id": null,
            "time": 90,
            "added_time": 999,
            "type": "period",
            "text": "FT",
            "home_score": 0,
            "away_score": 0,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": null,
            "time": 90,
            "added_time": 0,
            "type": "injuryTime",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 125073971,
            "time": 86,
            "added_time": null,
            "type": "substitution",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 125073973,
            "time": 85,
            "added_time": null,
            "type": "substitution",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 125073972,
            "time": 85,
            "added_time": null,
            "type": "substitution",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 125073965,
            "time": 82,
            "added_time": null,
            "type": "substitution",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 125073964,
            "time": 82,
            "added_time": null,
            "type": "substitution",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 125073902,
            "time": 70,
            "added_time": null,
            "type": "substitution",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 125073901,
            "time": 69,
            "added_time": null,
            "type": "substitution",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 124291116,
            "time": 63,
            "added_time": null,
            "type": "card",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": "David Carmo",
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 124291062,
            "time": 55,
            "added_time": null,
            "type": "card",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": "Nacho Vidal",
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": null,
            "time": 45,
            "added_time": 999,
            "type": "period",
            "text": "HT",
            "home_score": 0,
            "away_score": 0,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": null,
            "time": 45,
            "added_time": 0,
            "type": "injuryTime",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 124290776,
            "time": 38,
            "added_time": null,
            "type": "card",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": "Santiago Colombatto",
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 124290707,
            "time": 25,
            "added_time": null,
            "type": "card",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": "Alejandro Catena",
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        },
        {
            "id": 125073536,
            "time": 18,
            "added_time": null,
            "type": "substitution",
            "text": null,
            "home_score": null,
            "away_score": null,
            "player": null,
            "assist": null,
            "team": {
                "id": null,
                "name": null
            }
        }
    ],
    "cache": {
        "hit": false,
        "ttl_seconds": 20
    }
}
SofaScore比赛事件按事件ID — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31930/sofascore+match+incidents+by+event+id&event_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
紧凑的实时足球信息 match_id = source_event_id 字段(AA)在详细/统计/摘要中使用
Endpoint ID: 31931
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31931/flashscore+football+live+matches
输入参数

剩余免费测试请求:3 / 3。


输入参数

此端点不需要任何输入参数。

API 示例响应
JSON
{"source":"flashscore","count":211,"matches":[{"source":"flashscore","source_event_id":"pEW3XIsm","sport":"football","status_code":1,"start_timestamp":1790098200,"updated_timestamp":null,"is_live":true,"home":{"id":"6P4OYeNd","name":"\u0422\u0440\u0430\u0439\u0441\u043a\u0438\u0440\u0445\u0435\u043d","short_code":"TRA","slug":"traiskirchen"},"away":{"id":"StFxH8UN","name":"\u041a\u0440\u0435\u043c\u0437\u0435\u0440","short_code":"KRE","slug":"kremser"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"bFwBbEPQ","sport":"football","status_code":1,"start_timestamp":1790099100,"updated_timestamp":null,"is_live":true,"home":{"id":"hIayizS6","name":"\u0410\u0443\u0441\u0442\u0440\u0438\u044f \u041a\u043b\u0430\u0433\u0435\u043d\u0444\u0443\u0440\u0442","short_code":"\u0410\u0423\u0421","slug":"a-klagenfurt"},"away":{"id":"IV1yT3zs","name":"Donau Klagenfurt","short_code":"DON","slug":"donau-klagenfurt"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"2DZAXwBl","sport":"football","status_code":3,"start_timestamp":1790053200,"updated_timestamp":1790059891,"is_live":true,"home":{"id":"pp1OoFY8","name":"\u0412\u044c\u0435\u0442\u043d\u0430\u043c U23","short_code":"VIE","slug":"vietnam"},"away":{"id":"bJcArLW4","name":"\u0423\u0437\u0431\u0435\u043a\u0438\u0441\u0442\u0430\u043d U23","short_code":"UZB","slug":"uzbekistan"},"score":{"home":0,"away":2},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"6TYuw0mR","sport":"football","status_code":3,"start_timestamp":1790053200,"updated_timestamp":1790059916,"is_live":true,"home":{"id":"2H8DpjWb","name":"\u0424\u0438\u043b\u0438\u043f\u043f\u0438\u043d\u044b U23","short_code":"PHI","slug":"philippines"},"away":{"id":"YPYOUEU6","name":"\u041a\u0443\u0432\u0435\u0439\u0442 U23","short_code":"KUW","slug":"kuwait"},"score":{"home":2,"away":1},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"YFzYvMIE","sport":"football","status_code":3,"start_timestamp":1790071200,"updated_timestamp":1790077849,"is_live":true,"home":{"id":"2XDKedgb","name":"\u042e\u0436\u043d\u0430\u044f \u041a\u043e\u0440\u0435\u044f U23","short_code":"KOR","slug":"south-korea"},"away":{"id":"ULvtOuns","name":"\u0421\u0430\u0443\u0434\u043e\u0432\u0441\u043a\u0430\u044f \u0410\u0440\u0430\u0432\u0438\u044f U23","short_code":"SAU","slug":"saudi-arabia"},"score":{"home":2,"away":0},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"UZiQoNRE","sport":"football","status_code":1,"start_timestamp":1790092800,"updated_timestamp":null,"is_live":true,"home":{"id":"pMubgZIP","name":"\u0411\u0438\u0441\u043a\u0440\u0430","short_code":"BIS","slug":"biskra"},"away":{"id":"nimcBvel","name":"\u0421\u0430\u0443\u0440\u0430","short_code":"\u0421\u0410\u0423","slug":"saoura"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"Q5cgXNCL","sport":"football","status_code":1,"start_timestamp":1790103600,"updated_timestamp":null,"is_live":true,"home":{"id":"tnY2Lfcp","name":"\u041c\u041a \u0410\u043b\u0436\u0438\u0440","short_code":"\u041c\u041a\u0410","slug":"mc-alger"},"away":{"id":"CrCmB35M","name":"\u041e\u0440\u0430\u043d","short_code":"\u041e\u0420\u0410","slug":"oran"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"vmzmqQD4","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":true,"home":{"id":"vocxSMuM","name":"\u041a\u043b\u0438\u0442\u043e\u0440\u043f\u0441","short_code":"CLE","slug":"cleethorpes"},"away":{"id":"p4bTdH16","name":"Redcar Athletic","short_code":"RED","slug":"redcar-athletic"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"4QLHsYgc","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":true,"home":{"id":"fuwQAnpp","name":"\u041b\u0438\u043a","short_code":"LEE","slug":"leek-town"},"away":{"id":"tASwrtaa","name":"\u0425\u0430\u0439\u0434","short_code":"\u0413\u0410\u0419","slug":"hyde"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"GpBGLbDd","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"4zyN0nHf","name":"Anstey Nomads","short_code":"ANS","slug":"anstey-nomads"},"away":{"id":"juaQ71lj","name":"\u0410\u043b\u0432\u0447\u0435\u0440\u0447","short_code":"ALV","slug":"alvechurch"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"ri32q253","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"AgOSFQbG","name":"\u0411\u044c\u044e\u0440\u0438 \u0422\u0430\u0443\u043d","short_code":"\u0411\u042c\u042e","slug":"bury-town"},"away":{"id":"W6s3U8KA","name":"\u0425\u0438\u0442\u0447\u0438\u043d","short_code":"\u0425\u0418\u0422","slug":"hitchin"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"KE5mzbSk","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"2qwihEb9","name":"\u041b\u0435\u0439\u0441\u0442\u043e\u043d","short_code":"\u041b\u0415\u0419","slug":"leiston"},"away":{"id":"fRf75xoR","name":"\u041f\u0438\u0442\u0435\u0440\u0431\u043e\u0440\u043e \u0421\u043f\u043e\u0440\u0442\u0441","short_code":"PET","slug":"peterborough-sports"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"OU4IuK4S","sport":"football","status_code":4,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"zm6KCsDt","name":"\u041b\u0435\u0439\u0442\u043e\u043d \u0422\u0430\u0443\u043d","short_code":"LEI","slug":"leighton-town"},"away":{"id":"OpxB9Oyp","name":"\u041d\u0438\u0434\u0445\u044d\u043c \u041c\u0430\u0440\u043a\u0435\u0442","short_code":"\u041d\u0418\u0414","slug":"needham-market"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"jH6AstzG","sport":"football","status_code":4,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"d8TySPUE","name":"\u041b\u0438\u043c\u0438\u043d\u0433\u0442\u043e\u043d","short_code":"\u041b\u0418\u041c","slug":"leamington"},"away":{"id":"QDjQdpXk","name":"\u0425\u0435\u0439\u043b\u0441\u043e\u0443\u044d\u043d","short_code":"HAL","slug":"halesowen"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"Sv9eYyc2","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"4nSNzjG6","name":"\u0420\u0430\u0448\u043e\u043b\u043b","short_code":"RUS","slug":"rushall"},"away":{"id":"bVfjs0E5","name":"\u041a\u0435\u0442\u0442\u0435\u0440\u0438\u043d\u0433","short_code":"\u041a\u0415\u0422","slug":"kettering"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"S0ACNu0s","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"QkjoF2sr","name":"\u0421\u0442\u043e\u0443\u0440\u0431\u0440\u0438\u0434\u0436","short_code":"\u0421\u0422\u041e","slug":"stourbridge"},"away":{"id":"v9Uh7P4d","name":"Real Bedford","short_code":"REA","slug":"real-bedford"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"YcDKLJUg","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"GlxNzML7","name":"\u0421\u0442\u0440\u0430\u0442\u0444\u043e\u0440\u0434","short_code":"\u0421\u0422\u0420","slug":"stratford"},"away":{"id":"x6O6AU4U","name":"\u0411\u0440\u043e\u043c\u0441\u0433\u0440\u043e\u0432","short_code":"BRO","slug":"bromsgrove"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"6BBSJca6","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"EFjrDuEh","name":"\u0423\u043e\u0440\u0447\u0435\u0441\u0442\u0435\u0440","short_code":"\u0423\u041e\u0420","slug":"worcester"},"away":{"id":"nR13DTKN","name":"\u0411\u0430\u043d\u0431\u0435\u0440\u0438","short_code":"BAN","slug":"banbury"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"fRAIkCOa","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"YqtKZbzC","name":"Chichester","short_code":"\u0427\u0438\u043b","slug":"chichester-city"},"away":{"id":"AH2UuCe6","name":"\u0427\u0435\u0440\u0442\u0441\u0438","short_code":"CHE","slug":"chertsey-town"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"YwybVswo","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"KlhRm1bO","name":"Malvern Town","short_code":"MAL","slug":"malvern-town"},"away":{"id":"jPwMeXtd","name":"\u0413\u043b\u043e\u0441\u0442\u0435\u0440","short_code":"\u0413\u041b\u041e","slug":"gloucester-city"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"vsFgZjvJ","sport":"football","status_code":1,"start_timestamp":1790102700,"updated_timestamp":null,"is_live":false,"home":{"id":"StIKjvbe","name":"\u0411\u0435\u0440\u043a\u0445\u0430\u043c\u0441\u0442\u0435\u0434","short_code":"BER","slug":"berkhamsted-town"},"away":{"id":"42DzSumJ","name":"\u0425\u0430\u043d\u0432\u043e\u0440\u0442","short_code":"HAN","slug":"hanworth-villa"},"score":{"home":null,"away":null},"tournament":{"name":null}},{"source":"flashscore","source_event_id":"SvT7msaT"}],"_note":"Response truncated for documentation purposes"}
FlashScore足球现场比赛 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31931/flashscore+football+live+matches' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
来自FlashScore每日数据的比赛详情 来自/live响应的ID
Endpoint ID: 31932
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31932/flashscore+match+detail+by+match+id
输入参数

FlashScore 比赛详情通过比赛 ID — 端点功能

对象 描述
match_id 必需

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "source": "flashscore",
    "source_event_id": "2DZAXwBl",
    "sport": "football",
    "status_code": 3,
    "start_timestamp": 1790053200,
    "updated_timestamp": 1790059891,
    "is_live": true,
    "home": {
        "id": "pp1OoFY8",
        "name": "Вьетнам U23",
        "short_code": "VIE",
        "slug": "vietnam"
    },
    "away": {
        "id": "bJcArLW4",
        "name": "Узбекистан U23",
        "short_code": "UZB",
        "slug": "uzbekistan"
    },
    "score": {
        "home": 0,
        "away": 2
    },
    "tournament": {
        "name": "АЗИЯ: Азиатские игры"
    },
    "meta": {
        "status_code": 3,
        "last_update_timestamp": 1790059891,
        "kickoff_timestamp": 1790053200,
        "is_live": true
    },
    "cache": {
        "hit": false,
        "ttl_seconds": 20
    }
}
FlashScore 比赛详情通过比赛 ID — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31932/flashscore+match+detail+by+match+id&match_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
比赛统计数据馈送(df_st)用于FlashScore比赛ID
Endpoint ID: 31933
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31933/flashscore+match+statistics+by+match+id
输入参数

通过比赛ID的FlashScore比赛统计 — 端点功能

对象 描述
match_id 必需

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "source": "flashscore",
    "source_event_id": "zs3PZaZa",
    "count": 117,
    "statistics": [
        {
            "period": "Матч",
            "group": "Главное",
            "stat_id": "432",
            "name": "Ожидаемые голы (xG)",
            "home": "1.82",
            "away": "0.17"
        },
        {
            "period": "Матч",
            "group": "Главное",
            "stat_id": "12",
            "name": "Владение мячом",
            "home": "42%",
            "away": "58%"
        },
        {
            "period": "Матч",
            "group": "Главное",
            "stat_id": "34",
            "name": "Всего ударов",
            "home": "19",
            "away": "6"
        },
        {
            "period": "Матч",
            "group": "Главное",
            "stat_id": "13",
            "name": "Удары в створ",
            "home": "5",
            "away": "0"
        },
        {
            "period": "Матч",
            "group": "Главное",
            "stat_id": "459",
            "name": "Голевые моменты",
            "home": "1",
            "away": "1"
        },
        {
            "period": "Матч",
            "group": "Главное",
            "stat_id": "16",
            "name": "Угловые",
            "home": "3",
            "away": "3"
        },
        {
            "period": "Матч",
            "group": "Главное",
            "stat_id": "342",
            "name": "Передачи",
            "home": "80% (274/344)",
            "away": "85% (405/479)"
        },
        {
            "period": "Матч",
            "group": "Главное",
            "stat_id": "23",
            "name": "Желтые карточки",
            "home": "3",
            "away": "1"
        },
        {
            "period": "Матч",
            "group": "Удары",
            "stat_id": "432",
            "name": "Ожидаемые голы (xG)",
            "home": "1.82",
            "away": "0.17"
        },
        {
            "period": "Матч",
            "group": "Удары",
            "stat_id": "499",
            "name": "xG в створ (xGOT)",
            "home": "0.35",
            "away": "0.00"
        },
        {
            "period": "Матч",
            "group": "Удары",
            "stat_id": "34",
            "name": "Всего ударов",
            "home": "19",
            "away": "6"
        },
        {
            "period": "Матч",
            "group": "Удары",
            "stat_id": "13",
            "name": "Удары в створ",
            "home": "5",
            "away": "0"
        },
        {
            "period": "Матч",
            "group": "Удары",
            "stat_id": "14",
            "name": "Удары мимо",
            "home": "8",
            "away": "1"
        },
        {
            "period": "Матч",
            "group": "Удары",
            "stat_id": "158",
            "name": "Ударов заблокировано",
            "home": "6",
            "away": "5"
        },
        {
            "period": "Матч",
            "group": "Удары",
            "stat_id": "461",
            "name": "Удары из пределов штрафной",
            "home": "9",
            "away": "2"
        },
        {
            "period": "Матч",
            "group": "Удары",
            "stat_id": "463",
            "name": "Удары из-за штрафной",
            "home": "10",
            "away": "4"
        },
        {
            "period": "Матч",
            "group": "Удары",
            "stat_id": "457",
            "name": "Попадание в штангу",
            "home": "0",
            "away": "0"
        },
        {
            "period": "Матч",
            "group": "Атака",
            "stat_id": "459",
            "name": "Голевые моменты",
            "home": "1",
            "away": "1"
        },
        {
            "period": "Матч",
            "group": "Атака",
            "stat_id": "16",
            "name": "Угловые",
            "home": "3",
            "away": "3"
        },
        {
            "period": "Матч",
            "group": "Атака",
            "stat_id": "471",
            "name": "Касания мяча в штрафной соперника",
            "home": "21",
            "away": "13"
        },
        {
            "period": "Матч",
            "group": "Атака",
            "stat_id": "521",
            "name": "Успешные передачи в разрез",
            "home": "0",
            "away": "1"
        },
        {
            "period": "Матч",
            "group": "Атака",
            "stat_id": "17",
            "name": "Офсайды",
            "home": "3",
            "away": "0"
        },
        {
            "period": "Матч",
            "group": "Атака",
            "stat_id": "15",
            "name": "Штрафные",
            "home": "11",
            "away": "19"
        },
        {
            "period": "Матч",
            "group": "Передачи",
            "stat_id": "342",
            "name": "Передачи",
            "home": "80% (274/344)",
            "away": "85% (405/479)"
        },
        {
            "period": "Матч",
            "group": "Передачи",
            "stat_id": "517",
            "name": "Длинные передачи",
            "home": "51% (23/45)",
            "away": "53% (21/40)"
        },
        {
            "period": "Матч",
            "group": "Передачи",
            "stat_id": "467",
            "name": "Передачи в последней трети",
            "home": "71% (67/95)",
            "away": "72% (68/94)"
        },
        {
            "period": "Матч",
            "group": "Передачи",
            "stat_id": "433",
            "name": "Навесы",
            "home": "29% (5/17)",
            "away": "11% (2/18)"
        },
        {
            "period": "Матч",
            "group": "Передачи",
            "stat_id": "503",
            "name": "Ожидаемые ассисты (xA)",
            "home": "1.14",
            "away": "0.33"
        },
        {
            "period": "Матч",
            "group": "Передачи",
            "stat_id": "18",
            "name": "Вбрасывания",
            "home": "12",
            "away": "26"
        },
        {
            "period": "Матч",
            "group": "Оборона",
            "stat_id": "21",
            "name": "Фолы",
            "home": "19",
            "away": "11"
        },
        {
            "period": "Матч",
            "group": "Оборона",
            "stat_id": "475",
            "name": "Отборы",
            "home": "63% (17/27)",
            "away": "69% (9/13)"
        },
        {
            "period": "Матч",
            "group": "Оборона",
            "stat_id": "513",
            "name": "Выиграно дуэлей",
            "home": "57",
            "away": "54"
        },
        {
            "period": "Матч",
            "group": "Оборона",
            "stat_id": "479",
            "name": "Выносы",
            "home": "29",
            "away": "28"
        },
        {
            "period": "Матч",
            "group": "Оборона",
            "stat_id": "434",
            "name": "Перехваты",
            "home": "13",
            "away": "5"
        },
        {
            "period": "Матч",
            "group": "Оборона",
            "stat_id": "507",
            "name": "Ошибки, приведшие к удару",
            "home": "1",
            "away": "1"
        },
        {
            "period": "Матч",
            "group": "Оборона",
            "stat_id": "509",
            "name": "Ошибки, приведшие к голу",
            "home": "0",
            "away": "0"
        },
        {
            "period": "Матч",
            "group": "Вратари",
            "stat_id": "19",
            "name": "Сэйвы вратаря",
            "home": "0",
            "away": "4"
        },
        {
            "period": "Матч",
            "group": "Вратари",
            "stat_id": "501",
            "name": "xGot после ударов в створ",
            "home": "0.00",
            "away": "0.35"
        },
        {
            "period": "Матч",
            "group": "Вратари",
            "stat_id": "511",
            "name": "Предотвращённые голы",
            "home": "0.00",
            "away": "-0.65"
        },
        {
            "period": "1-й тайм",
            "group": "Главное",
            "stat_id": "432",
            "name": "Ожидаемые голы (xG)",
            "home": "0.94",
            "away": "0.04"
        },
        {
            "period": "1-й тайм",
            "group": "Главное",
            "stat_id": "12",
            "name": "Владение мячом",
            "home": "53%",
            "away": "47%"
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
通过比赛ID的FlashScore比赛统计 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31933/flashscore+match+statistics+by+match+id&match_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
比赛ID的事件/摘要信息(进球 黄牌 关键事件)
Endpoint ID: 31934
GET https://zylalabs.com/api/13870/sofascore+live+football+api/31934/flashscore+match+summary+by+match+id
输入参数

按比赛 ID 的 FlashScore 比赛总结 — 端点功能

对象 描述
match_id 必需

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "source": "flashscore",
    "source_event_id": "zs3PZaZa",
    "count": 15,
    "periods": [
        {
            "name": "1-й тайм",
            "score": {
                "home": 0,
                "away": 0
            },
            "incidents": [
                {
                    "id": "KpJtQmd5",
                    "minute": "28'",
                    "team_side": 2,
                    "type_code": 1,
                    "label": "Желтая карточка",
                    "player": "Aramburu J.",
                    "player_id": "vNTtZiAr",
                    "player_url": "/player/aranburu-jon/vNTtZiAr/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Грубая игра, Пропускает след. матч"
                },
                {
                    "id": "OU79mrfT",
                    "minute": "28'",
                    "team_side": 1,
                    "type_code": 47,
                    "label": "Не на поле",
                    "player": "Гарсия Л.",
                    "player_id": "nDP2jHyH",
                    "player_url": "/player/garcia-luis/nDP2jHyH/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Неспортивное поведение"
                }
            ]
        },
        {
            "name": "2-й тайм",
            "score": {
                "home": 1,
                "away": 0
            },
            "incidents": [
                {
                    "id": "hKYRS3iC",
                    "minute": "46'",
                    "team_side": 1,
                    "type_code": 7,
                    "label": "Замена (уходит)",
                    "player": "Санчес А.",
                    "player_id": "QgGt7V0d",
                    "player_url": "/player/sanchez-alexis/QgGt7V0d/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Нужно усилить игру. Айзек Ромеро выходит на поле для этого, а Алексис Санчес (Севилья) был заменен."
                },
                {
                    "id": "4ORZQsMO",
                    "minute": "46'",
                    "team_side": 2,
                    "type_code": 7,
                    "label": "Замена (уходит)",
                    "player": "Oskarsson O.",
                    "player_id": "K2gCwDJE",
                    "player_url": "/player/oskarsson-orri-steinn/K2gCwDJE/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Тренер выпускает свежего футболиста на поле. Хон Gorrotxategi уходит, а Orri Oskarsson (Реал Сосьедад) войдет в игру."
                },
                {
                    "id": "2eqePw43",
                    "minute": "50'",
                    "team_side": 1,
                    "type_code": 8,
                    "label": "Голевой пас",
                    "player": "Мопе Н.",
                    "player_id": "d0bSRUiP",
                    "player_url": "/player/maupay-neal/d0bSRUiP/",
                    "score_home": 1,
                    "score_away": 0,
                    "reason": ""
                },
                {
                    "id": "xEXCi6tQ",
                    "minute": "58'",
                    "team_side": 2,
                    "type_code": 7,
                    "label": "Замена (уходит)",
                    "player": "Кубо Т.",
                    "player_id": "fqdLdpc3",
                    "player_url": "/player/kubo-takefusa/fqdLdpc3/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Замена. Пабло Марин уходит, а выходит Такефуса Кубо (Реал Сосьедад). Посмотрим, что он привнесет в игру."
                },
                {
                    "id": "0E3kMoMc",
                    "minute": "69'",
                    "team_side": 2,
                    "type_code": 7,
                    "label": "Замена (уходит)",
                    "player": "Эррера Я.",
                    "player_id": "tzwJ3As6",
                    "player_url": "/player/herrera-yangel/tzwJ3As6/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Замена. Янгель Эррера (Реал Сосьедад) освежит игру. А Беньят Туррьентес порядком подустал и покинет поле."
                },
                {
                    "id": "pQDeoECN",
                    "minute": "75'",
                    "team_side": 1,
                    "type_code": 7,
                    "label": "Замена (уходит)",
                    "player": "Санчес Ж.",
                    "player_id": "CtN0gVgf",
                    "player_url": "/player/sanchez-juanlu/CtN0gVgf/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Луис Гарсия решил сделать замену. Juanlu Санчес (Севилья) выходит на поле, а Рубен Варгас уходит с него."
                },
                {
                    "id": "pnq21Q2L",
                    "minute": "75'",
                    "team_side": 1,
                    "type_code": 1,
                    "label": "Желтая карточка",
                    "player": "Санчес А.",
                    "player_id": "QgGt7V0d",
                    "player_url": "/player/sanchez-alexis/QgGt7V0d/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Подножка"
                },
                {
                    "id": "SbAhbUQh",
                    "minute": "82'",
                    "team_side": 1,
                    "type_code": 7,
                    "label": "Замена (уходит)",
                    "player": "Менди Б.",
                    "player_id": "CbwinkQR",
                    "player_url": "/player/mendy-batista/CbwinkQR/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Травма"
                },
                {
                    "id": "dzbDjwPq",
                    "minute": "82'",
                    "team_side": 2,
                    "type_code": 7,
                    "label": "Замена (уходит)",
                    "player": "Уэсли",
                    "player_id": "hr7UuUyK",
                    "player_url": "/player/wesley/hr7UuUyK/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Замена. Джон Aramburu уходит с поля, а Уэсли (Реал Сосьедад) выходит на замену вместо него."
                },
                {
                    "id": "04Csda1M",
                    "minute": "82'",
                    "team_side": 2,
                    "type_code": 7,
                    "label": "Замена (уходит)",
                    "player": "Сучич Л.",
                    "player_id": "p6f9CgsE",
                    "player_url": "/player/sucic-luka/p6f9CgsE/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "А вот и замена. Андер Барренечеа сейчас уйдет с поля. Пеллегрино Матараццо дает последние наставления своему игроку, это Лука Сучич (Реал Сосьедад) окажется на поле."
                },
                {
                    "id": "zuG1v9nl",
                    "minute": "88'",
                    "team_side": 1,
                    "type_code": 1,
                    "label": "Желтая карточка",
                    "player": "Кармона Х.-А.",
                    "player_id": "dE2MbgQ4",
                    "player_url": "/player/carmona-jose-angel/dE2MbgQ4/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Подножка"
                },
                {
                    "id": "0GrsinWg",
                    "minute": "90+1'",
                    "team_side": 1,
                    "type_code": 7,
                    "label": "Замена (уходит)",
                    "player": "Пеке",
                    "player_id": "GOkrxtHi",
                    "player_url": "/player/peque/GOkrxtHi/",
                    "score_home": null,
                    "score_away": null,
                    "reason": "Тренер производит замену. Пеке (Севилья) выходит на поле, Нил Мопе его покидает."
                },
                {
                    "id": "WG0RWNqn",
                    "minute": "90+1'",
                    "team_side": 1,
                    "type_code": 7,
                    "label": "Замена (уходит)",
                    "player": "Oso",
                    "player_id": "WMZucaGH",
                    "player_url": "/player/oso/WMZucaGH/",
                    "score_home": null,
                    "score_away": null
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
按比赛 ID 的 FlashScore 比赛总结 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/13870/sofascore+live+football+api/31934/flashscore+match+summary+by+match+id&match_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 SofaScore Live Football API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

🚀 企业版套餐

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

The SofaScore Live Football API is a REST API that provides data from SofaScore and FlashScore in JSON format.

On SofaScore, you can display a list of live matches (teams, score, status, and tournament), explore countries and regions, view a list of leagues and cups for a country, and check the daily schedule by country or by a specific tournament. For a specific match, you can load details, statistics by period (possession, shots, xG, and similar metrics), and a timeline of events (goals, cards, substitutions, and period scores).

On FlashScore, you can view a list of live matches using FlashScore match IDs, and then check the match details, specific home and away statistics, and a summary of the periods and key plays.

The typical workflow involves viewing a list of live matches or the schedule, saving the match ID, and then checking the details, statistics, and key plays.

SofaScore Live Football API FAQs

每个端点返回实时足球比赛数据,包括比赛状态、得分、球队详情、赛事信息和统计数据。例如,“获取SofaScore足球实时比赛”端点提供球队名称、得分和赛事名称等详细信息

关键字段包括“source_event_id”(唯一匹配ID)、“home”和“away”(球队详情)、“score”(当前得分)、“status”(比赛状态)和“tournament”(比赛详情)这些字段有助于识别比赛及其当前状态

参数因端点而异。例如“通过日期和类别获取SofaScore赛程”需要“日期”和“类别_id”来过滤比赛。用户可以通过指定这些参数来自定义请求以检索特定数据

响应数据采用JSON格式结构,通常包含一个“source”字段,一个项目的“count”和一个匹配对象的数组。每个匹配对象包括详细字段,如队伍、得分和赛事信息,便于解析

数据来源于SofaScore和FlashScore这两个信誉良好的实时体育数据平台。这种双重来源增强了覆盖面和准确性,向用户提供全面的比赛信息

典型的使用案例包括实时比分跟踪 比赛分析 和体育应用程序开发 开发者可以使用API显示实时比分 详细的比赛统计数据 和用户互动的历史数据

用户可以通过将数据整合到应用程序中,以实现实时更新、分析或可视化。例如,在体育网站上展示实时比分和比赛统计可以增强用户体验和参与感

每个端点提供各种信息类型,例如实时比赛得分、赛程安排、比赛详情和比赛统计。例如“通过事件ID获取SofaScore比赛统计”提供了如控球率和射门等信息,丰富了用户分析

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API