FanDuel API

API ID 15887

US sportsbook odds: sports, competitions, upcoming and live matches with odds, outrights, every market in American, decimal and fractional odds, live scores and search.

API Documentation

Endpoints

Request
Returns every sport of the sportsbook with its id and name, in the order the sportsbook lists them.
Endpoint ID: 43829
GET https://zylalabs.com/api/15887/fanduel+api/43829/get+sports
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
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"
    }
]
Get sports — CODE SNIPPETS

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


    
Request
Returns the sports that have matches in play right now, with the number of live matches of each. Use their ids with the live matches endpoint.
Endpoint ID: 43830
GET https://zylalabs.com/api/15887/fanduel+api/43830/get+sports+with+live+matches
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
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
    }
]
Get sports with live matches — CODE SNIPPETS

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


    
Request
Searches the sportsbook for matches and outrights by team, player, competition or event name and returns them with their markets and odds. The results cover one sport at a time: "sports" lists every sport with results, and without "sport" the first of them is returned.
Endpoint ID: 43831
GET https://zylalabs.com/api/15887/fanduel+api/43831/search+matches+and+outrights
INPUT PARAMETERS

Search matches and outrights — Endpoint Features

Object Description
query Required Search text (team, player, competition or event name)
sport Optional Sport name as returned in "sports" by this endpoint (e.g. Basketball, Ice Hockey)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
sport
API EXAMPLE RESPONSE
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
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}
Search matches and outrights — CODE SNIPPETS

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' 


    
Request
Returns search suggestions (teams, players, competitions) for a partly typed text.
Endpoint ID: 43832
GET https://zylalabs.com/api/15887/fanduel+api/43832/get+search+suggestions
INPUT PARAMETERS

Get search suggestions — Endpoint Features

Object Description
query Required Partly typed search text

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
API EXAMPLE RESPONSE
JSON
{
    "query": "lak",
    "suggestions": [
        "Los Angeles Lakers",
        "Vaxjo Lakers",
        "Lake Superior St.",
        "SC Rapperswil-Jona Lakers",
        "LaKelsey Johnson Jr."
    ]
}
Get search suggestions — CODE SNIPPETS

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


    
Request
Returns what is being searched for on the sportsbook right now: players, teams and matches, with the match they belong to, its start time and images.
Endpoint ID: 43833
GET https://zylalabs.com/api/15887/fanduel+api/43833/get+trending+searches
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
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
    }
]
Get trending searches — CODE SNIPPETS

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


    
Request
Returns the competitions (leagues, tournaments, cups) of a sport with their id, name and the group the sportsbook lists them under (a country, a region or a kind of competition).
Endpoint ID: 43834
GET https://zylalabs.com/api/15887/fanduel+api/43834/get+sport+competitions
INPUT PARAMETERS

Get sport competitions — Endpoint Features

Object Description
sport_id Required Sport id as returned by the sports list (e.g. 7522 for basketball, 1 for soccer)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
API EXAMPLE RESPONSE
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"
    }
]
Get sport competitions — CODE SNIPPETS

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


    
Request
Returns the upcoming and live matches of a sport across its competitions, with their participants, start time and main markets (moneyline, spread, total or match result) with every selection and its odds (American, decimal and fractional), true odds and implied probability. "date" keeps the matches starting on that day (UTC).
Endpoint ID: 43835
GET https://zylalabs.com/api/15887/fanduel+api/43835/get+sport+matches+with+odds
INPUT PARAMETERS

Get sport matches with odds — Endpoint Features

Object Description
sport_id Required Sport id as returned by the sports list (e.g. 7522 for basketball, 1 for soccer)
date Optional Start date of the matches in the YYYY-MM-DD format (UTC)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
date
API EXAMPLE RESPONSE
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": []
                    }
                ]
            }
        ]
    }
]
Get sport matches with odds — CODE SNIPPETS

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' 


    
Request
Returns the upcoming and live matches of a competition with their participants, start time and main markets (moneyline, spread, total or match result) with every selection and its odds (American, decimal and fractional), true odds and implied probability.
Endpoint ID: 43836
GET https://zylalabs.com/api/15887/fanduel+api/43836/get+competition+matches+with+odds
INPUT PARAMETERS

Get competition matches with odds — Endpoint Features

