FanDuel API

API ID 15887

美国体育博彩赔率:体育项目、赛事、即将开始和正在进行的比赛及赔率、冠军投注、所有盘口的美式赔率、十进制赔率和分数赔率、实时比分和搜索

API 文档

端点

请求
按体育博彩网站列出的顺序返回其所有体育项目及其 ID 和名称
Endpoint ID: 43829
GET https://zylalabs.com/api/15887/fanduel+api/43829/get+sports
输入参数

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

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

API 示例响应
JSON
[
    {
        "id": "6423",
        "name": "American Football"
    },
    {
        "id": "1",
        "name": "Soccer"
    },
    {
        "id": "7522",
        "name": "Basketball"
    },
    {
        "id": "3",
        "name": "Golf"
    },
    {
        "id": "7511",
        "name": "Baseball"
    },
    {
        "id": "7524",
        "name": "Ice Hockey"
    },
    {
        "id": "2",
        "name": "Tennis"
    },
    {
        "id": "26420387",
        "name": "Mixed Martial Arts"
    },
    {
        "id": "2593174",
        "name": "Table Tennis"
    },
    {
        "id": "3503",
        "name": "Darts"
    },
    {
        "id": "61420",
        "name": "Australian Rules"
    },
    {
        "id": "6",
        "name": "Boxing"
    },
    {
        "id": "5",
        "name": "Rugby Union"
    },
    {
        "id": "4",
        "name": "Cricket"
    },
    {
        "id": "27454571",
        "name": "Esports"
    },
    {
        "id": "11",
        "name": "Cycling"
    },
    {
        "id": "8",
        "name": "Motor Sport"
    },
    {
        "id": "1477",
        "name": "Rugby League"
    },
    {
        "id": "6422",
        "name": "Snooker"
    },
    {
        "id": "468328",
        "name": "Handball"
    },
    {
        "id": "28608997",
        "name": "Lacrosse"
    }
]
获取体育资讯 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43829/get+sports' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回当前正在进行比赛的体育项目及各自的实时比赛数量。使用它们的 ID 调用实时比赛端点
Endpoint ID: 43830
GET https://zylalabs.com/api/15887/fanduel+api/43830/get+sports+with+live+matches
输入参数

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

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

API 示例响应
JSON
[
    {
        "id": "7522",
        "name": "Basketball",
        "liveMatches": 3
    },
    {
        "id": "2",
        "name": "Tennis",
        "liveMatches": 35
    },
    {
        "id": "1",
        "name": "Soccer",
        "liveMatches": 3
    },
    {
        "id": "4",
        "name": "Cricket",
        "liveMatches": 1
    },
    {
        "id": "2593174",
        "name": "Table Tennis",
        "liveMatches": 4
    }
]
观看体育赛事直播 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43830/get+sports+with+live+matches' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按球队、球员、赛事或活动名称搜索体育博彩中的比赛和冠军投注,并返回相关赛事及其盘口和赔率。结果每次只涵盖一项运动:「sports」列出所有有结果的运动,不指定「sport」则返回其中第一项
Endpoint ID: 43831
GET https://zylalabs.com/api/15887/fanduel+api/43831/search+matches+and+outrights
输入参数

搜索匹配项和直接下注项 — 端点功能

对象 描述
query 必需 Search text (team, player, competition or event name)
sport 可选 Sport name as returned in "sports" by this endpoint (e.g. Basketball, Ice Hockey)

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


输入参数

