ESPN API

API ID 15015

17种体育的体育数据:按日期和实时的比赛,比赛详情,逐局记录,实况直播,阵容,赔率,胜率,积分榜,球队,球员,搜索和新闻

API 文档

端点

请求
返回所有运动的列表,包括它们的ID、名称和别名 别名是其他端点作为“运动”参数使用的内容
Endpoint ID: 39590
GET https://zylalabs.com/api/15015/espn+api/39590/get+all+available+sports
输入参数

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

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

API 示例响应
JSON
[
    {
        "id": "34",
        "name": "Australian Rules Football",
        "slug": "australian-football"
    },
    {
        "id": "1",
        "name": "Baseball",
        "slug": "baseball"
    },
    {
        "id": "40",
        "name": "Basketball",
        "slug": "basketball"
    },
    {
        "id": "200",
        "name": "Cricket",
        "slug": "cricket"
    },
    {
        "id": "800",
        "name": "Field Hockey",
        "slug": "field-hockey"
    },
    {
        "id": "20",
        "name": "Football",
        "slug": "football"
    },
    {
        "id": "1100",
        "name": "Golf",
        "slug": "golf"
    },
    {
        "id": "70",
        "name": "Ice Hockey",
        "slug": "hockey"
    },
    {
        "id": "500",
        "name": "Lacrosse",
        "slug": "lacrosse"
    },
    {
        "id": "3301",
        "name": "MMA",
        "slug": "mma"
    },
    {
        "id": "2000",
        "name": "Motor Sports",
        "slug": "racing"
    },
    {
        "id": "300",
        "name": "Rugby",
        "slug": "rugby"
    },
    {
        "id": "8088",
        "name": "Rugby League",
        "slug": "rugby-league"
    },
    {
        "id": "600",
        "name": "Soccer",
        "slug": "soccer"
    },
    {
        "id": "850",
        "name": "Tennis",
        "slug": "tennis"
    },
    {
        "id": "400",
        "name": "Volleyball",
        "slug": "volleyball"
    },
    {
        "id": "1920",
        "name": "Water Polo",
        "slug": "water-polo"
    }
]
获取所有可用的运动 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39590/get+all+available+sports' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个运动的联赛和比赛,包括它们的ID、名称、缩写和标识符。标识符是其他端点作为“联赛”参数的内容
Endpoint ID: 39591
GET https://zylalabs.com/api/15015/espn+api/39591/get+leagues+of+a+sport
输入参数

获取一个运动的联赛 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)

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


输入参数

sport
API 示例响应
JSON
[
    {
        "id": "53",
        "name": "FIBA World Cup",
        "abbreviation": "FIBA",
        "shortName": "FIBA World Cup",
        "slug": "fiba",
        "hasStandings": true
    },
    {
        "id": "41",
        "name": "NCAA Men's Basketball",
        "abbreviation": "NCAAM",
        "shortName": "NCAAM",
        "slug": "mens-college-basketball",
        "hasStandings": true
    },
    {
        "id": "3766",
        "name": "Olympics Men's Basketball",
        "abbreviation": "Olympics",
        "shortName": "OLY Basketball (M)",
        "slug": "mens-olympics-basketball",
        "hasStandings": false
    },
    {
        "id": "46",
        "name": "National Basketball Association",
        "abbreviation": "NBA",
        "shortName": "NBA",
        "slug": "nba",
        "hasStandings": true
    },
    {
        "id": "69",
        "name": "NBA G League",
        "abbreviation": "NBA G League",
        "shortName": null,
        "slug": "nba-development",
        "hasStandings": true
    },
    {
        "id": "23170",
        "name": "NBA California Classic Summer League",
        "abbreviation": "NBACC",
        "shortName": null,
        "slug": "nba-summer-california",
        "hasStandings": true
    },
    {
        "id": "20727",
        "name": "Golden State Summer League",
        "abbreviation": "NBAGS",
        "shortName": null,
        "slug": "nba-summer-golden-state",
        "hasStandings": true
    },
    {
        "id": "63",
        "name": "Las Vegas Summer League",
        "abbreviation": "NBALV",
        "shortName": null,
        "slug": "nba-summer-las-vegas",
        "hasStandings": true
    },
    {
        "id": "65",
        "name": "Orlando Summer League",
        "abbreviation": "NBAOR",
        "shortName": null,
        "slug": "nba-summer-orlando",
        "hasStandings": true
    },
    {
        "id": "67",
        "name": "Sacramento Summer League",
        "abbreviation": "NBAGS",
        "shortName": null,
        "slug": "nba-summer-sacramento",
        "hasStandings": true
    },
    {
        "id": "64",
        "name": "Salt Lake City Summer League",
        "abbreviation": "NBAUT",
        "shortName": null,
        "slug": "nba-summer-utah",
        "hasStandings": true
    },
    {
        "id": "55",
        "name": "National Basketball League",
        "abbreviation": "NBL",
        "shortName": null,
        "slug": "nbl",
        "hasStandings": true
    },
    {
        "id": "59",
        "name": "Women's National Basketball Association",
        "abbreviation": "WNBA",
        "shortName": "WNBA",
        "slug": "wnba",
        "hasStandings": false
    },
    {
        "id": "54",
        "name": "NCAA Women's Basketball",
        "abbreviation": "NCAAW",
        "shortName": "NCAAW",
        "slug": "womens-college-basketball",
        "hasStandings": true
    },
    {
        "id": "3767",
        "name": "Olympics Women's Basketball",
        "abbreviation": "Olympics",
        "shortName": "OLY Basketball (W)",
        "slug": "womens-olympics-basketball",
        "hasStandings": false
    }
]
获取一个运动的联赛 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39591/get+leagues+of+a+sport?sport=basketball' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个联赛的详细信息:名称、缩写、徽标以及当前赛季的开始日期、结束日期和赛季类型
Endpoint ID: 39592
GET https://zylalabs.com/api/15015/espn+api/39592/get+league+details
输入参数

获取联赛详情 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)

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


输入参数

sport
league
API 示例响应
JSON
{
    "id": "46",
    "name": "National Basketball Association",
    "displayName": "NBA",
    "abbreviation": "NBA",
    "shortName": "NBA",
    "color": "253b73",
    "slug": "nba",
    "isTournament": false,
    "season": {
        "year": 2027,
        "startDate": "2026-09-30T07:00Z",
        "endDate": "2027-06-26T06:59Z",
        "displayName": "2026-27",
        "type": {
            "id": "2",
            "type": 2,
            "name": "Regular Season",
            "abbreviation": "reg",
            "year": 2027,
            "startDate": "2026-10-20T07:00Z",
            "endDate": "2027-04-12T06:59Z",
            "hasGroups": false,
            "hasStandings": true,
            "hasLegs": false,
            "week": {
                "number": 4,
                "startDate": "2026-11-10T08:00Z",
                "endDate": "2026-11-17T07:59Z",
                "text": "Week 4"
            },
            "slug": "regular-season"
        },
        "types": {
            "count": 5,
            "pageIndex": 1,
            "pageSize": 5,
            "pageCount": 1,
            "items": [
                {
                    "id": "1",
                    "type": 1,
                    "name": "Preseason",
                    "abbreviation": "pre",
                    "year": 2027,
                    "startDate": "2026-09-30T07:00Z",
                    "endDate": "2026-10-20T06:59Z",
                    "hasGroups": false,
                    "hasStandings": true,
                    "hasLegs": false,
                    "slug": "preseason"
                },
                {
                    "id": "2",
                    "type": 2,
                    "name": "Regular Season",
                    "abbreviation": "reg",
                    "year": 2027,
                    "startDate": "2026-10-20T07:00Z",
                    "endDate": "2027-04-12T06:59Z",
                    "hasGroups": false,
                    "hasStandings": true,
                    "hasLegs": false,
                    "week": {
                        "number": 4,
                        "startDate": "2026-11-10T08:00Z",
                        "endDate": "2026-11-17T07:59Z",
                        "text": "Week 4"
                    },
                    "slug": "regular-season"
                },
                {
                    "id": "3",
                    "type": 3,
                    "name": "Postseason",
                    "abbreviation": "post",
                    "year": 2027,
                    "startDate": "2027-04-17T07:00Z",
                    "endDate": "2027-06-26T06:59Z",
                    "hasGroups": false,
                    "hasStandings": false,
                    "hasLegs": false,
                    "slug": "post-season"
                },
                {
                    "id": "4",
                    "type": 4,
                    "name": "Off Season",
                    "abbreviation": "off",
                    "year": 2027,
                    "startDate": "2027-06-26T07:00Z",
                    "endDate": "2027-09-30T06:59Z",
                    "hasGroups": false,
                    "hasStandings": false,
                    "hasLegs": false,
                    "slug": "off-season"
                },
                {
                    "id": "5",
                    "type": 5,
                    "name": "Play-In Season",
                    "abbreviation": "playin",
                    "year": 2027,
                    "startDate": "2027-04-12T07:00Z",
                    "endDate": "2027-04-17T06:59Z",
                    "hasGroups": false,
                    "hasStandings": false,
                    "hasLegs": false,
                    "slug": "play-in-season"
                }
            ]
        }
    },
    "logos": [
        {
            "href": "https://a.espncdn.com/i/teamlogos/leagues/500/nba.png",
            "width": 500,
            "height": 500,
            "alt": "",
            "rel": [
                "full",
                "default"
            ],
            "lastUpdated": "2018-06-05T12:07Z"
        },
        {
            "href": "https://a.espncdn.com/combiner/i?img=/i/teamlogos/leagues/500-dark/nba.png&w=500&h=500&transparent=true",
            "width": 500,
            "height": 500,
            "alt": "",
            "rel": [
                "full",
                "dark"
            ],
            "lastUpdated": "2026-11-16T18:45Z"
        }
    ],
    "gender": "MALE"
}
获取联赛详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39592/get+league+details?sport=basketball&league=nba' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个联盟的赛季信息,包括年份、开始和结束日期以及赛季类型(季前赛、常规赛、季后赛)
Endpoint ID: 39593
GET https://zylalabs.com/api/15015/espn+api/39593/get+league+seasons
输入参数

获取联赛赛季 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)

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


输入参数

sport
league
API 示例响应
JSON
[
    {
        "year": 2027,
        "startDate": "2026-09-30T07:00Z",
        "endDate": "2027-06-26T06:59Z",
        "displayName": "2026-27",
        "types": [
            {
                "id": "1",
                "name": "Preseason",
                "abbreviation": "pre",
                "startDate": "2026-09-30T07:00Z",
                "endDate": "2026-10-20T06:59Z",
                "hasStandings": true
            },
            {
                "id": "2",
                "name": "Regular Season",
                "abbreviation": "reg",
                "startDate": "2026-10-20T07:00Z",
                "endDate": "2027-04-12T06:59Z",
                "hasStandings": true
            },
            {
                "id": "3",
                "name": "Postseason",
                "abbreviation": "post",
                "startDate": "2027-04-17T07:00Z",
                "endDate": "2027-06-26T06:59Z",
                "hasStandings": false
            },
            {
                "id": "4",
                "name": "Off Season",
                "abbreviation": "off",
                "startDate": "2027-06-26T07:00Z",
                "endDate": "2027-09-30T06:59Z",
                "hasStandings": false
            },
            {
                "id": "5",
                "name": "Play-In Season",
                "abbreviation": "playin",
                "startDate": "2027-04-12T07:00Z",
                "endDate": "2027-04-17T06:59Z",
                "hasStandings": false
            }
        ],
        "seasonYears": "2026-27"
    },
    {
        "year": 2026,
        "startDate": "2025-10-01T07:00Z",
        "endDate": "2026-06-27T06:59Z",
        "displayName": "2025-26",
        "types": [
            {
                "id": "1",
                "name": "Preseason",
                "abbreviation": "pre",
                "startDate": "2025-10-01T07:00Z",
                "endDate": "2025-10-21T06:59Z",
                "hasStandings": true
            },
            {
                "id": "2",
                "name": "Regular Season",
                "abbreviation": "reg",
                "startDate": "2025-10-21T07:00Z",
                "endDate": "2026-04-13T06:59Z",
                "hasStandings": true
            },
            {
                "id": "3",
                "name": "Postseason",
                "abbreviation": "post",
                "startDate": "2026-04-18T07:00Z",
                "endDate": "2026-06-27T06:59Z",
                "hasStandings": false
            },
            {
                "id": "4",
                "name": "Off Season",
                "abbreviation": "off",
                "startDate": "2026-06-27T07:00Z",
                "endDate": "2026-09-30T06:59Z",
                "hasStandings": false
            },
            {
                "id": "5",
                "name": "Play-In Season",
                "abbreviation": "playin",
                "startDate": "2026-04-13T07:00Z",
                "endDate": "2026-04-18T06:59Z",
                "hasStandings": false
            }
        ],
        "seasonYears": "2025-26"
    },
    {
        "year": 2025,
        "startDate": "2024-09-24T07:00Z",
        "endDate": "2025-06-27T06:59Z",
        "displayName": "2024-25",
        "types": [
            {
                "id": "1",
                "name": "Preseason",
                "abbreviation": "pre",
                "startDate": "2024-09-24T07:00Z",
                "endDate": "2024-10-22T06:59Z",
                "hasStandings": true
            },
            {
                "id": "2",
                "name": "Regular Season",
                "abbreviation": "reg",
                "startDate": "2024-10-22T07:00Z",
                "endDate": "2025-04-14T06:59Z",
                "hasStandings": true
            },
            {
                "id": "3",
                "name": "Postseason",
                "abbreviation": "post",
                "startDate": "2025-04-19T07:00Z",
                "endDate": "2025-06-27T06:59Z",
                "hasStandings": false
            },
            {
                "id": "4",
                "name": "Off Season",
                "abbreviation": "off",
                "startDate": "2025-06-27T07:00Z",
                "endDate": "2025-10-01T06:59Z",
                "hasStandings": false
            },
            {
                "id": "5",
                "name": "Play-In Season",
                "abbreviation": "playin",
                "startDate": "2025-04-14T07:00Z",
                "endDate": "2025-04-19T06:59Z",
                "hasStandings": false
            }
        ],
        "seasonYears": "2024-25"
    },
    {
        "year": 2024,
        "startDate": "2023-10-05T07:00Z",
        "endDate": "2024-06-21T06:59Z",
        "displayName": "2023-24",
        "types": [
            {
                "id": "1",
                "name": "Preseason",
                "abbreviation": "pre",
                "startDate": "2023-10-05T07:00Z",
                "endDate": "2023-10-24T06:59Z",
                "hasStandings": true
            },
            {
                "id": "2",
                "name": "Regular Season",
                "abbreviation": "reg",
                "startDate": "2023-10-24T07:00Z",
                "endDate": "2024-04-15T06:59Z",
                "hasStandings": true
            },
            {
                "id": "3",
                "name": "Postseason",
                "abbreviation": "post",
                "startDate": "2024-04-20T07:00Z",
                "endDate": "2024-06-21T06:59Z",
                "hasStandings": false
            },
            {
                "id": "4",
                "name": "Off Season",
                "abbreviation": "off",
                "startDate": "2024-06-21T07:00Z",
                "endDate": "2024-09-24T06:59Z",
                "hasStandings": false
            },
            {
                "id": "5",
                "name": "Play-In Season",
                "abbreviation": "playin",
                "startDate": "2024-04-15T07:00Z",
                "endDate": "2024-04-20T06:59Z",
                "hasStandings": false
            }
        ],
        "seasonYears": "2023-24"
    },
    {
        "year": 2023,
        "startDate": "2022-08-30T07:00Z",
        "endDate": "2023-06-24T06:59Z",
        "displayName": "2022-23",
        "types": [
            {
                "id": "1",
                "name": "Preseason",
                "abbreviation": "pre",
                "startDate": "2022-08-30T07:00Z",
                "endDate": "2022-10-17T06:59Z",
                "hasStandings": true
            },
            {
                "id": "2",
                "name": "Regular Season",
                "abbreviation": "reg",
                "startDate": "2022-10-17T07:00Z",
                "endDate": "2023-04-12T06:59Z",
                "hasStandings": true
            },
            {
                "id": "3",
                "name": "Postseason",
                "abbreviation": "post",
                "startDate": "2023-04-17T07:00Z",
                "endDate": "2023-06-24T06:59Z",
                "hasStandings": false
            },
            {
                "id": "4",
                "name": "Off Season",
                "abbreviation": "off",
                "startDate": "2023-06-24T07:00Z",
                "endDate": "2023-10-05T06:59Z",
                "hasStandings": false
            },
            {
                "id": "5",
                "name": "Play-In Season",
                "abbreviation": "playin",
                "startDate": "2023-04-12T07:00Z",
                "endDate": "2023-04-17T06:59Z",
                "hasStandings": false
            }
        ],
        "seasonYears": "2022-23"
    },
    {
        "year": 2022,
        "startDate": "2021-09-22T07:00Z",
        "endDate": "2022-06-20T06:59Z",
        "displayName": "2021-22",
        "types": [
            {
                "id": "1",
                "name": "Preseason",
                "abbreviation": "pre",
                "startDate": "2021-09-22T07:00Z",
                "endDate": "2021-10-18T06:59Z",
                "hasStandings": true
            },
            {
                "id": "2",
                "name": "Regular Season",
                "abbreviation": "reg",
                "startDate": "2021-10-18T07:00Z",
                "endDate": "2022-04-11T06:59Z",
                "hasStandings": true
            },
            {
                "id": "3",
                "name": "Postseason",
                "abbreviation": "post",
                "startDate": "2022-04-16T07:00Z",
                "endDate": "2022-06-20T06:59Z",
                "hasStandings": false
            },
            {
                "id": "4",
                "name": "Off Season",
                "abbreviation": "off",
                "startDate": "2022-06-20T07:00Z",
                "endDate": "2022-08-30T06:59Z",
                "hasStandings": false
            },
            {
                "id": "5",
                "name": "Play-In Season",
                "abbreviation": "playin",
                "startDate": "2022-04-11T07:00Z",
                "endDate": "2022-04-16T06:59Z",
                "hasStandings": false
            }
        ],
        "seasonYears": "2021-22"
    },
    {
        "year": 2021,
        "startDate": "2020-12-02T08:00Z"
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取联赛赛季 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39593/get+league+seasons?sport=basketball&league=nba' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回联赛当前赛季的日历:比赛日或其周和轮次及其开始和结束日期
Endpoint ID: 39594
GET https://zylalabs.com/api/15015/espn+api/39594/get+league+calendar
输入参数

获取联赛日历 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)

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


输入参数

sport
league
API 示例响应
JSON
{
    "season": {
        "year": 2027,
        "startDate": "2026-09-30T07:00Z",
        "endDate": "2027-06-26T06:59Z",
        "displayName": "2026-27",
        "type": {
            "id": "2",
            "type": 2,
            "name": "Regular Season",
            "abbreviation": "reg"
        }
    },
    "calendarType": "day",
    "calendarStartDate": "2026-09-30T07:00Z",
    "calendarEndDate": "2027-06-26T06:59Z",
    "calendar": [
        "2026-10-03T07:00Z",
        "2026-10-04T07:00Z",
        "2026-10-05T07:00Z",
        "2026-10-06T07:00Z",
        "2026-10-07T07:00Z",
        "2026-10-08T07:00Z",
        "2026-10-09T07:00Z",
        "2026-10-10T07:00Z",
        "2026-10-11T07:00Z",
        "2026-10-12T07:00Z",
        "2026-10-13T07:00Z",
        "2026-10-14T07:00Z",
        "2026-10-15T07:00Z",
        "2026-10-16T07:00Z",
        "2026-10-20T07:00Z",
        "2026-10-21T07:00Z",
        "2026-10-22T07:00Z",
        "2026-10-23T07:00Z",
        "2026-10-24T07:00Z",
        "2026-10-25T07:00Z",
        "2026-10-26T07:00Z",
        "2026-10-27T07:00Z",
        "2026-10-28T07:00Z",
        "2026-10-29T07:00Z",
        "2026-10-30T07:00Z",
        "2026-10-31T07:00Z",
        "2026-11-01T07:00Z",
        "2026-11-02T08:00Z",
        "2026-11-04T08:00Z",
        "2026-11-05T08:00Z",
        "2026-11-06T08:00Z",
        "2026-11-07T08:00Z",
        "2026-11-08T08:00Z",
        "2026-11-09T08:00Z",
        "2026-11-10T08:00Z",
        "2026-11-11T08:00Z",
        "2026-11-12T08:00Z",
        "2026-11-13T08:00Z",
        "2026-11-14T08:00Z",
        "2026-11-15T08:00Z",
        "2026-11-16T08:00Z",
        "2026-11-17T08:00Z",
        "2026-11-18T08:00Z",
        "2026-11-19T08:00Z",
        "2026-11-20T08:00Z",
        "2026-11-21T08:00Z",
        "2026-11-22T08:00Z",
        "2026-11-23T08:00Z",
        "2026-11-24T08:00Z",
        "2026-11-25T08:00Z",
        "2026-11-27T08:00Z",
        "2026-11-28T08:00Z",
        "2026-11-29T08:00Z",
        "2026-11-30T08:00Z",
        "2026-12-01T08:00Z",
        "2026-12-02T08:00Z",
        "2026-12-03T08:00Z",
        "2026-12-04T08:00Z",
        "2026-12-05T08:00Z",
        "2026-12-08T08:00Z",
        "2026-12-11T08:00Z",
        "2026-12-12T08:00Z",
        "2026-12-13T08:00Z",
        "2026-12-14T08:00Z",
        "2026-12-15T08:00Z",
        "2026-12-16T08:00Z",
        "2026-12-17T08:00Z",
        "2026-12-18T08:00Z",
        "2026-12-19T08:00Z",
        "2026-12-20T08:00Z",
        "2026-12-21T08:00Z",
        "2026-12-22T08:00Z",
        "2026-12-23T08:00Z",
        "2026-12-25T08:00Z",
        "2026-12-26T08:00Z",
        "2026-12-27T08:00Z",
        "2026-12-28T08:00Z",
        "2026-12-29T08:00Z",
        "2026-12-30T08:00Z",
        "2026-12-31T08:00Z",
        "2027-01-01T08:00Z",
        "2027-01-02T08:00Z",
        "2027-01-03T08:00Z",
        "2027-01-04T08:00Z",
        "2027-01-05T08:00Z",
        "2027-01-06T08:00Z",
        "2027-01-07T08:00Z",
        "2027-01-08T08:00Z",
        "2027-01-09T08:00Z",
        "2027-01-10T08:00Z",
        "2027-01-11T08:00Z",
        "2027-01-12T08:00Z",
        "2027-01-13T08:00Z",
        "2027-01-14T08:00Z",
        "2027-01-15T08:00Z",
        "2027-01-16T08:00Z",
        "2027-01-17T08:00Z",
        "2027-01-18T08:00Z",
        "2027-01-19T08:00Z",
        "2027-01-20T08:00Z",
        "2027-01-21T08:00Z",
        "2027-01-22T08:00Z",
        "2027-01-23T08:00Z",
        "2027-01-24T08:00Z",
        "2027-01-25T08:00Z",
        "2027-01-26T08:00Z",
        "2027-01-27T08:00Z",
        "2027-01-28T08:00Z",
        "2027-01-29T08:00Z",
        "2027-01-30T08:00Z",
        "2027-01-31T08:00Z",
        "2027-02-01T08:00Z",
        "2027-02-02T08:00Z",
        "2027-02-03T08:00Z",
        "2027-02-04T08:00Z",
        "2027-02-05T08:00Z",
        "2027-02-06T08:00Z",
        "2027-02-07T08:00Z",
        "2027-02-08T08:00Z",
        "2027-02-09T08:00Z",
        "2027-02-10T08:00Z",
        "2027-02-11T08:00Z",
        "2027-02-12T08:00Z",
        "2027-02-13T08:00Z",
        "2027-02-14T08:00Z",
        "2027-02-15T08:00Z",
        "2027-02-16T08:00Z",
        "2027-02-17T08:00Z",
        "2027-02-18T08:00Z",
        "2027-02-25T08:00Z",
        "2027-02-26T08:00Z",
        "2027-02-27T08:00Z",
        "2027-02-28T08:00Z",
        "2027-03-01T08:00Z",
        "2027-03-02T08:00Z",
        "2027-03-03T08:00Z",
        "2027-03-04T08:00Z",
        "2027-03-05T08:00Z",
        "2027-03-06T08:00Z",
        "2027-03-07T08:00Z",
        "2027-03-08T08:00Z",
        "2027-03-09T08:00Z",
        "2027-03-10T08:00Z",
        "2027-03-11T08:00Z",
        "2027-03-12T08:00Z",
        "2027-03-13T08:00Z",
        "2027-03-14T08:00Z",
        "2027-03-15T07:00Z",
        "2027-03-16T07:00Z",
        "2027-03-17T07:00Z",
        "2027-03-18T07:00Z",
        "2027-03-19T07:00Z",
        "2027-03-20T07:00Z",
        "2027-03-21T07:00Z",
        "2027-03-22T07:00Z",
        "2027-03-23T07:00Z",
        "2027-03-24T07:00Z",
        "2027-03-25T07:00Z",
        "2027-03-26T07:00Z",
        "2027-03-27T07:00Z",
        "2027-03-28T07:00Z",
        "2027-03-29T07:00Z",
        "2027-03-30T07:00Z",
        "2027-03-31T07:00Z",
        "2027-04-01T07:00Z",
        "2027-04-02T07:00Z",
        "2027-04-03T07:00Z",
        "2027-04-04T07:00Z",
        "2027-04-05T07:00Z",
        "2027-04-06T07:00Z",
        "2027-04-07T07:00Z",
        "2027-04-08T07:00Z",
        "2027-04-09T07:00Z",
        "2027-04-11T07:00Z"
    ]
}
获取联赛日历 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39594/get+league+calendar?sport=basketball&league=nba' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个联赛的团队及其ID、名称、缩写、颜色和徽标
Endpoint ID: 39595
GET https://zylalabs.com/api/15015/espn+api/39595/get+league+teams
输入参数

获取联赛球队 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)

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


输入参数