Object Description
sport_id Required Sport id of the competition, as returned by the sports list (e.g. 7522 for basketball)
competition_id Required Competition id as returned by the sport competitions (e.g. 10547864 for the NBA)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
competition_id
API EXAMPLE RESPONSE
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": []
                        }
                    ]
                }
            ]
        }
    ]
}
Get competition matches with odds — CODE SNIPPETS

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' 


    
Request
Returns the futures of a competition (champion, conference and division winners, season awards, top scorer…) with every market, its selections and their odds (American, decimal and fractional), true odds and implied probability.
Endpoint ID: 43837
GET https://zylalabs.com/api/15887/fanduel+api/43837/get+competition+outrights+with+odds
INPUT PARAMETERS

Get competition outrights with odds — Endpoint Features

Object Description
sport_id Required Sport id of the competition, as returned by the sports list (e.g. 7522 for basketball)
competition_id Required Competition id as returned by the sport competitions (e.g. 10547864 for the NBA)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
competition_id
API EXAMPLE RESPONSE
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": []
                        }
                    ]
                }
            ]
        }
    ]
}
Get competition outrights with odds — CODE SNIPPETS

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' 


    
Request
Returns the matches of a sport that are in play right now, across all of its competitions, with their participants, live score (points, periods, sets, clock or serve, depending on the sport) and main markets with every selection and its odds.
Endpoint ID: 43838
GET https://zylalabs.com/api/15887/fanduel+api/43838/get+live+matches+with+scores+and+odds
INPUT PARAMETERS

Get live matches with scores and odds — Endpoint Features

Object Description
sport_id Required Sport id as returned by the live sports list (e.g. 7522 for basketball, 2 for tennis)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
API EXAMPLE RESPONSE
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"
        }
    }
]
Get live matches with scores and odds — CODE SNIPPETS

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' 


    
Request
Returns a match with its sport, competition, participants, start time, whether it is in play, its live score and every market tab it offers (popular, same game parlay, player props, quarters, halves…). Use the tab ids with the match markets endpoint.
Endpoint ID: 43839
GET https://zylalabs.com/api/15887/fanduel+api/43839/get+match+details+with+market+tabs
INPUT PARAMETERS

Get match details with market tabs — Endpoint Features

Object Description
match_id Required Match id as returned by the sport matches, competition matches, live matches or search (e.g. 36358261)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

match_id
API EXAMPLE RESPONSE
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
        }
    ]
}
Get match details with market tabs — CODE SNIPPETS

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' 


    
Request
Returns the markets of one market tab of a match (game lines, player points, player props, quarters, halves…) with every selection, its line and its odds (American, decimal and fractional), true odds, implied probability and previous odds. Without "tab" this is the tab the sportsbook opens the match on.
Endpoint ID: 43840
GET https://zylalabs.com/api/15887/fanduel+api/43840/get+match+markets+with+odds
INPUT PARAMETERS

Get match markets with odds — Endpoint Features

Object Description
match_id Required Match id as returned by the sport matches, competition matches, live matches or search (e.g. 36358261)
tab Optional Market tab id as returned in "marketTabs" by the match details (e.g. popular, player-points)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

match_id
tab
API EXAMPLE RESPONSE
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": []
                }
            ]
        }
    ]
}
Get match markets with odds — CODE SNIPPETS

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' 


    
Request
Returns the live scoreboard of a match in play: the score, the score of every period, set or game, and the clock, current period or the player serving, depending on the sport. A match that is not in play has no scoreboard.
Endpoint ID: 43841
GET https://zylalabs.com/api/15887/fanduel+api/43841/get+live+match+score
INPUT PARAMETERS

Get live match score — Endpoint Features

Object Description
match_id Required Match id as returned by the live matches (e.g. 36360437)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

match_id
API EXAMPLE RESPONSE
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"
}
Get live match score — CODE SNIPPETS

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' 


    
Request
Returns the current odds of up to 50 markets at once: the status of each market, whether it is in play, and every selection with its line, its odds (American, decimal and fractional), true odds, implied probability and previous odds.
Endpoint ID: 43842
GET https://zylalabs.com/api/15887/fanduel+api/43842/get+current+odds+of+markets
INPUT PARAMETERS

Get current odds of markets — Endpoint Features

Object Description
market_ids Required 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)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

market_ids
API EXAMPLE RESPONSE
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
                    }
                ]
            }
        ]
    }
]
Get current odds of markets — CODE SNIPPETS

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 Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the FanDuel API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

Starts at
$10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

US sportsbook odds: sports, competitions, upcoming and live matches with odds, outrights, every market in American, decimal and fractional odds, live scores and search.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs