SofaScore 直播足球 API

API ID 13870

SofaScore API用于实时足球比分、按日期的赛程、联赛、比赛统计和事件,以JSON格式返回

100% 正常运行时间 1,439 ms 平均响应

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
date 必需 Enter a date YYYY-MM-DD
category_id 必需 Enter the category ID

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


输入参数

date
category_id
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&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 按日期和联赛的比赛安排 — 端点功能

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

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


输入参数

unique_tournament_id
date
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?unique_tournament_id=17&date=2026-09-21&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' 


    

API 访问密钥和身份验证

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

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

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

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

🚀 企业版套餐

起价
$ 10,000/年


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

概览

SofaScore 实时足球 API 以 JSON 格式返回 SofaScore 足球信息:实时比分、比赛列表、赛事安排和单场比赛的详细信息

从实时比赛或类别开始。类别是国家和地区。比赛是一个类别内的联赛和杯赛。赛事安排需要一个日期加上一个类别或联赛 ID

来自实时列表或赛事安排列表的 SofaScore 事件 ID 是比赛详细信息、统计数据(例如控球率和射门)和事件(进球、红黄牌、换人)的关键

仅限足球。API 不包括博彩赔率或其他体育项目

SofaScore 直播足球 API FAQs

是的 它以 JSON 格式返回 SofaScore 足球信息:实时比赛 类别 赛事 赛程 比赛详情 统计信息和事件

来自实时比赛或赛程响应的SofaScore事件ID 将该ID传递给比赛详情 统计和事件

列出获取国家或地区ID的类别,然后列出该类别的比赛。根据日期和联赛使用比赛ID进行赛事安排

不 该信息是比分 比赛安排 统计数据和比赛事件

一般常见问题

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]