query
sport
API 示例响应
JSON
{
    "query": "lakers",
    "sport": "Basketball",
    "sports": [],
    "total": 4,
    "matches": [
        {
            "id": "36381662",
            "name": "Los Angeles Lakers @ New Orleans Pelicans",
            "isOutright": false,
            "startTimestamp": 1796260200,
            "inPlay": false,
            "sportId": "7522",
            "sportName": "Basketball",
            "competitionId": "10547864",
            "competitionName": "NBA",
            "hasVideo": false,
            "hasStatistics": true,
            "participants": [
                {
                    "name": "New Orleans Pelicans",
                    "side": "home"
                },
                {
                    "name": "Los Angeles Lakers",
                    "side": "away"
                }
            ],
            "markets": [
                {
                    "id": "734.200253531",
                    "name": "Moneyline",
                    "type": "MONEY_LINE",
                    "bettingType": "odds",
                    "status": "open",
                    "inPlay": false,
                    "startTimestamp": 1796260200,
                    "winners": 1,
                    "hasSameGameParlay": false,
                    "hasEachWay": false,
                    "selections": [
                        {
                            "id": "5368712",
                            "name": "Los Angeles Lakers",
                            "handicap": 0,
                            "side": "away",
                            "status": "active",
                            "odds": {
                                "american": -405,
                                "decimal": 1.25,
                                "fractional": "20/81",
                                "trueDecimal": 1.246913580246914
                            },
                            "impliedProbability": 80.2,
                            "previousOdds": [
                                {
                                    "american": -390,
                                    "decimal": 1.26,
                                    "fractional": "10/39",
                                    "trueDecimal": 1.256410256410256
                                }
                            ]
                        },
                        {
                            "id": "7379341",
                            "name": "New Orleans Pelicans",
                            "handicap": 0,
                            "side": "home",
                            "status": "active",
                            "odds": {
                                "american": 320,
                                "decimal": 4.2,
                                "fractional": "16/5",
                                "trueDecimal": 4.2
                            },
                            "impliedProbability": 23.81,
                            "previousOdds": [
                                {
                                    "american": 310,
                                    "decimal": 4.1,
                                    "fractional": "31/10",
                                    "trueDecimal": 4.1
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "outrights": [
        {
            "id": "34409523",
            "name": "NBA Futures",
            "isOutright": true,
            "startTimestamp": 1781121300,
            "inPlay": false,
            "sportId": "7522",
            "sportName": "Basketball",
            "competitionId": "12739957",
            "competitionName": "NBA Futures",
            "hasVideo": false,
            "hasStatistics": false,
            "participants": [],
            "markets": [
                {
                    "id": "734.173805726",
                    "name": "26-27 NBA Western Conference 7th Seed",
                    "type": "NBA_EXACT_SEED",
                    "bettingType": "odds",
                    "status": "open",
                    "inPlay": false,
                    "startTimestamp": 1813365600,
                    "winners": 1,
                    "hasSameGameParlay": false,
                    "hasEachWay": false,
                    "selections": [
                        {
                            "id": "5368712",
                            "name": "Los Angeles Lakers",
                            "handicap": 0,
                            "side": null,
                            "status": "active",
                            "odds": {
                                "american": 1000,
                                "decimal": 11,
                                "fractional": "10/1",
                                "trueDecimal": 11
                            },
                            "impliedProbability": 9.09,
                            "previousOdds": [
                                {
                                    "american": 950,
                                    "decimal": 10.5,
                                    "fractional": "19/2",
                                    "trueDecimal": 10.5
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": "734.173805725",
                    "name": "26-27 NBA Western Conference 3rd Seed",
                    "type": "NBA_EXACT_SEED",
                    "bettingType": "odds",
                    "status": "open",
                    "inPlay": false,
                    "startTimestamp": 1813365600,
                    "winners": 1,
                    "hasSameGameParlay": false,
                    "hasEachWay": false,
                    "selections": [
                        {
                            "id": "5368712",
                            "name": "Los Angeles Lakers",
                            "handicap": 0,
                            "side": null,
                            "status": "active",
                            "odds": {
                                "american": 470,
                                "decimal": 5.7,
                                "fractional": "47/10",
                                "trueDecimal": 5.7
                            },
                            "impliedProbability": 17.54,
                            "previousOdds": [
                                {
                                    "american": 480,
                                    "decimal": 5.8,
                                    "fractional": "24/5",
                                    "trueDecimal": 5.8
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}
搜索匹配项和直接下注项 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43831/search+matches+and+outrights?query=lakers&sport=Basketball' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回针对部分输入文本的搜索建议(球队、球员、赛事)
Endpoint ID: 43832
GET https://zylalabs.com/api/15887/fanduel+api/43832/get+search+suggestions
输入参数

获取搜索建议 — 端点功能

对象 描述
query 必需 Partly typed search text

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


输入参数

query
API 示例响应
JSON
{
    "query": "lak",
    "suggestions": [
        "Los Angeles Lakers",
        "Vaxjo Lakers",
        "Lake Superior St.",
        "SC Rapperswil-Jona Lakers",
        "LaKelsey Johnson Jr."
    ]
}
获取搜索建议 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43832/get+search+suggestions?query=lak' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回当前体育博彩网站上正在搜索的内容:球员、球队和比赛,以及它们所属的比赛、开始时间和图片
Endpoint ID: 43833
GET https://zylalabs.com/api/15887/fanduel+api/43833/get+trending+searches
输入参数

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

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

API 示例响应
JSON
[
    {
        "term": "Victor Wembanyama",
        "name": "V Wembanyama",
        "type": "player",
        "sportId": "7522",
        "competitionName": "NBA",
        "team": "San Antonio Spurs",
        "matchId": "36385886",
        "matchName": "Raptors @ Spurs",
        "startTimestamp": 1796260200,
        "image": "https://fdx-api.sportsbook.fanduel.com/images/headshots/nba/2026/f598d43e-4919-4d17-9b16-f688d290c9d3/120x120.png",
        "teamLogo": "https://assets.sportsbook.fanduel.com/images/team/nba/san_antonio_spurs.png"
    },
    {
        "term": "Man City",
        "name": "Man City",
        "type": "team",
        "sportId": "1",
        "competitionName": "English Premier League",
        "team": "Man City",
        "matchId": "36348550",
        "matchName": "Man City v Leeds",
        "startTimestamp": 1796239800,
        "image": "https://assets.sportsbook.fanduel.com/images/team/soccer/epl/man_city.png",
        "teamLogo": "https://assets.sportsbook.fanduel.com/images/team/soccer/epl/man_city.png"
    },
    {
        "term": "Jayson Tatum",
        "name": "J Tatum",
        "type": "player",
        "sportId": "7522",
        "competitionName": "NBA",
        "team": "Boston Celtics",
        "matchId": "36381663",
        "matchName": "Hornets @ Celtics",
        "startTimestamp": 1796258400,
        "image": "https://fdx-api.sportsbook.fanduel.com/images/headshots/nba/2026/f85f9506-7f21-4906-939c-c7243eb73a04/120x120.png",
        "teamLogo": "https://assets.sportsbook.fanduel.com/images/team/nba/boston_celtics.png"
    },
    {
        "term": "Luka Doncic",
        "name": "L Doncic",
        "type": "player",
        "sportId": "7522",
        "competitionName": "NBA",
        "team": "Los Angeles Lakers",
        "matchId": "36381662",
        "matchName": "Lakers @ Pelicans",
        "startTimestamp": 1796260200,
        "image": "https://fdx-api.sportsbook.fanduel.com/images/headshots/nba/2026/512d1158-288b-40cd-85b1-0c0d223c37d7/120x120.png",
        "teamLogo": "https://assets.sportsbook.fanduel.com/images/team/nba/los_angeles_lakers.png"
    },
    {
        "term": "Nikola Jokic",
        "name": "N Jokic",
        "type": "player",
        "sportId": "7522",
        "competitionName": "NBA",
        "team": "Denver Nuggets",
        "matchId": "36381656",
        "matchName": "Nuggets @ 76ers",
        "startTimestamp": 1796256600,
        "image": "https://fdx-api.sportsbook.fanduel.com/images/headshots/nba/2026/edaa9717-4c77-4142-b9de-74a0a8722006/120x120.png",
        "teamLogo": "https://assets.sportsbook.fanduel.com/images/team/nba/denver_nuggets.png"
    },
    {
        "term": "Denver Broncos",
        "name": "Denver Broncos",
        "type": "team",
        "sportId": "6423",
        "competitionName": "NFL",
        "team": "Denver Broncos",
        "matchId": "36359283",
        "matchName": "Dolphins @ Broncos",
        "startTimestamp": 1796591160,
        "image": "https://assets.sportsbook.fanduel.com/images/team/nfl/denver_broncos_jersey.png",
        "teamLogo": "https://assets.sportsbook.fanduel.com/images/team/nfl/denver_broncos.png"
    },
    {
        "term": "Washington Commanders",
        "name": "Washington Commanders",
        "type": "team",
        "sportId": "6423",
        "competitionName": "NFL",
        "team": "Washington Commanders",
        "matchId": "36359278",
        "matchName": "Commanders @ Titans",
        "startTimestamp": 1796580060,
        "image": "https://assets.sportsbook.fanduel.com/images/team/nfl/washington_commanders_jersey.png",
        "teamLogo": "https://assets.sportsbook.fanduel.com/images/team/nfl/washington_commanders.png"
    },
    {
        "term": "Green Bay Packers",
        "name": "Green Bay Packers",
        "type": "team",
        "sportId": "6423",
        "competitionName": "NFL",
        "team": "Green Bay Packers",
        "matchId": "36359284",
        "matchName": "Packers @ Saints",
        "startTimestamp": 1796580060,
        "image": "https://assets.sportsbook.fanduel.com/images/team/nfl/green_bay_packers_jersey.png",
        "teamLogo": "https://assets.sportsbook.fanduel.com/images/team/nfl/green_bay_packers.png"
    },
    {
        "term": "Buffalo Bills",
        "name": "Buffalo Bills",
        "type": "team",
        "sportId": "6423",
        "competitionName": "NFL",
        "team": "Buffalo Bills",
        "matchId": "36359287",
        "matchName": "Bills @ Patriots",
        "startTimestamp": 1796592360,
        "image": "https://assets.sportsbook.fanduel.com/images/team/nfl/buffalo_bills_jersey.png",
        "teamLogo": "https://assets.sportsbook.fanduel.com/images/team/nfl/buffalo_bills.png"
    },
    {
        "term": "NFL",
        "name": "NFL",
        "type": "competition",
        "sportId": null,
        "competitionName": "NFL",
        "team": null,
        "matchId": null,
        "matchName": null,
        "startTimestamp": null,
        "image": "https://assets.sportsbook.fanduel.com/images/league/nfl.png",
        "teamLogo": null
    }
]
获取热门搜索词 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43833/get+trending+searches' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某项运动的赛事(联赛、锦标赛、杯赛),包括其 ID、名称以及博彩公司将其归属的组别(国家、地区或赛事类型)
Endpoint ID: 43834
GET https://zylalabs.com/api/15887/fanduel+api/43834/get+sport+competitions
输入参数

获取体育赛事 — 端点功能

对象 描述
sport_id 必需 Sport id as returned by the sports list (e.g. 7522 for basketball, 1 for soccer)

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


输入参数

sport_id
API 示例响应
JSON
[
    {
        "id": "11369949",
        "name": "NBA Summer League",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12522790",
        "name": "FIBA World Cup - Women",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12661302",
        "name": "Men's Olympics 2024",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12661374",
        "name": "Women's Olympics 2024",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "11341170",
        "name": "BIG3 Basketball Championship",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12000062",
        "name": "The Basketball Tournament",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12348469",
        "name": "Olympics Qualifiers Men",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "11450197",
        "name": "International Friendly Men",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12259988",
        "name": "International Friendly Women",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12620409",
        "name": "Asian Games Women",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "11634638",
        "name": "EuroBasket - Qualification - Men",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "11341427",
        "name": "Eurobasket Women",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "512968",
        "name": "Euroleague",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "10534437",
        "name": "EuroLeague Men",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "8347200",
        "name": "EuroLeague Women",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "10526369",
        "name": "EuroCup Men",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "10604610",
        "name": "EuroCup Women",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12606864",
        "name": "Olympic Pre-Qualifiers Men",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12694575",
        "name": "Arab Club Championship",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "9353347",
        "name": "Argentinian LNB",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12208820",
        "name": "Argentina La Liga",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "11464543",
        "name": "Argentinian Super 20",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "10533436",
        "name": "Australian NBL",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12734341",
        "name": "Australian NBL1 Men",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "6452872",
        "name": "Australian WNBL",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12341767",
        "name": "Australia - NBL1 - Women",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "7",
        "name": "Austrian Bundesliga",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12386756",
        "name": "Bahraini Premier League",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "10509305",
        "name": "Balkan League",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12393883",
        "name": "Belgian Top Division 1",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12391169",
        "name": "Belgian Division 1 Women",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12019931",
        "name": "Bolivia Libobasquet",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12101232",
        "name": "BLNO Norway",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12391195",
        "name": "BNXT League (Belgium & The Netherlands)",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "11464535",
        "name": "Brazilian Campeonato Paulista",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "11763957",
        "name": "Brazilian LBF",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "10366095",
        "name": "Brazilian NBB",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "10543861",
        "name": "British SLB",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "11553352",
        "name": "British BBL Trophy",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12393885",
        "name": "British SLB Women",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "10548378",
        "name": "Bulgarian NBL",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12749298",
        "name": "Canadian - Elite Basketball League",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12313151",
        "name": "Champions League Americas",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12480813",
        "name": "Chile SAESA",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "11689434",
        "name": "Chile - Liga Nacional",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12404989",
        "name": "Chilean Liga Nacional Cup",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12396105",
        "name": "Chilean LNB Segunda",
        "group": "Basketball Leagues",
        "sportId": "7522"
    },
    {
        "id": "12542632",
        "name": "Chinese WCBA",
        "group": "Basketball Leagues",
        "sportId": "7522"
    }
]
获取体育赛事 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43834/get+sport+competitions?sport_id=7522' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某项运动在各项赛事中的即将开始和正在进行的比赛及其参赛方 开始时间和主要投注市场(胜负盘 让分盘 总分盘或比赛结果)以及每个选项及其赔率(美式 十进制和分数格式)真实赔率和隐含概率“date”保留在当天(UTC)开始的比赛
Endpoint ID: 43835
GET https://zylalabs.com/api/15887/fanduel+api/43835/get+sport+matches+with+odds
输入参数

获取体育比赛及赔率 — 端点功能

对象 描述
sport_id 必需 Sport id as returned by the sports list (e.g. 7522 for basketball, 1 for soccer)
date 可选 Start date of the matches in the YYYY-MM-DD format (UTC)

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


输入参数

sport_id
date
API 示例响应
JSON
[
    {
        "id": "36372157",
        "name": "Philadelphia 76ers @ Atlanta Hawks",
        "isOutright": false,
        "startTimestamp": 1796429400,
        "inPlay": false,
        "sportId": "7522",
        "sportName": "Basketball",
        "competitionId": "10547864",
        "competitionName": "NBA",
        "hasVideo": false,
        "hasStatistics": true,
        "participants": [
            {
                "name": "Atlanta Hawks",
                "side": "home"
            },
            {
                "name": "Philadelphia 76ers",
                "side": "away"
            }
        ],
        "markets": [
            {
                "id": "734.199955106",
                "name": "Moneyline",
                "type": "MONEY_LINE",
                "bettingType": "odds",
                "status": "open",
                "inPlay": false,
                "startTimestamp": 1796429400,
                "winners": 1,
                "hasSameGameParlay": true,
                "hasEachWay": false,
                "selections": [
                    {
                        "id": "40274538",
                        "name": "Philadelphia 76ers",
                        "handicap": 0,
                        "side": "away",
                        "status": "active",
                        "odds": {
                            "american": -112,
                            "decimal": 1.89,
                            "fractional": "25/28",
                            "trueDecimal": 1.892857142857143
                        },
                        "impliedProbability": 52.83,
                        "previousOdds": []
                    },
                    {
                        "id": "237490",
                        "name": "Atlanta Hawks",
                        "handicap": 0,
                        "side": "home",
                        "status": "active",
                        "odds": {
                            "american": -104,
                            "decimal": 1.96,
                            "fractional": "25/26",
                            "trueDecimal": 1.961538461538462
                        },
                        "impliedProbability": 50.98,
                        "previousOdds": []
                    }
                ]
            },
            {
                "id": "734.199955107",
                "name": "Spread",
                "type": "MATCH_HANDICAP_(2-WAY)",
                "bettingType": "moving_handicap",
                "status": "open",
                "inPlay": false,
                "startTimestamp": 1796429400,
                "winners": 1,
                "hasSameGameParlay": true,
                "hasEachWay": false,
                "selections": [
                    {
                        "id": "40274538",
                        "name": "Philadelphia 76ers",
                        "handicap": -1.5,
                        "side": "away",
                        "status": "active",
                        "odds": {
                            "american": -104,
                            "decimal": 1.96,
                            "fractional": "25/26",
                            "trueDecimal": 1.961538461538462
                        },
                        "impliedProbability": 50.98,
                        "previousOdds": []
                    },
                    {
                        "id": "237490",
                        "name": "Atlanta Hawks",
                        "handicap": 1.5,
                        "side": "home",
                        "status": "active",
                        "odds": {
                            "american": -118,
                            "decimal": 1.85,
                            "fractional": "50/59",
                            "trueDecimal": 1.847457627118644
                        },
                        "impliedProbability": 54.13,
                        "previousOdds": []
                    }
                ]
            },
            {
                "id": "734.199963584",
                "name": "Total Points",
                "type": "TOTAL_POINTS_(OVER/UNDER)",
                "bettingType": "moving_handicap",
                "status": "open",
                "inPlay": false,
                "startTimestamp": 1796429400,
                "winners": 1,
                "hasSameGameParlay": true,
                "hasEachWay": false,
                "selections": [
                    {
                        "id": "7017823",
                        "name": "Over",
                        "handicap": 228.5,
                        "side": "over",
                        "status": "active",
                        "odds": {
                            "american": -110,
                            "decimal": 1.91,
                            "fractional": "10/11",
                            "trueDecimal": 1.909090909090909
                        },
                        "impliedProbability": 52.38,
                        "previousOdds": []
                    },
                    {
                        "id": "7017824",
                        "name": "Under",
                        "handicap": 228.5,
                        "side": "under",
                        "status": "active",
                        "odds": {
                            "american": -110,
                            "decimal": 1.91,
                            "fractional": "10/11",
                            "trueDecimal": 1.909090909090909
                        },
                        "impliedProbability": 52.38,
                        "previousOdds": []
                    }
                ]
            }
        ]
    }
]
获取体育比赛及赔率 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43835/get+sport+matches+with+odds?sport_id=7522&date=2026-12-05' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一项赛事即将开始和正在进行的比赛及其参赛者、开始时间和主要盘口(独赢盘、让分盘、大小盘或比赛结果),包括每个选项及其赔率(美式、十进制和分数制)、真实赔率和隐含概率
Endpoint ID: 43836
GET https://zylalabs.com/api/15887/fanduel+api/43836/get+competition+matches+with+odds
输入参数

获取带有赔率的比赛投注技巧 — 端点功能

对象 描述
sport_id 必需 Sport id of the competition, as returned by the sports list (e.g. 7522 for basketball)
competition_id 必需 Competition id as returned by the sport competitions (e.g. 10547864 for the NBA)

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


输入参数

sport_id
competition_id
API 示例响应
JSON
{
    "competition": {
        "id": "10547864",
        "name": "NBA",
        "sportId": "7522",
        "sportName": "Basketball"
    },
    "matches": [
        {
            "id": "36381656",
            "name": "Denver Nuggets @ Philadelphia 76ers",
            "isOutright": false,
            "startTimestamp": 1796256600,
            "inPlay": false,
            "sportId": "7522",
            "sportName": "Basketball",
            "competitionId": "10547864",
            "competitionName": "NBA",
            "hasVideo": false,
            "hasStatistics": true,
            "participants": [
                {
                    "name": "Philadelphia 76ers",
                    "side": "home"
                },
                {
                    "name": "Denver Nuggets",
                    "side": "away"
                }
            ],
            "markets": [
                {
                    "id": "734.200253526",
                    "name": "Moneyline",
                    "type": "MONEY_LINE",
                    "bettingType": "odds",
                    "status": "open",
                    "inPlay": false,
                    "startTimestamp": 1796256600,
                    "winners": 1,
                    "hasSameGameParlay": true,
                    "hasEachWay": false,
                    "selections": [
                        {
                            "id": "237492",
                            "name": "Denver Nuggets",
                            "handicap": 0,
                            "side": "away",
                            "status": "active",
                            "odds": {
                                "american": -235,
                                "decimal": 1.43,
                                "fractional": "20/47",
                                "trueDecimal": 1.425531914893617
                            },
                            "impliedProbability": 70.15,
                            "previousOdds": []
                        },
                        {
                            "id": "40274538",
                            "name": "Philadelphia 76ers",
                            "handicap": 0,
                            "side": "home",
                            "status": "active",
                            "odds": {
                                "american": 194,
                                "decimal": 2.94,
                                "fractional": "97/50",
                                "trueDecimal": 2.94
                            },
                            "impliedProbability": 34.01,
                            "previousOdds": []
                        }
                    ]
                },
                {
                    "id": "734.200253527",
                    "name": "Spread",
                    "type": "MATCH_HANDICAP_(2-WAY)",
                    "bettingType": "moving_handicap",
                    "status": "open",
                    "inPlay": false,
                    "startTimestamp": 1796256600,
                    "winners": 1,
                    "hasSameGameParlay": true,
                    "hasEachWay": false,
                    "selections": [
                        {
                            "id": "237492",
                            "name": "Denver Nuggets",
                            "handicap": -5.5,
                            "side": "away",
                            "status": "active",
                            "odds": {
                                "american": -114,
                                "decimal": 1.88,
                                "fractional": "50/57",
                                "trueDecimal": 1.87719298245614
                            },
                            "impliedProbability": 53.27,
                            "previousOdds": []
                        },
                        {
                            "id": "40274538",
                            "name": "Philadelphia 76ers",
                            "handicap": 5.5,
                            "side": "home",
                            "status": "active",
                            "odds": {
                                "american": -106,
                                "decimal": 1.94,
                                "fractional": "50/53",
                                "trueDecimal": 1.943396226415094
                            },
                            "impliedProbability": 51.46,
                            "previousOdds": []
                        }
                    ]
                },
                {
                    "id": "734.200616443",
                    "name": "Total Points",
                    "type": "TOTAL_POINTS_(OVER/UNDER)",
                    "bettingType": "moving_handicap",
                    "status": "open",
                    "inPlay": false,
                    "startTimestamp": 1796256600,
                    "winners": 1,
                    "hasSameGameParlay": true,
                    "hasEachWay": false,
                    "selections": [
                        {
                            "id": "7017823",
                            "name": "Over",
                            "handicap": 226.5,
                            "side": "over",
                            "status": "active",
                            "odds": {
                                "american": -110,
                                "decimal": 1.91,
                                "fractional": "10/11",
                                "trueDecimal": 1.909090909090909
                            },
                            "impliedProbability": 52.38,
                            "previousOdds": []
                        },
                        {
                            "id": "7017824",
                            "name": "Under",
                            "handicap": 226.5,
                            "side": "under",
                            "status": "active",
                            "odds": {
                                "american": -110,
                                "decimal": 1.91,
                                "fractional": "10/11",
                                "trueDecimal": 1.909090909090909
                            },
                            "impliedProbability": 52.38,
                            "previousOdds": []
                        }
                    ]
                }
            ]
        }
    ]
}
获取带有赔率的比赛投注技巧 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43836/get+competition+matches+with+odds?sport_id=7522&competition_id=10547864' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某项赛事的期货投注信息(冠军、联盟和分区冠军、赛季奖项、得分王等),包括每个投注市场、其选项及赔率(美式、十进制和分数形式)、真实赔率和隐含概率
Endpoint ID: 43837
GET https://zylalabs.com/api/15887/fanduel+api/43837/get+competition+outrights+with+odds
输入参数

获取赛事冠军赔率投注平台 — 端点功能

对象 描述
sport_id 必需 Sport id of the competition, as returned by the sports list (e.g. 7522 for basketball)
competition_id 必需 Competition id as returned by the sport competitions (e.g. 10547864 for the NBA)

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


输入参数

sport_id
competition_id
API 示例响应
JSON
{
    "competition": {
        "id": "10547864",
        "name": "NBA",
        "sportId": "7522",
        "sportName": "Basketball"
    },
    "outrights": [
        {
            "id": "28301194",
            "name": "NBA Player Awards",
            "isOutright": true,
            "startTimestamp": 1688774700,
            "inPlay": false,
            "sportId": "7522",
            "sportName": "Basketball",
            "competitionId": "10547864",
            "competitionName": "NBA",
            "hasVideo": false,
            "hasStatistics": true,
            "participants": [],
            "markets": [
                {
                    "id": "734.175632904",
                    "name": "26 -27 NBA Coach of the Year",
                    "type": "NBA_COACH_OF_THE_YEAR.",
                    "bettingType": "odds",
                    "status": "open",
                    "inPlay": false,
                    "startTimestamp": 1807743600,
                    "winners": 1,
                    "hasSameGameParlay": false,
                    "hasEachWay": false,
                    "selections": [
                        {
                            "id": "73140033",
                            "name": "Ime Udoka (Rockets)",
                            "handicap": 0,
                            "side": null,
                            "status": "active",
                            "odds": {
                                "american": 500,
                                "decimal": 6,
                                "fractional": "5/1",
                                "trueDecimal": 6
                            },
                            "impliedProbability": 16.67,
                            "previousOdds": []
                        },
                        {
                            "id": "73140030",
                            "name": "Chris Finch (Timberwolves)",
                            "handicap": 0,
                            "side": null,
                            "status": "active",
                            "odds": {
                                "american": 600,
                                "decimal": 7,
                                "fractional": "6/1",
                                "trueDecimal": 7
                            },
                            "impliedProbability": 14.29,
                            "previousOdds": []
                        },
                        {
                            "id": "73140045",
                            "name": "JJ Redick (Lakers)",
                            "handicap": 0,
                            "side": null,
                            "status": "active",
                            "odds": {
                                "american": 600,
                                "decimal": 7,
                                "fractional": "6/1",
                                "trueDecimal": 7
                            },
                            "impliedProbability": 14.29,
                            "previousOdds": []
                        },
                        {
                            "id": "85984027",
                            "name": "Tuomas Iisalo (Grizzlies)",
                            "handicap": 0,
                            "side": null,
                            "status": "active",
                            "odds": {
                                "american": 650,
                                "decimal": 7.5,
                                "fractional": "13/2",
                                "trueDecimal": 7.5
                            },
                            "impliedProbability": 13.33,
                            "previousOdds": []
                        },
                        {
                            "id": "100397125",
                            "name": "Micah Nori (Blazers)",
                            "handicap": 0,
                            "side": null,
                            "status": "active",
                            "odds": {
                                "american": 700,
                                "decimal": 8,
                                "fractional": "7/1",
                                "trueDecimal": 8
                            },
                            "impliedProbability": 12.5,
                            "previousOdds": []
                        },
                        {
                            "id": "85984029",
                            "name": "Mitch Johnson (Spurs)",
                            "handicap": 0,
                            "side": null,
                            "status": "active",
                            "odds": {
                                "american": 1200,
                                "decimal": 13,
                                "fractional": "12/1",
                                "trueDecimal": 13
                            },
                            "impliedProbability": 7.69,
                            "previousOdds": []
                        },
                        {
                            "id": "73140046",
                            "name": "Nick Nurse (76ers)",
                            "handicap": 0,
                            "side": null,
                            "status": "active",
                            "odds": {
                                "american": 1500,
                                "decimal": 16,
                                "fractional": "15/1",
                                "trueDecimal": 16
                            },
                            "impliedProbability": 6.25,
                            "previousOdds": []
                        }
                    ]
                }
            ]
        }
    ]
}
获取赛事冠军赔率投注平台 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43837/get+competition+outrights+with+odds?sport_id=7522&competition_id=10547864' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回该运动当前正在进行的所有赛事中的比赛,包含参赛者、实时比分(根据运动项目显示得分、节次、盘数、计时或发球方)以及主要盘口中的所有选项和赔率
Endpoint ID: 43838
GET https://zylalabs.com/api/15887/fanduel+api/43838/get+live+matches+with+scores+and+odds
输入参数

获取实时比赛、比分和赔率 — 端点功能

对象 描述
sport_id 必需 Sport id as returned by the live sports list (e.g. 7522 for basketball, 2 for tennis)

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


输入参数

sport_id
API 示例响应
JSON
[
    {
        "id": "36386550",
        "name": "Sonal Patil v Zuzanna Bednarz",
        "isOutright": false,
        "startTimestamp": 1796194420,
        "inPlay": true,
        "sportId": "2",
        "sportName": "Tennis",
        "competitionId": "12848651",
        "competitionName": "ITF W15 Gurugram IND",
        "hasVideo": false,
        "hasStatistics": false,
        "participants": [
            {
                "name": "Sonal Patil",
                "side": "home"
            },
            {
                "name": "Zuzanna Bednarz",
                "side": "away"
            }
        ],
        "markets": [
            {
                "id": "734.200538582",
                "name": "Moneyline",
                "type": "MATCH_BETTING",
                "bettingType": "odds",
                "status": "open",
                "inPlay": true,
                "startTimestamp": 1796194111,
                "winners": 1,
                "hasSameGameParlay": false,
                "hasEachWay": false,
                "selections": [
                    {
                        "id": "63375135",
                        "name": "Sonal Patil",
                        "handicap": 0,
                        "side": "home",
                        "status": "active",
                        "odds": {
                            "american": 340,
                            "decimal": 4.4,
                            "fractional": "17/5",
                            "trueDecimal": 4.4
                        },
                        "impliedProbability": 22.73,
                        "previousOdds": []
                    },
                    {
                        "id": "46906345",
                        "name": "Zuzanna Bednarz",
                        "handicap": 0,
                        "side": "away",
                        "status": "active",
                        "odds": {
                            "american": -550,
                            "decimal": 1.18,
                            "fractional": "2/11",
                            "trueDecimal": 1.181818181818182
                        },
                        "impliedProbability": 84.62,
                        "previousOdds": []
                    }
                ]
            }
        ],
        "score": {
            "type": "Tennis",
            "home": {
                "points": "0",
                "gamesPerSet": [
                    6,
                    2,
                    0
                ],
                "sets": 1
            },
            "away": {
                "points": "0",
                "gamesPerSet": [
                    2,
                    6,
                    0
                ],
                "sets": 1
            },
            "currentSet": 3,
            "totalSets": 3,
            "serving": "HOME"
        }
    },
    {
        "id": "36386559",
        "name": "Gio Jang v Kamonwan Yodpetch",
        "isOutright": false,
        "startTimestamp": 1796194542,
        "inPlay": true,
        "sportId": "2",
        "sportName": "Tennis",
        "competitionId": "12848651",
        "competitionName": "ITF W15 Gurugram IND",
        "hasVideo": false,
        "hasStatistics": false,
        "participants": [
            {
                "name": "Gio Jang",
                "side": "home"
            },
            {
                "name": "Kamonwan Yodpetch",
                "side": "away"
            }
        ],
        "markets": [
            {
                "id": "734.200530879",
                "name": "Moneyline",
                "type": "MATCH_BETTING",
                "bettingType": "odds",
                "status": "open",
                "inPlay": true,
                "startTimestamp": 1796194247,
                "winners": 1,
                "hasSameGameParlay": false,
                "hasEachWay": false,
                "selections": [
                    {
                        "id": "64707709",
                        "name": "Gio Jang",
                        "handicap": 0,
                        "side": "home",
                        "status": "active",
                        "odds": {
                            "american": 2800,
                            "decimal": 29,
                            "fractional": "28/1",
                            "trueDecimal": 29
                        },
                        "impliedProbability": 3.45,
                        "previousOdds": []
                    },
                    {
                        "id": "64457831",
                        "name": "Kamonwan Yodpetch",
                        "handicap": 0,
                        "side": "away",
                        "status": "suspended",
                        "odds": {
                            "american": -20000,
                            "decimal": 1.01,
                            "fractional": "1/200",
                            "trueDecimal": 1.005
                        },
                        "impliedProbability": 99.5,
                        "previousOdds": []
                    }
                ]
            }
        ],
        "score": {
            "type": "Tennis",
            "home": {
                "points": "0",
                "gamesPerSet": [
                    4,
                    1
                ],
                "sets": 0
            },
            "away": {
                "points": "0",
                "gamesPerSet": [
                    6,
                    4
                ],
                "sets": 1
            },
            "currentSet": 2,
            "totalSets": 3,
            "serving": "HOME"
        }
    }
]
获取实时比赛、比分和赔率 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43838/get+live+matches+with+scores+and+odds?sport_id=2' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一场比赛及其所属运动项目、赛事、参赛者、开始时间、是否正在进行、实时比分,以及该比赛提供的所有盘口标签(热门、同场串关、球员道具、单节、半场……)使用这些标签 ID 调用比赛盘口接口
Endpoint ID: 43839
GET https://zylalabs.com/api/15887/fanduel+api/43839/get+match+details+with+market+tabs
输入参数

获取比赛详情并显示市场标签 — 端点功能

对象 描述
match_id 必需 Match id as returned by the sport matches, competition matches, live matches or search (e.g. 36358261)

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


输入参数

match_id
API 示例响应
JSON
{
    "id": "36372157",
    "name": "Philadelphia 76ers @ Atlanta Hawks",
    "isOutright": false,
    "startTimestamp": 1796429400,
    "inPlay": false,
    "sportId": "7522",
    "sportName": "Basketball",
    "competitionId": "10547864",
    "competitionName": "NBA",
    "hasVideo": false,
    "hasStatistics": false,
    "participants": [
        {
            "name": "Atlanta Hawks",
            "side": "home"
        },
        {
            "name": "Philadelphia 76ers",
            "side": "away"
        }
    ],
    "marketTabs": [
        {
            "id": "same-game-parlay-",
            "name": "Same Game Parlay™",
            "isDefault": true,
            "isSameGameParlay": true
        },
        {
            "id": "popular",
            "name": "Popular",
            "isDefault": false,
            "isSameGameParlay": false
        },
        {
            "id": "1st-quarter",
            "name": "1st Quarter",
            "isDefault": false,
            "isSameGameParlay": false
        },
        {
            "id": "2nd-quarter",
            "name": "2nd Quarter",
            "isDefault": false,
            "isSameGameParlay": false
        },
        {
            "id": "3rd-quarter",
            "name": "3rd Quarter",
            "isDefault": false,
            "isSameGameParlay": false
        },
        {
            "id": "4th-quarter",
            "name": "4th Quarter",
            "isDefault": false,
            "isSameGameParlay": false
        },
        {
            "id": "margin",
            "name": "Margin",
            "isDefault": false,
            "isSameGameParlay": false
        },
        {
            "id": "team-props",
            "name": "Team Props",
            "isDefault": false,
            "isSameGameParlay": false
        },
        {
            "id": "odd-even",
            "name": "Odd/Even",
            "isDefault": false,
            "isSameGameParlay": false
        }
    ]
}
获取比赛详情并显示市场标签 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43839/get+match+details+with+market+tabs?match_id=36372157' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回比赛某个盘口标签中的盘口(比赛盘口、球员得分、球员投注项、单节、半场等),包括每个选项及其盘口线、赔率(美式、十进制和分数赔率)、真实赔率、隐含概率和之前的赔率。不带“tab”时,指的是体育博彩网站打开比赛时显示的标签。
Endpoint ID: 43840
GET https://zylalabs.com/api/15887/fanduel+api/43840/get+match+markets+with+odds
输入参数

获取带有赔率的比赛市场 — 端点功能

对象 描述
match_id 必需 Match id as returned by the sport matches, competition matches, live matches or search (e.g. 36358261)
tab 可选 Market tab id as returned in "marketTabs" by the match details (e.g. popular, player-points)

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


输入参数

match_id
tab
API 示例响应
JSON
{
    "match": {
        "id": "36372157",
        "name": "Philadelphia 76ers @ Atlanta Hawks",
        "isOutright": false,
        "startTimestamp": 1796429400,
        "inPlay": false,
        "sportId": "7522",
        "sportName": "Basketball",
        "competitionId": "10547864",
        "competitionName": "NBA",
        "hasVideo": false,
        "hasStatistics": false,
        "participants": [
            {
                "name": "Atlanta Hawks",
                "side": "home"
            },
            {
                "name": "Philadelphia 76ers",
                "side": "away"
            }
        ]
    },
    "tab": {
        "id": "popular",
        "name": "Popular"
    },
    "markets": [
        {
            "id": "734.199955106",
            "name": "Moneyline",
            "type": "MONEY_LINE",
            "bettingType": "odds",
            "status": "open",
            "inPlay": false,
            "startTimestamp": 1796429400,
            "winners": 1,
            "hasSameGameParlay": true,
            "hasEachWay": false,
            "selections": [
                {
                    "id": "40274538",
                    "name": "Philadelphia 76ers",
                    "handicap": 0,
                    "side": "away",
                    "status": "active",
                    "odds": {
                        "american": -112,
                        "decimal": 1.89,
                        "fractional": "25/28",
                        "trueDecimal": 1.892857142857143
                    },
                    "impliedProbability": 52.83,
                    "previousOdds": [
                        {
                            "american": -106,
                            "decimal": 1.94,
                            "fractional": "50/53",
                            "trueDecimal": 1.943396226415094
                        }
                    ]
                },
                {
                    "id": "237490",
                    "name": "Atlanta Hawks",
                    "handicap": 0,
                    "side": "home",
                    "status": "active",
                    "odds": {
                        "american": -104,
                        "decimal": 1.96,
                        "fractional": "25/26",
                        "trueDecimal": 1.961538461538462
                    },
                    "impliedProbability": 50.98,
                    "previousOdds": [
                        {
                            "american": -110,
                            "decimal": 1.91,
                            "fractional": "10/11",
                            "trueDecimal": 1.909090909090909
                        }
                    ]
                }
            ]
        },
        {
            "id": "734.199955107",
            "name": "Spread",
            "type": "MATCH_HANDICAP_(2-WAY)",
            "bettingType": "moving_handicap",
            "status": "open",
            "inPlay": false,
            "startTimestamp": 1796429400,
            "winners": 1,
            "hasSameGameParlay": true,
            "hasEachWay": false,
            "selections": [
                {
                    "id": "40274538",
                    "name": "Philadelphia 76ers",
                    "handicap": -1.5,
                    "side": "away",
                    "status": "active",
                    "odds": {
                        "american": -104,
                        "decimal": 1.96,
                        "fractional": "25/26",
                        "trueDecimal": 1.961538461538462
                    },
                    "impliedProbability": 50.98,
                    "previousOdds": [
                        {
                            "american": -118,
                            "decimal": 1.85,
                            "fractional": "50/59",
                            "trueDecimal": 1.847457627118644
                        }
                    ]
                },
                {
                    "id": "237490",
                    "name": "Atlanta Hawks",
                    "handicap": 1.5,
                    "side": "home",
                    "status": "active",
                    "odds": {
                        "american": -118,
                        "decimal": 1.85,
                        "fractional": "50/59",
                        "trueDecimal": 1.847457627118644
                    },
                    "impliedProbability": 54.13,
                    "previousOdds": [
                        {
                            "american": -104,
                            "decimal": 1.96,
                            "fractional": "25/26",
                            "trueDecimal": 1.961538461538462
                        }
                    ]
                }
            ]
        },
        {
            "id": "734.199963584",
            "name": "Total Points",
            "type": "TOTAL_POINTS_(OVER/UNDER)",
            "bettingType": "moving_handicap",
            "status": "open",
            "inPlay": false,
            "startTimestamp": 1796429400,
            "winners": 1,
            "hasSameGameParlay": true,
            "hasEachWay": false,
            "selections": [
                {
                    "id": "7017823",
                    "name": "Over",
                    "handicap": 228.5,
                    "side": "over",
                    "status": "active",
                    "odds": {
                        "american": -110,
                        "decimal": 1.91,
                        "fractional": "10/11",
                        "trueDecimal": 1.909090909090909
                    },
                    "impliedProbability": 52.38,
                    "previousOdds": []
                },
                {
                    "id": "7017824",
                    "name": "Under",
                    "handicap": 228.5,
                    "side": "under",
                    "status": "active",
                    "odds": {
                        "american": -110,
                        "decimal": 1.91,
                        "fractional": "10/11",
                        "trueDecimal": 1.909090909090909
                    },
                    "impliedProbability": 52.38,
                    "previousOdds": []
                }
            ]
        }
    ]
}
获取带有赔率的比赛市场 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43840/get+match+markets+with+odds?match_id=36372157&tab=popular' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回正在进行的比赛的实时记分牌:比分、每节、盘或局的比分,以及根据运动项目显示的计时器、当前节或发球球员 未进行中的比赛没有记分牌
Endpoint ID: 43841
GET https://zylalabs.com/api/15887/fanduel+api/43841/get+live+match+score
输入参数

获取实时比赛比分 — 端点功能

对象 描述
match_id 必需 Match id as returned by the live matches (e.g. 36360437)

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


输入参数

match_id
API 示例响应
JSON
{
    "matchId": "36360437",
    "type": "Basketball",
    "home": {
        "score": 69,
        "pointsPerPeriod": [
            18,
            14,
            22,
            15
        ]
    },
    "away": {
        "score": 72,
        "pointsPerPeriod": [
            16,
            16,
            18,
            22
        ]
    },
    "currentPeriod": 4,
    "period": "Q4"
}
获取实时比赛比分 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43841/get+live+match+score?match_id=36360437' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
一次返回最多 50 个市场的当前赔率:每个市场的状态、是否正在进行,以及每个选项的盘口、赔率(美式、十进制和分数)、真实赔率、隐含概率和之前的赔率
Endpoint ID: 43842
GET https://zylalabs.com/api/15887/fanduel+api/43842/get+current+odds+of+markets
输入参数

获取市场当前赔率 — 端点功能

对象 描述
market_ids 必需 Up to 50 market ids separated by commas, as returned in "markets" by the match markets, sport matches or competition matches (e.g. 734.199333802)

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


输入参数

market_ids
API 示例响应
JSON
[
    {
        "id": "734.199955106",
        "status": "open",
        "inPlay": false,
        "selections": [
            {
                "id": "40274538",
                "handicap": 0,
                "status": "active",
                "odds": {
                    "american": -112,
                    "decimal": 1.89,
                    "fractional": "25/28",
                    "trueDecimal": 1.892857142857143
                },
                "impliedProbability": 52.83,
                "previousOdds": [
                    {
                        "american": -106,
                        "decimal": 1.94,
                        "fractional": "50/53",
                        "trueDecimal": 1.943396226415094
                    }
                ]
            },
            {
                "id": "237490",
                "handicap": 0,
                "status": "active",
                "odds": {
                    "american": -104,
                    "decimal": 1.96,
                    "fractional": "25/26",
                    "trueDecimal": 1.961538461538462
                },
                "impliedProbability": 50.98,
                "previousOdds": [
                    {
                        "american": -110,
                        "decimal": 1.91,
                        "fractional": "10/11",
                        "trueDecimal": 1.909090909090909
                    }
                ]
            }
        ]
    },
    {
        "id": "734.199955107",
        "status": "open",
        "inPlay": false,
        "selections": [
            {
                "id": "40274538",
                "handicap": -1.5,
                "status": "active",
                "odds": {
                    "american": -104,
                    "decimal": 1.96,
                    "fractional": "25/26",
                    "trueDecimal": 1.961538461538462
                },
                "impliedProbability": 50.98,
                "previousOdds": [
                    {
                        "american": -118,
                        "decimal": 1.85,
                        "fractional": "50/59",
                        "trueDecimal": 1.847457627118644
                    }
                ]
            },
            {
                "id": "237490",
                "handicap": 1.5,
                "status": "active",
                "odds": {
                    "american": -118,
                    "decimal": 1.85,
                    "fractional": "50/59",
                    "trueDecimal": 1.847457627118644
                },
                "impliedProbability": 54.13,
                "previousOdds": [
                    {
                        "american": -104,
                        "decimal": 1.96,
                        "fractional": "25/26",
                        "trueDecimal": 1.961538461538462
                    }
                ]
            }
        ]
    }
]
获取市场当前赔率 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15887/fanduel+api/43842/get+current+odds+of+markets?market_ids=734.199955106,734.199955107' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

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

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

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

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

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 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