sport
league
API 示例响应
JSON
[
    {
        "abbreviation": "ATL",
        "alternateColor": "fdb927",
        "color": "c8102e",
        "displayName": "Atlanta Hawks",
        "id": "1",
        "isActive": true,
        "isAllStar": false,
        "location": "Atlanta",
        "logos": [
            {
                "alt": "",
                "height": 500,
                "href": "https://a.espncdn.com/i/teamlogos/nba/500/atl.png",
                "rel": [
                    "full",
                    "default"
                ],
                "width": 500
            },
            {
                "alt": "",
                "height": 500,
                "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/atl.png",
                "rel": [
                    "full",
                    "dark"
                ],
                "width": 500
            },
            {
                "alt": "",
                "height": 500,
                "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/atl.png",
                "rel": [
                    "full",
                    "scoreboard"
                ],
                "width": 500
            },
            {
                "alt": "",
                "height": 500,
                "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/atl.png",
                "rel": [
                    "full",
                    "scoreboard",
                    "dark"
                ],
                "width": 500
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_white_color.png",
                "rel": [
                    "full",
                    "primary_logo_on_white_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_black_color.png",
                "rel": [
                    "full",
                    "primary_logo_on_black_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_primary_color.png",
                "rel": [
                    "full",
                    "primary_logo_on_primary_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_secondary_color.png",
                "rel": [
                    "full",
                    "primary_logo_on_secondary_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_black.png",
                "rel": [
                    "full",
                    "primary_logo_black"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_white.png",
                "rel": [
                    "full",
                    "primary_logo_white"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_white_color.png",
                "rel": [
                    "full",
                    "secondary_logo_on_white_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_black_color.png",
                "rel": [
                    "full",
                    "secondary_logo_on_black_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_primary_color.png",
                "rel": [
                    "full",
                    "secondary_logo_on_primary_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_secondary_color.png",
                "rel": [
                    "full",
                    "secondary_logo_on_secondary_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_black.png",
                "rel": [
                    "full",
                    "secondary_logo_black"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_white.png",
                "rel": [
                    "full",
                    "secondary_logo_white"
                ],
                "width": 4096
            }
        ],
        "name": "Hawks",
        "nickname": "Atlanta",
        "shortDisplayName": "Hawks",
        "slug": "atlanta-hawks"
    },
    {
        "abbreviation": "BOS",
        "alternateColor": "ffffff",
        "color": "008348",
        "displayName": "Boston Celtics",
        "id": "2",
        "isActive": true,
        "isAllStar": false,
        "location": "Boston",
        "logos": [
            {
                "alt": "",
                "height": 500,
                "href": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
                "rel": [
                    "full",
                    "default"
                ],
                "width": 500
            },
            {
                "alt": "",
                "height": 500,
                "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/bos.png",
                "rel": [
                    "full",
                    "dark"
                ],
                "width": 500
            },
            {
                "alt": "",
                "height": 500,
                "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/bos.png",
                "rel": [
                    "full",
                    "scoreboard"
                ],
                "width": 500
            },
            {
                "alt": "",
                "height": 500,
                "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/bos.png",
                "rel": [
                    "full",
                    "scoreboard",
                    "dark"
                ],
                "width": 500
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/2ca761df-5f60-b2e9-22ed-e099c46d889b/logos/primary_logo_on_white_color.png",
                "rel": [
                    "full",
                    "primary_logo_on_white_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/2ca761df-5f60-b2e9-22ed-e099c46d889b/logos/primary_logo_on_black_color.png",
                "rel": [
                    "full",
                    "primary_logo_on_black_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/2ca761df-5f60-b2e9-22ed-e099c46d889b/logos/primary_logo_on_primary_color.png",
                "rel": [
                    "full",
                    "primary_logo_on_primary_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/2ca761df-5f60-b2e9-22ed-e099c46d889b/logos/primary_logo_on_secondary_color.png",
                "rel": [
                    "full",
                    "primary_logo_on_secondary_color"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096,
                "href": "https://a.espncdn.com/guid/2ca761df-5f60-b2e9-22ed-e099c46d889b/logos/primary_logo_black.png",
                "rel": [
                    "full",
                    "primary_logo_black"
                ],
                "width": 4096
            },
            {
                "alt": "",
                "height": 4096
            }
        ]
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取联赛球队 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39595/get+league+teams?sport=basketball&league=nba' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回按会议、分区或组别分组的联赛赛季排名,包括每支球队的胜利、失败、积分和其他排名统计信息。对于赛车,它返回司机和车队的排名
Endpoint ID: 39596
GET https://zylalabs.com/api/15015/espn+api/39596/get+league+standings
输入参数

获取联赛排名 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
season 可选 Season as a four-digit year (e.g. 2025), as returned by the league seasons list. Without it the current season is returned.

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


输入参数

sport
league
season
API 示例响应
JSON
{
    "id": "7",
    "name": "National Basketball Association",
    "abbreviation": "NBA",
    "shortName": "NBA",
    "children": [
        {
            "id": "5",
            "name": "Eastern Conference",
            "abbreviation": "East",
            "isConference": true,
            "standings": {
                "id": "0",
                "name": "overall",
                "displayName": "Standings",
                "season": 2025,
                "seasonType": 2,
                "seasonDisplayName": "2024-25",
                "entries": [
                    {
                        "team": {
                            "id": "5",
                            "location": "Cleveland",
                            "name": "Cavaliers",
                            "abbreviation": "CLE",
                            "displayName": "Cleveland Cavaliers",
                            "shortDisplayName": "Cavaliers",
                            "isActive": true,
                            "logos": [
                                {
                                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png",
                                    "width": 500,
                                    "height": 500,
                                    "alt": "",
                                    "rel": [
                                        "full",
                                        "default"
                                    ],
                                    "lastUpdated": "2024-06-25T21:17Z"
                                },
                                {
                                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/cle.png",
                                    "width": 500,
                                    "height": 500,
                                    "alt": "",
                                    "rel": [
                                        "full",
                                        "scoreboard",
                                        "dark"
                                    ],
                                    "lastUpdated": "2024-06-25T21:13Z"
                                }
                            ]
                        },
                        "stats": [
                            {
                                "name": "avgPointsAgainst",
                                "displayName": "Opponent Points Per Game",
                                "shortDisplayName": "OPP PPG",
                                "description": "Opponent Points Per Game",
                                "abbreviation": "OPP PPG",
                                "type": "avgpointsagainst",
                                "value": 112.414635,
                                "displayValue": "112.4"
                            },
                            {
                                "name": "avgPointsFor",
                                "displayName": "Points Per Game",
                                "shortDisplayName": "PPG",
                                "description": "Points Per Game",
                                "abbreviation": "PPG",
                                "type": "avgpointsfor",
                                "value": 121.939026,
                                "displayValue": "121.9"
                            },
                            {
                                "name": "clincher",
                                "displayName": "Clincher",
                                "shortDisplayName": "CLINCH",
                                "description": "Clinched Conference",
                                "abbreviation": "CLINCH",
                                "type": "clincher",
                                "value": 3,
                                "displayValue": "z"
                            },
                            {
                                "name": "differential",
                                "displayName": "Average Point Differential",
                                "shortDisplayName": "DIFF",
                                "description": "Average Point Differential",
                                "abbreviation": "DIFF",
                                "type": "differential",
                                "value": 9.5,
                                "displayValue": "+9.5"
                            },
                            {
                                "name": "divisionWinPercent",
                                "displayName": "Division Win Percentage",
                                "shortDisplayName": "DPCT",
                                "description": "Division Winning Percentage",
                                "abbreviation": "DPCT",
                                "type": "divisionwinpercent",
                                "value": 0.75,
                                "displayValue": "0.750"
                            },
                            {
                                "name": "gamesBehind",
                                "displayName": "Games Back",
                                "shortDisplayName": "GB",
                                "description": "Games Back",
                                "abbreviation": "GB",
                                "type": "gamesbehind",
                                "value": 0,
                                "displayValue": "-"
                            },
                            {
                                "name": "leagueWinPercent",
                                "displayName": "League Win Percentage",
                                "shortDisplayName": "LPCT",
                                "description": "League Winning Percentage",
                                "abbreviation": "LPCT",
                                "type": "leaguewinpercent",
                                "value": 0.78846157,
                                "displayValue": "0.788"
                            },
                            {
                                "name": "losses",
                                "displayName": "Losses",
                                "shortDisplayName": "L",
                                "description": "Losses",
                                "abbreviation": "L",
                                "type": "losses",
                                "value": 18,
                                "displayValue": "18"
                            },
                            {
                                "name": "playoffSeed",
                                "displayName": "Position",
                                "shortDisplayName": "POS",
                                "description": "Projected seed in the NBA Playoffs, according to BPI",
                                "abbreviation": "SEED",
                                "type": "playoffseed",
                                "value": 1,
                                "displayValue": "1"
                            },
                            {
                                "name": "pointDifferential",
                                "displayName": "Point Differential",
                                "shortDisplayName": "DIFF",
                                "description": "Point Differential",
                                "abbreviation": "DIFF",
                                "type": "pointdifferential",
                                "value": 781,
                                "displayValue": "+781"
                            },
                            {
                                "name": "points",
                                "displayName": "Points",
                                "shortDisplayName": "PTS",
                                "description": "Total Points",
                                "abbreviation": "PTS",
                                "type": "points",
                                "value": 23,
                                "displayValue": "23.0"
                            },
                            {
                                "name": "pointsAgainst",
                                "displayName": "Points Against",
                                "shortDisplayName": "PA",
                                "description": "Total Points Against",
                                "abbreviation": "PA",
                                "type": "pointsagainst",
                                "value": 9218,
                                "displayValue": "9218"
                            },
                            {
                                "name": "pointsFor",
                                "displayName": "Points For",
                                "shortDisplayName": "PF",
                                "description": "Total Points For",
                                "abbreviation": "PF",
                                "type": "pointsfor",
                                "value": 9999,
                                "displayValue": "9999"
                            },
                            {
                                "name": "streak",
                                "displayName": "Streak",
                                "shortDisplayName": "STRK",
                                "description": "Current Streak",
                                "abbreviation": "STRK"
                            }
                        ]
                    }
                ]
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取联赛排名 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39596/get+league+standings?sport=basketball&league=nba&season=2025' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个联赛的最新新闻文章,包括标题 描述 图片 发布日期和链接
Endpoint ID: 39597
GET https://zylalabs.com/api/15015/espn+api/39597/get+league+news
输入参数

获取联赛新闻 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
limit 可选 Number of items to return, between 1 and 100 (default 20)

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


输入参数

sport
league
limit
API 示例响应
JSON
[
    {
        "id": 50508608,
        "nowId": "1-50508608",
        "type": "Preview",
        "headline": "Magic play the 76ers on 4-game win streak",
        "description": "Philadelphia 76ers (12-3, first in the Eastern Conference) vs. Orlando Magic (6-7, eighth in the Eastern Conference)",
        "lastModified": "2026-11-17T07:04:45Z",
        "published": "2026-11-17T07:04:45Z",
        "images": [
            {
                "type": "stitcher",
                "name": "espn.applewatch.awayhome.1",
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.applewatch.awayhome.1"
            },
            {
                "type": "stitcher",
                "name": "espn.applewatch.homeaway.1",
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.applewatch.homeaway.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.awayhome.16x9.1",
                "ratio": "16x9",
                "height": 173,
                "width": 308,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.all.awayhome.16x9.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.homeaway.16x9.1",
                "ratio": "16x9",
                "height": 173,
                "width": 308,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.all.homeaway.16x9.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.awayhome.1x1.1",
                "ratio": "1x1",
                "height": 308,
                "width": 308,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.all.awayhome.1x1.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.homeaway.1x1.1",
                "ratio": "1x1",
                "height": 308,
                "width": 308,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.all.homeaway.1x1.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.awayhome.5x2.1",
                "ratio": "5x2",
                "height": 124,
                "width": 308,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.all.awayhome.5x2.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.homeaway.5x2.1",
                "ratio": "5x2",
                "height": 124,
                "width": 308,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.all.homeaway.5x2.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.awayhome.16x9.2",
                "ratio": "16x9",
                "height": 353,
                "width": 628,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.all.awayhome.16x9.2"
            },
            {
                "type": "stitcher",
                "name": "espn.all.homeaway.16x9.2",
                "ratio": "16x9",
                "height": 353,
                "width": 628,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.all.homeaway.16x9.2"
            },
            {
                "type": "stitcher",
                "name": "espn.all.awayhome.5x2.2",
                "ratio": "5x2",
                "height": 251,
                "width": 628,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.all.awayhome.5x2.2"
            },
            {
                "type": "stitcher",
                "name": "espn.all.homeaway.5x2.2",
                "ratio": "5x2",
                "height": 251,
                "width": 628,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910010.png?templateId=espn.all.homeaway.5x2.2"
            }
        ],
        "categories": [
            {
                "id": 9577,
                "type": "league",
                "description": "NBA",
                "sportId": 46,
                "leagueId": 46,
                "league": {
                    "id": 46,
                    "description": "NBA",
                    "abbreviation": "NBA",
                    "links": {
                        "web": {
                            "leagues": {
                                "href": "https://www.espn.com/nba/"
                            }
                        }
                    }
                }
            },
            {
                "id": 4309,
                "type": "team",
                "description": "Orlando Magic",
                "sportId": 46,
                "teamId": 19,
                "team": {
                    "id": 19,
                    "description": "Orlando Magic",
                    "abbreviation": "ORL",
                    "shortDisplayName": "Magic",
                    "links": {
                        "web": {
                            "teams": {
                                "href": "https://www.espn.com/nba/team/_/name/orl/orlando-magic"
                            }
                        }
                    }
                }
            },
            {
                "id": 4323,
                "type": "team",
                "description": "Philadelphia 76ers",
                "sportId": 46,
                "teamId": 20,
                "team": {
                    "id": 20,
                    "description": "Philadelphia 76ers",
                    "abbreviation": "PHI",
                    "shortDisplayName": "76ers",
                    "links": {
                        "web": {
                            "teams": {
                                "href": "https://www.espn.com/nba/team/_/name/phi/philadelphia-76ers"
                            }
                        }
                    }
                }
            },
            {
                "type": "event",
                "description": "Philadelphia 76ers @ Orlando Magic",
                "eventId": 401910010,
                "event": {
                    "id": 401910010,
                    "sport": "basketball",
                    "league": "nba",
                    "description": "Philadelphia 76ers @ Orlando Magic"
                }
            }
        ],
        "links": {
            "web": {
                "href": "http://www.espn.com/nba/preview?gameId=401910010"
            }
        },
        "premium": false
    },
    {
        "id": 50508607,
        "nowId": "1-50508607",
        "type": "Preview",
        "headline": "Milwaukee takes on Miami on 10-game skid",
        "description": "Milwaukee Bucks (1-13, 15th in the Eastern Conference) vs. Miami Heat (8-6, fourth in the Eastern Conference)",
        "lastModified": "2026-11-17T07:04:43Z",
        "published": "2026-11-17T07:04:43Z",
        "images": [
            {
                "type": "stitcher",
                "name": "espn.applewatch.awayhome.1",
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910009.png?templateId=espn.applewatch.awayhome.1"
            },
            {
                "type": "stitcher",
                "name": "espn.applewatch.homeaway.1",
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910009.png?templateId=espn.applewatch.homeaway.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.awayhome.16x9.1",
                "ratio": "16x9",
                "height": 173,
                "width": 308,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910009.png?templateId=espn.all.awayhome.16x9.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.homeaway.16x9.1",
                "ratio": "16x9",
                "height": 173,
                "width": 308,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910009.png?templateId=espn.all.homeaway.16x9.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.awayhome.1x1.1",
                "ratio": "1x1",
                "height": 308,
                "width": 308,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910009.png?templateId=espn.all.awayhome.1x1.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.homeaway.1x1.1",
                "ratio": "1x1",
                "height": 308,
                "width": 308,
                "url": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401910009.png?templateId=espn.all.homeaway.1x1.1"
            },
            {
                "type": "stitcher",
                "name": "espn.all.awayhome.5x2.1",
                "ratio": "5x2",
                "height": 124,
                "width": 308
            }
        ]
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取联赛新闻 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39597/get+league+news?sport=basketball&league=nba&limit=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回按球队分组的联赛伤病情况:受伤球员的状态、伤病类型、详细信息和日期
Endpoint ID: 39598
GET https://zylalabs.com/api/15015/espn+api/39598/get+league+injuries
输入参数

获取联盟伤病情况 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)

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


输入参数

sport
league
API 示例响应
JSON
[
    {
        "id": "1",
        "displayName": "Atlanta Hawks",
        "injuries": [
            {
                "id": "-60978",
                "longComment": "Landale missed four games earlier this month with a left hip issue, and he'll sit out Sunday due to right hip inflammation. Look for Zuby Ejiofor to see more minutes behind starter Onyeke Okongwu with Landale out of commission Sunday.",
                "shortComment": "Landale (hip) is out for Sunday's game against Bucks, Brad Rowland of the Locked On Podcast Network reports.",
                "status": "Day-To-Day",
                "date": "2026-11-16T14:47Z",
                "athlete": {
                    "firstName": "Jock",
                    "lastName": "Landale",
                    "displayName": "Jock Landale",
                    "shortName": "J. Landale",
                    "headshot": {
                        "href": "https://a.espncdn.com/i/headshots/nba/players/full/3146557.png",
                        "alt": "Jock Landale"
                    },
                    "position": {
                        "id": "9",
                        "name": "Center",
                        "displayName": "Center",
                        "abbreviation": "C",
                        "leaf": false
                    },
                    "team": {
                        "id": "1",
                        "slug": "atlanta-hawks",
                        "name": "Hawks",
                        "abbreviation": "ATL",
                        "displayName": "Atlanta Hawks",
                        "logos": [
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nba/500/atl.png",
                                "width": 500,
                                "height": 500,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "default"
                                ],
                                "lastUpdated": "2024-06-25T21:17Z"
                            },
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/atl.png",
                                "width": 500,
                                "height": 500,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "dark"
                                ],
                                "lastUpdated": "2024-06-25T21:13Z"
                            },
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/atl.png",
                                "width": 500,
                                "height": 500,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "scoreboard"
                                ],
                                "lastUpdated": "2024-06-25T21:18Z"
                            },
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/atl.png",
                                "width": 500,
                                "height": 500,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "scoreboard",
                                    "dark"
                                ],
                                "lastUpdated": "2024-06-25T21:13Z"
                            },
                            {
                                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_white_color.png",
                                "width": 4096,
                                "height": 4096,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "primary_logo_on_white_color"
                                ],
                                "lastUpdated": "2026-07-22T20:23Z"
                            },
                            {
                                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_black_color.png",
                                "width": 4096,
                                "height": 4096,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "primary_logo_on_black_color"
                                ],
                                "lastUpdated": "2026-07-22T20:23Z"
                            },
                            {
                                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_primary_color.png",
                                "width": 4096,
                                "height": 4096,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "primary_logo_on_primary_color"
                                ],
                                "lastUpdated": "2026-07-22T20:23Z"
                            },
                            {
                                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_secondary_color.png",
                                "width": 4096,
                                "height": 4096,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "primary_logo_on_secondary_color"
                                ],
                                "lastUpdated": "2026-07-22T20:23Z"
                            },
                            {
                                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_black.png",
                                "width": 4096,
                                "height": 4096,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "primary_logo_black"
                                ],
                                "lastUpdated": "2026-07-22T20:23Z"
                            },
                            {
                                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_white.png",
                                "width": 4096,
                                "height": 4096,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "primary_logo_white"
                                ],
                                "lastUpdated": "2026-07-22T20:23Z"
                            },
                            {
                                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_white_color.png",
                                "width": 4096,
                                "height": 4096,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "secondary_logo_on_white_color"
                                ],
                                "lastUpdated": "2026-07-22T20:23Z"
                            },
                            {
                                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_black_color.png",
                                "width": 4096,
                                "height": 4096,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "secondary_logo_on_black_color"
                                ],
                                "lastUpdated": "2026-07-22T20:23Z"
                            },
                            {
                                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_primary_color.png",
                                "width": 4096,
                                "height": 4096,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "secondary_logo_on_primary_color"
                                ],
                                "lastUpdated": "2026-07-22T20:23Z"
                            },
                            {
                                "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_secondary_color.png",
                                "width": 4096,
                                "height": 4096,
                                "alt": ""
                            }
                        ]
                    }
                }
            }
        ]
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取联盟伤病情况 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39598/get+league+injuries?sport=basketball&league=nba' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个联盟的交易:签约、交易、放弃和其他名单变动,以及日期、球队和描述
Endpoint ID: 39599
GET https://zylalabs.com/api/15015/espn+api/39599/get+league+transactions
输入参数

获取联赛交易 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
season 可选 Season as a four-digit year (e.g. 2025), as returned by the league seasons list. Without it the current season is returned.
page 可选 Page number, starting at 1

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


输入参数

sport
league
season
page
API 示例响应
JSON
{
    "season": {
        "year": 2027,
        "type": 2,
        "name": "Regular Season",
        "displayName": "2026-27"
    },
    "count": 481,
    "pageIndex": 1,
    "pageSize": 25,
    "pageCount": 20,
    "transactions": [
        {
            "date": "2025-12-31T08:00Z",
            "description": "Signed G RayJ Dennis to a two-way contract. Waived F Eli John Ndiaye.",
            "team": {
                "id": "1",
                "location": "Atlanta",
                "name": "Hawks",
                "abbreviation": "ATL",
                "displayName": "Atlanta Hawks",
                "color": "c8102e",
                "alternateColor": "fdb927",
                "logos": [
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/atl.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "default"
                        ],
                        "lastUpdated": "2024-06-25T21:17Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/atl.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "dark"
                        ],
                        "lastUpdated": "2024-06-25T21:13Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/atl.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "scoreboard"
                        ],
                        "lastUpdated": "2024-06-25T21:18Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/atl.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "scoreboard",
                            "dark"
                        ],
                        "lastUpdated": "2024-06-25T21:13Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_white_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_on_white_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_black_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_on_black_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_primary_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_on_primary_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_on_secondary_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_on_secondary_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_black.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_black"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/primary_logo_white.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_white"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_white_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_on_white_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_black_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_on_black_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_primary_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_on_primary_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_on_secondary_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_on_secondary_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_black.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_black"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/15096a54-f015-c987-5ec8-55afedf6272f/logos/secondary_logo_white.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_white"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    }
                ]
            }
        },
        {
            "date": "2025-12-29T08:00Z",
            "description": "Signed C Mo Bamba to a rest-of-season contract.",
            "team": {
                "id": "28",
                "location": "Toronto",
                "name": "Raptors",
                "abbreviation": "TOR",
                "displayName": "Toronto Raptors",
                "color": "d91244",
                "alternateColor": "000000",
                "logos": [
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/tor.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "default"
                        ]
                    }
                ]
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取联赛交易 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39599/get+league+transactions?sport=basketball&league=nba&season=2025&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回按类别(例如每场得分、传球码数、进球)统计的联盟赛季的领导者,包括球员、他们的球队和数值
Endpoint ID: 39600
GET https://zylalabs.com/api/15015/espn+api/39600/get+league+statistical+leaders
输入参数

获取联赛统计领先者 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
season 可选 Season as a four-digit year (e.g. 2025), as returned by the league seasons list. Without it the current season is returned.
limit 可选 Number of items to return, between 1 and 100 (default 10)

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


输入参数

sport
league
season
limit
API 示例响应
JSON
{
    "season": {
        "year": 2025,
        "displayName": "2025",
        "startDate": "2025-07-31T07:00:00.000+00:00",
        "endDate": "2026-02-12T07:59:00.000+00:00",
        "type": {
            "id": "3",
            "type": 3,
            "name": "Postseason",
            "startDate": "2026-01-07T08:00:00.000+00:00",
            "endDate": "2026-02-12T07:59:00.000+00:00",
            "week": []
        }
    },
    "categories": [
        {
            "name": "passingYards",
            "displayName": "Passing Yards",
            "abbreviation": "YDS",
            "leaders": [
                {
                    "displayValue": "936",
                    "value": 936,
                    "rel": [
                        "athlete"
                    ],
                    "athlete": {
                        "id": "12483",
                        "firstName": "Matthew",
                        "lastName": "Stafford",
                        "displayName": "Matthew Stafford",
                        "fullName": "Matthew Stafford",
                        "shortName": "M. Stafford",
                        "jersey": "9",
                        "headshot": {
                            "href": "https://a.espncdn.com/i/headshots/nfl/players/full/12483.png",
                            "alt": "Matthew Stafford"
                        },
                        "position": {
                            "id": "8",
                            "name": "Quarterback",
                            "displayName": "Quarterback",
                            "abbreviation": "QB",
                            "leaf": true,
                            "parent": {
                                "leaf": false
                            },
                            "slug": "quarterback"
                        },
                        "birthPlace": {
                            "city": "Dallas",
                            "state": "TX",
                            "country": "USA"
                        }
                    },
                    "statistics": [],
                    "team": {
                        "id": "14",
                        "slug": "los-angeles-rams",
                        "name": "Rams",
                        "nickname": "Rams",
                        "abbreviation": "LAR",
                        "displayName": "Los Angeles Rams",
                        "shortDisplayName": "Rams",
                        "color": "003594",
                        "alternateColor": "ffd100",
                        "logos": [
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nfl/500/lar.png",
                                "width": 500,
                                "height": 500,
                                "rel": [
                                    "full",
                                    "default"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nfl/500-dark/lar.png",
                                "width": 500,
                                "height": 500,
                                "rel": [
                                    "full",
                                    "dark"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/lar.png",
                                "width": 500,
                                "height": 500,
                                "rel": [
                                    "full",
                                    "scoreboard"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nfl/500-dark/scoreboard/lar.png",
                                "width": 500,
                                "height": 500,
                                "rel": [
                                    "full",
                                    "scoreboard",
                                    "dark"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/grayscale.png",
                                "width": 500,
                                "height": 500,
                                "rel": [
                                    "full",
                                    "grayscale"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/primary_logo_on_white_color.png",
                                "width": 4096,
                                "height": 4096,
                                "rel": [
                                    "full",
                                    "primary_logo_on_white_color"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/primary_logo_on_black_color.png",
                                "width": 4096,
                                "height": 4096,
                                "rel": [
                                    "full",
                                    "primary_logo_on_black_color"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/primary_logo_on_primary_color.png",
                                "width": 4096,
                                "height": 4096,
                                "rel": [
                                    "full",
                                    "primary_logo_on_primary_color"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/primary_logo_on_secondary_color.png",
                                "width": 4096,
                                "height": 4096,
                                "rel": [
                                    "full",
                                    "primary_logo_on_secondary_color"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/primary_logo_black.png",
                                "width": 4096,
                                "height": 4096,
                                "rel": [
                                    "full",
                                    "primary_logo_black"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/primary_logo_white.png",
                                "width": 4096,
                                "height": 4096,
                                "rel": [
                                    "full",
                                    "primary_logo_white"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/secondary_logo_on_white_color.png",
                                "width": 4096,
                                "height": 4096,
                                "rel": [
                                    "full",
                                    "secondary_logo_on_white_color"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/secondary_logo_on_black_color.png",
                                "width": 4096,
                                "height": 4096,
                                "rel": [
                                    "full",
                                    "secondary_logo_on_black_color"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/secondary_logo_on_primary_color.png",
                                "width": 4096,
                                "height": 4096,
                                "rel": [
                                    "full",
                                    "secondary_logo_on_primary_color"
                                ]
                            },
                            {
                                "href": "https://a.espncdn.com/guid/2e1473b2-e269-fd7a-1137-c1edacb85986/logos/secondary_logo_on_secondary_color.png",
                                "width": 4096,
                                "height": 4096,
                                "rel": [
                                    "full"
                                ]
                            }
                        ]
                    }
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取联赛统计领先者 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39600/get+league+statistical+leaders?sport=football&league=nfl&season=2025&limit=10' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个联赛赛季的球员统计排名,例如足球的最佳射手和最佳助攻者
Endpoint ID: 39601
GET https://zylalabs.com/api/15015/espn+api/39601/get+league+player+statistics
输入参数

获取联赛球员统计数据 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
season 可选 Season as a four-digit year (e.g. 2025), as returned by the league seasons list. Without it the current season is returned.

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


输入参数

sport
league
season
API 示例响应
JSON
{
    "season": {
        "year": 2026,
        "displayName": "2026-27 English Premier League",
        "type": 14308,
        "name": "2026-27 English Premier League"
    },
    "stats": [
        {
            "name": "goalsLeaders",
            "displayName": "Goals",
            "shortDisplayName": "Goals",
            "abbreviation": "G",
            "leaders": [
                {
                    "displayValue": "Matches: 35, Goals: 27",
                    "shortDisplayValue": "M: 35, G: 27: A: 8",
                    "value": 27,
                    "athlete": {
                        "id": "253989",
                        "displayName": "Erling Haaland",
                        "shortName": "E. Haaland",
                        "jersey": "9",
                        "team": {
                            "id": "382",
                            "name": "Manchester City",
                            "abbreviation": "MNC",
                            "displayName": "Manchester City",
                            "color": "99c5ea",
                            "logos": [
                                {
                                    "href": "https://a.espncdn.com/i/teamlogos/soccer/500/382.png",
                                    "width": 500,
                                    "height": 500,
                                    "alt": "",
                                    "rel": [
                                        "full",
                                        "default"
                                    ],
                                    "lastUpdated": "2019-05-08T16:07Z"
                                },
                                {
                                    "href": "https://a.espncdn.com/i/teamlogos/soccer/500-dark/382.png",
                                    "width": 500,
                                    "height": 500,
                                    "alt": "",
                                    "rel": [
                                        "full",
                                        "dark"
                                    ],
                                    "lastUpdated": "2019-05-08T16:07Z"
                                }
                            ]
                        },
                        "statistics": [
                            {
                                "name": "appearances",
                                "displayName": "Appearances",
                                "shortDisplayName": "APP",
                                "description": "The number of times a player has made an appearance in a match.",
                                "abbreviation": "APP",
                                "value": 35,
                                "displayValue": "35"
                            },
                            {
                                "name": "totalGoals",
                                "displayName": "Total Goals",
                                "shortDisplayName": "G",
                                "description": "The number of goals scored against the opposing team.",
                                "abbreviation": "G",
                                "value": 27,
                                "displayValue": "27"
                            },
                            {
                                "name": "goalAssists",
                                "displayName": "Assists",
                                "shortDisplayName": "A",
                                "description": "The number of assists.",
                                "abbreviation": "A",
                                "value": 8,
                                "displayValue": "8"
                            }
                        ]
                    }
                },
                {
                    "displayValue": "Matches: 38, Goals: 22",
                    "shortDisplayValue": "M: 38, G: 22: A: 1",
                    "value": 22,
                    "athlete": {
                        "id": "301894",
                        "displayName": "Igor Thiago",
                        "shortName": "I. Thiago",
                        "jersey": "9",
                        "team": {
                            "id": "337",
                            "name": "Brentford",
                            "abbreviation": "BRE",
                            "displayName": "Brentford",
                            "color": "f42727",
                            "logos": [
                                {
                                    "href": "https://a.espncdn.com/i/teamlogos/soccer/500/337.png",
                                    "width": 500,
                                    "height": 500,
                                    "alt": "",
                                    "rel": [
                                        "full",
                                        "default"
                                    ],
                                    "lastUpdated": "2020-07-16T16:13Z"
                                },
                                {
                                    "href": "https://a.espncdn.com/i/teamlogos/soccer/500-dark/337.png",
                                    "width": 500,
                                    "height": 500,
                                    "alt": "",
                                    "rel": [
                                        "full",
                                        "dark"
                                    ],
                                    "lastUpdated": "2020-07-16T16:14Z"
                                }
                            ]
                        },
                        "statistics": [
                            {
                                "name": "appearances",
                                "displayName": "Appearances",
                                "shortDisplayName": "APP",
                                "description": "The number of times a player has made an appearance in a match.",
                                "abbreviation": "APP",
                                "value": 38,
                                "displayValue": "38"
                            },
                            {
                                "name": "totalGoals",
                                "displayName": "Total Goals",
                                "shortDisplayName": "G",
                                "description": "The number of goals scored against the opposing team.",
                                "abbreviation": "G",
                                "value": 22,
                                "displayValue": "22"
                            },
                            {
                                "name": "goalAssists",
                                "displayName": "Assists",
                                "shortDisplayName": "A",
                                "description": "The number of assists.",
                                "abbreviation": "A",
                                "value": 1,
                                "displayValue": "1"
                            }
                        ]
                    }
                },
                {
                    "displayValue": "Matches: 37, Goals: 17",
                    "shortDisplayValue": "M: 37, G: 17: A: 4",
                    "value": 17,
                    "athlete": {
                        "id": "273292",
                        "displayName": "Antoine Semenyo",
                        "shortName": "A. Semenyo",
                        "jersey": "42",
                        "team": {
                            "id": "382",
                            "name": "Manchester City",
                            "abbreviation": "MNC",
                            "displayName": "Manchester City",
                            "color": "99c5ea",
                            "logos": [
                                {
                                    "href": "https://a.espncdn.com/i/teamlogos/soccer/500/382.png",
                                    "width": 500,
                                    "height": 500,
                                    "alt": "",
                                    "rel": [
                                        "full",
                                        "default"
                                    ],
                                    "lastUpdated": "2019-05-08T16:07Z"
                                },
                                {
                                    "href": "https://a.espncdn.com/i/teamlogos/soccer/500-dark/382.png",
                                    "width": 500,
                                    "height": 500,
                                    "alt": "",
                                    "rel": [
                                        "full",
                                        "dark"
                                    ],
                                    "lastUpdated": "2019-05-08T16:07Z"
                                }
                            ]
                        },
                        "statistics": [
                            {
                                "name": "appearances",
                                "displayName": "Appearances",
                                "shortDisplayName": "APP"
                            }
                        ]
                    }
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取联赛球员统计数据 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39601/get+league+player+statistics?sport=soccer&league=eng.1&season=2025' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个联盟的排名:大学体育的投票(AP前25名,教练投票),网球的ATP和WTA排名,综合格斗中的按斤排名和分级排名
Endpoint ID: 39602
GET https://zylalabs.com/api/15015/espn+api/39602/get+league+rankings
输入参数

获取联赛排名 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)

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


输入参数

sport
league
API 示例响应
JSON
[
    {
        "id": "1",
        "name": "AP Top 25",
        "shortName": "AP Poll",
        "type": "ap",
        "occurrence": {
            "number": 3,
            "type": "week",
            "last": false,
            "value": "3",
            "displayValue": "Week 3"
        },
        "date": "2026-11-16T08:00Z",
        "headline": "2027 NCAA Basketball Rankings - AP Top 25 Week 3",
        "shortHeadline": "2027 : Week 3",
        "season": {
            "year": 2027,
            "startDate": "2026-07-13T07:00Z",
            "endDate": "2027-04-07T06:59Z",
            "displayName": "2026-27",
            "type": {
                "type": 2,
                "name": "Regular Season",
                "abbreviation": "reg"
            }
        },
        "lastUpdated": "2026-11-16T21:14Z",
        "ranks": [
            {
                "current": 1,
                "previous": 1,
                "points": 1472,
                "firstPlaceVotes": 56,
                "trend": "-",
                "team": {
                    "id": "57",
                    "location": "Florida",
                    "name": "Gators",
                    "nickname": "Florida",
                    "abbreviation": "FLA",
                    "color": "0021a5",
                    "logos": [
                        {
                            "href": "https://a.espncdn.com/i/teamlogos/ncaa/500/57.png",
                            "width": 500,
                            "height": 500,
                            "alt": "",
                            "rel": [
                                "full",
                                "default"
                            ],
                            "lastUpdated": "2025-12-19T23:48Z"
                        },
                        {
                            "href": "https://a.espncdn.com/i/teamlogos/ncaa/500-dark/57.png",
                            "width": 500,
                            "height": 500,
                            "alt": "",
                            "rel": [
                                "full",
                                "dark"
                            ],
                            "lastUpdated": "2025-12-19T23:47Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/primary_logo_on_white_color.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "primary_logo_on_white_color"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/primary_logo_on_black_color.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "primary_logo_on_black_color"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/primary_logo_on_primary_color.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "primary_logo_on_primary_color"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/primary_logo_on_secondary_color.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "primary_logo_on_secondary_color"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/primary_logo_black.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "primary_logo_black"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/primary_logo_white.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "primary_logo_white"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/secondary_logo_on_white_color.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "secondary_logo_on_white_color"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/secondary_logo_on_black_color.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "secondary_logo_on_black_color"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/secondary_logo_on_primary_color.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "secondary_logo_on_primary_color"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/secondary_logo_on_secondary_color.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "secondary_logo_on_secondary_color"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/secondary_logo_black.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "secondary_logo_black"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        },
                        {
                            "href": "https://a.espncdn.com/guid/266eb980-22c9-0835-bd93-a52b46a28112/logos/secondary_logo_white.png",
                            "width": 4096,
                            "height": 4096,
                            "alt": "",
                            "rel": [
                                "full",
                                "secondary_logo_white"
                            ],
                            "lastUpdated": "2026-07-23T17:26Z"
                        }
                    ],
                    "logo": "https://a.espncdn.com/i/teamlogos/ncaa/500/57.png"
                },
                "date": "2026-11-16T08:00Z",
                "lastUpdated": "2026-11-16T21:14Z",
                "recordSummary": "4-0"
            },
            {
                "current": 2,
                "previous": 5,
                "points": 1391,
                "firstPlaceVotes": 3,
                "trend": "+3",
                "team": {
                    "id": "127",
                    "location": "Michigan State",
                    "name": "Spartans"
                }
            }
        ]
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取联赛排名 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39602/get+league+rankings?sport=basketball&league=mens-college-basketball' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个联赛赛季的草稿:轮次 选秀 被选球员 球队和位置
Endpoint ID: 39603
GET https://zylalabs.com/api/15015/espn+api/39603/get+league+draft
输入参数

获取联赛选秀 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
season 可选 Season as a four-digit year (e.g. 2025), as returned by the league seasons list. Without it the current season is returned.

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


输入参数

sport
league
season
API 示例响应
JSON
{
    "broadcasts": [
        {
            "lang": "en",
            "market": {
                "id": "1",
                "type": "National"
            },
            "media": {
                "callLetters": "ESPN",
                "id": "126",
                "name": "ESPN",
                "shortName": "ESPN",
                "slug": "espn"
            },
            "priority": 1,
            "region": "us",
            "slug": "espn",
            "station": "ESPN",
            "type": {
                "id": "1",
                "longName": "TV",
                "shortName": "TV",
                "slug": "tv"
            }
        }
    ],
    "displayName": "2025 National Basketball Association Draft",
    "picks": [
        {
            "athlete": {
                "alternativeId": "5041939",
                "attributes": [
                    {
                        "abbreviation": "POS RK",
                        "displayName": "Rank",
                        "displayValue": "1",
                        "name": "rank"
                    },
                    {
                        "abbreviation": "OVR RK",
                        "displayName": "Overall",
                        "displayValue": "1",
                        "name": "overall"
                    }
                ],
                "displayHeight": "6'8\"",
                "displayName": "Cooper Flagg",
                "displayWeight": "221 lbs",
                "headshot": {
                    "href": "https://a.espncdn.com/i/headshots/mens-college-basketball/players/full/5041939.png"
                },
                "id": "110358",
                "link": "https://www.espn.com/nba/player/_/id/5041939/cooper-flagg",
                "position": {
                    "id": "7"
                },
                "proLink": "https://www.espn.com/nba/player/_/id/5041939/cooper-flagg",
                "team": {
                    "abbreviation": "DUKE",
                    "location": "Duke",
                    "name": "Blue Devils",
                    "shortDisplayName": "Duke"
                }
            },
            "overall": 1,
            "pick": 1,
            "round": 1,
            "status": "SELECTION_MADE",
            "teamId": "6",
            "traded": false
        },
        {
            "athlete": {
                "alternativeId": "5037871",
                "attributes": [
                    {
                        "abbreviation": "POS RK",
                        "displayName": "Rank",
                        "displayValue": "1",
                        "name": "rank"
                    },
                    {
                        "abbreviation": "OVR RK",
                        "displayName": "Overall",
                        "displayValue": "2",
                        "name": "overall"
                    }
                ],
                "displayHeight": "6'5\"",
                "displayName": "Dylan Harper",
                "displayWeight": "213 lbs",
                "headshot": {
                    "href": "https://a.espncdn.com/i/headshots/mens-college-basketball/players/full/5037871.png"
                },
                "id": "110359",
                "link": "https://www.espn.com/nba/player/_/id/5037871/dylan-harper",
                "position": {
                    "id": "3"
                },
                "proLink": "https://www.espn.com/nba/player/_/id/5037871/dylan-harper",
                "team": {
                    "abbreviation": "RUTG",
                    "location": "Rutgers",
                    "name": "Scarlet Knights",
                    "shortDisplayName": "Rutgers"
                }
            },
            "overall": 2,
            "pick": 2,
            "round": 1,
            "status": "SELECTION_MADE",
            "teamId": "24",
            "traded": false
        },
        {
            "athlete": {
                "alternativeId": "5124612",
                "attributes": [
                    {
                        "abbreviation": "POS RK",
                        "displayName": "Rank",
                        "displayValue": "3",
                        "name": "rank"
                    },
                    {
                        "abbreviation": "OVR RK",
                        "displayName": "Overall",
                        "displayValue": "4",
                        "name": "overall"
                    }
                ],
                "displayHeight": "6'4\"",
                "displayName": "VJ Edgecombe",
                "displayWeight": "193 lbs",
                "headshot": {
                    "href": "https://a.espncdn.com/i/headshots/mens-college-basketball/players/full/5124612.png"
                },
                "id": "110361",
                "link": "https://www.espn.com/nba/player/_/id/5124612/vj-edgecombe",
                "position": {
                    "id": "3"
                },
                "proLink": "https://www.espn.com/nba/player/_/id/5124612/vj-edgecombe",
                "team": {
                    "abbreviation": "BAY",
                    "location": "Baylor",
                    "name": "Bears",
                    "shortDisplayName": "Baylor"
                }
            },
            "overall": 3,
            "pick": 3,
            "round": 1,
            "status": "SELECTION_MADE",
            "teamId": "20",
            "traded": false
        },
        {
            "athlete": {
                "alternativeId": "5061575",
                "attributes": [
                    {
                        "abbreviation": "POS RK",
                        "displayName": "Rank",
                        "displayValue": "5",
                        "name": "rank"
                    },
                    {
                        "abbreviation": "OVR RK",
                        "displayName": "Overall",
                        "displayValue": "6",
                        "name": "overall"
                    }
                ],
                "displayHeight": "6'5\"",
                "displayName": "Kon Knueppel",
                "displayWeight": "219 lbs",
                "headshot": {
                    "href": "https://a.espncdn.com/i/headshots/mens-college-basketball/players/full/5061575.png"
                },
                "id": "110366",
                "link": "https://www.espn.com/nba/player/_/id/5061575/kon-knueppel",
                "position": {
                    "id": "3"
                },
                "proLink": "https://www.espn.com/nba/player/_/id/5061575/kon-knueppel",
                "team": {
                    "abbreviation": "DUKE",
                    "location": "Duke",
                    "name": "Blue Devils",
                    "shortDisplayName": "Duke"
                }
            },
            "overall": 4,
            "pick": 4,
            "round": 1,
            "status": "SELECTION_MADE",
            "teamId": "30",
            "traded": false
        },
        {
            "athlete": {
                "alternativeId": "4873138",
                "attributes": [
                    {
                        "abbreviation": "POS RK",
                        "displayName": "Rank",
                        "displayValue": "2",
                        "name": "rank"
                    },
                    {
                        "abbreviation": "OVR RK",
                        "displayName": "Overall",
                        "displayValue": "3",
                        "name": "overall"
                    }
                ],
                "displayHeight": "6'8\"",
                "displayName": "Ace Bailey",
                "displayWeight": "203 lbs",
                "headshot": {
                    "href": "https://a.espncdn.com/i/headshots/mens-college-basketball/players/full/4873138.png"
                },
                "id": "110360",
                "link": "https://www.espn.com/nba/player/_/id/4873138/ace-bailey",
                "position": {
                    "id": "3"
                },
                "proLink": "https://www.espn.com/nba/player/_/id/4873138/ace-bailey",
                "team": {
                    "abbreviation": "RUTG",
                    "location": "Rutgers",
                    "name": "Scarlet Knights",
                    "shortDisplayName": "Rutgers"
                }
            },
            "overall": 5,
            "pick": 5,
            "round": 1,
            "status": "SELECTION_MADE",
            "teamId": "26",
            "traded": false
        },
        {
            "athlete": {
                "alternativeId": "5238230",
                "attributes": [
                    {
                        "abbreviation": "POS RK",
                        "displayName": "Rank",
                        "displayValue": "4",
                        "name": "rank"
                    },
                    {
                        "abbreviation": "OVR RK",
                        "displayName": "Overall",
                        "displayValue": "5",
                        "name": "overall"
                    }
                ],
                "displayHeight": "6'5\"",
                "displayName": "Tre Johnson",
                "displayWeight": "190 lbs"
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取联赛选秀 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39603/get+league+draft?sport=basketball&league=nba&season=2025' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某一日期的联赛比赛,包括球队、比分、状态、场地、转播和赔率。如果没有日期,则返回联赛的当前赛程:今天的比赛,或当前周或轮次。对于网球和高尔夫,比赛是一个包含其轮次和竞争者的赛事。对于足球,联赛“全部”返回每个比赛的比赛
Endpoint ID: 39604
GET https://zylalabs.com/api/15015/espn+api/39604/get+matches+of+a+league+by+date
输入参数

按日期获取联赛的比赛 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
date 可选 Date in Y-m-d format (e.g. 2026-11-16). Without it the current slate of the league is returned.
group 可选 Group (conference) id that narrows the list down. College leagues list only the ranked teams by default; 50 returns every NCAA Division I game.

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


输入参数

sport
league
date
group
API 示例响应
JSON
{
    "leagues": [
        {
            "id": "46",
            "name": "National Basketball Association",
            "abbreviation": "NBA",
            "slug": "nba",
            "season": {
                "year": 2027,
                "startDate": "2026-09-30T07:00Z",
                "endDate": "2027-06-26T06:59Z",
                "displayName": "2026-27",
                "type": {
                    "id": "2",
                    "type": 2,
                    "name": "Regular Season",
                    "abbreviation": "reg"
                }
            },
            "logos": [
                {
                    "href": "https://a.espncdn.com/i/teamlogos/leagues/500/nba.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "default"
                    ],
                    "lastUpdated": "2018-06-05T12:07Z"
                },
                {
                    "href": "https://a.espncdn.com/combiner/i?img=/i/teamlogos/leagues/500-dark/nba.png&w=500&h=500&transparent=true",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "dark"
                    ],
                    "lastUpdated": "2026-11-16T18:45Z"
                }
            ],
            "calendarType": "day",
            "calendarIsWhitelist": true,
            "calendarStartDate": "2026-09-30T07:00Z",
            "calendarEndDate": "2027-06-26T06:59Z"
        }
    ],
    "matches": [
        {
            "id": "401910002",
            "date": "2026-11-18T00:30Z",
            "name": "New York Knicks at Toronto Raptors",
            "shortName": "NY @ TOR",
            "season": {
                "year": 2027,
                "type": 2,
                "slug": "regular-season"
            },
            "competitions": [
                {
                    "id": "401910002",
                    "date": "2026-11-18T00:30Z",
                    "attendance": 0,
                    "type": {
                        "id": "1",
                        "abbreviation": "STD"
                    },
                    "timeValid": true,
                    "neutralSite": false,
                    "conferenceCompetition": false,
                    "playByPlayAvailable": false,
                    "recent": false,
                    "venue": {
                        "id": "1838",
                        "fullName": "Scotiabank Arena",
                        "address": {
                            "city": "Toronto",
                            "state": "ON"
                        },
                        "indoor": true
                    },
                    "competitors": [
                        {
                            "id": "28",
                            "type": "team",
                            "order": 0,
                            "homeAway": "home",
                            "team": {
                                "id": "28",
                                "location": "Toronto",
                                "name": "Raptors",
                                "abbreviation": "TOR",
                                "displayName": "Toronto Raptors",
                                "shortDisplayName": "Raptors",
                                "color": "d91244",
                                "alternateColor": "000000",
                                "isActive": true,
                                "venue": {
                                    "id": "1838"
                                },
                                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/tor.png",
                                "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/tor.png"
                            },
                            "score": "0",
                            "statistics": [
                                {
                                    "name": "rebounds",
                                    "abbreviation": "REB",
                                    "displayValue": "545"
                                },
                                {
                                    "name": "avgRebounds",
                                    "abbreviation": "REB",
                                    "displayValue": "41.9"
                                },
                                {
                                    "name": "assists",
                                    "abbreviation": "AST",
                                    "displayValue": "364",
                                    "rankDisplayValue": "2nd"
                                },
                                {
                                    "name": "fieldGoalsAttempted",
                                    "abbreviation": "FGA",
                                    "displayValue": "1192",
                                    "rankDisplayValue": "2nd"
                                },
                                {
                                    "name": "fieldGoalsMade",
                                    "abbreviation": "FGM",
                                    "displayValue": "540",
                                    "rankDisplayValue": "2nd"
                                },
                                {
                                    "name": "fieldGoalPct",
                                    "abbreviation": "FG%",
                                    "displayValue": "45.3",
                                    "rankDisplayValue": "3rd"
                                },
                                {
                                    "name": "freeThrowPct",
                                    "abbreviation": "FT%",
                                    "displayValue": "72.8",
                                    "rankDisplayValue": "5th"
                                },
                                {
                                    "name": "freeThrowsAttempted",
                                    "abbreviation": "FTA",
                                    "displayValue": "338",
                                    "rankDisplayValue": "3rd"
                                },
                                {
                                    "name": "freeThrowsMade",
                                    "abbreviation": "FTM",
                                    "displayValue": "246",
                                    "rankDisplayValue": "3rd"
                                },
                                {
                                    "name": "points",
                                    "abbreviation": "PTS",
                                    "displayValue": "1479",
                                    "rankDisplayValue": "3rd"
                                },
                                {
                                    "name": "threePointPct",
                                    "abbreviation": "3P%",
                                    "displayValue": "32.8",
                                    "rankDisplayValue": "5th"
                                },
                                {
                                    "name": "threePointFieldGoalsAttempted",
                                    "abbreviation": "3PA",
                                    "displayValue": "467",
                                    "rankDisplayValue": "5th"
                                },
                                {
                                    "name": "threePointFieldGoalsMade",
                                    "abbreviation": "3PM",
                                    "displayValue": "153",
                                    "rankDisplayValue": "5th"
                                },
                                {
                                    "name": "avgPoints",
                                    "abbreviation": "PTS",
                                    "displayValue": "113.8"
                                },
                                {
                                    "name": "avgAssists",
                                    "abbreviation": "AST",
                                    "displayValue": "28.0"
                                },
                                {
                                    "name": "threePointFieldGoalPct",
                                    "abbreviation": "3P%",
                                    "displayValue": "32.8",
                                    "rankDisplayValue": "1st"
                                }
                            ],
                            "records": [
                                {
                                    "name": "overall",
                                    "abbreviation": "Total",
                                    "type": "total",
                                    "summary": "5-8"
                                },
                                {
                                    "name": "Home",
                                    "type": "home",
                                    "summary": "2-4"
                                },
                                {
                                    "name": "Road"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
按日期获取联赛的比赛 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39604/get+matches+of+a+league+by+date?sport=basketball&league=nba&date=2026-11-17' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回当前进行中的联赛比赛,包含球队、实时比分、计时器、节次和状态。对于足球,联赛“所有”将返回每个比赛的实时比赛。
Endpoint ID: 39605
GET https://zylalabs.com/api/15015/espn+api/39605/get+live+matches+of+a+league
输入参数

获取联赛的直播比赛 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
group 可选 Group (conference) id that narrows the list down. College leagues list only the ranked teams by default; 50 returns every NCAA Division I game.

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


输入参数

sport
league
group
API 示例响应
JSON
[
    {
        "id": "1550712",
        "date": "2026-11-17T04:30Z",
        "endDate": "2026-11-22T23:59Z",
        "name": "Pakistan v Sri Lanka",
        "shortName": "PAK v SL",
        "description": "2nd Test, Sri Lanka tour of Pakistan at Rawalpindi, Nov 17-21 2026",
        "season": {
            "year": 2026,
            "type": 24707
        },
        "competitions": [
            {
                "id": "1550712",
                "description": "2nd Test",
                "shortDescription": "2nd Test,  at Rawalpindi",
                "date": "2026-11-17T04:30Z",
                "endDate": "2026-11-22T23:59Z",
                "timeValid": true,
                "neutralSite": true,
                "attendance": 0,
                "conferenceCompetition": false,
                "playByPlayAvailable": false,
                "fastcastAvailable": true,
                "recent": true,
                "class": {
                    "internationalClassId": "1",
                    "generalClassId": "4",
                    "generalClassCard": "Test",
                    "name": "Test matches",
                    "eventType": "Test"
                },
                "venue": {
                    "id": "59006",
                    "fullName": "Rawalpindi Cricket Stadium",
                    "address": {
                        "city": "Rawalpindi",
                        "state": "",
                        "country": "Pakistan",
                        "summary": "Rawalpindi Cricket Stadium Rawalpindi, Pakistan. (+92-51-724717)"
                    },
                    "capacity": 15000,
                    "indoor": false
                },
                "competitors": [
                    {
                        "id": "7",
                        "type": "team",
                        "order": 2,
                        "homeAway": "home",
                        "winner": "false",
                        "score": "",
                        "team": {
                            "id": "7",
                            "location": "Pakistan",
                            "name": "Pakistan",
                            "abbreviation": "PAK",
                            "displayName": "Pakistan",
                            "shortDisplayName": "PAK",
                            "isActive": true,
                            "countryCode": "PK",
                            "color": "#07df52",
                            "logo": "https://a.espncdn.com/i/teamlogos/cricket/500/7.png",
                            "logoDark": ""
                        },
                        "linescores": [
                            {
                                "period": 1,
                                "value": 1,
                                "displayValue": 1,
                                "wickets": 0,
                                "runs": 0,
                                "overs": 33.5,
                                "isBatting": false,
                                "description": "",
                                "isCurrent": 1
                            }
                        ],
                        "statistics": []
                    },
                    {
                        "id": "8",
                        "type": "team",
                        "order": 1,
                        "homeAway": "away",
                        "winner": "false",
                        "score": "97/7 (33.5 ov)",
                        "team": {
                            "id": "8",
                            "location": "Sri Lanka",
                            "name": "Sri Lanka",
                            "abbreviation": "SL",
                            "displayName": "Sri Lanka",
                            "shortDisplayName": "SL",
                            "isActive": true,
                            "countryCode": "LK",
                            "color": "#203d89",
                            "logo": "https://a.espncdn.com/i/teamlogos/cricket/500/8.png",
                            "logoDark": ""
                        },
                        "linescores": [
                            {
                                "period": 1,
                                "value": 1,
                                "displayValue": 1,
                                "wickets": 7,
                                "runs": 97,
                                "overs": 33.5,
                                "isBatting": true,
                                "description": "",
                                "isCurrent": 1
                            }
                        ],
                        "statistics": []
                    }
                ],
                "status": {
                    "clock": 0,
                    "displayClock": "0'",
                    "period": 1,
                    "session": "Day 1  Session 2",
                    "featuredAthletes": [],
                    "summary": "Pakistan won toss & fielded",
                    "type": {
                        "id": "0",
                        "description": "Live",
                        "detail": "Live",
                        "shortDetail": "Live",
                        "state": "in"
                    }
                },
                "odds": [],
                "broadcasts": [],
                "notes": [],
                "situation": [],
                "startDate": "2026-11-17T04:30Z",
                "broadcast": "",
                "geoBroadcasts": [],
                "highlights": []
            }
        ],
        "status": {
            "clock": 0,
            "displayClock": "0'",
            "period": 1,
            "session": "Day 1  Session 2",
            "summary": "Pakistan won toss & fielded",
            "type": {
                "id": "0",
                "description": "Live",
                "detail": "Live",
                "shortDetail": "Live",
                "state": "in"
            }
        }
    }
]
获取联赛的直播比赛 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39605/get+live+matches+of+a+league?sport=cricket&league=24704' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛的详细信息:包括有记录的球队、每个阶段的得分、状态、场馆、广播、赔率和领袖。对于网球、高尔夫、综合格斗和赛车,它返回整个事件及其轮次、比赛或环节
Endpoint ID: 39606
GET https://zylalabs.com/api/15015/espn+api/39606/get+match+details
输入参数

获取比赛详情 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
{
    "id": "401909994",
    "date": "2026-11-17T00:00Z",
    "name": "Orlando Magic at Boston Celtics",
    "shortName": "ORL @ BOS",
    "season": {
        "year": 2027,
        "type": 2,
        "slug": "regular-season"
    },
    "competitions": [
        {
            "id": "401909994",
            "date": "2026-11-17T00:00Z",
            "attendance": 19156,
            "type": {
                "id": "1",
                "abbreviation": "STD"
            },
            "timeValid": true,
            "neutralSite": false,
            "conferenceCompetition": false,
            "playByPlayAvailable": true,
            "recent": false,
            "venue": {
                "id": "1824",
                "fullName": "TD Garden",
                "address": {
                    "city": "Boston",
                    "state": "MA"
                },
                "indoor": true
            },
            "competitors": [
                {
                    "id": "2",
                    "type": "team",
                    "order": 0,
                    "homeAway": "home",
                    "winner": false,
                    "team": {
                        "id": "2",
                        "location": "Boston",
                        "name": "Celtics",
                        "abbreviation": "BOS",
                        "displayName": "Boston Celtics",
                        "shortDisplayName": "Celtics",
                        "color": "008348",
                        "alternateColor": "ffffff",
                        "isActive": true,
                        "venue": {
                            "id": "1824"
                        },
                        "logo": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/bos.png",
                        "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/bos.png"
                    },
                    "score": "105",
                    "linescores": [
                        {
                            "value": 17,
                            "displayValue": "17",
                            "period": 1
                        },
                        {
                            "value": 24,
                            "displayValue": "24",
                            "period": 2
                        },
                        {
                            "value": 36,
                            "displayValue": "36",
                            "period": 3
                        },
                        {
                            "value": 28,
                            "displayValue": "28",
                            "period": 4
                        }
                    ],
                    "statistics": [
                        {
                            "name": "rebounds",
                            "abbreviation": "REB",
                            "displayValue": "40"
                        },
                        {
                            "name": "avgRebounds",
                            "abbreviation": "REB",
                            "displayValue": "40.0"
                        },
                        {
                            "name": "assists",
                            "abbreviation": "AST",
                            "displayValue": "24"
                        },
                        {
                            "name": "fieldGoalsAttempted",
                            "abbreviation": "FGA",
                            "displayValue": "90"
                        },
                        {
                            "name": "fieldGoalsMade",
                            "abbreviation": "FGM",
                            "displayValue": "38"
                        },
                        {
                            "name": "fieldGoalPct",
                            "abbreviation": "FG%",
                            "displayValue": "42.2"
                        },
                        {
                            "name": "freeThrowPct",
                            "abbreviation": "FT%",
                            "displayValue": "52.9"
                        },
                        {
                            "name": "freeThrowsAttempted",
                            "abbreviation": "FTA",
                            "displayValue": "17"
                        },
                        {
                            "name": "freeThrowsMade",
                            "abbreviation": "FTM",
                            "displayValue": "9"
                        },
                        {
                            "name": "points",
                            "abbreviation": "PTS",
                            "displayValue": "105"
                        },
                        {
                            "name": "threePointPct",
                            "abbreviation": "3P%",
                            "displayValue": "35.7"
                        },
                        {
                            "name": "threePointFieldGoalsAttempted",
                            "abbreviation": "3PA",
                            "displayValue": "56"
                        },
                        {
                            "name": "threePointFieldGoalsMade",
                            "abbreviation": "3PM",
                            "displayValue": "20"
                        },
                        {
                            "name": "avgPoints",
                            "abbreviation": "PTS",
                            "displayValue": "105.0"
                        },
                        {
                            "name": "avgAssists",
                            "abbreviation": "AST",
                            "displayValue": "24.0"
                        },
                        {
                            "name": "threePointFieldGoalPct",
                            "abbreviation": "3P%",
                            "displayValue": "35.7"
                        }
                    ],
                    "leaders": [
                        {
                            "name": "points",
                            "displayName": "Points",
                            "shortDisplayName": "Pts",
                            "abbreviation": "Pts",
                            "leaders": [
                                {
                                    "displayValue": "24",
                                    "value": 24,
                                    "athlete": {
                                        "id": "4065648",
                                        "fullName": "Jayson Tatum",
                                        "displayName": "Jayson Tatum",
                                        "shortName": "J. Tatum",
                                        "headshot": "https://a.espncdn.com/i/headshots/nba/players/full/4065648.png",
                                        "jersey": "0",
                                        "position": {
                                            "abbreviation": "F"
                                        },
                                        "team": {
                                            "id": "2"
                                        },
                                        "active": true
                                    },
                                    "team": {
                                        "id": "2"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "rebounds",
                            "displayName": "Rebounds",
                            "shortDisplayName": "Reb",
                            "abbreviation": "Reb",
                            "leaders": [
                                {
                                    "displayValue": "12",
                                    "value": 12,
                                    "athlete": {
                                        "id": "4065648",
                                        "fullName": "Jayson Tatum",
                                        "displayName": "Jayson Tatum",
                                        "shortName": "J. Tatum",
                                        "headshot": "https://a.espncdn.com/i/headshots/nba/players/full/4065648.png",
                                        "jersey": "0",
                                        "position": {
                                            "abbreviation": "F"
                                        },
                                        "team": {
                                            "id": "2"
                                        },
                                        "active": true
                                    },
                                    "team": {
                                        "id": "2"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "assists",
                            "displayName": "Assists",
                            "shortDisplayName": "Ast",
                            "abbreviation": "Ast"
                        }
                    ]
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取比赛详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39606/get+match+details?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛的游戏信息:场地、观众人数、裁判、天气、广播和比赛格式(节数和长度)
Endpoint ID: 39607
GET https://zylalabs.com/api/15015/espn+api/39607/get+match+venue+officials+and+broadcasts
输入参数

获取比赛场地官员和广播 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
{
    "venue": {
        "id": "1824",
        "fullName": "TD Garden",
        "shortName": "TD Banknorth Garden",
        "address": {
            "city": "Boston",
            "state": "MA"
        },
        "grass": false,
        "images": [
            {
                "href": "https://a.espncdn.com/i/venues/nba/day/1824.jpg",
                "width": 2000,
                "height": 1125,
                "alt": "",
                "rel": [
                    "full",
                    "day"
                ]
            }
        ]
    },
    "attendance": 19156,
    "officials": [
        {
            "fullName": "Kevin Scott",
            "displayName": "Kevin Scott",
            "position": {
                "name": "Referee",
                "displayName": "Referee",
                "id": "40"
            },
            "order": 1
        },
        {
            "fullName": "Nate Green",
            "displayName": "Nate Green",
            "position": {
                "name": "Referee",
                "displayName": "Referee",
                "id": "40"
            },
            "order": 2
        },
        {
            "fullName": "Matt Kallio",
            "displayName": "Matt Kallio",
            "position": {
                "name": "Referee",
                "displayName": "Referee",
                "id": "40"
            },
            "order": 3
        }
    ],
    "format": {
        "regulation": {
            "periods": 4,
            "displayName": "Quarter",
            "slug": "quarter",
            "clock": 720
        },
        "overtime": {
            "displayName": "Quarter",
            "slug": "quarter",
            "clock": 300
        }
    }
}
获取比赛场地官员和广播 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39607/get+match+venue+officials+and+broadcasts?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛的统计数据显示两个队的统计数据以及在有这些数据的情况下每个球员的统计数据
Endpoint ID: 39608
GET https://zylalabs.com/api/15015/espn+api/39608/get+match+boxscore
输入参数

获取比赛统计数据 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
{
    "teams": [
        {
            "team": {
                "id": "19",
                "slug": "orlando-magic",
                "location": "Orlando",
                "name": "Magic",
                "abbreviation": "ORL",
                "displayName": "Orlando Magic",
                "shortDisplayName": "Magic",
                "color": "0150b5",
                "alternateColor": "9ca0a3",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/orl.png"
            },
            "statistics": [
                {
                    "name": "fieldGoalsMade-fieldGoalsAttempted",
                    "displayValue": "41-82",
                    "label": "FG"
                },
                {
                    "name": "fieldGoalPct",
                    "displayValue": "50",
                    "abbreviation": "FG%",
                    "label": "Field Goal %"
                },
                {
                    "name": "threePointFieldGoalsMade-threePointFieldGoalsAttempted",
                    "displayValue": "13-34",
                    "label": "3PT"
                },
                {
                    "name": "threePointFieldGoalPct",
                    "displayValue": "38",
                    "abbreviation": "3P%",
                    "label": "Three Point %"
                },
                {
                    "name": "freeThrowsMade-freeThrowsAttempted",
                    "displayValue": "20-25",
                    "label": "FT"
                },
                {
                    "name": "freeThrowPct",
                    "displayValue": "80",
                    "abbreviation": "FT%",
                    "label": "Free Throw %"
                },
                {
                    "name": "totalRebounds",
                    "displayValue": "46",
                    "abbreviation": "REB",
                    "label": "Rebounds"
                },
                {
                    "name": "offensiveRebounds",
                    "displayValue": "10",
                    "abbreviation": "OR",
                    "label": "Offensive Rebounds"
                },
                {
                    "name": "defensiveRebounds",
                    "displayValue": "36",
                    "abbreviation": "DR",
                    "label": "Defensive Rebounds"
                },
                {
                    "name": "assists",
                    "displayValue": "31",
                    "abbreviation": "AST",
                    "label": "Assists"
                },
                {
                    "name": "steals",
                    "displayValue": "8",
                    "abbreviation": "STL",
                    "label": "Steals"
                },
                {
                    "name": "blocks",
                    "displayValue": "4",
                    "abbreviation": "BLK",
                    "label": "Blocks"
                },
                {
                    "name": "turnovers",
                    "displayValue": "13",
                    "abbreviation": "TO",
                    "label": "Turnovers"
                },
                {
                    "name": "teamTurnovers",
                    "displayValue": "1",
                    "abbreviation": "TTO",
                    "label": "Team Turnovers"
                },
                {
                    "name": "totalTurnovers",
                    "displayValue": "14",
                    "abbreviation": "ToTO",
                    "label": "Total Turnovers"
                },
                {
                    "name": "technicalFouls",
                    "displayValue": "1",
                    "abbreviation": "TECH",
                    "label": "Technical Fouls"
                },
                {
                    "name": "totalTechnicalFouls",
                    "displayValue": "1",
                    "abbreviation": "TECH",
                    "label": "Total Technical Fouls"
                },
                {
                    "name": "flagrantFouls",
                    "displayValue": "0",
                    "abbreviation": "FLAG",
                    "label": "Flagrant Fouls"
                },
                {
                    "name": "turnoverPoints",
                    "displayValue": "12",
                    "abbreviation": "Points Conceded Off Turnovers",
                    "label": "Points Conceded Off Turnovers"
                },
                {
                    "name": "fastBreakPoints",
                    "displayValue": "20",
                    "abbreviation": "FBPs",
                    "label": "Fast Break Points"
                },
                {
                    "name": "pointsInPaint",
                    "displayValue": "54",
                    "abbreviation": "PIP",
                    "label": "Points in Paint"
                },
                {
                    "name": "fouls",
                    "displayValue": "18",
                    "abbreviation": "PF",
                    "label": "Fouls"
                },
                {
                    "name": "largestLead",
                    "displayValue": "11",
                    "abbreviation": "LL",
                    "label": "Largest Lead"
                },
                {
                    "name": "leadChanges",
                    "displayValue": "11",
                    "abbreviation": "LC",
                    "label": "Lead Changes"
                },
                {
                    "name": "leadPercentage",
                    "displayValue": "64",
                    "abbreviation": "LPCT",
                    "label": "Percent Led"
                }
            ],
            "displayOrder": 1,
            "homeAway": "away"
        },
        {
            "team": {
                "id": "2",
                "slug": "boston-celtics",
                "location": "Boston",
                "name": "Celtics",
                "abbreviation": "BOS",
                "displayName": "Boston Celtics",
                "shortDisplayName": "Celtics",
                "color": "008348",
                "alternateColor": "ffffff",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png"
            },
            "statistics": [
                {
                    "name": "fieldGoalsMade-fieldGoalsAttempted",
                    "displayValue": "38-90",
                    "label": "FG"
                },
                {
                    "name": "fieldGoalPct",
                    "displayValue": "42",
                    "abbreviation": "FG%",
                    "label": "Field Goal %"
                },
                {
                    "name": "threePointFieldGoalsMade-threePointFieldGoalsAttempted",
                    "displayValue": "20-56",
                    "label": "3PT"
                },
                {
                    "name": "threePointFieldGoalPct",
                    "displayValue": "36",
                    "abbreviation": "3P%",
                    "label": "Three Point %"
                },
                {
                    "name": "freeThrowsMade-freeThrowsAttempted",
                    "displayValue": "9-17",
                    "label": "FT"
                },
                {
                    "name": "freeThrowPct",
                    "displayValue": "53",
                    "abbreviation": "FT%",
                    "label": "Free Throw %"
                },
                {
                    "name": "totalRebounds",
                    "displayValue": "40",
                    "abbreviation": "REB",
                    "label": "Rebounds"
                },
                {
                    "name": "offensiveRebounds",
                    "displayValue": "9",
                    "abbreviation": "OR",
                    "label": "Offensive Rebounds"
                },
                {
                    "name": "defensiveRebounds",
                    "displayValue": "31",
                    "abbreviation": "DR",
                    "label": "Defensive Rebounds"
                },
                {
                    "name": "assists",
                    "displayValue": "24",
                    "abbreviation": "AST",
                    "label": "Assists"
                },
                {
                    "name": "steals",
                    "displayValue": "9",
                    "abbreviation": "STL",
                    "label": "Steals"
                },
                {
                    "name": "blocks",
                    "displayValue": "2",
                    "abbreviation": "BLK",
                    "label": "Blocks"
                },
                {
                    "name": "turnovers",
                    "displayValue": "11",
                    "abbreviation": "TO",
                    "label": "Turnovers"
                },
                {
                    "name": "teamTurnovers",
                    "displayValue": "1",
                    "abbreviation": "TTO",
                    "label": "Team Turnovers"
                },
                {
                    "name": "totalTurnovers",
                    "displayValue": "12",
                    "abbreviation": "ToTO",
                    "label": "Total Turnovers"
                },
                {
                    "name": "technicalFouls"
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取比赛统计数据 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39608/get+match+boxscore?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛的逐个详细回放:每个回合的时钟、节次、比分和参与者,以及美式足球的进攻和得分回合,以及足球的关键事件(进球、黄牌、换人)
Endpoint ID: 39609
GET https://zylalabs.com/api/15015/espn+api/39609/get+match+play-by-play
输入参数

获取比赛逐球直播 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
{
    "plays": [
        {
            "id": "4019099944",
            "sequenceNumber": "4",
            "type": {
                "id": "615",
                "text": "Jumpball"
            },
            "text": "Wendell Carter Jr. vs. Luka Garza (Anthony Black gains possession)",
            "awayScore": 0,
            "homeScore": 0,
            "period": {
                "number": 1,
                "displayValue": "1st Quarter"
            },
            "clock": {
                "displayValue": "12:00"
            },
            "scoringPlay": false,
            "scoreValue": 0,
            "team": {
                "id": "19"
            },
            "participants": [
                {
                    "athlete": {
                        "id": "4277847"
                    }
                },
                {
                    "athlete": {
                        "id": "4277951"
                    }
                },
                {
                    "athlete": {
                        "id": "4712849"
                    }
                }
            ],
            "wallclock": "2026-11-17T00:10:43Z",
            "shootingPlay": false,
            "coordinate": {
                "x": -214748340,
                "y": -214748365
            },
            "pointsAttempted": 0,
            "shortDescription": "Jump Ball"
        },
        {
            "id": "4019099947",
            "sequenceNumber": "7",
            "type": {
                "id": "92",
                "text": "Jump Shot"
            },
            "text": "Anthony Black misses 23-foot three point jumper",
            "awayScore": 0,
            "homeScore": 0,
            "period": {
                "number": 1,
                "displayValue": "1st Quarter"
            },
            "clock": {
                "displayValue": "11:46"
            },
            "scoringPlay": false,
            "scoreValue": 0,
            "team": {
                "id": "19"
            },
            "participants": [
                {
                    "athlete": {
                        "id": "4712849"
                    }
                }
            ],
            "wallclock": "2026-11-17T00:10:57Z",
            "shootingPlay": true,
            "coordinate": {
                "x": 2,
                "y": -1
            },
            "pointsAttempted": 3,
            "shortDescription": "Missed 3PT"
        },
        {
            "id": "4019099948",
            "sequenceNumber": "8",
            "type": {
                "id": "155",
                "text": "Defensive Rebound"
            },
            "text": "Jordan Walsh defensive rebound",
            "awayScore": 0,
            "homeScore": 0,
            "period": {
                "number": 1,
                "displayValue": "1st Quarter"
            },
            "clock": {
                "displayValue": "11:46"
            },
            "scoringPlay": false,
            "scoreValue": 0,
            "team": {
                "id": "2"
            },
            "participants": [
                {
                    "athlete": {
                        "id": "4683689"
                    }
                }
            ],
            "wallclock": "2026-11-17T00:10:57Z",
            "shootingPlay": false,
            "coordinate": {
                "x": 2,
                "y": -1
            },
            "pointsAttempted": 0,
            "shortDescription": "Rebound"
        },
        {
            "id": "4019099949",
            "sequenceNumber": "9",
            "type": {
                "id": "131",
                "text": "Pullup Jump Shot"
            },
            "text": "Paul George makes 14-foot pullup jump shot",
            "awayScore": 0,
            "homeScore": 2,
            "period": {
                "number": 1,
                "displayValue": "1st Quarter"
            },
            "clock": {
                "displayValue": "11:34"
            },
            "scoringPlay": true,
            "scoreValue": 2,
            "team": {
                "id": "2"
            },
            "participants": [
                {
                    "athlete": {
                        "id": "4251"
                    }
                }
            ],
            "wallclock": "2026-11-17T00:11:09Z",
            "shootingPlay": true,
            "coordinate": {
                "x": 17,
                "y": 12
            },
            "pointsAttempted": 2,
            "shortDescription": "+2 Points"
        },
        {
            "id": "40190999411",
            "sequenceNumber": "11",
            "type": {
                "id": "110",
                "text": "Driving Layup Shot"
            },
            "text": "Luka Garza blocks Wendell Carter Jr. 's 2-foot driving layup",
            "awayScore": 0,
            "homeScore": 2,
            "period": {
                "number": 1,
                "displayValue": "1st Quarter"
            },
            "clock": {
                "displayValue": "11:17"
            },
            "scoringPlay": false,
            "scoreValue": 0,
            "team": {
                "id": "19"
            },
            "participants": [
                {
                    "athlete": {
                        "id": "4277847"
                    }
                },
                {
                    "athlete": {
                        "id": "4277951"
                    }
                }
            ],
            "wallclock": "2026-11-17T00:11:26Z",
            "shootingPlay": true,
            "coordinate": {
                "x": 24,
                "y": 1
            },
            "pointsAttempted": 2,
            "shortDescription": "Missed FG"
        },
        {
            "id": "40190999412",
            "sequenceNumber": "12",
            "type": {
                "id": "156",
                "text": "Offensive Rebound"
            },
            "text": "Magic offensive team rebound",
            "awayScore": 0,
            "homeScore": 2,
            "period": {
                "number": 1,
                "displayValue": "1st Quarter"
            },
            "clock": {
                "displayValue": "11:17"
            },
            "scoringPlay": false,
            "scoreValue": 0,
            "team": {
                "id": "19"
            },
            "wallclock": "2026-11-17T00:11:26Z",
            "shootingPlay": false,
            "coordinate": {
                "x": 24,
                "y": 1
            },
            "pointsAttempted": 0,
            "shortDescription": "Rebound"
        },
        {
            "id": "40190999415",
            "sequenceNumber": "15",
            "type": {
                "id": "144",
                "text": "Driving Floating Jump Shot"
            },
            "text": "Jalen Suggs misses driving floating jump shot",
            "awayScore": 0,
            "homeScore": 2,
            "period": {
                "number": 1,
                "displayValue": "1st Quarter"
            },
            "clock": {
                "displayValue": "11:05"
            },
            "scoringPlay": false,
            "scoreValue": 0,
            "team": {
                "id": "19"
            },
            "participants": [
                {
                    "athlete": {
                        "id": "4432165"
                    }
                }
            ],
            "wallclock": "2026-11-17T00:11:58Z",
            "shootingPlay": true,
            "coordinate": {
                "x": 18,
                "y": 2
            },
            "pointsAttempted": 2,
            "shortDescription": "Missed FG"
        },
        {
            "id": "40190999416",
            "sequenceNumber": "16",
            "type": {
                "id": "156",
                "text": "Offensive Rebound"
            },
            "text": "Magic offensive team rebound",
            "awayScore": 0,
            "homeScore": 2,
            "period": {
                "number": 1,
                "displayValue": "1st Quarter"
            },
            "clock": {
                "displayValue": "11:05"
            },
            "scoringPlay": false,
            "scoreValue": 0,
            "team": {
                "id": "19"
            },
            "wallclock": "2026-11-17T00:11:58Z",
            "shootingPlay": false,
            "coordinate": {
                "x": 18,
                "y": 2
            },
            "pointsAttempted": 0,
            "shortDescription": "Rebound"
        },
        {
            "id": "40190999417",
            "sequenceNumber": "17",
            "type": {
                "id": "70",
                "text": "Shot Clock Turnover"
            },
            "text": "shot clock turnover ",
            "awayScore": 0,
            "homeScore": 2,
            "period": {
                "number": 1,
                "displayValue": "1st Quarter"
            },
            "clock": {
                "displayValue": "11:05"
            },
            "scoringPlay": false,
            "scoreValue": 0,
            "team": {
                "id": "19"
            },
            "wallclock": "2026-11-17T00:11:58Z",
            "shootingPlay": false,
            "coordinate": {
                "x": 12,
                "y": 2
            },
            "pointsAttempted": 0,
            "shortDescription": "Turnover"
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取比赛逐球直播 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39609/get+match+play-by-play?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛的逐分钟文本评论 可用于足球和橄榄球
Endpoint ID: 39610
GET https://zylalabs.com/api/15015/espn+api/39610/get+match+text+commentary
输入参数

获取比赛文本评论 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
[
    {
        "sequence": 0,
        "time": {
            "value": 0,
            "displayValue": ""
        },
        "text": "Lineups are announced and players are warming up."
    },
    {
        "sequence": 1,
        "time": {
            "value": 0,
            "displayValue": ""
        },
        "text": "First Half begins."
    },
    {
        "sequence": 2,
        "time": {
            "value": 140,
            "displayValue": "3'"
        },
        "text": "Andrias Edmundsson (Faroe Islands) wins a free kick in the defensive half.",
        "play": {
            "id": "55311959",
            "type": {
                "id": "66",
                "text": "Foul",
                "type": "foul"
            },
            "text": "Foul by Petru Popescu (Moldova).",
            "shortText": "Petru Popescu Foul",
            "period": {
                "number": 1
            },
            "clock": {
                "value": 140,
                "displayValue": "3'"
            },
            "team": {
                "displayName": "Moldova"
            },
            "participants": [
                {
                    "athlete": {
                        "displayName": "Petru Popescu"
                    }
                },
                {
                    "athlete": {
                        "displayName": "Andrias Edmundsson"
                    }
                }
            ],
            "source": {
                "id": "38",
                "description": "SA.ENVOY"
            },
            "wallclock": "2026-11-16T15:04:09Z",
            "fieldPositionX": 55.8,
            "fieldPositionY": 8.6
        }
    },
    {
        "sequence": 3,
        "time": {
            "value": 140,
            "displayValue": "3'"
        },
        "text": "Foul by Petru Popescu (Moldova).",
        "play": {
            "id": "55311959",
            "type": {
                "id": "66",
                "text": "Foul",
                "type": "foul"
            },
            "text": "Foul by Petru Popescu (Moldova).",
            "shortText": "Petru Popescu Foul",
            "period": {
                "number": 1
            },
            "clock": {
                "value": 140,
                "displayValue": "3'"
            },
            "team": {
                "displayName": "Moldova"
            },
            "participants": [
                {
                    "athlete": {
                        "displayName": "Petru Popescu"
                    }
                },
                {
                    "athlete": {
                        "displayName": "Andrias Edmundsson"
                    }
                }
            ],
            "source": {
                "id": "38",
                "description": "SA.ENVOY"
            },
            "wallclock": "2026-11-16T15:04:09Z",
            "fieldPositionX": 55.8,
            "fieldPositionY": 8.6
        }
    },
    {
        "sequence": 4,
        "time": {
            "value": 389,
            "displayValue": "7'"
        },
        "text": "Corner, Faroe Islands. Conceded by Victor Bogaciuc.",
        "play": {
            "id": "55312098",
            "type": {
                "id": "95",
                "text": "Corner Awarded",
                "type": "corner-awarded"
            },
            "text": "Corner, Faroe Islands. Conceded by Victor Bogaciuc.",
            "period": {
                "number": 1
            },
            "clock": {
                "value": 389,
                "displayValue": "7'"
            },
            "team": {
                "displayName": "Faroe Islands"
            },
            "source": {
                "id": "38",
                "description": "SA.ENVOY"
            },
            "wallclock": "2026-11-16T15:08:19Z",
            "fieldPositionX": 93.2,
            "fieldPositionY": 22.2
        }
    },
    {
        "sequence": 5,
        "time": {
            "value": 434,
            "displayValue": "8'"
        },
        "text": "Corner, Faroe Islands. Conceded by Petru Popescu.",
        "play": {
            "id": "55312139",
            "type": {
                "id": "95",
                "text": "Corner Awarded",
                "type": "corner-awarded"
            },
            "text": "Corner, Faroe Islands. Conceded by Petru Popescu.",
            "period": {
                "number": 1
            },
            "clock": {
                "value": 434,
                "displayValue": "8'"
            },
            "team": {
                "displayName": "Faroe Islands"
            },
            "source": {
                "id": "38",
                "description": "SA.ENVOY"
            },
            "wallclock": "2026-11-16T15:09:03Z",
            "fieldPositionX": 99.8,
            "fieldPositionY": 36
        }
    },
    {
        "sequence": 6,
        "time": {
            "value": 538,
            "displayValue": "9'"
        },
        "text": "Attempt saved. Hanus Sørensen (Faroe Islands) right footed shot from the left side of the box is saved in the top right corner by Andrii Kozhukhar (Moldova). Assisted by Géza Turi.",
        "play": {
            "id": "55312174",
            "type": {
                "id": "106",
                "text": "Shot On Target",
                "type": "shot-on-target"
            },
            "text": "Attempt saved. Hanus Sørensen (Faroe Islands) right footed shot from the left side of the box is saved in the top right corner by Andrii Kozhukhar (Moldova). Assisted by Géza Turi.",
            "shortText": "Hanus Sorensen Shot On Target",
            "period": {
                "number": 1
            },
            "clock": {
                "value": 538,
                "displayValue": "9'"
            },
            "team": {
                "displayName": "Faroe Islands"
            },
            "participants": [
                {
                    "athlete": {
                        "displayName": "Hanus Sorensen"
                    }
                },
                {
                    "athlete": {
                        "displayName": "Géza Dávid Turi"
                    }
                }
            ],
            "source": {
                "id": "38",
                "description": "SA.ENVOY"
            },
            "wallclock": "2026-11-16T15:10:47Z",
            "goalPositionY": 45.8,
            "fieldPositionX": 92.3,
            "fieldPositionY": 67.5,
            "fieldPosition2X": 98.5,
            "fieldPosition2Y": 52.7
        }
    },
    {
        "sequence": 7,
        "time": {
            "value": 553,
            "displayValue": "10'"
        },
        "text": "Attempt missed. Adrian Justinussen (Faroe Islands) right footed shot from very close range misses to the left. Assisted by Jann Benjaminsen with a headed pass.",
        "play": {
            "id": "55312195",
            "type": {
                "id": "117",
                "text": "Shot Off Target",
                "type": "shot-off-target"
            },
            "text": "Attempt missed. Adrian Justinussen (Faroe Islands) right footed shot from very close range misses to the left. Assisted by Jann Benjaminsen with a headed pass.",
            "shortText": "Adrian Justinussen Shot Off Targ",
            "period": {
                "number": 1
            },
            "clock": {
                "value": 553,
                "displayValue": "10'"
            },
            "team": {
                "displayName": "Faroe Islands"
            },
            "participants": [
                {
                    "athlete": {
                        "displayName": "Adrian Justinussen"
                    }
                },
                {
                    "athlete": {
                        "displayName": "Jann Julian Benjaminsen"
                    }
                }
            ],
            "source": {
                "id": "38",
                "description": "SA.ENVOY"
            },
            "wallclock": "2026-11-16T15:11:02Z",
            "goalPositionY": 61.5,
            "fieldPositionX": 95.2,
            "fieldPositionY": 46.1,
            "fieldPosition2X": 96.2,
            "fieldPosition2Y": 51.4
        }
    },
    {
        "sequence": 8,
        "time": {
            "value": 645,
            "displayValue": "11'"
        },
        "text": "Petru Popescu (Moldova) wins a free kick in the defensive half.",
        "play": {
            "id": "55312226",
            "type": {
                "id": "66",
                "text": "Foul",
                "type": "foul"
            },
            "text": "Foul by Andrias Edmundsson (Faroe Islands).",
            "shortText": "Andrias Edmundsson Foul",
            "period": {
                "number": 1
            },
            "clock": {
                "value": 645,
                "displayValue": "11'"
            },
            "team": {
                "displayName": "Faroe Islands"
            },
            "participants": [
                {
                    "athlete": {
                        "displayName": "Andrias Edmundsson"
                    }
                },
                {
                    "athlete": {
                        "displayName": "Petru Popescu"
                    }
                }
            ],
            "source": {
                "id": "38"
            }
        }
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取比赛文本评论 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39610/get+match+text+commentary?sport=soccer&league=uefa.nations&match_id=401861180' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛双方的阵容,包括阵型、首发、替补、位置、球衣号码以及每位球员的比赛统计数据。适用于足球、橄榄球和棒球
Endpoint ID: 39611
GET https://zylalabs.com/api/15015/espn+api/39611/get+match+lineups
输入参数

获取比赛阵容 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
[
    {
        "homeAway": "home",
        "winner": true,
        "team": {
            "id": "447",
            "abbreviation": "FRO",
            "displayName": "Faroe Islands",
            "color": "ffffff",
            "alternateColor": "195ccd",
            "logos": [
                {
                    "href": "https://a.espncdn.com/i/teamlogos/countries/500/fro.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "default"
                    ],
                    "lastUpdated": "2018-06-05T12:06Z"
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/countries/500-dark/fro.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "dark"
                    ],
                    "lastUpdated": "2018-06-05T12:06Z"
                }
            ]
        },
        "roster": [
            {
                "active": true,
                "starter": true,
                "jersey": "1",
                "athlete": {
                    "id": "237950",
                    "lastName": "Lamhauge",
                    "fullName": "Mattias Lamhauge",
                    "displayName": "Mattias Lamhauge",
                    "shortName": "M. Lamhauge",
                    "jerseyImages": [
                        {
                            "href": "https://stitcher.espn.com/sports/soccer/leagues/uefa.nations/events/401861180/athletes/237950/jersey.png?darkMode=false",
                            "rel": [
                                "full",
                                "default"
                            ],
                            "width": 1440,
                            "height": 1440
                        },
                        {
                            "href": "https://stitcher.espn.com/sports/soccer/leagues/uefa.nations/events/401861180/athletes/237950/jersey.png?darkMode=true",
                            "rel": [
                                "full",
                                "dark"
                            ],
                            "width": 1440,
                            "height": 1440
                        }
                    ]
                },
                "position": {
                    "name": "Goalkeeper",
                    "displayName": "Goalkeeper",
                    "abbreviation": "G"
                },
                "subbedIn": false,
                "subbedOut": false,
                "formationPlace": "1",
                "media": [],
                "stats": [
                    {
                        "name": "appearances",
                        "displayName": "Appearances",
                        "shortDisplayName": "APP",
                        "description": "The number of times a player has made an appearance in a match.",
                        "abbreviation": "APP",
                        "value": 1,
                        "displayValue": "1"
                    },
                    {
                        "name": "foulsCommitted",
                        "displayName": "Fouls Committed",
                        "shortDisplayName": "FC",
                        "description": "The number of fouls comitted by a player or team.",
                        "abbreviation": "FC",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "foulsSuffered",
                        "displayName": "Fouls Suffered",
                        "shortDisplayName": "FA",
                        "description": "The number of fouls suffered by a player or team.",
                        "abbreviation": "FA",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "ownGoals",
                        "displayName": "Own Goals",
                        "shortDisplayName": "OG",
                        "description": "The number of own goals conceded.",
                        "abbreviation": "OG",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "redCards",
                        "displayName": "Red Cards",
                        "shortDisplayName": "RC",
                        "description": "The number of red cards that have been issued.",
                        "abbreviation": "RC",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "subIns",
                        "displayName": "Substitute Appearances",
                        "shortDisplayName": "SUBIN",
                        "description": "The number of times a player has come on a sub in a match.",
                        "abbreviation": "SUB",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "yellowCards",
                        "displayName": "Yellow Cards",
                        "shortDisplayName": "YC",
                        "description": "The number of yellow cards accumulated.",
                        "abbreviation": "YC",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "goalsConceded",
                        "displayName": "Goals Against",
                        "shortDisplayName": "GA",
                        "description": "The number of goals allowed by the goalkeeper.",
                        "abbreviation": "GA",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "saves",
                        "displayName": "Saves",
                        "shortDisplayName": "SV",
                        "description": "The number of times a goalkeeper makes a save.",
                        "abbreviation": "SV",
                        "value": 5,
                        "displayValue": "5"
                    },
                    {
                        "name": "shotsFaced",
                        "displayName": "Shots Faced",
                        "shortDisplayName": "SHF",
                        "description": "The number of shots on target a goalkeeper has faced.",
                        "abbreviation": "SHF",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "goalAssists",
                        "displayName": "Assists",
                        "shortDisplayName": "A",
                        "description": "The number of assists.",
                        "abbreviation": "A",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "shotsOnTarget",
                        "displayName": "Shots On Goal",
                        "shortDisplayName": "SOG",
                        "description": "The number of shots that are on goal.",
                        "abbreviation": "SOG",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "totalGoals",
                        "displayName": "Total Goals",
                        "shortDisplayName": "G",
                        "description": "The number of goals scored against the opposing team.",
                        "abbreviation": "G",
                        "value": 0,
                        "displayValue": "0"
                    },
                    {
                        "name": "totalShots",
                        "displayName": "Shots",
                        "shortDisplayName": "SHOT",
                        "description": "The number of shots attempted.",
                        "abbreviation": "SHOT",
                        "value": 0,
                        "displayValue": "0"
                    }
                ]
            },
            {
                "active": true,
                "starter": true,
                "jersey": "16",
                "athlete": {
                    "id": "221301",
                    "lastName": "Vatnhamar",
                    "fullName": "Gunnar Vatnhamar",
                    "displayName": "Gunnar Vatnhamar",
                    "shortName": "G. Vatnhamar",
                    "jerseyImages": [
                        {
                            "href": "https://stitcher.espn.com/sports/soccer/leagues/uefa.nations/events/401861180/athletes/221301/jersey.png?darkMode=false",
                            "rel": [
                                "full",
                                "default"
                            ],
                            "width": 1440,
                            "height": 1440
                        }
                    ]
                }
            }
        ]
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取比赛阵容 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39611/get+match+lineups?sport=soccer&league=uefa.nations&match_id=401861180' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回每个博彩公司比赛的投注赔率:胜负彩、点差和总分(大/小)以及开盘和收盘线,外加每支球队对点差的记录
Endpoint ID: 39612
GET https://zylalabs.com/api/15015/espn+api/39612/get+match+betting+odds
输入参数

获取比赛投注赔率 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
{
    "odds": [
        {
            "provider": {
                "id": "100",
                "name": "DraftKings",
                "priority": 1,
                "logos": [
                    {
                        "href": "https://a.espncdn.com/i/betting/Draftkings_Light.svg",
                        "rel": [
                            "light"
                        ]
                    },
                    {
                        "href": "https://a.espncdn.com/i/betting/Draftkings_Dark.svg",
                        "rel": [
                            "dark"
                        ]
                    }
                ]
            },
            "details": "BOS -8.5",
            "overUnder": 212.5,
            "spread": -8.5,
            "overOdds": -113,
            "underOdds": -107,
            "awayTeamOdds": {
                "favorite": false,
                "underdog": true,
                "moneyLine": 286,
                "spreadOdds": -112,
                "teamId": "19",
                "favoriteAtOpen": false
            },
            "homeTeamOdds": {
                "favorite": true,
                "underdog": false,
                "moneyLine": -358,
                "spreadOdds": -108,
                "teamId": "2",
                "favoriteAtOpen": true
            },
            "moneyline": {
                "displayName": "Moneyline",
                "shortDisplayName": "ML",
                "home": {
                    "close": {
                        "odds": "-358"
                    },
                    "open": {
                        "odds": "-426"
                    }
                },
                "away": {
                    "close": {
                        "odds": "+286"
                    },
                    "open": {
                        "odds": "+333"
                    }
                }
            },
            "pointSpread": {
                "displayName": "Spread",
                "shortDisplayName": "Spread",
                "home": {
                    "close": {
                        "line": "-8.5",
                        "odds": "-108"
                    },
                    "open": {
                        "line": "-9.5",
                        "odds": "-105"
                    }
                },
                "away": {
                    "close": {
                        "line": "+8.5",
                        "odds": "-112"
                    },
                    "open": {
                        "line": "+9.5",
                        "odds": "-115"
                    }
                }
            },
            "total": {
                "displayName": "Total",
                "shortDisplayName": "Total",
                "over": {
                    "close": {
                        "line": "o212.5",
                        "odds": "-113"
                    },
                    "open": {
                        "line": "o211.5",
                        "odds": "-110"
                    }
                },
                "under": {
                    "close": {
                        "line": "u212.5",
                        "odds": "-107"
                    },
                    "open": {
                        "line": "u211.5",
                        "odds": "-110"
                    }
                }
            },
            "link": {
                "text": "See More Odds",
                "language": "en-US",
                "rel": [
                    "main",
                    "desktop",
                    "bets"
                ],
                "href": "https://sportsbook.draftkings.com",
                "isExternal": true,
                "isPremium": false
            },
            "header": {
                "logo": {
                    "dark": "https://a.espncdn.com/i/espnbet/dark/espn-bet-square-off.svg",
                    "light": "https://a.espncdn.com/i/espnbet/espn-bet-square-off.svg",
                    "exclusivesLogoDark": "https://a.espncdn.com/i/espnbet/espn-bet-square-mint.svg",
                    "exclusivesLogoLight": "https://a.espncdn.com/i/espnbet/espn-bet-square-mint.svg"
                },
                "text": "Game Odds"
            },
            "footer": {
                "disclaimer": "GAMBLING PROBLEM? CALL 1-800-GAMBLER or 1-800-MY-RESET, (800) 327-5050 or visit gamblinghelplinema.org (MA). Call 877-8-HOPENY/text HOPENY (467369) (NY). Call 888-789-7777/visit ccpg.org (CT), or visit www.mdgamblinghelp.org (MD), 1-800-981-0023 (PR). 21+ and present in most states. (18+ DC/KY/NH/PR/WY). Void in ONT. Eligibility restrictions apply. Terms: draftkings.com/sportsbook. On behalf of Boot Hill Casino (KS). Pass-thru of per wager tax may apply in IL."
            }
        }
    ],
    "againstTheSpread": [
        {
            "team": {
                "id": "19",
                "displayName": "Orlando Magic",
                "abbreviation": "ORL",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/orl.png",
                "logos": [
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/orl.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "default"
                        ],
                        "lastUpdated": "2025-06-16T16:45Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/orl.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "dark"
                        ],
                        "lastUpdated": "2025-06-16T16:45Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/orl.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "scoreboard"
                        ],
                        "lastUpdated": "2025-06-18T15:37Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/orl.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "scoreboard",
                            "dark"
                        ],
                        "lastUpdated": "2025-06-18T15:35Z"
                    }
                ]
            },
            "records": []
        },
        {
            "team": {
                "id": "2",
                "displayName": "Boston Celtics",
                "abbreviation": "BOS",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
                "logos": [
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "default"
                        ],
                        "lastUpdated": "2024-06-25T21:17Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/bos.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "dark"
                        ],
                        "lastUpdated": "2024-06-25T21:13Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/bos.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "scoreboard"
                        ],
                        "lastUpdated": "2024-06-25T21:18Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/bos.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "scoreboard",
                            "dark"
                        ],
                        "lastUpdated": "2024-06-25T21:13Z"
                    }
                ]
            },
            "records": []
        }
    ]
}
获取比赛投注赔率 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39612/get+match+betting+odds?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回每场比赛每次进攻后的球队胜率 可用于美式足球 篮球和棒球
Endpoint ID: 39613
GET https://zylalabs.com/api/15015/espn+api/39613/get+match+win+probability
输入参数

获取比赛胜率 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
[
    {
        "homeWinPercentage": 0.762,
        "tiePercentage": 0,
        "playId": "4019099944"
    },
    {
        "homeWinPercentage": 0.772,
        "tiePercentage": 0,
        "playId": "4019099947"
    },
    {
        "homeWinPercentage": 0.776,
        "tiePercentage": 0,
        "playId": "4019099948"
    },
    {
        "homeWinPercentage": 0.795,
        "tiePercentage": 0,
        "playId": "4019099949"
    },
    {
        "homeWinPercentage": 0.806,
        "tiePercentage": 0,
        "playId": "40190999411"
    },
    {
        "homeWinPercentage": 0.795,
        "tiePercentage": 0,
        "playId": "40190999412"
    },
    {
        "homeWinPercentage": 0.806,
        "tiePercentage": 0,
        "playId": "40190999415"
    },
    {
        "homeWinPercentage": 0.794,
        "tiePercentage": 0,
        "playId": "40190999416"
    },
    {
        "homeWinPercentage": 0.809,
        "tiePercentage": 0,
        "playId": "40190999417"
    },
    {
        "homeWinPercentage": 0.838,
        "tiePercentage": 0,
        "playId": "40190999418"
    },
    {
        "homeWinPercentage": 0.848,
        "tiePercentage": 0,
        "playId": "40190999419"
    },
    {
        "homeWinPercentage": 0.851,
        "tiePercentage": 0,
        "playId": "40190999420"
    },
    {
        "homeWinPercentage": 0.838,
        "tiePercentage": 0,
        "playId": "40190999422"
    },
    {
        "homeWinPercentage": 0.851,
        "tiePercentage": 0,
        "playId": "40190999424"
    },
    {
        "homeWinPercentage": 0.837,
        "tiePercentage": 0,
        "playId": "40190999427"
    },
    {
        "homeWinPercentage": 0.824,
        "tiePercentage": 0,
        "playId": "40190999429"
    },
    {
        "homeWinPercentage": 0.822,
        "tiePercentage": 0,
        "playId": "40190999431"
    },
    {
        "homeWinPercentage": 0.852,
        "tiePercentage": 0,
        "playId": "40190999433"
    },
    {
        "homeWinPercentage": 0.861,
        "tiePercentage": 0,
        "playId": "40190999435"
    },
    {
        "homeWinPercentage": 0.864,
        "tiePercentage": 0,
        "playId": "40190999436"
    },
    {
        "homeWinPercentage": 0.854,
        "tiePercentage": 0,
        "playId": "40190999437"
    },
    {
        "homeWinPercentage": 0.851,
        "tiePercentage": 0,
        "playId": "40190999438"
    },
    {
        "homeWinPercentage": 0.83,
        "tiePercentage": 0,
        "playId": "40190999439"
    },
    {
        "homeWinPercentage": 0.826,
        "tiePercentage": 0,
        "playId": "40190999441"
    },
    {
        "homeWinPercentage": 0.837,
        "tiePercentage": 0,
        "playId": "40190999442"
    },
    {
        "homeWinPercentage": 0.825,
        "tiePercentage": 0,
        "playId": "40190999443"
    },
    {
        "homeWinPercentage": 0.822,
        "tiePercentage": 0,
        "playId": "40190999444"
    },
    {
        "homeWinPercentage": 0.833,
        "tiePercentage": 0,
        "playId": "40190999446"
    },
    {
        "homeWinPercentage": 0.821,
        "tiePercentage": 0,
        "playId": "40190999447"
    },
    {
        "homeWinPercentage": 0.821,
        "tiePercentage": 0,
        "playId": "40190999449"
    },
    {
        "homeWinPercentage": 0.825,
        "tiePercentage": 0,
        "playId": "40190999450"
    },
    {
        "homeWinPercentage": 0.821,
        "tiePercentage": 0,
        "playId": "40190999451"
    },
    {
        "homeWinPercentage": 0.832,
        "tiePercentage": 0,
        "playId": "40190999452"
    },
    {
        "homeWinPercentage": 0.836,
        "tiePercentage": 0,
        "playId": "40190999453"
    },
    {
        "homeWinPercentage": 0.824,
        "tiePercentage": 0,
        "playId": "40190999454"
    },
    {
        "homeWinPercentage": 0.82,
        "tiePercentage": 0,
        "playId": "40190999455"
    },
    {
        "homeWinPercentage": 0.821,
        "tiePercentage": 0,
        "playId": "40190999457"
    },
    {
        "homeWinPercentage": 0.832,
        "tiePercentage": 0,
        "playId": "40190999459"
    },
    {
        "homeWinPercentage": 0.836,
        "tiePercentage": 0,
        "playId": "40190999460"
    },
    {
        "homeWinPercentage": 0.824,
        "tiePercentage": 0,
        "playId": "40190999461"
    },
    {
        "homeWinPercentage": 0.82,
        "tiePercentage": 0,
        "playId": "40190999462"
    },
    {
        "homeWinPercentage": 0.831,
        "tiePercentage": 0,
        "playId": "40190999463"
    },
    {
        "homeWinPercentage": 0.82,
        "tiePercentage": 0,
        "playId": "40190999464"
    },
    {
        "homeWinPercentage": 0.805,
        "tiePercentage": 0,
        "playId": "40190999465"
    },
    {
        "homeWinPercentage": 0.79,
        "tiePercentage": 0,
        "playId": "40190999467"
    },
    {
        "homeWinPercentage": 0.786,
        "tiePercentage": 0,
        "playId": "40190999468"
    },
    {
        "homeWinPercentage": 0.748,
        "tiePercentage": 0,
        "playId": "40190999469"
    },
    {
        "homeWinPercentage": 0.732,
        "tiePercentage": 0,
        "playId": "40190999471"
    },
    {
        "homeWinPercentage": 0.747,
        "tiePercentage": 0,
        "playId": "40190999472"
    },
    {
        "homeWinPercentage": 0.775,
        "tiePercentage": 0,
        "playId": "40190999473"
    },
    {
        "homeWinPercentage": 0.78,
        "tiePercentage": 0,
        "playId": "40190999475"
    },
    {
        "homeWinPercentage": 0.78,
        "tiePercentage": 0,
        "playId": "40190999476"
    },
    {
        "homeWinPercentage": 0.78,
        "tiePercentage": 0,
        "playId": "40190999480"
    },
    {
        "homeWinPercentage": 0.78,
        "tiePercentage": 0,
        "playId": "40190999481"
    },
    {
        "homeWinPercentage": 0.78,
        "tiePercentage": 0,
        "playId": "40190999482"
    },
    {
        "homeWinPercentage": 0.78,
        "tiePercentage": 0,
        "playId": "40190999485"
    },
    {
        "homeWinPercentage": 0.78,
        "tiePercentage": 0,
        "playId": "40190999486"
    },
    {
        "homeWinPercentage": 0.798,
        "tiePercentage": 0,
        "playId": "40190999487"
    },
    {
        "homeWinPercentage": 0.765,
        "tiePercentage": 0,
        "playId": "40190999488"
    },
    {
        "homeWinPercentage": 0.765,
        "tiePercentage": 0,
        "playId": "40190999489"
    },
    {
        "homeWinPercentage": 0.779,
        "tiePercentage": 0,
        "playId": "40190999490"
    },
    {
        "homeWinPercentage": 0.784,
        "tiePercentage": 0,
        "playId": "40190999491"
    },
    {
        "homeWinPercentage": 0.802,
        "tiePercentage": 0,
        "playId": "40190999492"
    },
    {
        "homeWinPercentage": 0.8,
        "tiePercentage": 0,
        "playId": "40190999494"
    },
    {
        "homeWinPercentage": 0.817,
        "tiePercentage": 0,
        "playId": "40190999496"
    },
    {
        "homeWinPercentage": 0.805,
        "tiePercentage": 0,
        "playId": "40190999498"
    },
    {
        "homeWinPercentage": 0.801,
        "tiePercentage": 0,
        "playId": "40190999499"
    },
    {
        "homeWinPercentage": 0.813,
        "tiePercentage": 0,
        "playId": "401909994100"
    },
    {
        "homeWinPercentage": 0.817,
        "tiePercentage": 0,
        "playId": "401909994101"
    },
    {
        "homeWinPercentage": 0.804,
        "tiePercentage": 0,
        "playId": "401909994102"
    },
    {
        "homeWinPercentage": 0.817,
        "tiePercentage": 0,
        "playId": "401909994103"
    },
    {
        "homeWinPercentage": 0.804,
        "tiePercentage": 0,
        "playId": "401909994104"
    },
    {
        "homeWinPercentage": 0.816,
        "tiePercentage": 0,
        "playId": "401909994105"
    },
    {
        "homeWinPercentage": 0.804,
        "tiePercentage": 0,
        "playId": "401909994106"
    },
    {
        "homeWinPercentage": 0.8,
        "tiePercentage": 0,
        "playId": "401909994107"
    },
    {
        "homeWinPercentage": 0.812,
        "tiePercentage": 0,
        "playId": "401909994108"
    },
    {
        "homeWinPercentage": 0.816,
        "tiePercentage": 0,
        "playId": "401909994109"
    },
    {
        "homeWinPercentage": 0.803,
        "tiePercentage": 0,
        "playId": "401909994110"
    },
    {
        "homeWinPercentage": 0.799,
        "tiePercentage": 0,
        "playId": "401909994111"
    },
    {
        "homeWinPercentage": 0.76,
        "tiePercentage": 0,
        "playId": "401909994112"
    },
    {
        "homeWinPercentage": 0.759,
        "tiePercentage": 0,
        "playId": "401909994114"
    },
    {
        "homeWinPercentage": 0.759,
        "tiePercentage": 0,
        "playId": "401909994117"
    },
    {
        "homeWinPercentage": 0.759,
        "tiePercentage": 0,
        "playId": "401909994121"
    },
    {
        "homeWinPercentage": 0.759,
        "tiePercentage": 0,
        "playId": "401909994122"
    },
    {
        "homeWinPercentage": 0.759,
        "tiePercentage": 0,
        "playId": "401909994123"
    },
    {
        "homeWinPercentage": 0.836,
        "tiePercentage": 0,
        "playId": "401909994124"
    },
    {
        "homeWinPercentage": 0.744,
        "tiePercentage": 0,
        "playId": "401909994125"
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取比赛胜率 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39613/get+match+win+probability?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛中每个球队的统计领袖,例如篮球中的得分、篮板和助攻,或美式足球中的传球、冲刺和接收码数
Endpoint ID: 39614
GET https://zylalabs.com/api/15015/espn+api/39614/get+match+statistical+leaders
输入参数

获取比赛统计领先者 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
[
    {
        "team": {
            "id": "2",
            "displayName": "Boston Celtics",
            "abbreviation": "BOS",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
            "logos": [
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "default"
                    ],
                    "lastUpdated": "2024-06-25T21:17Z"
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/bos.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "dark"
                    ],
                    "lastUpdated": "2024-06-25T21:13Z"
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/bos.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "scoreboard"
                    ],
                    "lastUpdated": "2024-06-25T21:18Z"
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/bos.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "scoreboard",
                        "dark"
                    ],
                    "lastUpdated": "2024-06-25T21:13Z"
                }
            ]
        },
        "leaders": [
            {
                "name": "points",
                "displayName": "Points",
                "leaders": [
                    {
                        "displayValue": "24",
                        "value": 24,
                        "athlete": {
                            "id": "4065648",
                            "lastName": "Tatum",
                            "fullName": "Jayson Tatum",
                            "displayName": "Jayson Tatum",
                            "shortName": "J. Tatum",
                            "headshot": {
                                "href": "https://a.espncdn.com/i/headshots/nba/players/full/4065648.png",
                                "alt": "Jayson Tatum"
                            },
                            "jersey": "0",
                            "position": {
                                "name": "Forward",
                                "displayName": "Forward",
                                "abbreviation": "F"
                            },
                            "team": {
                                "id": "2"
                            },
                            "status": {
                                "id": "1",
                                "name": "Active",
                                "type": "active",
                                "abbreviation": "Active"
                            }
                        },
                        "statistics": [
                            {
                                "name": "points",
                                "displayName": "Points",
                                "shortDisplayName": "PTS",
                                "description": "The number of points scored.",
                                "abbreviation": "PTS",
                                "value": 24,
                                "displayValue": "24"
                            },
                            {
                                "name": "fieldGoals",
                                "displayName": "Field Goals",
                                "shortDisplayName": "FG",
                                "description": "Field Goal makes and attempts.",
                                "abbreviation": "FG",
                                "value": 0.391304,
                                "displayValue": "9/23"
                            },
                            {
                                "name": "freeThrows",
                                "displayName": "Free Throws",
                                "shortDisplayName": "FT",
                                "description": "Free Throw makes and attempts.",
                                "abbreviation": "FT",
                                "value": 0.6,
                                "displayValue": "3/5"
                            }
                        ],
                        "mainStat": {
                            "value": "24",
                            "label": "PTS"
                        },
                        "summary": "9/23 FG, 3/5 FT"
                    }
                ]
            },
            {
                "name": "assists",
                "displayName": "Assists",
                "leaders": [
                    {
                        "displayValue": "5",
                        "value": 5,
                        "athlete": {
                            "id": "4066354",
                            "lastName": "Pritchard",
                            "fullName": "Payton Pritchard",
                            "displayName": "Payton Pritchard",
                            "shortName": "P. Pritchard",
                            "headshot": {
                                "href": "https://a.espncdn.com/i/headshots/nba/players/full/4066354.png",
                                "alt": "Payton Pritchard"
                            },
                            "jersey": "11",
                            "position": {
                                "name": "Guard",
                                "displayName": "Guard",
                                "abbreviation": "G"
                            },
                            "team": {
                                "id": "2"
                            },
                            "status": {
                                "id": "1",
                                "name": "Active",
                                "type": "active",
                                "abbreviation": "Active"
                            }
                        },
                        "statistics": [
                            {
                                "name": "assists",
                                "displayName": "Assists",
                                "shortDisplayName": "AST",
                                "description": "The number of times a player who passes the ball to a teammate in a way that leads to a score by field goal, meaning that he or she was \"assisting\" in the basket. There is some judgment involved in deciding whether a passer should be credited with an assist.",
                                "abbreviation": "AST",
                                "value": 5,
                                "displayValue": "5"
                            },
                            {
                                "name": "turnovers",
                                "displayName": "Turnovers",
                                "shortDisplayName": "TO",
                                "description": "The number of times a player loses possession to the other team.",
                                "abbreviation": "TO",
                                "value": 0,
                                "displayValue": "0"
                            },
                            {
                                "name": "minutes",
                                "displayName": "Minutes",
                                "shortDisplayName": "MIN",
                                "description": "The total number of minutes played.",
                                "abbreviation": "MIN",
                                "value": 32,
                                "displayValue": "32"
                            },
                            {
                                "name": "assistTurnoverRatio",
                                "displayName": "Assist To Turnover Ratio",
                                "shortDisplayName": "AST/TO",
                                "description": "The average number of assists a player or team records per turnover",
                                "abbreviation": "AST/TO",
                                "value": 0,
                                "displayValue": "INF"
                            }
                        ],
                        "mainStat": {
                            "value": "5",
                            "label": "AST"
                        },
                        "summary": "0 TO, 32 MIN"
                    }
                ]
            },
            {
                "name": "rebounds",
                "displayName": "Rebounds",
                "leaders": [
                    {
                        "displayValue": "12",
                        "value": 12,
                        "athlete": {
                            "id": "4065648",
                            "lastName": "Tatum",
                            "fullName": "Jayson Tatum"
                        }
                    }
                ]
            }
        ]
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取比赛统计领先者 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39614/get+match+statistical+leaders?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛中两支球队的对阵记录:它们之前的交锋、赛季系列和各自的最近五场比赛
Endpoint ID: 39615
GET https://zylalabs.com/api/15015/espn+api/39615/get+match+head+to+head
输入参数

获取比赛的交锋记录 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
{
    "seasonseries": [
        {
            "type": "season",
            "title": "Regular Season Series",
            "description": "Regular Season Series",
            "summary": "Series tied 1-1",
            "completed": false,
            "totalCompetitions": 4,
            "seriesLabel": "Regular Season",
            "seriesScore": "1-1",
            "shortSummary": "Season tied",
            "events": [
                {
                    "id": "401909903",
                    "date": "2026-11-01T20:30:00Z",
                    "timeValid": true,
                    "status": "post",
                    "statusType": {
                        "id": "3",
                        "name": "STATUS_FINAL",
                        "state": "post",
                        "completed": true,
                        "description": "Final",
                        "detail": "Final",
                        "shortDetail": "Final"
                    },
                    "neutralSite": false,
                    "competitors": [
                        {
                            "homeAway": "home",
                            "winner": false,
                            "team": {
                                "id": "19",
                                "displayName": "Orlando Magic",
                                "abbreviation": "ORL",
                                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/orl.png",
                                "logos": [
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/orl.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "default"
                                        ],
                                        "lastUpdated": "2025-06-16T16:45Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/orl.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "dark"
                                        ],
                                        "lastUpdated": "2025-06-16T16:45Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/orl.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "scoreboard"
                                        ],
                                        "lastUpdated": "2025-06-18T15:37Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/orl.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "scoreboard",
                                            "dark"
                                        ],
                                        "lastUpdated": "2025-06-18T15:35Z"
                                    }
                                ]
                            },
                            "score": "97"
                        },
                        {
                            "homeAway": "away",
                            "winner": true,
                            "team": {
                                "id": "2",
                                "displayName": "Boston Celtics",
                                "abbreviation": "BOS",
                                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
                                "logos": [
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "default"
                                        ],
                                        "lastUpdated": "2024-06-25T21:17Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/bos.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "dark"
                                        ],
                                        "lastUpdated": "2024-06-25T21:13Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/bos.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "scoreboard"
                                        ],
                                        "lastUpdated": "2024-06-25T21:18Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/bos.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "scoreboard",
                                            "dark"
                                        ],
                                        "lastUpdated": "2024-06-25T21:13Z"
                                    }
                                ]
                            },
                            "score": "108"
                        }
                    ]
                },
                {
                    "id": "401909994",
                    "date": "2026-11-17T00:00:00Z",
                    "timeValid": true,
                    "status": "post",
                    "statusType": {
                        "id": "3",
                        "name": "STATUS_FINAL",
                        "state": "post",
                        "completed": true,
                        "description": "Final",
                        "detail": "Final",
                        "shortDetail": "Final"
                    },
                    "neutralSite": false,
                    "competitors": [
                        {
                            "homeAway": "home",
                            "winner": false,
                            "team": {
                                "id": "2",
                                "displayName": "Boston Celtics",
                                "abbreviation": "BOS",
                                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
                                "logos": [
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "default"
                                        ],
                                        "lastUpdated": "2024-06-25T21:17Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/bos.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full"
                                        ]
                                    }
                                ]
                            }
                        }
                    ]
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取比赛的交锋记录 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39615/get+match+head+to+head?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛双方的伤病报告:受伤球员的状态、伤情类型和详细信息
Endpoint ID: 39616
GET https://zylalabs.com/api/15015/espn+api/39616/get+match+injury+report
输入参数

获取比赛伤病报告 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
[
    {
        "team": {
            "id": "2",
            "displayName": "Boston Celtics",
            "abbreviation": "BOS",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
            "logos": [
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "default"
                    ],
                    "lastUpdated": "2024-06-25T21:17Z"
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/bos.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "dark"
                    ],
                    "lastUpdated": "2024-06-25T21:13Z"
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/bos.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "scoreboard"
                    ],
                    "lastUpdated": "2024-06-25T21:18Z"
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/bos.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "scoreboard",
                        "dark"
                    ],
                    "lastUpdated": "2024-06-25T21:13Z"
                }
            ]
        },
        "injuries": [
            {
                "status": "Day-To-Day",
                "date": "2026-11-17T03:37Z",
                "athlete": {
                    "id": "4397424",
                    "lastName": "Queta",
                    "fullName": "Neemias Queta",
                    "displayName": "Neemias Queta",
                    "shortName": "N. Queta",
                    "headshot": {
                        "href": "https://a.espncdn.com/i/headshots/nba/players/full/4397424.png",
                        "alt": "Neemias Queta"
                    },
                    "jersey": "88",
                    "position": {
                        "name": "Center",
                        "displayName": "Center",
                        "abbreviation": "C"
                    },
                    "status": {
                        "id": "1",
                        "name": "Active",
                        "type": "active",
                        "abbreviation": "Active"
                    }
                },
                "type": {
                    "id": "6",
                    "name": "INJURY_STATUS_DAYTODAY",
                    "description": "day-to-day",
                    "abbreviation": "DD"
                },
                "details": {
                    "fantasyStatus": {
                        "description": "GTD",
                        "abbreviation": "GTD",
                        "displayDescription": "GTD"
                    },
                    "type": "Rest",
                    "location": "Other",
                    "returnDate": "2026-11-18"
                }
            }
        ]
    },
    {
        "team": {
            "id": "19",
            "displayName": "Orlando Magic",
            "abbreviation": "ORL",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/orl.png",
            "logos": [
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/orl.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "default"
                    ],
                    "lastUpdated": "2025-06-16T16:45Z"
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/orl.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "dark"
                    ],
                    "lastUpdated": "2025-06-16T16:45Z"
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/orl.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "scoreboard"
                    ],
                    "lastUpdated": "2025-06-18T15:37Z"
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/orl.png",
                    "width": 500,
                    "height": 500,
                    "alt": "",
                    "rel": [
                        "full",
                        "scoreboard",
                        "dark"
                    ],
                    "lastUpdated": "2025-06-18T15:35Z"
                }
            ]
        },
        "injuries": [
            {
                "status": "Out",
                "date": "2026-11-15T18:22Z",
                "athlete": {
                    "id": "4065654",
                    "lastName": "Isaac",
                    "fullName": "Jonathan Isaac",
                    "displayName": "Jonathan Isaac",
                    "shortName": "J. Isaac",
                    "headshot": {
                        "href": "https://a.espncdn.com/i/headshots/nba/players/full/4065654.png",
                        "alt": "Jonathan Isaac"
                    },
                    "jersey": "1",
                    "position": {
                        "name": "Forward",
                        "displayName": "Forward",
                        "abbreviation": "F"
                    },
                    "status": {
                        "id": "1",
                        "name": "Active",
                        "type": "active",
                        "abbreviation": "Active"
                    }
                },
                "type": {
                    "id": "4",
                    "name": "INJURY_STATUS_OUT",
                    "description": "out",
                    "abbreviation": "O"
                },
                "details": {
                    "fantasyStatus": {
                        "description": "OUT",
                        "abbreviation": "OUT",
                        "displayDescription": "Out"
                    },
                    "type": "Knee",
                    "location": "Leg",
                    "detail": "Not Specified",
                    "side": "Left",
                    "returnDate": "2026-11-22"
                }
            },
            {
                "status": "Out",
                "date": "2026-11-14T17:33Z",
                "athlete": {
                    "id": "5214637",
                    "lastName": "Penda",
                    "fullName": "Noah Penda",
                    "displayName": "Noah Penda",
                    "shortName": "N. Penda",
                    "headshot": {
                        "href": "https://a.espncdn.com/i/headshots/nba/players/full/5214637.png",
                        "alt": "Noah Penda"
                    },
                    "jersey": "93",
                    "position": {
                        "name": "Forward",
                        "displayName": "Forward",
                        "abbreviation": "F"
                    },
                    "status": {
                        "id": "1",
                        "name": "Active",
                        "type": "active",
                        "abbreviation": "Active"
                    }
                },
                "type": {
                    "id": "4",
                    "name": "INJURY_STATUS_OUT",
                    "description": "out",
                    "abbreviation": "O"
                },
                "details": {
                    "fantasyStatus": {
                        "description": "OUT",
                        "abbreviation": "OUT",
                        "displayDescription": "Out"
                    },
                    "type": "Hamstring",
                    "location": "Leg",
                    "detail": "Strain",
                    "side": "Right",
                    "returnDate": "2026-11-22"
                }
            },
            {
                "status": "Out",
                "date": "2026-10-24T16:47Z",
                "athlete": {
                    "id": "4432573",
                    "lastName": "Banchero",
                    "fullName": "Paolo Banchero",
                    "displayName": "Paolo Banchero",
                    "shortName": "P. Banchero",
                    "headshot": {
                        "href": "https://a.espncdn.com/i/headshots/nba/players/full/4432573.png",
                        "alt": "Paolo Banchero"
                    },
                    "jersey": "5"
                }
            }
        ]
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取比赛伤病报告 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39616/get+match+injury+report?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛中两支球队所在的会议、分区或小组的排名
Endpoint ID: 39617
GET https://zylalabs.com/api/15015/espn+api/39617/get+standings+of+the+match+teams
输入参数

获取比赛队伍的排名 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
{
    "fullViewLink": {
        "text": "Full Standings",
        "href": "https://www.espn.com/nba/standings"
    },
    "header": "2026-27 Standings",
    "groups": [
        {
            "standings": {
                "entries": [
                    {
                        "team": "Miami",
                        "link": "https://www.espn.com/nba/team/_/name/mia/miami-heat",
                        "id": "14",
                        "stats": [
                            {
                                "name": "gamesBehind",
                                "displayName": "Games Back",
                                "shortDisplayName": "GB",
                                "description": "Games Back",
                                "abbreviation": "GB",
                                "type": "gamesbehind",
                                "value": 0,
                                "displayValue": "-"
                            },
                            {
                                "name": "losses",
                                "displayName": "Losses",
                                "shortDisplayName": "L",
                                "description": "Losses",
                                "abbreviation": "L",
                                "type": "losses",
                                "value": 6,
                                "displayValue": "6"
                            },
                            {
                                "name": "streak",
                                "displayName": "Streak",
                                "shortDisplayName": "STRK",
                                "description": "Current Streak",
                                "abbreviation": "STRK",
                                "type": "streak",
                                "value": 5,
                                "displayValue": "W5"
                            },
                            {
                                "name": "winPercent",
                                "displayName": "Win Percentage",
                                "shortDisplayName": "PCT",
                                "description": "Winning Percentage",
                                "abbreviation": "PCT",
                                "type": "winpercent",
                                "value": 0.5714286,
                                "displayValue": ".571"
                            },
                            {
                                "name": "wins",
                                "displayName": "Wins",
                                "shortDisplayName": "W",
                                "description": "Wins",
                                "abbreviation": "W",
                                "type": "wins",
                                "value": 8,
                                "displayValue": "8"
                            }
                        ],
                        "logo": [
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nba/500/mia.png",
                                "width": 500,
                                "height": 500,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "default"
                                ],
                                "lastUpdated": "2024-06-25T21:17Z"
                            },
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/mia.png",
                                "width": 500,
                                "height": 500,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "scoreboard",
                                    "dark"
                                ],
                                "lastUpdated": "2024-06-25T21:14Z"
                            }
                        ]
                    },
                    {
                        "team": "Atlanta",
                        "link": "https://www.espn.com/nba/team/_/name/atl/atlanta-hawks",
                        "id": "1",
                        "stats": [
                            {
                                "name": "gamesBehind",
                                "displayName": "Games Back",
                                "shortDisplayName": "GB",
                                "description": "Games Back",
                                "abbreviation": "GB",
                                "type": "gamesbehind",
                                "value": 0,
                                "displayValue": "-"
                            },
                            {
                                "name": "losses",
                                "displayName": "Losses",
                                "shortDisplayName": "L",
                                "description": "Losses",
                                "abbreviation": "L",
                                "type": "losses",
                                "value": 6,
                                "displayValue": "6"
                            },
                            {
                                "name": "streak",
                                "displayName": "Streak",
                                "shortDisplayName": "STRK",
                                "description": "Current Streak",
                                "abbreviation": "STRK",
                                "type": "streak",
                                "value": 1,
                                "displayValue": "W1"
                            },
                            {
                                "name": "winPercent",
                                "displayName": "Win Percentage",
                                "shortDisplayName": "PCT",
                                "description": "Winning Percentage",
                                "abbreviation": "PCT",
                                "type": "winpercent",
                                "value": 0.5714286,
                                "displayValue": ".571"
                            },
                            {
                                "name": "wins",
                                "displayName": "Wins",
                                "shortDisplayName": "W",
                                "description": "Wins",
                                "abbreviation": "W",
                                "type": "wins",
                                "value": 8,
                                "displayValue": "8"
                            }
                        ],
                        "logo": [
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nba/500/atl.png",
                                "width": 500,
                                "height": 500,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "default"
                                ],
                                "lastUpdated": "2024-06-25T21:17Z"
                            },
                            {
                                "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/atl.png",
                                "width": 500,
                                "height": 500,
                                "alt": "",
                                "rel": [
                                    "full",
                                    "scoreboard",
                                    "dark"
                                ],
                                "lastUpdated": "2024-06-25T21:13Z"
                            }
                        ]
                    },
                    {
                        "team": "Orlando",
                        "link": "https://www.espn.com/nba/team/_/name/orl/orlando-magic",
                        "id": "19",
                        "stats": [
                            {
                                "name": "gamesBehind",
                                "displayName": "Games Back",
                                "shortDisplayName": "GB",
                                "description": "Games Back",
                                "abbreviation": "GB",
                                "type": "gamesbehind",
                                "value": 1.5,
                                "displayValue": "1.5"
                            },
                            {
                                "name": "losses",
                                "displayName": "Losses",
                                "shortDisplayName": "L",
                                "description": "Losses",
                                "abbreviation": "L",
                                "type": "losses",
                                "value": 7,
                                "displayValue": "7"
                            },
                            {
                                "name": "streak",
                                "displayName": "Streak",
                                "shortDisplayName": "STRK"
                            }
                        ]
                    }
                ]
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取比赛队伍的排名 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39617/get+standings+of+the+match+teams?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛的摘要文章及相关的新闻文章
Endpoint ID: 39618
GET https://zylalabs.com/api/15015/espn+api/39618/get+match+recap+and+news
输入参数

获取比赛回顾和新闻 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
{
    "article": {
        "id": 50507310,
        "nowId": "1-50507310",
        "type": "Recap",
        "gameId": "401909994",
        "headline": "Bane scores 24, Magic rally in 4th quarter to beat Celtics 115-105, extend win streak to 4 games",
        "description": "— Desmond Bane had 24 points and eight rebounds to help the Orlando Magic rally in the fourth quarter and earn their fourth consecutive victory, 115-105 over the Boston Celtics on Monday night.",
        "linkText": "Bane scores 24, Magic rally in 4th quarter to beat Celtics 115-105, extend win streak to 4 games",
        "categorized": "2026-11-17T03:25:27Z",
        "originallyPosted": "2026-11-17T02:52:34Z",
        "lastModified": "2026-11-17T03:05:34Z",
        "published": "2026-11-17T02:52:34Z",
        "section": "NBA",
        "source": "AP",
        "images": [
            {
                "type": "Media",
                "name": "Jayson Tatum drops in a pretty bucket for Celtics",
                "caption": "Jayson Tatum drops in a pretty bucket for Celtics",
                "height": 324,
                "width": 576,
                "url": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/1116/f8e94dbcd27142b58ca4b0f8a491d29e1315/f8e94dbcd27142b58ca4b0f8a491d29e1315.jpg"
            }
        ],
        "video": [
            {
                "id": 50507028,
                "pccId": "de0726b1-9ea3-41c4-a3ac-53eeddae0e44",
                "source": "espn",
                "headline": "Jayson Tatum drops in a pretty bucket for Celtics",
                "shortHeadline": "Jayson Tatum drops in a pretty bucket for Celtics",
                "caption": "Jayson Tatum drops in a pretty bucket for Celtics",
                "title": "Jayson Tatum drops in a pretty bucket for Celtics",
                "description": "Jayson Tatum drops in a pretty bucket for Celtics",
                "shortDescription": "Jayson Tatum drops in a pretty bucket for Celtics",
                "lastModified": "2026-11-17T02:55:44Z",
                "originalPublishDate": "2026-11-17T02:31:30Z",
                "premium": false,
                "syndicatable": true,
                "duration": 17,
                "videoRatio": "16:9,9:16",
                "gameId": 401909994,
                "plays": [
                    {
                        "id": 401909994423
                    }
                ],
                "thumbnail": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/1116/f8e94dbcd27142b58ca4b0f8a491d29e1315/f8e94dbcd27142b58ca4b0f8a491d29e1315.jpg",
                "images": [
                    {
                        "name": "Poster Image",
                        "caption": "",
                        "alt": "",
                        "credit": "",
                        "height": 324,
                        "width": 576,
                        "url": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/1116/f8e94dbcd27142b58ca4b0f8a491d29e1315/f8e94dbcd27142b58ca4b0f8a491d29e1315.jpg"
                    }
                ],
                "posterImages": {
                    "default": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/1116/f8e94dbcd27142b58ca4b0f8a491d29e1315/f8e94dbcd27142b58ca4b0f8a491d29e1315_default.jpg",
                        "width": 576,
                        "height": 324
                    },
                    "firstFrame": {
                        "href": "https://cmp-espn.media.dssott.com/opp/img/espn/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/thumb-1-w720-h406-f4.jpg"
                    },
                    "full": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/1116/f8e94dbcd27142b58ca4b0f8a491d29e1315/f8e94dbcd27142b58ca4b0f8a491d29e1315.jpg"
                    },
                    "square": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/1116/f8e94dbcd27142b58ca4b0f8a491d29e1315/f8e94dbcd27142b58ca4b0f8a491d29e1315_1x1.jpg"
                    },
                    "vertical": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/1116/f8e94dbcd27142b58ca4b0f8a491d29e1315/f8e94dbcd27142b58ca4b0f8a491d29e1315_9x16.jpg"
                    },
                    "verticalFirstFrame": {
                        "href": "https://cmp-espn.media.dssott.com/opp/img/espn/9x16/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/thumb-1-w406-h720-f4.jpg"
                    },
                    "wide": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/1116/f8e94dbcd27142b58ca4b0f8a491d29e1315/f8e94dbcd27142b58ca4b0f8a491d29e1315_5x2.jpg"
                    }
                },
                "links": {
                    "source": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e.mp4",
                        "HD": {
                            "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e.mp4"
                        },
                        "HLS": {
                            "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/playlist.m3u8",
                            "9x16": {
                                "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/9x16/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/playlist.m3u8"
                            },
                            "HD": {
                                "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/playlist.m3u8"
                            },
                            "cmaf": {
                                "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/playlist.m3u8",
                                "9x16": {
                                    "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/9x16/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/playlist.m3u8"
                                },
                                "cmb": {
                                    "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/cmb/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/playlist.m3u8"
                                }
                            },
                            "cmb": {
                                "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/cmb/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/playlist.m3u8"
                            },
                            "shield": {
                                "href": "https://watch.auth.api.espn.com/video/auth/media/de0726b1-9ea3-41c4-a3ac-53eeddae0e44/asset"
                            }
                        },
                        "flash": {
                            "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e.mp4"
                        },
                        "full": {
                            "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e.mp4"
                        },
                        "mezzanine": {
                            "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e/f8e94dbc-d271-42b5-8ca4-b0f8a491d29e.mp4"
                        }
                    },
                    "web": {
                        "href": "https://www.espn.com/video/clip/_/id/50507028/jayson-tatum-drops-pretty-bucket-celtics",
                        "self": {
                            "href": "https://www.espn.com/video/clip/_/id/50507028/jayson-tatum-drops-pretty-bucket-celtics",
                            "dsi": {
                                "href": "https://www.espn.com/video/clip?id=2dae35f4d0e2d"
                            }
                        }
                    }
                },
                "categories": [
                    {
                        "id": 168976,
                        "type": "athlete",
                        "description": "Jayson Tatum",
                        "sportId": 46,
                        "athleteId": 4065648,
                        "athlete": {
                            "id": 4065648,
                            "description": "Jayson Tatum",
                            "links": {
                                "web": {
                                    "athletes": {
                                        "href": "https://www.espn.com/nba/player/_/id/4065648/jayson-tatum"
                                    }
                                }
                            }
                        }
                    }
                ]
            }
        ]
    },
    "_note": "Response truncated for documentation purposes"
}
获取比赛回顾和新闻 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39618/get+match+recap+and+news?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛的亮点,包括标题、时长、缩略图和覆盖的比赛内容
Endpoint ID: 39619
GET https://zylalabs.com/api/15015/espn+api/39619/get+match+video+highlights
输入参数

获取比赛视频精彩片段 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
match_id 必需 Match id as returned by the match lists (e.g. 401909994)

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


输入参数

sport
league
match_id
API 示例响应
JSON
[
    {
        "id": 50507253,
        "source": "espn",
        "headline": "Orlando Magic vs. Boston Celtics: Game Highlights",
        "description": "Orlando Magic vs. Boston Celtics: Game Highlights",
        "lastModified": "2026-11-17T02:46:53Z",
        "originalPublishDate": "2026-11-17T02:45:53Z",
        "duration": 74,
        "thumbnail": "https://espnmedia-cdn.akamaized.net/espn/media/common/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb.jpg",
        "links": {
            "source": {
                "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb.mp4",
                "HD": {
                    "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb.mp4"
                },
                "HLS": {
                    "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb/playlist.m3u8",
                    "9x16": {
                        "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/9x16/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb/playlist.m3u8"
                    },
                    "HD": {
                        "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb/playlist.m3u8"
                    },
                    "cmaf": {
                        "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb/playlist.m3u8",
                        "9x16": {
                            "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/9x16/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb/playlist.m3u8"
                        },
                        "cmb": {
                            "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/cmb/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb/playlist.m3u8"
                        }
                    },
                    "cmb": {
                        "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/cmb/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb/playlist.m3u8"
                    },
                    "shield": {
                        "href": "https://watch.auth.api.espn.com/video/auth/media/734d497c-1803-4d67-8afe-a2ca0f0133cf/asset"
                    }
                },
                "flash": {
                    "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb.mp4"
                },
                "full": {
                    "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb.mp4"
                },
                "mezzanine": {
                    "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/345c40a7-9846-4342-a2cf-d892795a50cb/345c40a7-9846-4342-a2cf-d892795a50cb.mp4"
                }
            },
            "web": {
                "href": "https://www.espn.com/video/clip/_/id/50507253/game-highlights",
                "self": {
                    "href": "https://www.espn.com/video/clip/_/id/50507253/game-highlights",
                    "dsi": {
                        "href": "https://www.espn.com/video/clip?id=f02c584f8ab7c"
                    }
                }
            }
        }
    },
    {
        "id": 50506637,
        "source": "espn",
        "headline": "Jayson Tatum nails the triple for Boston",
        "description": "Jayson Tatum nails the triple for Boston",
        "lastModified": "2026-11-17T02:35:09Z",
        "originalPublishDate": "2026-11-17T01:40:14Z",
        "duration": 16,
        "thumbnail": "https://espnmedia-cdn.akamaized.net/espn/media/common/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353.jpg",
        "links": {
            "source": {
                "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353.mp4",
                "HD": {
                    "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353.mp4"
                },
                "HLS": {
                    "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353/playlist.m3u8",
                    "9x16": {
                        "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/9x16/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353/playlist.m3u8"
                    },
                    "HD": {
                        "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353/playlist.m3u8"
                    },
                    "cmaf": {
                        "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353/playlist.m3u8",
                        "9x16": {
                            "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/9x16/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353/playlist.m3u8"
                        },
                        "cmb": {
                            "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/cmb/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353/playlist.m3u8"
                        }
                    },
                    "cmb": {
                        "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/cmb/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353/playlist.m3u8"
                    },
                    "shield": {
                        "href": "https://watch.auth.api.espn.com/video/auth/media/8eae2a4b-5afe-4e6b-80bb-5885aafebc35/asset"
                    }
                },
                "flash": {
                    "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353.mp4"
                },
                "full": {
                    "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353.mp4"
                },
                "mezzanine": {
                    "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/0369daed-c609-49d3-9532-aedd1d7d3353/0369daed-c609-49d3-9532-aedd1d7d3353.mp4"
                }
            },
            "web": {
                "href": "https://www.espn.com/video/clip/_/id/50506637/jayson-tatum-nails-triple-boston",
                "self": {
                    "href": "https://www.espn.com/video/clip/_/id/50506637/jayson-tatum-nails-triple-boston",
                    "dsi": {
                        "href": "https://www.espn.com/video/clip?id=af1ce3918f617"
                    }
                }
            }
        }
    },
    {
        "id": 50506778,
        "source": "espn",
        "headline": "Jayson Tatum throws down thunderous dunk for Celtics",
        "description": "Jayson Tatum throws down thunderous dunk for Celtics",
        "lastModified": "2026-11-17T02:32:58Z",
        "originalPublishDate": "2026-11-17T01:58:23Z",
        "duration": 27,
        "thumbnail": "https://espnmedia-cdn.akamaized.net/espn/media/common/wsc/2026/1117/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/469484e9-5ef7-44b4-bd34-71e3cdce0e1b.jpg",
        "links": {
            "source": {
                "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/469484e9-5ef7-44b4-bd34-71e3cdce0e1b.mp4",
                "HD": {
                    "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/wsc/2026/1117/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/469484e9-5ef7-44b4-bd34-71e3cdce0e1b.mp4"
                },
                "HLS": {
                    "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/wsc/2026/1117/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/playlist.m3u8",
                    "9x16": {
                        "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/9x16/wsc/2026/1117/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/playlist.m3u8"
                    },
                    "HD": {
                        "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/wsc/2026/1117/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/playlist.m3u8"
                    },
                    "cmaf": {
                        "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/wsc/2026/1117/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/playlist.m3u8",
                        "9x16": {
                            "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/9x16/wsc/2026/1117/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/469484e9-5ef7-44b4-bd34-71e3cdce0e1b/playlist.m3u8"
                        }
                    }
                }
            }
        }
    },{"_note":"Response truncated for documentation purposes"}]
获取比赛视频精彩片段 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39619/get+match+video+highlights?sport=basketball&league=nba&match_id=401909994' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回所有体育最新新闻文章,包括标题 描述 作者 图片 分类 发布日期和完整故事
Endpoint ID: 39620
GET https://zylalabs.com/api/15015/espn+api/39620/get+latest+news
输入参数

获取最新新闻 — 端点功能

对象 描述
limit 可选 Number of items to return, between 1 and 50 (default 20)
page 可选 Page number, starting at 1

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


输入参数

limit
page
API 示例响应
JSON
[
    {
        "id": 46479547,
        "nowId": "1-46479547",
        "type": "Story",
        "headline": "Women's Champions League on Disney+: Schedule, format, more",
        "description": "Everything you need to know about this year's Women's Champions League, which will be streamed entirely on Disney+.",
        "title": "Women's Champions League on Disney+: Schedule, format, more",
        "linkText": "Women's Champions League on Disney+: Schedule, format, more",
        "categorized": "2026-11-17T08:02:16Z",
        "originallyPosted": "2026-11-17T08:02:00Z",
        "lastModified": "2026-11-17T08:02:16Z",
        "published": "2026-11-17T08:02:16Z",
        "root": "soccer",
        "section": "UEFA Women's Champions League",
        "images": [
            {
                "id": 46488773,
                "type": "header",
                "name": "UWCL trophy [1296x729]",
                "caption": "OL Lyonnes have won the Women's Champions League eight times.",
                "credit": "Getty",
                "height": 729,
                "width": 1296,
                "url": "https://a.espncdn.com/photo/2025/1004/r1555533_1296x729_16-9.jpg"
            },
            {
                "id": 48860498,
                "type": "header",
                "name": "Putellas trophy lift [1296x729]",
                "caption": "Barcelona reclaimed the Women's Champions League trophy with a 4-0 win over OL Lyonnes in the 2026 final.",
                "credit": "Adam Escada/Eurasia Sport Images/Getty Images",
                "height": 729,
                "width": 1296,
                "url": "https://a.espncdn.com/photo/2026/0524/r1662764_1296x729_16-9.jpg"
            },
            {
                "id": 49971649,
                "type": "header",
                "name": "Renee Slegers [1296x729]",
                "caption": "Arsenal remain the only English side to have won the Women's Champions League.",
                "alt": "LONDON, ENGLAND - SEPTEMBER 13: Renee Slegers, Head Coach of Arsenal talks with her team in a huddle after the Barclays Women's Super League 2026/27 match between Arsenal FC and Crystal Palace FC at Emirates Stadium on September 13, 2026 in London, Englan",
                "credit": "Photo by Alex Burstow/Arsenal FC via Getty Images",
                "height": 729,
                "width": 1296,
                "url": "https://a.espncdn.com/photo/2026/0918/r1718481_1296x729_16-9.jpg"
            },
            {
                "type": "Media",
                "name": "Ona Batlle 'feeling no pressure' replacing Katie McCabe at Arsenal",
                "caption": "Ona Batlle 'feeling no pressure' replacing Katie McCabe at Arsenal",
                "height": 324,
                "width": 576,
                "url": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL.jpg"
            }
        ],
        "video": [
            {
                "id": 49802057,
                "pccId": "57e35213-5d68-4044-83a9-500af1933015",
                "source": "espn",
                "headline": "Ona Batlle 'feeling no pressure' replacing Katie McCabe at Arsenal",
                "shortHeadline": "Ona Batlle 'feeling no pressure' replacing Katie McCabe at Arsenal",
                "caption": "Ona Batlle 'feeling no pressure' replacing Katie McCabe at Arsenal",
                "title": "Ona Batlle 'feeling no pressure' replacing Katie McCabe at Arsenal",
                "description": "Ona Batlle 'feeling no pressure' replacing Katie McCabe at Arsenal",
                "shortDescription": "Ona Batlle 'feeling no pressure' replacing Katie McCabe at Arsenal",
                "lastModified": "2026-09-03T08:17:38Z",
                "originalPublishDate": "2026-09-02T11:14:47Z",
                "premium": false,
                "syndicatable": true,
                "duration": 94,
                "videoRatio": "16:9",
                "thumbnail": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL.jpg",
                "images": [
                    {
                        "name": "Poster Image",
                        "caption": "",
                        "alt": "",
                        "credit": "",
                        "height": 324,
                        "width": 576,
                        "url": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL.jpg"
                    }
                ],
                "posterImages": {
                    "default": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL_default.jpg",
                        "width": 576,
                        "height": 324
                    },
                    "firstFrame": {
                        "href": "https://cmp-espn.media.dssott.com/opp/img/espn/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/thumb-1-w720-h406-f4.jpg"
                    },
                    "full": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL.jpg"
                    },
                    "square": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL_1x1.jpg"
                    },
                    "wide": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/common/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL_5x2.jpg"
                    }
                },
                "links": {
                    "source": {
                        "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL.mp4",
                        "HD": {
                            "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL.mp4"
                        },
                        "HLS": {
                            "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/playlist.m3u8",
                            "HD": {
                                "href": "https://cmp-espn.media.dssott.com/opp/hls/espn/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/playlist.m3u8"
                            },
                            "cmaf": {
                                "href": "https://cmp-espn.media.dssott.com/opp/cmaf/espn/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/playlist.m3u8"
                            },
                            "shield": {
                                "href": "https://watch.auth.api.espn.com/video/auth/media/57e35213-5d68-4044-83a9-500af1933015/asset"
                            }
                        },
                        "flash": {
                            "href": "https://espnmedia-cdn.akamaized.net/espn/media/16x9/2026/0902/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL/dm_260902_COM_SOC_Interview_Ona_Batlle_feeling_no_pressure_replacing_Katie_McCabe_at_Arsenal_20260902_GL.mp4"
                        }
                    }
                }
            }
        ]
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取最新新闻 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39620/get+latest+news?limit=20&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一篇包含标题 描述 作者 全文 图片 分类和发布日期的新闻文章
Endpoint ID: 39621
GET https://zylalabs.com/api/15015/espn+api/39621/get+news+article
输入参数

获取新闻文章 — 端点功能

对象 描述
news_id 必需 News article id as returned by the news lists (e.g. 50508608)

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


输入参数

news_id
API 示例响应
JSON
{
    "id": 50508608,
    "nowId": "1-50508608",
    "type": "Preview",
    "gameId": "401910010",
    "headline": "Magic play the 76ers on 4-game win streak",
    "description": "Philadelphia 76ers (12-3, first in the Eastern Conference) vs. Orlando Magic (6-7, eighth in the Eastern Conference)",
    "title": "Magic play the 76ers on 4-game win streak",
    "linkText": "Magic play the 76ers on 4-game win streak",
    "categorized": "2026-11-17T07:04:45Z",
    "originallyPosted": "2026-11-17T07:04:44Z",
    "lastModified": "2026-11-17T07:04:45Z",
    "published": "2026-11-17T07:04:44Z",
    "root": "nba",
    "section": "NBA",
    "source": "Data Skrive",
    "images": [],
    "video": [],
    "categories": [
        {
            "id": 9577,
            "type": "league",
            "description": "NBA",
            "sportId": 46,
            "leagueId": 46,
            "league": {
                "id": 46,
                "description": "NBA",
                "abbreviation": "NBA",
                "links": {
                    "web": {
                        "leagues": {
                            "href": "https://www.espn.com/nba/"
                        }
                    }
                }
            }
        },
        {
            "id": 4309,
            "type": "team",
            "description": "Orlando Magic",
            "sportId": 46,
            "teamId": 19,
            "team": {
                "id": 19,
                "description": "Orlando Magic",
                "abbreviation": "ORL",
                "shortDisplayName": "Magic",
                "links": {
                    "web": {
                        "teams": {
                            "href": "https://www.espn.com/nba/team/_/name/orl/orlando-magic"
                        }
                    }
                }
            }
        },
        {
            "id": 4323,
            "type": "team",
            "description": "Philadelphia 76ers",
            "sportId": 46,
            "teamId": 20,
            "team": {
                "id": 20,
                "description": "Philadelphia 76ers",
                "abbreviation": "PHI",
                "shortDisplayName": "76ers",
                "links": {
                    "web": {
                        "teams": {
                            "href": "https://www.espn.com/nba/team/_/name/phi/philadelphia-76ers"
                        }
                    }
                }
            }
        },
        {
            "type": "event",
            "description": "Philadelphia 76ers @ Orlando Magic",
            "eventId": 401910010,
            "event": {
                "id": 401910010,
                "sport": "basketball",
                "league": "nba",
                "description": "Philadelphia 76ers @ Orlando Magic"
            }
        }
    ],
    "keywords": [
        "NBA",
        "Orlando Magic",
        "Philadelphia 76ers",
        "Philadelphia 76ers @ Orlando Magic"
    ],
    "story": "<a href=\"http://www.espn.com/nba/team/_/name/phi/philadelphia-76ers\">Philadelphia 76ers</a> (12-3, first in the Eastern Conference) vs. <a href=\"http://www.espn.com/nba/team/_/name/orl/orlando-magic\">Orlando Magic</a> (6-7, eighth in the Eastern Conference)\n\n\r\n              Orlando, Florida; Wednesday, 7 p.m. EST\n\n\r\n              BOTTOM LINE: Orlando will try to prolong its four-game win streak with a victory against Philadelphia.\n\n\r\n              The Magic have gone 4-4 against Eastern Conference teams. Orlando is fifth in the Eastern Conference with 32.2 defensive rebounds per game led by <a href=\"http://www.espn.com/nba/player/_/id/4277847/wendell-carter-jr\">Wendell Carter Jr</a>. averaging 6.2.\n\n\r\n              The 76ers are 12-3 in Eastern Conference play. Philadelphia ranks third in the league scoring 17.1 fast break points per game. <a href=\"http://www.espn.com/nba/player/_/id/4431678/tyrese-maxey\">Tyrese Maxey</a> leads the 76ers averaging 5.7.\n\n\r\n              The Magic score 108.8 points per game, 2.5 fewer points than the 111.3 the 76ers give up. The 76ers are shooting 46.1% from the field, 0.1% lower than the 46.2% the Magic's opponents have shot this season.\n\n\r\n              TOP PERFORMERS: Carter is averaging 13.2 points and 8.8 rebounds for the Magic. <a href=\"http://www.espn.com/nba/player/_/id/4566434/franz-wagner\">Franz Wagner</a> is averaging 25.1 points over the last 10 games.\n\n\r\n              Maxey is scoring 26.5 points per game with 3.3 rebounds and 5.8 assists for the 76ers. <a href=\"http://www.espn.com/nba/player/_/id/3917376/jaylen-brown\">Jaylen Brown</a> is averaging 21.3 points and 6.0 rebounds while shooting 52.3% over the last 10 games.\n\n\r\n              LAST 10 GAMES: Magic: 5-5, averaging 108.6 points, 43.0 rebounds, 26.1 assists, 7.4 steals and 4.0 blocks per game while shooting 45.1% from the field. Their opponents have averaged 110.9 points per game.\n\n\r\n              76ers: 8-2, averaging 115.7 points, 43.6 rebounds, 27.0 assists, 7.4 steals and 3.6 blocks per game while shooting 47.8% from the field. Their opponents have averaged 113.2 points.\n\n\r\n              INJURIES: Magic: <a href=\"http://www.espn.com/nba/player/_/id/4432573/paolo-banchero\">Paolo Banchero</a>: out (ankle), <a href=\"http://www.espn.com/nba/player/_/id/4065654/jonathan-isaac\">Jonathan Isaac</a>: out (knee), <a href=\"http://www.espn.com/nba/player/_/id/5107251/izaiyah-nelson\">Izaiyah Nelson</a>: out (ankle), <a href=\"http://www.espn.com/nba/player/_/id/5214637/noah-penda\">Noah Penda</a>: out (hamstring).\n\n\r\n              76ers: <a href=\"http://www.espn.com/nba/player/_/id/5091702/ariel-hukporti\">Ariel Hukporti</a>: out for season (achilles), <a href=\"http://www.espn.com/nba/player/_/id/5105637/adem-bona\">Adem Bona</a>: out (neck), <a href=\"http://www.espn.com/nba/player/_/id/1966/lebron-james\">LeBron James</a>: out (back), <a href=\"http://www.espn.com/nba/player/_/id/4870562/dominick-barlow\">Dominick Barlow</a>: out (back).\n\n\r\n              ------\n\n\r\n              The Associated Press created this story using technology provided by <a href=\"https://www.dataskrive.com/\">Data Skrive</a> and data from <a href=\"https://www.sportradar.com\">Sportradar</a>.",
    "isLiveBlog": false,
    "links": {
        "web": {
            "href": "http://www.espn.com/nba/preview?gameId=401910010"
        }
    },
    "premium": false
}
获取新闻文章 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39621/get+news+article?news_id=50508608' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回玩家的档案:姓名、球队、位置、球衣号码、身高、体重、年龄、出生地、大学、选秀、经验、头像、状态和赛季统计摘要
Endpoint ID: 39622
GET https://zylalabs.com/api/15015/espn+api/39622/get+player+details
输入参数

获取玩家详情 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
player_id 必需 Player id as returned by the team roster and the player search (e.g. 1966)

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


输入参数

sport
league
player_id
API 示例响应
JSON
{
    "id": "1966",
    "type": "basketball",
    "firstName": "LeBron",
    "lastName": "James",
    "displayName": "LeBron James",
    "fullName": "LeBron James",
    "debutYear": 2003,
    "jersey": "23",
    "headshot": {
        "href": "https://a.espncdn.com/i/headshots/nba/players/full/1966.png",
        "alt": "LeBron James"
    },
    "position": {
        "id": "7",
        "name": "Forward",
        "displayName": "Forward",
        "abbreviation": "F",
        "leaf": false,
        "slug": "forward"
    },
    "team": {
        "id": "20",
        "slug": "philadelphia-76ers",
        "location": "Philadelphia",
        "name": "76ers",
        "abbreviation": "PHI",
        "displayName": "Philadelphia 76ers",
        "shortDisplayName": "76ers",
        "color": "1d428a",
        "alternateColor": "e01234",
        "isActive": true,
        "isAllStar": false,
        "logos": [
            {
                "href": "https://a.espncdn.com/i/teamlogos/nba/500/phi.png",
                "width": 500,
                "height": 500,
                "rel": [
                    "full",
                    "default"
                ]
            },
            {
                "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/phi.png",
                "width": 500,
                "height": 500,
                "rel": [
                    "full",
                    "dark"
                ]
            },
            {
                "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/phi.png",
                "width": 500,
                "height": 500,
                "rel": [
                    "full",
                    "scoreboard"
                ]
            },
            {
                "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/phi.png",
                "width": 500,
                "height": 500,
                "rel": [
                    "full",
                    "scoreboard",
                    "dark"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/primary_logo_on_white_color.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "primary_logo_on_white_color"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/primary_logo_on_black_color.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "primary_logo_on_black_color"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/primary_logo_on_primary_color.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "primary_logo_on_primary_color"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/primary_logo_on_secondary_color.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "primary_logo_on_secondary_color"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/primary_logo_black.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "primary_logo_black"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/primary_logo_white.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "primary_logo_white"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/secondary_logo_on_white_color.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "secondary_logo_on_white_color"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/secondary_logo_on_black_color.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "secondary_logo_on_black_color"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/secondary_logo_on_primary_color.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "secondary_logo_on_primary_color"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/secondary_logo_on_secondary_color.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "secondary_logo_on_secondary_color"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/secondary_logo_black.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "secondary_logo_black"
                ]
            },
            {
                "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/secondary_logo_white.png",
                "width": 4096,
                "height": 4096,
                "rel": [
                    "full",
                    "secondary_logo_white"
                ]
            }
        ],
        "groups": {
            "id": "1",
            "name": "Atlantic",
            "abbreviation": "AT",
            "slug": "atlantic",
            "season": {
                "year": 2027,
                "startDate": "2026-09-30T07:00:00.000+00:00",
                "endDate": "2027-06-26T06:59:00.000+00:00",
                "type": {
                    "id": "2",
                    "type": 2,
                    "name": "Regular Season",
                    "abbreviation": "reg",
                    "slug": "regular-season",
                    "startDate": "2026-10-20T07:00:00.000+00:00",
                    "endDate": "2027-04-12T06:59:00.000+00:00",
                    "hasGroups": false,
                    "hasStandings": true,
                    "hasLegs": false,
                    "week": {
                        "number": 4,
                        "startDate": "2026-11-10T08:00:00.000+00:00",
                        "endDate": "2026-11-17T07:59:00.000+00:00",
                        "text": "Week 4"
                    },
                    "weeks": [],
                    "year": 2027
                },
                "types": {
                    "count": 5,
                    "pageIndex": 1,
                    "pageSize": 5,
                    "pageCount": 1,
                    "items": [
                        {
                            "id": "1",
                            "type": 1,
                            "name": "Preseason",
                            "abbreviation": "pre",
                            "slug": "preseason",
                            "startDate": "2026-09-30T07:00:00.000+00:00",
                            "endDate": "2026-10-20T06:59:00.000+00:00",
                            "hasGroups": false,
                            "hasStandings": true,
                            "hasLegs": false,
                            "weeks": [],
                            "year": 2027
                        },
                        {
                            "id": "2",
                            "type": 2,
                            "name": "Regular Season",
                            "abbreviation": "reg",
                            "slug": "regular-season",
                            "startDate": "2026-10-20T07:00:00.000+00:00",
                            "endDate": "2027-04-12T06:59:00.000+00:00",
                            "hasGroups": false,
                            "hasStandings": true,
                            "hasLegs": false,
                            "week": {
                                "number": 4,
                                "startDate": "2026-11-10T08:00:00.000+00:00",
                                "endDate": "2026-11-17T07:59:00.000+00:00",
                                "text": "Week 4"
                            },
                            "weeks": [],
                            "year": 2027
                        },
                        {
                            "id": "3",
                            "type": 3,
                            "name": "Postseason",
                            "abbreviation": "post",
                            "slug": "post-season",
                            "startDate": "2027-04-17T07:00:00.000+00:00"
                        }
                    ]
                }
            }
        }
    },
    "_note": "Response truncated for documentation purposes"
}
获取玩家详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39622/get+player+details?sport=basketball&league=nba&player_id=1966' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回玩家的概述:赛季和职业统计数据 最近比赛 下场比赛 奖项和最新新闻
Endpoint ID: 39623
GET https://zylalabs.com/api/15015/espn+api/39623/get+player+overview
输入参数

获取玩家概览 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
player_id 必需 Player id as returned by the team roster and the player search (e.g. 1966)

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


输入参数

sport
league
player_id
API 示例响应
JSON
{
    "statistics": {
        "displayName": "Stats",
        "labels": [
            "GP",
            "MIN",
            "FG%",
            "3P%",
            "FT%",
            "REB",
            "AST",
            "BLK",
            "STL",
            "PF",
            "TO",
            "PTS"
        ],
        "names": [
            "gamesPlayed",
            "avgMinutes",
            "fieldGoalPct",
            "threePointPct",
            "freeThrowPct",
            "avgRebounds",
            "avgAssists",
            "avgBlocks",
            "avgSteals",
            "avgFouls",
            "avgTurnovers",
            "avgPoints"
        ],
        "displayNames": [
            "Games Played",
            "Minutes Per Game",
            "Field Goal Percentage",
            "3-Point Field Goal Percentage",
            "Free Throw Percentage",
            "Rebounds Per Game",
            "Assists Per Game",
            "Blocks Per Game",
            "Steals Per Game",
            "Fouls Per Game",
            "Turnovers Per Game",
            "Points Per Game"
        ],
        "splits": [
            {
                "displayName": "Regular Season",
                "stats": [
                    "11",
                    "32.5",
                    "44.3",
                    "22.5",
                    "71.7",
                    "7.2",
                    "6.9",
                    "0.7",
                    "1.2",
                    "2.1",
                    "2.6",
                    "15.1"
                ]
            },
            {
                "displayName": "Career",
                "stats": [
                    "1633",
                    "37.6",
                    "50.6",
                    "34.8",
                    "73.7",
                    "7.5",
                    "7.4",
                    "0.7",
                    "1.5",
                    "1.8",
                    "3.5",
                    "26.7"
                ]
            }
        ]
    },
    "news": [
        {
            "headline": "Jaylen Brown banged up but combines with Joel Embiid to lead 76ers past Nets",
            "lastModified": "2026-11-17T07:37:27.000+00:00",
            "root": "nba",
            "premium": false,
            "links": {
                "web": {
                    "href": "https://www.espn.com/nba/story/_/id/50508305/joel-embiid-jaylen-brown-combine-lead-76ers-nets-lebron-james-out"
                }
            },
            "type": "HeadlineNews",
            "section": "NBA",
            "id": 50508305,
            "linkText": "Brown's mention of 'trust the process' delights Embiid after duo star in 76ers' win",
            "categorized": "2026-11-17T07:37:27Z",
            "description": "Joel Embiid (37 points) and Jaylen Brown (31) both turned in season highs Monday night as the 76ers beat the Nets with LeBron James sidelined to improve to 12-3.",
            "nowId": "1-50508305",
            "images": [
                {
                    "width": 600,
                    "height": 400,
                    "url": "https://a.espncdn.com/photo/2026/1117/r1746989_600x400_3-2.jpg",
                    "name": "Jaylen Brown #7, Tyrese Maxey #0, and Joel Embiid [600x400]",
                    "peers": [
                        {
                            "width": 1296,
                            "height": 1296,
                            "url": "https://a.espncdn.com/photo/2026/1117/r1746989_1296x1296_1-1.jpg",
                            "name": "Jaylen Brown #7, Tyrese Maxey #0, and Joel Embiid [1296x1296]"
                        },
                        {
                            "width": 1296,
                            "height": 729,
                            "url": "https://a.espncdn.com/photo/2026/1117/r1746989_1296x729_16-9.jpg",
                            "name": "Jaylen Brown #7, Tyrese Maxey #0, and Joel Embiid [1296x729]"
                        },
                        {
                            "width": 864,
                            "height": 1296,
                            "url": "https://a.espncdn.com/photo/2026/1117/r1746989_864x1296_2-3.jpg",
                            "name": "Jaylen Brown #7, Tyrese Maxey #0, and Joel Embiid [864x1296]"
                        },
                        {
                            "width": 1296,
                            "height": 864,
                            "url": "https://a.espncdn.com/photo/2026/1117/r1746989_1296x864_3-2.jpg",
                            "name": "Jaylen Brown #7, Tyrese Maxey #0, and Joel Embiid [1296x864]"
                        },
                        {
                            "width": 1296,
                            "height": 518,
                            "url": "https://a.espncdn.com/photo/2026/1117/r1746989_1296x518_5-2.jpg",
                            "name": "Jaylen Brown #7, Tyrese Maxey #0, and Joel Embiid [1296x518]"
                        }
                    ]
                },
                {
                    "width": 600,
                    "height": 400,
                    "url": "https://a.espncdn.com/photo/2026/1117/r1746990_600x400_3-2.jpg",
                    "name": "Jaylen Brown  [600x400]",
                    "caption": "Jaylen Brown left in the fourth quarter after bumping heads with Brooklyn's Julius Randle. He eventually returned to the court with a bandage on his forehead, before putting on a headband and doing a ninja move to the amusement of the 76ers bench.",
                    "peers": [
                        {
                            "width": 1296,
                            "height": 1296,
                            "url": "https://a.espncdn.com/photo/2026/1117/r1746990_1296x1296_1-1.jpg",
                            "name": "Jaylen Brown  [1296x1296]",
                            "caption": "Jaylen Brown left in the fourth quarter after bumping heads with Brooklyn's Julius Randle. He eventually returned to the court with a bandage on his forehead, before putting on a headband and doing a ninja move to the amusement of the 76ers bench."
                        },
                        {
                            "width": 1296,
                            "height": 729,
                            "url": "https://a.espncdn.com/photo/2026/1117/r1746990_1296x729_16-9.jpg",
                            "name": "Jaylen Brown  [1296x729]",
                            "caption": "Jaylen Brown left in the fourth quarter after bumping heads with Brooklyn's Julius Randle. He eventually returned to the court with a bandage on his forehead, before putting on a headband and doing a ninja move to the amusement of the 76ers bench."
                        },
                        {
                            "width": 864,
                            "height": 1296,
                            "url": "https://a.espncdn.com/photo/2026/1117/r1746990_864x1296_2-3.jpg",
                            "name": "Jaylen Brown  [864x1296]",
                            "caption": "Jaylen Brown left in the fourth quarter after bumping heads with Brooklyn's Julius Randle. He eventually returned to the court with a bandage on his forehead, before putting on a headband and doing a ninja move to the amusement of the 76ers bench."
                        },
                        {
                            "width": 1296,
                            "height": 864,
                            "url": "https://a.espncdn.com/photo/2026/1117/r1746990_1296x864_3-2.jpg",
                            "name": "Jaylen Brown  [1296x864]",
                            "caption": "Jaylen Brown left in the fourth quarter after bumping heads with Brooklyn's Julius Randle. He eventually returned to the court with a bandage on his forehead, before putting on a headband and doing a ninja move to the amusement of the 76ers bench."
                        },
                        {
                            "width": 1296,
                            "height": 518,
                            "url": "https://a.espncdn.com/photo/2026/1117/r1746990_1296x518_5-2.jpg",
                            "name": "Jaylen Brown  [1296x518]",
                            "caption": "Jaylen Brown left in the fourth quarter after bumping heads with Brooklyn's Julius Randle. He eventually returned to the court with a bandage on his forehead, before putting on a headband and doing a ninja move to the amusement of the 76ers bench."
                        }
                    ]
                }
            ],
            "categories": [
                {
                    "id": 9577,
                    "description": "NBA",
                    "type": "league",
                    "sportId": 46,
                    "leagueId": 46,
                    "league": {
                        "id": 46,
                        "abbreviation": "NBA",
                        "links": {
                            "web": []
                        }
                    }
                },
                {
                    "id": 4323,
                    "description": "Philadelphia 76ers",
                    "type": "team",
                    "sportId": 46,
                    "team": {
                        "id": 20,
                        "abbreviation": "PHI"
                    }
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取玩家概览 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39623/get+player+overview?sport=basketball&league=nba&player_id=1966' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个球员在一个赛季中的比赛日志:每场比赛的日期、对手、结果和球员的统计数据
Endpoint ID: 39624
GET https://zylalabs.com/api/15015/espn+api/39624/get+player+game+log
输入参数

获取玩家游戏日志 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
player_id 必需 Player id as returned by the team roster and the player search (e.g. 1966)
season 可选 Season as a four-digit year (e.g. 2025), as returned by the league seasons list. Without it the current season is returned.

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


输入参数

sport
league
player_id
season
API 示例响应
JSON
{
    "filters": [
        {
            "displayName": "League",
            "name": "league",
            "value": "nba",
            "options": [
                {
                    "value": "nba",
                    "displayValue": "National Basketball Association",
                    "shortDisplayName": "NBA"
                }
            ]
        },
        {
            "displayName": "Season",
            "name": "season",
            "value": "2025",
            "options": [
                {
                    "value": "2027",
                    "displayValue": "2026-27"
                },
                {
                    "value": "2026",
                    "displayValue": "2025-26"
                },
                {
                    "value": "2025",
                    "displayValue": "2024-25"
                },
                {
                    "value": "2024",
                    "displayValue": "2023-24"
                },
                {
                    "value": "2023",
                    "displayValue": "2022-23"
                },
                {
                    "value": "2022",
                    "displayValue": "2021-22"
                },
                {
                    "value": "2021",
                    "displayValue": "2020-21"
                },
                {
                    "value": "2020",
                    "displayValue": "2019-20"
                },
                {
                    "value": "2019",
                    "displayValue": "2018-19"
                },
                {
                    "value": "2018",
                    "displayValue": "2017-18"
                },
                {
                    "value": "2017",
                    "displayValue": "2016-17"
                },
                {
                    "value": "2016",
                    "displayValue": "2015-16"
                },
                {
                    "value": "2015",
                    "displayValue": "2014-15"
                },
                {
                    "value": "2014",
                    "displayValue": "2013-14"
                },
                {
                    "value": "2013",
                    "displayValue": "2012-13"
                },
                {
                    "value": "2012",
                    "displayValue": "2011-12"
                },
                {
                    "value": "2011",
                    "displayValue": "2010-11"
                },
                {
                    "value": "2010",
                    "displayValue": "2009-10"
                },
                {
                    "value": "2009",
                    "displayValue": "2008-09"
                },
                {
                    "value": "2008",
                    "displayValue": "2007-08"
                },
                {
                    "value": "2007",
                    "displayValue": "2006-07"
                },
                {
                    "value": "2006",
                    "displayValue": "2005-06"
                },
                {
                    "value": "2005",
                    "displayValue": "2004-05"
                },
                {
                    "value": "2004",
                    "displayValue": "2003-04"
                }
            ]
        }
    ],
    "labels": [
        "MIN",
        "FG",
        "FG%",
        "3PT",
        "3P%",
        "FT",
        "FT%",
        "REB",
        "AST",
        "BLK",
        "STL",
        "PF",
        "TO",
        "PTS"
    ],
    "names": [
        "minutes",
        "fieldGoalsMade-fieldGoalsAttempted",
        "fieldGoalPct",
        "threePointFieldGoalsMade-threePointFieldGoalsAttempted",
        "threePointPct",
        "freeThrowsMade-freeThrowsAttempted",
        "freeThrowPct",
        "totalRebounds",
        "assists",
        "blocks",
        "steals",
        "fouls",
        "turnovers",
        "points"
    ],
    "displayNames": [
        "Minutes",
        "Field Goals Made-Attempted",
        "Field Goal Percentage",
        "3-Point Field Goals Made-Attempted",
        "3-Point Field Goal Percentage",
        "Free Throws Made-Attempted",
        "Free Throw Percentage",
        "Rebounds",
        "Assists",
        "Blocks",
        "Steals",
        "Fouls",
        "Turnovers",
        "Points"
    ],
    "events": {
        "401768058": {
            "id": "401768058",
            "atVs": "vs",
            "gameDate": "2025-05-01T02:00:00.000+00:00",
            "score": "103-96",
            "homeTeamId": "13",
            "awayTeamId": "16",
            "homeTeamScore": "96",
            "awayTeamScore": "103",
            "gameResult": "L",
            "opponent": {
                "id": "16",
                "displayName": "Minnesota Timberwolves",
                "abbreviation": "MIN",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/min.png",
                "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/min.png"
            },
            "leagueName": "National Basketball Association",
            "leagueAbbreviation": "NBA",
            "leagueShortName": "NBA",
            "eventNote": "West 1st Round - Game 5",
            "team": {
                "id": "13",
                "abbreviation": "LAL",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
                "isAllStar": false
            }
        },
        "401768057": {
            "id": "401768057",
            "atVs": "@",
            "gameDate": "2025-04-27T19:50:00.000+00:00",
            "score": "116-113",
            "homeTeamId": "16",
            "awayTeamId": "13",
            "homeTeamScore": "116",
            "awayTeamScore": "113",
            "gameResult": "L",
            "opponent": {
                "id": "16",
                "displayName": "Minnesota Timberwolves",
                "abbreviation": "MIN",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/min.png",
                "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/min.png"
            },
            "leagueName": "National Basketball Association",
            "leagueAbbreviation": "NBA",
            "leagueShortName": "NBA",
            "eventNote": "West 1st Round - Game 4",
            "team": {
                "id": "13",
                "abbreviation": "LAL",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
                "isAllStar": false
            }
        },
        "401768056": {
            "id": "401768056",
            "atVs": "@",
            "gameDate": "2025-04-26T01:53:00.000+00:00",
            "score": "116-104",
            "homeTeamId": "16",
            "awayTeamId": "13",
            "homeTeamScore": "116",
            "awayTeamScore": "104",
            "gameResult": "L",
            "opponent": {
                "id": "16",
                "displayName": "Minnesota Timberwolves",
                "abbreviation": "MIN",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/min.png",
                "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/min.png"
            },
            "leagueName": "National Basketball Association",
            "leagueAbbreviation": "NBA",
            "leagueShortName": "NBA",
            "eventNote": "West 1st Round - Game 3",
            "team": {
                "id": "13",
                "abbreviation": "LAL",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
                "isAllStar": false
            }
        },
        "401767915": {
            "id": "401767915",
            "atVs": "vs",
            "gameDate": "2025-04-23T02:00:00.000+00:00",
            "score": "94-85",
            "homeTeamId": "13",
            "awayTeamId": "16",
            "homeTeamScore": "94",
            "awayTeamScore": "85",
            "gameResult": "W",
            "opponent": {
                "id": "16",
                "displayName": "Minnesota Timberwolves",
                "abbreviation": "MIN",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/min.png",
                "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/min.png"
            },
            "leagueName": "National Basketball Association",
            "leagueAbbreviation": "NBA",
            "leagueShortName": "NBA",
            "eventNote": "West 1st Round - Game 2",
            "team": {
                "id": "13",
                "abbreviation": "LAL",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
                "isAllStar": false
            }
        },
        "401767821": {
            "id": "401767821",
            "atVs": "vs",
            "gameDate": "2025-04-20T00:30:00.000+00:00",
            "score": "117-95",
            "homeTeamId": "13",
            "awayTeamId": "16",
            "homeTeamScore": "95",
            "awayTeamScore": "117",
            "gameResult": "L",
            "opponent": {
                "id": "16",
                "displayName": "Minnesota Timberwolves",
                "abbreviation": "MIN",
                "logo": "https://a.espncdn.com/i/teamlogos/nba/500/min.png",
                "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/min.png"
            },
            "leagueName": "National Basketball Association"
        }
    },
    "_note": "Response truncated for documentation purposes"
}
获取玩家游戏日志 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39624/get+player+game+log?sport=basketball&league=nba&player_id=1966&season=2025' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回球员在一个赛季中的统计分拆:主场和客场、按月、按对手、按结果等等。适用于美式足球、篮球、棒球和冰球
Endpoint ID: 39625
GET https://zylalabs.com/api/15015/espn+api/39625/get+player+statistical+splits
输入参数

获取球员统计分拆 — 端点功能

对象 描述
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
player_id 必需 Player id as returned by the team roster and the player search (e.g. 1966)
season 可选 Season as a four-digit year (e.g. 2025), as returned by the league seasons list. Without it the current season is returned.
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)

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


输入参数

league
player_id
season
sport
API 示例响应
JSON
{
    "filters": [
        {
            "displayName": "League",
            "name": "league",
            "value": "nba",
            "options": [
                {
                    "value": "nba",
                    "displayValue": "National Basketball Association",
                    "shortDisplayName": "NBA"
                }
            ]
        },
        {
            "displayName": "Season",
            "name": "season",
            "value": "2025",
            "options": [
                {
                    "value": "2027",
                    "displayValue": "2026-27"
                },
                {
                    "value": "2026",
                    "displayValue": "2025-26"
                },
                {
                    "value": "2025",
                    "displayValue": "2024-25"
                },
                {
                    "value": "2024",
                    "displayValue": "2023-24"
                },
                {
                    "value": "2023",
                    "displayValue": "2022-23"
                },
                {
                    "value": "2022",
                    "displayValue": "2021-22"
                },
                {
                    "value": "2021",
                    "displayValue": "2020-21"
                },
                {
                    "value": "2020",
                    "displayValue": "2019-20"
                },
                {
                    "value": "2019",
                    "displayValue": "2018-19"
                },
                {
                    "value": "2018",
                    "displayValue": "2017-18"
                },
                {
                    "value": "2017",
                    "displayValue": "2016-17"
                },
                {
                    "value": "2016",
                    "displayValue": "2015-16"
                },
                {
                    "value": "2015",
                    "displayValue": "2014-15"
                },
                {
                    "value": "2014",
                    "displayValue": "2013-14"
                },
                {
                    "value": "2013",
                    "displayValue": "2012-13"
                },
                {
                    "value": "2012",
                    "displayValue": "2011-12"
                },
                {
                    "value": "2011",
                    "displayValue": "2010-11"
                },
                {
                    "value": "2010",
                    "displayValue": "2009-10"
                },
                {
                    "value": "2009",
                    "displayValue": "2008-09"
                },
                {
                    "value": "2008",
                    "displayValue": "2007-08"
                },
                {
                    "value": "2007",
                    "displayValue": "2006-07"
                },
                {
                    "value": "2006",
                    "displayValue": "2005-06"
                },
                {
                    "value": "2005",
                    "displayValue": "2004-05"
                },
                {
                    "value": "2004",
                    "displayValue": "2003-04"
                }
            ]
        },
        {
            "displayName": "Category",
            "name": "category",
            "value": "perGame",
            "options": [
                {
                    "value": "perGame",
                    "displayValue": "Per Game"
                },
                {
                    "value": "total",
                    "displayValue": "Total"
                },
                {
                    "value": "per48",
                    "displayValue": "Per 48 Minutes"
                }
            ]
        }
    ],
    "displayName": "2024-25 Splits",
    "labels": [
        "GP",
        "MIN",
        "FG",
        "FG%",
        "3PT",
        "3P%",
        "FT",
        "FT%",
        "OR",
        "DR",
        "REB",
        "AST",
        "BLK",
        "STL",
        "PF",
        "TO",
        "PTS"
    ],
    "names": [
        "gamesPlayed",
        "avgMinutes",
        "avgFieldGoalsMade-avgFieldGoalsAttempted",
        "fieldGoalPct",
        "avgThreePointFieldGoalsMade-avgThreePointFieldGoalsAttempted",
        "threePointFieldGoalPct",
        "Free Throws Made-Attempted Per Game",
        "freeThrowPct",
        "avgOffensiveRebounds",
        "avgDefensiveRebounds",
        "avgRebounds",
        "avgAssists",
        "avgBlocks",
        "avgSteals",
        "avgFouls",
        "avgTurnovers",
        "avgPoints"
    ],
    "displayNames": [
        "Games Played",
        "Minutes Per Game",
        "Field Goals Made-Attempted Per Game",
        "Field Goal Percentage",
        "3-Point Field Goals Made-Attempted Per Game",
        "3-Point Field Goal Percentage",
        "Free Throws Made-Attempted Per Game",
        "Free Throw Percentage",
        "Offensive Rebounds Per Game",
        "Defensive Rebounds Per Game",
        "Rebounds Per Game",
        "Assists Per Game",
        "Blocks Per Game",
        "Steals Per Game",
        "Fouls Per Game",
        "Turnovers Per Game",
        "Points Per Game"
    ],
    "descriptions": [
        "Games Played",
        "The average number of minutes per game.",
        "avgFieldGoalsMade-avgFieldGoalsAttempted",
        "The ratio of field goals made to field goals attempted: FGM / FGA",
        "avgThreePointFieldGoalsMade-avgThreePointFieldGoalsAttempted",
        "The ratio of 3pt field goals made to 3pt field goals attempted: 3PM / 3PA.",
        "avgFreeThrowsMade-avgFreeThrowsAttempted",
        "The ratio of free throws made to free throws attempted: FTM / FTA",
        "The average offensive rebounds per game.",
        "The average defensive rebounds per game.",
        "The average rebounds per game.",
        "The average assists per game.",
        "The average blocks per game.",
        "The average steals per game.",
        "The average fouls committed per game.",
        "The average turnovers committed per game.",
        "The average number of points scored per game."
    ],
    "splitCategories": [
        {
            "name": "split",
            "displayName": "split",
            "splits": [
                {
                    "displayName": "All Splits",
                    "stats": [
                        "70",
                        "34.9",
                        "9.3-18.1",
                        "51.3",
                        "2.1-5.7",
                        "37.6",
                        "3.7-4.7",
                        "78.2",
                        "1.0",
                        "6.8",
                        "7.8",
                        "8.2",
                        "0.6",
                        "1.0",
                        "1.4",
                        "3.7",
                        "24.4"
                    ],
                    "abbreviation": "Total"
                },
                {
                    "displayName": "Home",
                    "stats": [
                        "34",
                        "34.8",
                        "9.4-17.6",
                        "53.2",
                        "2.6-6.0",
                        "43.1",
                        "3.6-4.6",
                        "77.8",
                        "1.0",
                        "7.1",
                        "8.1",
                        "8.2",
                        "0.7",
                        "0.9",
                        "1.3",
                        "3.8",
                        "24.9"
                    ],
                    "abbreviation": "Home"
                },
                {
                    "displayName": "Road",
                    "stats": [
                        "36",
                        "35.1",
                        "9.3-18.7",
                        "49.6",
                        "1.7-5.3",
                        "31.8",
                        "3.8-4.8",
                        "78.6",
                        "1.1",
                        "6.5",
                        "7.6",
                        "8.3",
                        "0.4",
                        "1.1",
                        "1.5",
                        "3.6",
                        "24.0"
                    ],
                    "abbreviation": "Road"
                },
                {
                    "displayName": "vs. Division",
                    "stats": [
                        "14",
                        "35.4",
                        "9.5-19.1",
                        "49.6",
                        "2.3-5.9",
                        "38.6",
                        "4.4-5.6",
                        "79.5",
                        "0.6",
                        "7.0",
                        "7.6",
                        "8.6",
                        "0.5",
                        "1.4",
                        "1.6",
                        "3.6",
                        "25.7"
                    ],
                    "abbreviation": "vs. Div."
                },
                {
                    "displayName": "vs. Conference",
                    "stats": [
                        "44"
                    ]
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取球员统计分拆 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39625/get+player+statistical+splits?league=nba&player_id=1966&season=2025&sport=basketball' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回球员逐赛季的职业统计数据,每个统计类别。适用于美式足球、篮球、棒球和冰球
Endpoint ID: 39626
GET https://zylalabs.com/api/15015/espn+api/39626/get+player+career+statistics
输入参数

获取球员职业统计数据 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
player_id 必需 Player id as returned by the team roster and the player search (e.g. 1966)

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


输入参数

sport
league
player_id
API 示例响应
JSON
{
    "filters": [
        {
            "displayName": "League",
            "name": "league",
            "value": "nba",
            "options": [
                {
                    "value": "nba",
                    "displayValue": "National Basketball Association",
                    "shortDisplayName": "NBA"
                }
            ]
        },
        {
            "displayName": "Season",
            "name": "seasontype",
            "value": "2",
            "options": [
                {
                    "value": "2",
                    "displayValue": "Regular Season"
                },
                {
                    "value": "3",
                    "displayValue": "Postseason"
                }
            ]
        }
    ],
    "teams": {
        "cleveland-cavaliers": {
            "id": "5",
            "slug": "cleveland-cavaliers",
            "location": "Cleveland",
            "name": "Cavaliers",
            "abbreviation": "CLE",
            "displayName": "Cleveland Cavaliers",
            "shortDisplayName": "Cavaliers",
            "color": "061642",
            "alternateColor": "bc945c",
            "isActive": true,
            "isAllStar": false,
            "logos": [
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png",
                    "width": 500,
                    "height": 500,
                    "rel": [
                        "full",
                        "default"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/cle.png",
                    "width": 500,
                    "height": 500,
                    "rel": [
                        "full",
                        "dark"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/cle.png",
                    "width": 500,
                    "height": 500,
                    "rel": [
                        "full",
                        "scoreboard"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/cle.png",
                    "width": 500,
                    "height": 500,
                    "rel": [
                        "full",
                        "scoreboard",
                        "dark"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/primary_logo_on_white_color.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "primary_logo_on_white_color"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/primary_logo_on_black_color.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "primary_logo_on_black_color"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/primary_logo_on_primary_color.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "primary_logo_on_primary_color"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/primary_logo_on_secondary_color.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "primary_logo_on_secondary_color"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/primary_logo_black.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "primary_logo_black"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/primary_logo_white.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "primary_logo_white"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/secondary_logo_on_white_color.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "secondary_logo_on_white_color"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/secondary_logo_on_black_color.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "secondary_logo_on_black_color"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/secondary_logo_on_primary_color.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "secondary_logo_on_primary_color"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/secondary_logo_on_secondary_color.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "secondary_logo_on_secondary_color"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/secondary_logo_black.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "secondary_logo_black"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ec79ad1f-e6d2-7762-a2db-7fe97d35126b/logos/secondary_logo_white.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "secondary_logo_white"
                    ]
                }
            ],
            "groups": [],
            "coaches": [],
            "record": [],
            "againstTheSpreadRecords": [],
            "ranks": [],
            "franchise": []
        },
        "philadelphia-76ers": {
            "id": "20",
            "slug": "philadelphia-76ers",
            "location": "Philadelphia",
            "name": "76ers",
            "abbreviation": "PHI",
            "displayName": "Philadelphia 76ers",
            "shortDisplayName": "76ers",
            "color": "1d428a",
            "alternateColor": "e01234",
            "isActive": true,
            "isAllStar": false,
            "logos": [
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/phi.png",
                    "width": 500,
                    "height": 500,
                    "rel": [
                        "full",
                        "default"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/phi.png",
                    "width": 500,
                    "height": 500,
                    "rel": [
                        "full",
                        "dark"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/phi.png",
                    "width": 500,
                    "height": 500,
                    "rel": [
                        "full",
                        "scoreboard"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/phi.png",
                    "width": 500,
                    "height": 500,
                    "rel": [
                        "full",
                        "scoreboard",
                        "dark"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/primary_logo_on_white_color.png",
                    "width": 4096,
                    "height": 4096,
                    "rel": [
                        "full",
                        "primary_logo_on_white_color"
                    ]
                },
                {
                    "href": "https://a.espncdn.com/guid/ca1685ed-b799-53e4-7924-e58ea6eb8f3a/logos/primary_logo_on_black_color.png"
                }
            ]
        }
    },
    "_note": "Response truncated for documentation purposes"
}
获取球员职业统计数据 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39626/get+player+career+statistics?sport=basketball&league=nba&player_id=1966' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回球员的生平:球队历史和奖项
Endpoint ID: 39627
GET https://zylalabs.com/api/15015/espn+api/39627/get+player+biography
输入参数

获取玩家传记 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
player_id 必需 Player id as returned by the team roster and the player search (e.g. 1966)

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


输入参数

sport
league
player_id
API 示例响应
JSON
{
    "awards": [
        {
            "id": "45",
            "league": "nba",
            "name": "All-NBA 2nd Team",
            "displayCount": "4x",
            "seasons": [
                "2025",
                "2021",
                "2007",
                "2005"
            ]
        },
        {
            "id": "46",
            "league": "nba",
            "name": "All-NBA 3rd Team",
            "displayCount": "4x",
            "seasons": [
                "2024",
                "2023",
                "2022",
                "2019"
            ]
        },
        {
            "id": "377",
            "league": "nba",
            "name": "NBA Cup MVP",
            "displayCount": "1x",
            "seasons": [
                "2024"
            ]
        },
        {
            "id": "378",
            "league": "nba",
            "name": "NBA Cup All-Tournament Team",
            "displayCount": "1x",
            "seasons": [
                "2024"
            ]
        },
        {
            "id": "43",
            "league": "nba",
            "name": "Finals MVP",
            "displayCount": "4x",
            "seasons": [
                "2020",
                "2016",
                "2013",
                "2012"
            ]
        },
        {
            "id": "44",
            "league": "nba",
            "name": "All-NBA 1st Team",
            "displayCount": "13x",
            "seasons": [
                "2020",
                "2018",
                "2017",
                "2016",
                "2015",
                "2014",
                "2013",
                "2012",
                "2011",
                "2010",
                "2009",
                "2008",
                "2006"
            ]
        },
        {
            "id": "53",
            "league": "nba",
            "name": "All-Star MVP",
            "displayCount": "3x",
            "seasons": [
                "2018",
                "2008",
                "2006"
            ]
        },
        {
            "id": "50",
            "league": "nba",
            "name": "All-Defensive 2nd Team",
            "displayCount": "1x",
            "seasons": [
                "2014"
            ]
        },
        {
            "id": "33",
            "league": "nba",
            "name": "MVP",
            "displayCount": "4x",
            "seasons": [
                "2013",
                "2012",
                "2010",
                "2009"
            ]
        },
        {
            "id": "49",
            "league": "nba",
            "name": "All-Defensive 1st Team",
            "displayCount": "5x",
            "seasons": [
                "2013",
                "2012",
                "2011",
                "2010",
                "2009"
            ]
        },
        {
            "id": "35",
            "league": "nba",
            "name": "Rookie of the Year",
            "displayCount": "1x",
            "seasons": [
                "2004"
            ]
        },
        {
            "id": "47",
            "league": "nba",
            "name": "All-Rookie 1st Team",
            "displayCount": "1x",
            "seasons": [
                "2004"
            ]
        }
    ],
    "teamHistory": [
        {
            "id": "20",
            "slug": "philadelphia-76ers",
            "displayName": "Philadelphia 76ers",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/phi.png",
            "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/phi.png",
            "seasons": "2026-CURRENT",
            "seasonCount": "1",
            "isActive": true
        },
        {
            "id": "13",
            "slug": "los-angeles-lakers",
            "displayName": "Los Angeles Lakers",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
            "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/lal.png",
            "seasons": "2018-2026",
            "seasonCount": "8",
            "isActive": true
        },
        {
            "id": "5",
            "slug": "cleveland-cavaliers",
            "displayName": "Cleveland Cavaliers",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png",
            "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/cle.png",
            "seasons": "2003-2010, 2014-2018",
            "seasonCount": "11",
            "isActive": true
        },
        {
            "id": "14",
            "slug": "miami-heat",
            "displayName": "Miami Heat",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/mia.png",
            "logoDark": "https://a.espncdn.com/i/teamlogos/nba/500-dark/mia.png",
            "seasons": "2010-2014",
            "seasonCount": "4",
            "isActive": true
        }
    ]
}
获取玩家传记 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39627/get+player+biography?sport=basketball&league=nba&player_id=1966' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按名称搜索球员、球队、联盟和新闻文章,并按类型分组返回匹配项,每个匹配项都有其ID、名称、运动和联盟标识符
Endpoint ID: 39628
GET https://zylalabs.com/api/15015/espn+api/39628/search+all+entities
输入参数

搜索所有实体 — 端点功能

对象 描述
query 必需 Search term, at least 2 characters long (e.g. lebron)
limit 可选 Number of items to return, between 1 and 50 (default 10)

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


输入参数

query
limit
API 示例响应
JSON
[
    {
        "type": "player",
        "items": [
            {
                "id": "1966",
                "type": "player",
                "name": "LeBron James",
                "description": "NBA",
                "subtitle": "Philadelphia 76ers",
                "sport": "basketball",
                "league": "nba",
                "image": "https://a.espncdn.com/i/headshots/nba/players/full/1966.png",
                "url": "https://www.espn.com/nba/player/_/id/1966/lebron-james"
            },
            {
                "id": "5313200",
                "type": "player",
                "name": "LeBron Thomas",
                "description": "NCAAM",
                "subtitle": "Green Bay Phoenix",
                "sport": "basketball",
                "league": "mens-college-basketball",
                "image": "https://a.espncdn.com/i/headshots/mens-college-basketball/players/full/5313200.png",
                "url": "https://www.espn.com/mens-college-basketball/player/_/id/5313200/lebron-thomas"
            },
            {
                "id": "30422",
                "type": "player",
                "name": "Luis Lebron",
                "description": "MLB",
                "subtitle": "Baltimore Orioles",
                "sport": "baseball",
                "league": "mlb",
                "image": "https://a.espncdn.com/i/headshots/mlb/players/full/30422.png",
                "url": "https://www.espn.com/mlb/player/_/id/30422"
            },
            {
                "id": "5198939",
                "type": "player",
                "name": "Justin Lebron",
                "description": "MLB",
                "subtitle": "Cincinnati Reds",
                "sport": "baseball",
                "league": "mlb",
                "url": "https://www.espn.com/mlb/player/_/id/5198939"
            },
            {
                "id": "5319537",
                "type": "player",
                "name": "Lebron Gough",
                "description": "NCAAM",
                "subtitle": "Hanover Panthers",
                "sport": "basketball",
                "league": "mens-college-basketball",
                "url": "https://www.espn.com/mens-college-basketball/player/stats/_/id/5319537/lebron-gough"
            },
            {
                "id": "5402252",
                "type": "player",
                "name": "Lebron Walker",
                "description": "NCAAF",
                "subtitle": "Lehigh Mountain Hawks",
                "sport": "football",
                "league": "college-football",
                "url": "https://www.espn.com/college-football/player/_/id/5402252/lebron-walker"
            },
            {
                "id": "5464054",
                "type": "player",
                "name": "Isabelle Lebron",
                "description": "NCAAW",
                "subtitle": "St. Joseph's Long Island Bears",
                "sport": "basketball",
                "league": "womens-college-basketball",
                "url": "https://www.espn.com/womens-college-basketball/player/stats/_/id/5464054/isabelle-lebron"
            },
            {
                "id": "5207639",
                "type": "player",
                "name": "Lebron Bauer",
                "description": "NCAAF",
                "subtitle": "Oklahoma Sooners",
                "sport": "football",
                "league": "college-football",
                "image": "https://a.espncdn.com/i/headshots/college-football/players/full/5207639.png",
                "url": "https://www.espn.com/college-football/player/_/id/5207639/lebron-bauer"
            },
            {
                "id": "5471216",
                "type": "player",
                "name": "Lebron Lee",
                "description": "NCAAM",
                "subtitle": "Trinity College of Jacksonville Eagles",
                "sport": "basketball",
                "league": "mens-college-basketball",
                "url": "https://www.espn.com/mens-college-basketball/player/stats/_/id/5471216/lebron-lee"
            }
        ]
    },
    {
        "type": "article",
        "items": [
            {
                "id": "50503255",
                "type": "headlinenews",
                "name": "76ers star LeBron James ruled out vs. Nets due to lower back management",
                "date": "2026-11-16T18:53:06.000+00:00",
                "byline": "Kris Rhim",
                "image": "https://a.espncdn.com/photo/2026/1115/r1746252_1296x729_16-9.jpg",
                "url": "https://www.espn.com/nba/story/_/id/50503255/lebron-james-ruled-vs-nets-due-lower-back-management"
            },
            {
                "id": "50507493",
                "type": "recap",
                "name": "Embiid has season-high 37 and Brown adds 31 as 76ers beat Nets 135-123 without LeBron James",
                "date": "2026-11-17T04:02:35.000+00:00",
                "byline": "AP",
                "image": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401909997.png?templateId=espn.applewatch.awayhome.1",
                "url": "http://www.espn.com/nba/recap?gameId=401909997"
            },
            {
                "id": "50490202",
                "type": "story",
                "name": "What's working -- and not working -- for LeBron James, Philadelphia 76ers",
                "date": "2026-11-16T20:11:37.000+00:00",
                "byline": "Dave McMenamin",
                "image": "https://a.espncdn.com/photo/2026/1115/r1746063_608x342_16-9.jpg",
                "url": "https://www.espn.com/nba/story/_/id/50490202/lebron-76ers-start-execs-big-questions"
            },
            {
                "id": "50493152",
                "type": "headlinenews",
                "name": "LeBron James dishes 11 assists in 76ers win, passing Kidd for third in NBA ranks",
                "date": "2026-11-16T15:23:24.000+00:00",
                "byline": "Kris Rhim",
                "image": "https://a.espncdn.com/photo/2026/1115/r1746252_1296x729_16-9.jpg",
                "url": "https://www.espn.com/nba/story/_/id/50493152/lebron-james-passes-jason-kidd-nba-assists-list"
            },
            {
                "id": "50463008",
                "type": "headlinenews",
                "name": "76ers Joel Embiid (foot) questionable, LeBron James (back) out vs. Raptors",
                "date": "2026-11-12T18:36:15.000+00:00",
                "byline": "Kris Rhim",
                "image": "https://a.espncdn.com/photo/2026/1031/r1739014_600x400_3-2.jpg",
                "url": "https://www.espn.com/nba/story/_/id/50463008/76ers-joel-embiid-lebron-james-questionable-vs-raptors"
            },
            {
                "id": "50453988",
                "type": "story",
                "name": "How Kobe, LeBron, Steph and Brady are helping Jayden Daniels chase greatness",
                "date": "2026-11-13T00:49:51.000+00:00",
                "byline": "John Keim",
                "image": "https://a.espncdn.com/photo/2026/1111/nfl_Jayden-Daniels_16x9.jpg",
                "url": "https://www.espn.com/nfl/story/_/id/50453988/kobe-lebron-steph-brady-tips-commanders-jayden-daniels"
            },
            {
                "id": "50448897",
                "type": "story",
                "name": "Jayson Tatum's dunk on LeBron James brings back rookie-year memories",
                "date": "2026-11-11T03:28:21.000+00:00",
                "byline": "ESPN staff",
                "image": "https://a.espncdn.com/photo/2026/1111/r1744324_608x342_16-9.jpg",
                "url": "https://www.espn.com/nba/story/_/id/50448897/jayson-tatum-lebron-james-poster-dunk-celtics-sixers"
            },
            {
                "id": "50410292",
                "type": "headlinenews",
                "name": "Man arrested on stalking charges at LeBron James' home in Los Angeles",
                "date": "2026-11-09T00:15:45.000+00:00",
                "byline": "Dave McMenamin",
                "image": "https://a.espncdn.com/photo/2026/1024/r1735508_600x400_3-2.jpg",
                "url": "https://www.espn.com/nba/story/_/id/50410292/man-arrested-stalking-charges-lebron-james-home-la"
            },
            {
                "id": "50405401",
                "type": "headlinenews",
                "name": "In Cleveland return, LeBron James struggles to find 'good rhythm' in 76ers' loss",
                "date": "2026-11-07T15:09:30.000+00:00",
                "byline": "Kris Rhim",
                "image": "https://a.espncdn.com/photo/2026/1107/r1742313_600x600_1-1.jpg",
                "url": "https://www.espn.com/nba/story/_/id/50405401/lebron-james-find-good-rhythm-cleveland-return"
            },
            {
                "id": "50404497",
                "type": "recap",
                "name": "Cavaliers beat 76ers 119-95 as LeBron James is held to 8 points in return to Cleveland",
                "date": "2026-11-07T03:24:35.000+00:00",
                "byline": "AP",
                "image": "https://s.espncdn.com/stitcher/sports/basketball/nba/events/401909289.png?templateId=espn.applewatch.awayhome.1",
                "url": "http://www.espn.com/nba/recap?gameId=401909289"
            }
        ]
    }
]
搜索所有实体 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39628/search+all+entities?query=lebron&limit=10' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
根据名称搜索玩家并返回他们的ID、姓名、球队、运动和联赛缩略词、头像和链接
Endpoint ID: 39629
GET https://zylalabs.com/api/15015/espn+api/39629/search+players
输入参数

搜索玩家 — 端点功能

对象 描述
query 必需 Search term, at least 2 characters long (e.g. lebron)
limit 可选 Number of items to return, between 1 and 50 (default 10)

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


输入参数

query
limit
API 示例响应
JSON
[
    {
        "id": "1966",
        "type": "player",
        "name": "LeBron James",
        "description": "NBA",
        "subtitle": "Philadelphia 76ers",
        "sport": "basketball",
        "league": "nba",
        "image": "https://a.espncdn.com/i/headshots/nba/players/full/1966.png",
        "url": "https://www.espn.com/nba/player/_/id/1966/lebron-james"
    },
    {
        "id": "5313200",
        "type": "player",
        "name": "LeBron Thomas",
        "description": "NCAAM",
        "subtitle": "Green Bay Phoenix",
        "sport": "basketball",
        "league": "mens-college-basketball",
        "image": "https://a.espncdn.com/i/headshots/mens-college-basketball/players/full/5313200.png",
        "url": "https://www.espn.com/mens-college-basketball/player/_/id/5313200/lebron-thomas"
    },
    {
        "id": "30422",
        "type": "player",
        "name": "Luis Lebron",
        "description": "MLB",
        "subtitle": "Baltimore Orioles",
        "sport": "baseball",
        "league": "mlb",
        "image": "https://a.espncdn.com/i/headshots/mlb/players/full/30422.png",
        "url": "https://www.espn.com/mlb/player/_/id/30422"
    },
    {
        "id": "5198939",
        "type": "player",
        "name": "Justin Lebron",
        "description": "MLB",
        "subtitle": "Cincinnati Reds",
        "sport": "baseball",
        "league": "mlb",
        "url": "https://www.espn.com/mlb/player/_/id/5198939"
    },
    {
        "id": "5319537",
        "type": "player",
        "name": "Lebron Gough",
        "description": "NCAAM",
        "subtitle": "Hanover Panthers",
        "sport": "basketball",
        "league": "mens-college-basketball",
        "url": "https://www.espn.com/mens-college-basketball/player/stats/_/id/5319537/lebron-gough"
    },
    {
        "id": "5402252",
        "type": "player",
        "name": "Lebron Walker",
        "description": "NCAAF",
        "subtitle": "Lehigh Mountain Hawks",
        "sport": "football",
        "league": "college-football",
        "url": "https://www.espn.com/college-football/player/_/id/5402252/lebron-walker"
    },
    {
        "id": "5464054",
        "type": "player",
        "name": "Isabelle Lebron",
        "description": "NCAAW",
        "subtitle": "St. Joseph's Long Island Bears",
        "sport": "basketball",
        "league": "womens-college-basketball",
        "url": "https://www.espn.com/womens-college-basketball/player/stats/_/id/5464054/isabelle-lebron"
    },
    {
        "id": "5207639",
        "type": "player",
        "name": "Lebron Bauer",
        "description": "NCAAF",
        "subtitle": "Oklahoma Sooners",
        "sport": "football",
        "league": "college-football",
        "image": "https://a.espncdn.com/i/headshots/college-football/players/full/5207639.png",
        "url": "https://www.espn.com/college-football/player/_/id/5207639/lebron-bauer"
    },
    {
        "id": "5471216",
        "type": "player",
        "name": "Lebron Lee",
        "description": "NCAAM",
        "subtitle": "Trinity College of Jacksonville Eagles",
        "sport": "basketball",
        "league": "mens-college-basketball",
        "url": "https://www.espn.com/mens-college-basketball/player/stats/_/id/5471216/lebron-lee"
    }
]
搜索玩家 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39629/search+players?query=lebron&limit=10' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按名称搜索团队并返回它们的ID 名称 体育和联赛缩写以及团队徽章
Endpoint ID: 39630
GET https://zylalabs.com/api/15015/espn+api/39630/search+teams
输入参数

搜索团队 — 端点功能

对象 描述
query 必需 Search term, at least 2 characters long (e.g. lebron)
limit 可选 Number of items to return, between 1 and 50 (default 10)

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


输入参数

query
limit
API 示例响应
JSON
[
    {
        "id": "13",
        "type": "team",
        "name": "Los Angeles Lakers",
        "subtitle": "NBA",
        "sport": "basketball",
        "league": "nba",
        "image": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
        "url": "https://www.espn.com/nba/team/_/name/lal/los-angeles-lakers"
    },
    {
        "id": "2385",
        "type": "team",
        "name": "Mercyhurst Lakers",
        "subtitle": "NCAAM",
        "sport": "basketball",
        "league": "mens-college-basketball",
        "image": "https://a.espncdn.com/i/teamlogos/ncaa/500/2385.png",
        "url": "https://www.espn.com/mens-college-basketball/team/_/id/2385/mercyhurst-lakers"
    },
    {
        "id": "2385",
        "type": "team",
        "name": "Mercyhurst Lakers",
        "subtitle": "NCAAW",
        "sport": "basketball",
        "league": "womens-college-basketball",
        "image": "https://a.espncdn.com/i/teamlogos/ncaa/500/2385.png",
        "url": "https://www.espn.com/womens-college-basketball/team/_/id/2385/mercyhurst-lakers"
    },
    {
        "id": "2385",
        "type": "team",
        "name": "Mercyhurst Lakers",
        "subtitle": "NCAAF",
        "sport": "football",
        "league": "college-football",
        "image": "https://a.espncdn.com/i/teamlogos/ncaa/500/2385.png",
        "url": "https://www.espn.com/college-football/team/_/id/2385/mercyhurst-lakers"
    }
]
搜索团队 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39630/search+teams?query=lakers&limit=10' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
通过名称搜索联赛和比赛,并返回它们的ID、名称、运动和联赛标识符,以及联赛徽章
Endpoint ID: 39631
GET https://zylalabs.com/api/15015/espn+api/39631/search+leagues
输入参数

搜索联赛 — 端点功能

对象 描述
query 必需 Search term, at least 2 characters long (e.g. lebron)
limit 可选 Number of items to return, between 1 and 50 (default 10)

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


输入参数

query
limit
API 示例响应
JSON
[
    {
        "id": "46",
        "type": "league",
        "name": "National Basketball Association",
        "subtitle": "NBA",
        "sport": "basketball",
        "league": "nba",
        "image": "https://a.espncdn.com/i/teamlogos/leagues/500/nba.png",
        "url": "https://www.espn.com/nba/"
    },
    {
        "id": "69",
        "type": "league",
        "name": "NBA G League",
        "subtitle": "NBA G League",
        "sport": "basketball",
        "league": "nba-development",
        "image": "https://a.espncdn.com/combiner/i?img=/i/teamlogos/leagues/500/nba_gleague.png",
        "url": "https://www.espn.com/nba-g-league/"
    },
    {
        "id": "63",
        "type": "league",
        "name": "Las Vegas Summer League",
        "subtitle": "NBALV",
        "sport": "basketball",
        "league": "nba-summer-las-vegas",
        "image": "https://a.espncdn.com/i/teamlogos/leagues/500/nba.png",
        "url": "sportscenter://x-callback-url/showClubhouse?uid=s:40~l:63&section=rankings"
    },
    {
        "id": "65",
        "type": "league",
        "name": "Orlando Summer League",
        "subtitle": "NBAOR",
        "sport": "basketball",
        "league": "nba-summer-orlando",
        "url": "https://www.espn.com/nba-summer-orlando/standings"
    },
    {
        "id": "23170",
        "type": "league",
        "name": "NBA California Classic Summer League",
        "subtitle": "NBACC",
        "sport": "basketball",
        "league": "nba-summer-california",
        "url": "sportscenter://x-callback-url/showClubhouse?uid=s:40~l:23170&section=rankings"
    },
    {
        "id": "67",
        "type": "league",
        "name": "Sacramento Summer League",
        "subtitle": "NBAGS",
        "sport": "basketball",
        "league": "nba-summer-sacramento",
        "url": "sportscenter://x-callback-url/showClubhouse?uid=s:40~l:67&section=rankings"
    },
    {
        "id": "64",
        "type": "league",
        "name": "Salt Lake City Summer League",
        "subtitle": "NBAUT",
        "sport": "basketball",
        "league": "nba-summer-utah",
        "url": "sportscenter://x-callback-url/showClubhouse?uid=s:40~l:64&section=rankings"
    }
]
搜索联赛 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39631/search+leagues?query=nba&limit=10' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回团队的详细信息:名称、缩写、颜色、标志、记录、排名摘要和下一场比赛
Endpoint ID: 39632
GET https://zylalabs.com/api/15015/espn+api/39632/get+team+details
输入参数

获取团队详情 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
team_id 必需 Team id as returned by the league teams list (e.g. 13)

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


输入参数

sport
league
team_id
API 示例响应
JSON
{
    "abbreviation": "LAL",
    "alternateColor": "fdb927",
    "color": "552583",
    "displayName": "Los Angeles Lakers",
    "franchise": {
        "abbreviation": "LAL",
        "color": "552583",
        "displayName": "Los Angeles Lakers",
        "id": "13",
        "isActive": true,
        "location": "Los Angeles",
        "name": "Lakers",
        "shortDisplayName": "Lakers",
        "slug": "los-angeles-lakers",
        "venue": {
            "address": {
                "city": "Los Angeles",
                "state": "CA"
            },
            "fullName": "crypto.com Arena",
            "grass": false,
            "id": "1841",
            "images": [
                {
                    "alt": "",
                    "height": 1125,
                    "href": "https://a.espncdn.com/i/venues/nba/day/1841.jpg",
                    "rel": [
                        "full",
                        "day"
                    ],
                    "width": 2000
                }
            ],
            "indoor": true,
            "shortName": "Staples Center"
        }
    },
    "groups": {
        "id": "4",
        "isConference": false,
        "parent": {
            "id": "6"
        }
    },
    "id": "13",
    "isActive": true,
    "location": "Los Angeles",
    "logos": [
        {
            "alt": "",
            "height": 500,
            "href": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
            "rel": [
                "full",
                "default"
            ],
            "width": 500
        },
        {
            "alt": "",
            "height": 500,
            "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/lal.png",
            "rel": [
                "full",
                "dark"
            ],
            "width": 500
        },
        {
            "alt": "",
            "height": 500,
            "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/lal.png",
            "rel": [
                "full",
                "scoreboard"
            ],
            "width": 500
        },
        {
            "alt": "",
            "height": 500,
            "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/lal.png",
            "rel": [
                "full",
                "scoreboard",
                "dark"
            ],
            "width": 500
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_white_color.png",
            "rel": [
                "full",
                "primary_logo_on_white_color"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_black_color.png",
            "rel": [
                "full",
                "primary_logo_on_black_color"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_primary_color.png",
            "rel": [
                "full",
                "primary_logo_on_primary_color"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_secondary_color.png",
            "rel": [
                "full",
                "primary_logo_on_secondary_color"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_black.png",
            "rel": [
                "full",
                "primary_logo_black"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_white.png",
            "rel": [
                "full",
                "primary_logo_white"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_white_color.png",
            "rel": [
                "full",
                "secondary_logo_on_white_color"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_black_color.png",
            "rel": [
                "full",
                "secondary_logo_on_black_color"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_primary_color.png",
            "rel": [
                "full",
                "secondary_logo_on_primary_color"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_secondary_color.png",
            "rel": [
                "full",
                "secondary_logo_on_secondary_color"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_black.png",
            "rel": [
                "full",
                "secondary_logo_black"
            ],
            "width": 4096
        },
        {
            "alt": "",
            "height": 4096,
            "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_white.png",
            "rel": [
                "full",
                "secondary_logo_white"
            ],
            "width": 4096
        }
    ],
    "name": "Lakers",
    "nextEvent": [
        {
            "competitions": [
                {
                    "attendance": 0,
                    "boxscoreAvailable": false,
                    "broadcasts": [
                        {
                            "lang": "en",
                            "market": {
                                "id": "2",
                                "type": "Home"
                            },
                            "media": {
                                "shortName": "Spectrum Sports Net"
                            },
                            "partnered": false,
                            "region": "us",
                            "type": {
                                "id": "1",
                                "shortName": "TV"
                            }
                        },
                        {
                            "lang": "en",
                            "market": {
                                "id": "2",
                                "type": "Home"
                            },
                            "media": {
                                "shortName": "Spectrum Sports Net +"
                            },
                            "partnered": false,
                            "region": "us",
                            "type": {
                                "id": "4",
                                "shortName": "Streaming"
                            }
                        },
                        {
                            "lang": "en",
                            "market": {
                                "id": "1",
                                "type": "National"
                            },
                            "media": {
                                "shortName": "NBC"
                            },
                            "partnered": false,
                            "region": "us",
                            "type": {
                                "id": "1",
                                "shortName": "TV"
                            }
                        }
                    ],
                    "competitors": [
                        {
                            "homeAway": "home",
                            "id": "13",
                            "order": 0,
                            "team": {
                                "abbreviation": "LAL",
                                "displayName": "Los Angeles Lakers",
                                "id": "13",
                                "location": "Los Angeles",
                                "logos": [
                                    {
                                        "alt": "",
                                        "height": 500,
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
                                        "rel": [
                                            "full",
                                            "default"
                                        ]
                                    }
                                ]
                            }
                        }
                    ]
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取团队详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39632/get+team+details?sport=basketball&league=nba&team_id=13' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一支球队的阵容:球员的位置信息、球衣号码、年龄、身高、体重、出生地、头像和伤病状态,以及教练
Endpoint ID: 39633
GET https://zylalabs.com/api/15015/espn+api/39633/get+team+roster
输入参数

获取球队名单 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
team_id 必需 Team id as returned by the league teams list (e.g. 13)

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


输入参数

sport
league
team_id
API 示例响应
JSON
{
    "season": {
        "year": 2027,
        "displayName": "2026-27",
        "type": 2,
        "name": "Regular Season"
    },
    "athletes": [
        {
            "id": "5113969",
            "alternateIds": {
                "sdr": "5113969"
            },
            "firstName": "Cameron",
            "lastName": "Carr",
            "fullName": "Cameron Carr",
            "displayName": "Cameron Carr",
            "shortName": "C. Carr",
            "weight": 184,
            "displayWeight": "184 lbs",
            "height": 77,
            "displayHeight": "6' 5\"",
            "age": 21,
            "dateOfBirth": "2004-11-21T08:00Z",
            "birthPlace": {
                "city": "Eden Prairie",
                "state": "MN",
                "country": "USA"
            },
            "college": {
                "id": "239",
                "mascot": "Bears",
                "name": "Baylor",
                "shortName": "Baylor",
                "abbrev": "BAY",
                "logos": [
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/ncaa/500/239.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "default"
                        ],
                        "lastUpdated": "2025-12-23T01:44Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/ncaa/500-dark/239.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "dark"
                        ],
                        "lastUpdated": "2025-12-23T01:44Z"
                    }
                ]
            },
            "slug": "cameron-carr",
            "headshot": {
                "href": "https://a.espncdn.com/i/headshots/nba/players/full/5113969.png",
                "alt": "Cameron Carr"
            },
            "jersey": "43",
            "position": {
                "id": "3",
                "name": "Guard",
                "displayName": "Guard",
                "abbreviation": "G",
                "leaf": false
            },
            "injuries": [],
            "contracts": [],
            "experience": {
                "years": 0
            },
            "status": {
                "id": "1",
                "name": "Active",
                "type": "active",
                "abbreviation": "Active"
            }
        },
        {
            "id": "5105817",
            "alternateIds": {
                "sdr": "5105817"
            },
            "firstName": "Carson",
            "lastName": "Cooper",
            "fullName": "Carson Cooper",
            "displayName": "Carson Cooper",
            "shortName": "C. Cooper",
            "weight": 245,
            "displayWeight": "245 lbs",
            "height": 83,
            "displayHeight": "6' 11\"",
            "age": 22,
            "dateOfBirth": "2004-04-09T07:00Z",
            "birthPlace": {
                "city": "Jackson",
                "state": "MI",
                "country": "USA"
            },
            "college": {
                "id": "127",
                "mascot": "Spartans",
                "name": "Michigan State",
                "shortName": "Michigan St",
                "abbrev": "MSU",
                "logos": [
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/ncaa/500/127.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "default"
                        ],
                        "lastUpdated": "2025-12-23T01:44Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/ncaa/500-dark/127.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "dark"
                        ],
                        "lastUpdated": "2026-01-05T20:05Z"
                    }
                ]
            },
            "slug": "carson-cooper",
            "headshot": {
                "href": "https://a.espncdn.com/i/headshots/nba/players/full/5105817.png",
                "alt": "Carson Cooper"
            },
            "position": {
                "id": "9",
                "name": "Center",
                "displayName": "Center",
                "abbreviation": "C",
                "leaf": false
            },
            "injuries": [],
            "contracts": [],
            "experience": {
                "years": 0
            },
            "status": {
                "id": "1",
                "name": "Active",
                "type": "active",
                "abbreviation": "Active"
            }
        },
        {
            "id": "3945274",
            "alternateIds": {
                "sdr": "3945274"
            },
            "firstName": "Luka",
            "lastName": "Doncic",
            "fullName": "Luka Doncic",
            "displayName": "Luka Doncic",
            "shortName": "L. Doncic",
            "weight": 230,
            "displayWeight": "230 lbs",
            "height": 80,
            "displayHeight": "6' 8\"",
            "age": 27,
            "dateOfBirth": "1999-02-28T08:00Z",
            "debutYear": 2018,
            "birthPlace": {
                "city": "Ljubljana",
                "country": "Slovenia"
            },
            "slug": "luka-doncic",
            "headshot": {
                "href": "https://a.espncdn.com/i/headshots/nba/players/full/3945274.png",
                "alt": "Luka Doncic"
            },
            "jersey": "77",
            "position": {
                "id": "3",
                "name": "Guard",
                "displayName": "Guard",
                "abbreviation": "G",
                "leaf": false
            },
            "injuries": [],
            "contracts": [
                {
                    "salary": 49500000,
                    "season": {
                        "year": 2027,
                        "startDate": "2026-09-30T07:00Z",
                        "endDate": "2027-06-26T06:59Z"
                    }
                },
                {
                    "salary": 54126450,
                    "season": {
                        "year": 2026,
                        "startDate": "2025-10-01T07:00Z",
                        "endDate": "2026-06-27T06:59Z"
                    }
                },
                {
                    "salary": 43031940,
                    "season": {
                        "year": 2025,
                        "startDate": "2024-09-24T07:00Z",
                        "endDate": "2025-06-27T06:59Z"
                    }
                },
                {
                    "salary": 40064220,
                    "season": {
                        "year": 2024,
                        "startDate": "2023-10-05T07:00Z",
                        "endDate": "2024-06-21T06:59Z"
                    }
                },
                {
                    "salary": 37095000,
                    "season": {
                        "year": 2023,
                        "startDate": "2022-08-30T07:00Z",
                        "endDate": "2023-06-24T06:59Z"
                    }
                },
                {
                    "salary": 10174391,
                    "season": {
                        "year": 2022,
                        "startDate": "2021-09-22T07:00Z",
                        "endDate": "2022-06-20T06:59Z"
                    }
                },
                {
                    "salary": 8049360,
                    "season": {
                        "year": 2021,
                        "startDate": "2020-12-02T08:00Z",
                        "endDate": "2021-07-23T06:59Z"
                    }
                },
                {
                    "salary": 7683360,
                    "season": {
                        "year": 2020,
                        "startDate": "2019-09-28T07:00Z",
                        "endDate": "2020-10-22T06:59Z"
                    }
                },
                {
                    "salary": 6560640,
                    "season": {
                        "year": 2019,
                        "startDate": "2018-09-13T07:00Z",
                        "endDate": "2019-06-24T06:59Z"
                    }
                }
            ],
            "experience": {
                "years": 9
            },
            "contract": {
                "birdStatus": 0,
                "baseYearCompensation": {
                    "active": false
                },
                "poisonPillProvision": {
                    "active": false
                },
                "incomingTradeValue": 49500000,
                "outgoingTradeValue": 49500000,
                "minimumSalaryException": false,
                "optionType": 0,
                "salary": 49500000,
                "salaryRemaining": 0
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取球队名单 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39633/get+team+roster?sport=basketball&league=nba&team_id=13' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个球队在一个赛季中的赛程:已进行的比赛结果和即将进行的比赛的日期、对手、场地和直播信息
Endpoint ID: 39634
GET https://zylalabs.com/api/15015/espn+api/39634/get+team+schedule+and+results
输入参数

获取球队赛程和结果 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
team_id 必需 Team id as returned by the league teams list (e.g. 13)
season 可选 Season as a four-digit year (e.g. 2025), as returned by the league seasons list. Without it the current season is returned.

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


输入参数

sport
league
team_id
season
API 示例响应
JSON
{
    "season": {
        "year": 2025,
        "type": 2,
        "name": "Regular Season",
        "displayName": "2024-25"
    },
    "team": {
        "id": "13",
        "abbreviation": "LAL",
        "location": "Los Angeles",
        "name": "Lakers",
        "displayName": "Los Angeles Lakers",
        "clubhouse": "https://www.espn.com/nba/team/_/name/lal/los-angeles-lakers",
        "color": "552583",
        "logo": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
        "recordSummary": "12-2",
        "seasonSummary": "2026-27",
        "standingSummary": "1st in Pacific Division",
        "groups": {
            "id": "4",
            "parent": {
                "id": "6"
            },
            "isConference": false
        }
    },
    "matches": [
        {
            "id": "401704628",
            "date": "2024-10-23T02:00Z",
            "name": "Minnesota Timberwolves at Los Angeles Lakers",
            "shortName": "MIN @ LAL",
            "season": {
                "year": 2025,
                "displayName": "2024-25"
            },
            "seasonType": {
                "id": "2",
                "type": 2,
                "name": "Regular Season",
                "abbreviation": "reg"
            },
            "timeValid": true,
            "competitions": [
                {
                    "id": "401704628",
                    "date": "2024-10-23T02:00Z",
                    "attendance": 18997,
                    "type": {
                        "id": "1",
                        "text": "Standard",
                        "abbreviation": "STD",
                        "slug": "standard",
                        "type": "standard"
                    },
                    "timeValid": true,
                    "neutralSite": false,
                    "boxscoreAvailable": true,
                    "ticketsAvailable": false,
                    "venue": {
                        "fullName": "crypto.com Arena",
                        "address": {
                            "city": "Los Angeles",
                            "state": "CA"
                        }
                    },
                    "competitors": [
                        {
                            "id": "13",
                            "type": "team",
                            "order": 0,
                            "homeAway": "home",
                            "winner": true,
                            "team": {
                                "id": "13",
                                "location": "Los Angeles",
                                "abbreviation": "LAL",
                                "displayName": "Los Angeles Lakers",
                                "shortDisplayName": "Lakers",
                                "logos": [
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "default"
                                        ],
                                        "lastUpdated": "2024-06-25T21:17Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/lal.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "dark"
                                        ],
                                        "lastUpdated": "2024-06-25T21:13Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/lal.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "scoreboard"
                                        ],
                                        "lastUpdated": "2024-06-25T21:18Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/lal.png",
                                        "width": 500,
                                        "height": 500,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "scoreboard",
                                            "dark"
                                        ],
                                        "lastUpdated": "2024-06-25T21:14Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_white_color.png",
                                        "width": 4096,
                                        "height": 4096,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "primary_logo_on_white_color"
                                        ],
                                        "lastUpdated": "2026-09-03T13:50Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_black_color.png",
                                        "width": 4096,
                                        "height": 4096,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "primary_logo_on_black_color"
                                        ],
                                        "lastUpdated": "2026-07-22T20:23Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_primary_color.png",
                                        "width": 4096,
                                        "height": 4096,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "primary_logo_on_primary_color"
                                        ],
                                        "lastUpdated": "2026-07-22T20:23Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_secondary_color.png",
                                        "width": 4096,
                                        "height": 4096,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "primary_logo_on_secondary_color"
                                        ],
                                        "lastUpdated": "2026-07-22T20:23Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_black.png",
                                        "width": 4096,
                                        "height": 4096,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "primary_logo_black"
                                        ],
                                        "lastUpdated": "2026-07-22T20:23Z"
                                    },
                                    {
                                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_white.png",
                                        "width": 4096,
                                        "height": 4096,
                                        "alt": "",
                                        "rel": [
                                            "full",
                                            "primary_logo_white"
                                        ],
                                        "lastUpdated": "2026-07-22T20:23Z"
                                    }
                                ]
                            }
                        }
                    ]
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
获取球队赛程和结果 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39634/get+team+schedule+and+results?sport=basketball&league=nba&team_id=13&season=2025' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回有关一个团队的最新新闻文章,包括标题 描述 图片和发布日期
Endpoint ID: 39635
GET https://zylalabs.com/api/15015/espn+api/39635/get+team+news
输入参数

获取球队新闻 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
team_id 必需 Team id as returned by the league teams list (e.g. 13)
limit 可选 Number of items to return, between 1 and 100 (default 20)

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


输入参数

sport
league
team_id
limit
API 示例响应
JSON
[
    {
        "id": 41571864,
        "nowId": "1-41571864",
        "type": "Story",
        "headline": "Which NBA father-son duos have the most points?",
        "description": "In 2024, Bronny James joined his father LeBron on the Los Angeles Lakers. Take a closer look at the highest-scoring father-son duos in NBA history.",
        "lastModified": "2026-11-17T05:00:44Z",
        "published": "2026-11-17T05:00:44Z",
        "images": [
            {
                "id": 41539333,
                "type": "header",
                "name": "LeBron and Bronny [608x342]",
                "caption": "LeBron James and Bronny James joined forces on the Los Angeles Lakers in 2024, becoming the first father-son duo to play in the NBA together.",
                "credit": "Jae C. Hong/AP",
                "height": 342,
                "width": 608,
                "url": "https://a.espncdn.com/photo/2024/1001/r1394346_608x342_16-9.jpg"
            },
            {
                "type": "Media",
                "name": "The highest-scoring father-son duos in NBA history",
                "caption": "With LeBron and Bronny James set to make history, check out the top five highest-scoring father-son duos in NBA history, including Kobe and Joe Bryant, Mychal and Klay Thompson.",
                "height": 324,
                "width": 576,
                "url": "https://espnmedia-cdn.akamaized.net/espn/media/common/2024/1004/dm_241004_nba_duos_t2v/dm_241004_nba_duos_t2v.jpg"
            }
        ],
        "categories": [
            {
                "id": 4630,
                "type": "team",
                "description": "Los Angeles Lakers",
                "sportId": 46,
                "teamId": 13,
                "team": {
                    "id": 13,
                    "description": "Los Angeles Lakers",
                    "abbreviation": "LAL",
                    "shortDisplayName": "Lakers",
                    "links": {
                        "web": {
                            "teams": {
                                "href": "https://www.espn.com/nba/team/_/name/lal/los-angeles-lakers"
                            }
                        }
                    }
                }
            },
            {
                "id": 633278,
                "type": "athlete",
                "description": "Bronny James",
                "sportId": 46,
                "athleteId": 4683774,
                "athlete": {
                    "id": 4683774,
                    "description": "Bronny James",
                    "links": {
                        "web": {
                            "athletes": {
                                "href": "https://www.espn.com/nba/player/_/id/4683774/bronny-james"
                            }
                        }
                    }
                }
            },
            {
                "id": 9385,
                "type": "athlete",
                "description": "LeBron James",
                "sportId": 46,
                "athleteId": 1966,
                "athlete": {
                    "id": 1966,
                    "description": "LeBron James",
                    "links": {
                        "web": {
                            "athletes": {
                                "href": "https://www.espn.com/nba/player/_/id/1966/lebron-james"
                            }
                        }
                    }
                }
            },
            {
                "id": 66001,
                "type": "athlete",
                "description": "Stephen Curry",
                "sportId": 46,
                "athleteId": 3975,
                "athlete": {
                    "id": 3975,
                    "description": "Stephen Curry",
                    "links": {
                        "web": {
                            "athletes": {
                                "href": "https://www.espn.com/nba/player/_/id/3975/stephen-curry"
                            }
                        }
                    }
                }
            },
            {
                "id": 92022,
                "type": "athlete",
                "description": "Klay Thompson",
                "sportId": 46,
                "athleteId": 6475,
                "athlete": {
                    "id": 6475,
                    "description": "Klay Thompson",
                    "links": {
                        "web": {
                            "athletes": {
                                "href": "https://www.espn.com/nba/player/_/id/6475/klay-thompson"
                            }
                        }
                    }
                }
            }
        ],
        "byline": "Keith Jenkins",
        "links": {
            "web": {
                "href": "https://www.espn.com/nba/story/_/id/41571864/most-nba-points-father-son-duo"
            }
        },
        "premium": false
    },
    {
        "id": 50506501,
        "nowId": "1-50506501",
        "type": "HeadlineNews",
        "headline": "Lakers rule Austin Reaves, Walker Kessler out vs. Hornets",
        "description": "The Lakers will be without Austin Reaves (left heel bruise) and Walker Kessler (lower leg soreness) for Tuesday's game against the Hornets.",
        "lastModified": "2026-11-17T05:04:53Z",
        "published": "2026-11-17T05:04:53Z",
        "images": [
            {
                "id": 50506395,
                "type": "header",
                "name": "reaves kessler [600x400]",
                "credit": "Photo by Juan Ocampo/NBAE via Getty Images",
                "height": 400,
                "width": 600,
                "url": "https://a.espncdn.com/photo/2026/1117/r1746936_600x400_3-2.jpg"
            }
        ],
        "categories": [
            {
                "id": 409224,
                "type": "topic",
                "description": "news",
                "sportId": 0,
                "topicId": 781
            },
            {
                "id": 9577,
                "type": "league",
                "description": "NBA",
                "sportId": 46,
                "leagueId": 46,
                "league": {
                    "id": 46,
                    "description": "NBA",
                    "abbreviation": "NBA",
                    "links": {
                        "web": {
                            "leagues": {
                                "href": "https://www.espn.com/nba/"
                            }
                        }
                    }
                }
            },
            {
                "id": 4630,
                "type": "team",
                "description": "Los Angeles Lakers",
                "sportId": 46,
                "teamId": 13,
                "team": {
                    "id": 13,
                    "description": "Los Angeles Lakers",
                    "abbreviation": "LAL",
                    "shortDisplayName": "Lakers",
                    "links": {
                        "web": {
                            "teams": {
                                "href": "https://www.espn.com/nba/team/_/name/lal/los-angeles-lakers"
                            }
                        }
                    }
                }
            },
            {
                "id": 503007,
                "type": "athlete",
                "description": "Austin Reaves",
                "sportId": 46,
                "athleteId": 4066457,
                "athlete": {
                    "id": 4066457,
                    "description": "Austin Reaves",
                    "links": {
                        "web": {
                            "athletes": {
                                "href": "https://www.espn.com/nba/player/_/id/4066457/austin-reaves"
                            }
                        }
                    }
                }
            },
            {
                "id": 533805,
                "type": "athlete",
                "description": "Walker Kessler",
                "sportId": 46,
                "athleteId": 4433136,
                "athlete": {
                    "id": 4433136,
                    "description": "Walker Kessler",
                    "links": {
                        "web": {
                            "athletes": {
                                "href": "https://www.espn.com/nba/player/_/id/4433136/walker-kessler"
                            }
                        }
                    }
                }
            },
            {
                "id": 698422,
                "type": "contributor",
                "description": "Dave McMenamin",
                "slug": "dave-mcmenamin",
                "contributor": {
                    "id": 1836,
                    "description": "Dave McMenamin"
                }
            }
        ],
        "byline": "Dave McMenamin",
        "links": {
            "web": {
                "href": "https://www.espn.com/nba/story/_/id/50506501/lakers-rule-austin-reaves-walker-kessler-vs-hornets"
            }
        },
        "premium": false
    },
    {
        "id": 50499325,
        "nowId": "1-50499325",
        "type": "Preview",
        "headline": "Charlotte visits Los Angeles after Doncic's 43-point outing"
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取球队新闻 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39635/get+team+news?sport=basketball&league=nba&team_id=13&limit=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个团队按类别的赛季统计数据,包括数值和联赛排名
Endpoint ID: 39636
GET https://zylalabs.com/api/15015/espn+api/39636/get+team+statistics
输入参数

获取团队统计信息 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
team_id 必需 Team id as returned by the league teams list (e.g. 13)
season 可选 Season as a four-digit year (e.g. 2025), as returned by the league seasons list. Without it the current season is returned.

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


输入参数

sport
league
team_id
season
API 示例响应
JSON
{
    "season": {
        "year": 2025,
        "type": 2,
        "name": "Regular Season",
        "displayName": "2024-25",
        "qualifiedPostSeason": true
    },
    "team": {
        "id": "13",
        "abbreviation": "LAL",
        "location": "Los Angeles",
        "name": "Lakers",
        "displayName": "Los Angeles Lakers",
        "color": "552583",
        "logo": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
        "recordSummary": "50-32",
        "seasonSummary": "2024-25",
        "standingSummary": "1st in Pacific Division"
    },
    "results": {
        "stats": {
            "id": "0",
            "name": "All Splits",
            "abbreviation": "Total",
            "categories": [
                {
                    "name": "general",
                    "displayName": "General",
                    "abbreviation": "gen",
                    "stats": [
                        {
                            "name": "avgRebounds",
                            "displayName": "Rebounds Per Game",
                            "shortDisplayName": "RPG",
                            "description": "The average rebounds per game.",
                            "abbreviation": "REB",
                            "value": 42.42683,
                            "displayValue": "42.4"
                        },
                        {
                            "name": "assistTurnoverRatio",
                            "displayName": "Assist To Turnover Ratio",
                            "shortDisplayName": "AST/TO",
                            "description": "The average number of assists a player or team records per turnover",
                            "abbreviation": "AST/TO",
                            "value": 1.9804833,
                            "displayValue": "2.0",
                            "perGameValue": 1.9804909229278564,
                            "perGameDisplayValue": "1.98"
                        },
                        {
                            "name": "avgFouls",
                            "displayName": "Fouls Per Game",
                            "shortDisplayName": "PFPG",
                            "description": "The average fouls committed per game.",
                            "abbreviation": "PF",
                            "value": 17.256098,
                            "displayValue": "17.3"
                        },
                        {
                            "name": "gamesPlayed",
                            "displayName": "Games Played",
                            "shortDisplayName": "GP",
                            "description": "Games Played",
                            "abbreviation": "GP",
                            "value": 82,
                            "displayValue": "82"
                        },
                        {
                            "name": "gamesStarted",
                            "displayName": "Games Started",
                            "shortDisplayName": "GS",
                            "description": "The number of games started by an athlete.",
                            "abbreviation": "GS",
                            "value": 0,
                            "displayValue": "0"
                        },
                        {
                            "name": "minutes",
                            "displayName": "Minutes",
                            "shortDisplayName": "MIN",
                            "description": "The total number of minutes played.",
                            "abbreviation": "MIN",
                            "value": 0,
                            "displayValue": "0"
                        },
                        {
                            "name": "avgMinutes",
                            "displayName": "Minutes Per Game",
                            "shortDisplayName": "MPG",
                            "description": "The average number of minutes per game.",
                            "abbreviation": "MIN",
                            "value": 0,
                            "displayValue": "0.0"
                        },
                        {
                            "name": "totalRebounds",
                            "displayName": "Rebounds",
                            "shortDisplayName": "REB",
                            "description": "The total number of rebounds for a team or player",
                            "abbreviation": "REB",
                            "value": 3479,
                            "displayValue": "3479",
                            "perGameValue": 42.427001953125,
                            "perGameDisplayValue": "42.427"
                        },
                        {
                            "name": "rebounds",
                            "displayName": "Rebounds",
                            "shortDisplayName": "REB",
                            "description": "The total number of rebounds (offensive and defensive).",
                            "abbreviation": "REB",
                            "value": 3479,
                            "displayValue": "3479",
                            "perGameValue": 42.427001953125,
                            "perGameDisplayValue": "42.427"
                        }
                    ]
                },
                {
                    "name": "offensive",
                    "displayName": "Offensive",
                    "abbreviation": "off",
                    "stats": [
                        {
                            "name": "freeThrowPct",
                            "displayName": "Free Throw Percentage",
                            "shortDisplayName": "FT%",
                            "description": "The ratio of free throws made to free throws attempted: FTM / FTA",
                            "abbreviation": "FT%",
                            "value": 78.54900360107422,
                            "displayValue": "78.5",
                            "perGameValue": 0.7850000262260437,
                            "perGameDisplayValue": "0.785"
                        },
                        {
                            "name": "threePointPct",
                            "displayName": "3-Point Field Goal Percentage",
                            "shortDisplayName": "3P%",
                            "description": "The ratio of 3pt field goals made to 3pt field goals attempted: 3PM / 3PA.",
                            "abbreviation": "3P%",
                            "value": 36.63199996948242,
                            "displayValue": "36.6",
                            "perGameValue": 0.3659999966621399,
                            "perGameDisplayValue": "0.366"
                        },
                        {
                            "name": "avgFieldGoalsMade",
                            "displayName": "Average Field Goals Made",
                            "shortDisplayName": "AFGM",
                            "description": "The average field goals made per game.",
                            "abbreviation": "FGM",
                            "value": 40.92683,
                            "displayValue": "40.9"
                        },
                        {
                            "name": "avgFieldGoalsAttempted",
                            "displayName": "Average Field Goals Attempted",
                            "shortDisplayName": "AFGA",
                            "description": "The average field goals attempted per game.",
                            "abbreviation": "FGA",
                            "value": 85.45122,
                            "displayValue": "85.5"
                        },
                        {
                            "name": "avgThreePointFieldGoalsMade",
                            "displayName": "Average 3-Point Field Goals Made",
                            "shortDisplayName": "A3PM",
                            "description": "The average three point field goals made per game.",
                            "abbreviation": "3PM",
                            "value": 13.317073,
                            "displayValue": "13.3"
                        },
                        {
                            "name": "avgThreePointFieldGoalsAttempted",
                            "displayName": "Average 3-Point Field Goals Attempted",
                            "shortDisplayName": "A3PA",
                            "description": "The average three point field goals attempted per game.",
                            "abbreviation": "3PA",
                            "value": 36.353657,
                            "displayValue": "36.4"
                        },
                        {
                            "name": "avgFreeThrowsMade",
                            "displayName": "Average Free Throws Made",
                            "shortDisplayName": "AFTM",
                            "description": "The average free throw shots made per game.",
                            "abbreviation": "FTM",
                            "value": 18.219513,
                            "displayValue": "18.2"
                        },
                        {
                            "name": "avgFreeThrowsAttempted",
                            "displayName": "Average Free Throws Attempted",
                            "shortDisplayName": "AFTA"
                        }
                    ]
                }
            ]
        }
    },
    "_note": "Response truncated for documentation purposes"
}
获取团队统计信息 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39636/get+team+statistics?sport=basketball&league=nba&team_id=13&season=2025' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一支球队的受伤球员的信息,包括状态、伤病类型、详细信息和日期
Endpoint ID: 39637
GET https://zylalabs.com/api/15015/espn+api/39637/get+team+injuries
输入参数

获取团队伤员 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
team_id 必需 Team id as returned by the league teams list (e.g. 13)

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


输入参数

sport
league
team_id
API 示例响应
JSON
[
    {
        "id": "539490",
        "longComment": "Reaves will miss a second consecutive matchup while tending to a bruised left heel. Quentin Grimes, Collin Sexton and Ziaire Williams should continue to see more minutes in Reaves' absence. His next opportunity to return will arrive Wednesday against Utah.",
        "shortComment": "Reaves (heel) is out for Tuesday's game against the Hornets, Dave McMenamin of ESPN.com reports.",
        "status": "Out",
        "date": "2026-11-17T01:11Z",
        "athlete": {
            "firstName": "Austin",
            "lastName": "Reaves",
            "displayName": "Austin Reaves",
            "shortName": "A. Reaves",
            "headshot": {
                "href": "https://a.espncdn.com/i/headshots/nba/players/full/4066457.png",
                "alt": "Austin Reaves"
            },
            "position": {
                "id": "3",
                "name": "Guard",
                "displayName": "Guard",
                "abbreviation": "G",
                "leaf": false
            },
            "team": {
                "id": "13",
                "slug": "los-angeles-lakers",
                "name": "Lakers",
                "abbreviation": "LAL",
                "displayName": "Los Angeles Lakers",
                "logos": [
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "default"
                        ],
                        "lastUpdated": "2024-06-25T21:17Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/lal.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "dark"
                        ],
                        "lastUpdated": "2024-06-25T21:13Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/lal.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "scoreboard"
                        ],
                        "lastUpdated": "2024-06-25T21:18Z"
                    },
                    {
                        "href": "https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/lal.png",
                        "width": 500,
                        "height": 500,
                        "alt": "",
                        "rel": [
                            "full",
                            "scoreboard",
                            "dark"
                        ],
                        "lastUpdated": "2024-06-25T21:14Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_white_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_on_white_color"
                        ],
                        "lastUpdated": "2026-09-03T13:50Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_black_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_on_black_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_primary_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_on_primary_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_secondary_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_on_secondary_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_black.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_black"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_white.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "primary_logo_white"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_white_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_on_white_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_black_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_on_black_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_primary_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_on_primary_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_secondary_color.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_on_secondary_color"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_black.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_black"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    },
                    {
                        "href": "https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_white.png",
                        "width": 4096,
                        "height": 4096,
                        "alt": "",
                        "rel": [
                            "full",
                            "secondary_logo_white"
                        ],
                        "lastUpdated": "2026-07-22T20:23Z"
                    }
                ]
            },
            "notes": {
                "items": [
                    {
                        "id": "539490",
                        "type": "news",
                        "date": "2026-11-17T01:11Z"
                    }
                ]
            }
        }
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取团队伤员 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39637/get+team+injuries?sport=basketball&league=nba&team_id=13' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个团队的深度图:按深度顺序排列的每个位置的球员
Endpoint ID: 39638
GET https://zylalabs.com/api/15015/espn+api/39638/get+team+depth+chart
输入参数

获取团队深度图 — 端点功能

对象 描述
sport 必需 Sport slug as returned by the sports list (e.g. basketball, football, soccer)
league 必需 League slug as returned by the leagues list (e.g. nba, nfl, eng.1)
team_id 必需 Team id as returned by the league teams list (e.g. 13)

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


输入参数

sport
league
team_id
API 示例响应
JSON
[
    {
        "id": "1",
        "name": "Depth Chart",
        "positions": {
            "pg": {
                "athletes": [
                    {
                        "displayName": "Luka Doncic",
                        "id": "3945274",
                        "injuries": [],
                        "shortName": "L. Doncic"
                    },
                    {
                        "displayName": "Collin Sexton",
                        "id": "4277811",
                        "injuries": [],
                        "shortName": "C. Sexton"
                    },
                    {
                        "displayName": "Austin Reaves",
                        "id": "4066457",
                        "injuries": [
                            {
                                "date": "2026-11-17T01:11Z",
                                "longComment": "Reaves will miss a second consecutive matchup while tending to a bruised left heel. Quentin Grimes, Collin Sexton and Ziaire Williams should continue to see more minutes in Reaves' absence. His next opportunity to return will arrive Wednesday against Utah.",
                                "shortComment": "Reaves (heel) is out for Tuesday's game against the Hornets, Dave McMenamin of ESPN.com reports.",
                                "status": "Out",
                                "type": {
                                    "abbreviation": "O",
                                    "description": "out",
                                    "id": "4",
                                    "name": "INJURY_STATUS_OUT"
                                }
                            }
                        ],
                        "shortName": "A. Reaves"
                    },
                    {
                        "displayName": "Quentin Grimes",
                        "id": "4397014",
                        "injuries": [],
                        "shortName": "Q. Grimes"
                    },
                    {
                        "displayName": "Bronny James",
                        "id": "4683774",
                        "injuries": [],
                        "shortName": "B. James"
                    }
                ],
                "position": {
                    "abbreviation": "PG",
                    "displayName": "Point Guard",
                    "id": "1",
                    "leaf": true,
                    "name": "Point Guard",
                    "parent": {
                        "abbreviation": "G",
                        "displayName": "Guard",
                        "id": "3",
                        "leaf": false,
                        "name": "Guard"
                    }
                }
            },
            "sg": {
                "athletes": [
                    {
                        "displayName": "Austin Reaves",
                        "id": "4066457",
                        "injuries": [
                            {
                                "date": "2026-11-17T01:11Z",
                                "longComment": "Reaves will miss a second consecutive matchup while tending to a bruised left heel. Quentin Grimes, Collin Sexton and Ziaire Williams should continue to see more minutes in Reaves' absence. His next opportunity to return will arrive Wednesday against Utah.",
                                "shortComment": "Reaves (heel) is out for Tuesday's game against the Hornets, Dave McMenamin of ESPN.com reports.",
                                "status": "Out",
                                "type": {
                                    "abbreviation": "O",
                                    "description": "out",
                                    "id": "4",
                                    "name": "INJURY_STATUS_OUT"
                                }
                            }
                        ],
                        "shortName": "A. Reaves"
                    },
                    {
                        "displayName": "Quentin Grimes",
                        "id": "4397014",
                        "injuries": [],
                        "shortName": "Q. Grimes"
                    },
                    {
                        "displayName": "Collin Sexton",
                        "id": "4277811",
                        "injuries": [],
                        "shortName": "C. Sexton"
                    },
                    {
                        "displayName": "Ziaire Williams",
                        "id": "4433137",
                        "injuries": [],
                        "shortName": "Z. Williams"
                    },
                    {
                        "displayName": "Cameron Carr",
                        "id": "5113969",
                        "injuries": [],
                        "shortName": "C. Carr"
                    },
                    {
                        "displayName": "Matisse Thybulle",
                        "id": "3907498",
                        "injuries": [],
                        "shortName": "M. Thybulle"
                    },
                    {
                        "displayName": "Jake LaRavia",
                        "id": "4592691",
                        "injuries": [],
                        "shortName": "J. LaRavia"
                    },
                    {
                        "displayName": "Bronny James",
                        "id": "4683774",
                        "injuries": [],
                        "shortName": "B. James"
                    },
                    {
                        "displayName": "Jaden Hardy",
                        "id": "4868423",
                        "injuries": [],
                        "shortName": "J. Hardy"
                    },
                    {
                        "displayName": "Chris Manon",
                        "id": "4702972",
                        "injuries": [],
                        "shortName": "C. Manon"
                    }
                ],
                "position": {
                    "abbreviation": "SG",
                    "displayName": "Shooting Guard",
                    "id": "2",
                    "leaf": true,
                    "name": "Shooting Guard",
                    "parent": {
                        "abbreviation": "G",
                        "displayName": "Guard",
                        "id": "3",
                        "leaf": false,
                        "name": "Guard"
                    }
                }
            },
            "sf": {
                "athletes": [
                    {
                        "displayName": "Matisse Thybulle",
                        "id": "3907498",
                        "injuries": [],
                        "shortName": "M. Thybulle"
                    },
                    {
                        "displayName": "Ziaire Williams",
                        "id": "4433137",
                        "injuries": [],
                        "shortName": "Z. Williams"
                    },
                    {
                        "displayName": "Jake LaRavia",
                        "id": "4592691",
                        "injuries": [],
                        "shortName": "J. LaRavia"
                    },
                    {
                        "displayName": "Quentin Grimes",
                        "id": "4397014",
                        "injuries": [],
                        "shortName": "Q. Grimes"
                    },
                    {
                        "displayName": "Cameron Carr",
                        "id": "5113969",
                        "injuries": [],
                        "shortName": "C. Carr"
                    },
                    {
                        "displayName": "Adou Thiero",
                        "id": "5060631",
                        "injuries": [],
                        "shortName": "A. Thiero"
                    },
                    {
                        "displayName": "Jaden Hardy",
                        "id": "4868423",
                        "injuries": [],
                        "shortName": "J. Hardy"
                    },
                    {
                        "displayName": "Chris Manon",
                        "id": "4702972",
                        "injuries": [],
                        "shortName": "C. Manon"
                    },
                    {
                        "displayName": "Arthur Kaluma",
                        "id": "4433599",
                        "injuries": [],
                        "shortName": "A. Kaluma"
                    }
                ],
                "position": {
                    "abbreviation": "SF",
                    "displayName": "Small Forward",
                    "id": "5",
                    "leaf": true,
                    "name": "Small Forward",
                    "parent": {
                        "abbreviation": "F",
                        "displayName": "Forward",
                        "id": "7",
                        "leaf": false,
                        "name": "Forward"
                    }
                }
            },
            "pf": {
                "athletes": [
                    {
                        "displayName": "Jake LaRavia",
                        "id": "4592691"
                    }
                ]
            }
        }
    },
    {
        "_note": "Response truncated for documentation purposes"
    }
]
获取团队深度图 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15015/espn+api/39638/get+team+depth+chart?sport=basketball&league=nba&team_id=13' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

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

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

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

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

起价
$10,000/年


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

概览

17种运动的体育数据:按日期和实时的比赛,比赛详情,统计数据,逐步分析,阵容,赔率,胜率,排名,球队,球员,搜索和新闻。

ESPN API FAQs

每个端点返回特定的体育数据,包括比赛详情、团队统计、球员档案、联赛排名和新闻文章。例如,“获取联赛排名”端点提供团队排名、胜场、败场和积分,而“获取球员详情”返回球员统计和生平信息

关键字段因终端而异,但一般包括标识符(id)、名称、统计数据(例如,胜利、失利)以及其他详细信息,如徽标、颜色和日期。例如,“获取联赛详情”终端包括字段,如名称、缩写和当前赛季信息

参数因端点而异,可能包括运动、联赛、日期和团队标识符。例如,“按日期获取联赛比赛”端点接受日期参数以过滤比赛,而“获取联赛球队”可以通过联赛标识进行过滤

响应数据通常以JSON格式组织,结构为数组和对象。例如,“获取联赛积分榜”响应包含一个主对象,其中嵌套了会议和球队的数组,每个数组包含相关的统计信息和标识符

数据来源于ESPN广泛的体育报道,包括实时更新、官方联赛统计和新闻文章。通过定期更新和与官方联赛来源的验证来保持数据的准确性

典型的用例包括构建体育分析应用程序 创建幻想体育平台 和开发新闻聚合服务 例如 开发者可以使用“获取球员统计数据”接口来分析球员在一个赛季中的表现趋势

用户可以通过指定运动、联赛、日期和团队等参数来定制请求。例如“搜索球员”接口允许用户通过球员姓名筛选结果,基于搜索条件返回特定球员的详情

用户可以通过解析JSON结构来提取相关信息,以便进行展示或分析。例如,使用“获取比赛详情”端点,开发者可以在实时应用中展示实时得分、球员统计和比赛总结

ESPN API提供17种不同运动的全面体育数据 这包括比赛信息(包括计划中的和现场的)详细的比赛统计 数据表 逐回动作 球队阵容 赔率 胜率 联赛排名 球队和球员档案 搜索功能和体育新闻

ESPN API非常适合构建需要实时和历史体育数据的应用程序 用例包括幻想体育平台 体育博彩应用程序 现场得分走马灯 体育新闻聚合器 粉丝参与工具和运动表现的数据分析

是的 ESPN API 提供实时比赛数据 允许您在比赛进行时跟踪游戏 这包括实时得分 关键事件 和可能的逐步更新 使得创建动态和最新的体育体验成为可能

API提供了详细的团队和个别球员档案 这可以包括统计数据 个人信息 历史表现数据和当前状态 使深入分析和个性化内容传递成为可能

该API涵盖17项运动的数据,意味着支持这些运动中的主要联赛和锦标赛。具体的端点将详细说明可用数据的确切联赛和事件

虽然具体格式可能因端点而异 但这种类型的API通常以结构化格式如JSON(JavaScript对象表示法)返回数据 这使得在你的应用程序中无缝集成成为可能

该API提供按日期访问比赛的功能,可以利用这些数据来检索历史比赛数据。您可以查询过去的比赛以建立历史数据库,分析趋势或为当前事件提供背景

核心价值主张在于提供一个集中、全面且最新的体育数据源,涵盖广泛的体育项目和数据类型。这相比于手动收集或抓取数据为开发者节省了大量时间和资源,使他们能够专注于构建创新的用户体验

是的 ESPN API 包含有关各种比赛的赌博赔率和获胜几率的数据 这一功能对于关注体育分析 赌博见解或为用户提供比赛潜在结果的全面视图的应用程序非常有价值

通过利用详细的团队、球员和比赛数据,以及新闻更新,开发者可以构建个性化的体育体验。用户可以根据自己喜欢的团队或球员获得量身定制的更新,获取定制的新闻摘要,或查看他们感兴趣的比赛的相关统计数据

一般常见问题

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