Betfair API

API ID 15366

Betting exchange data: sports, competitions, upcoming and live events, every market with back and lay prices and amounts available, live scores, statistics and horse racing.

API Documentation

Endpoints

Request
Returns every upcoming event of a competition with its start time, country, TV channels and whether it is in play.
Endpoint ID: 41102
GET https://zylalabs.com/api/15366/betfair+api/41102/get+events+of+a+competition
INPUT PARAMETERS

Get events of a competition — Endpoint Features

Object Description
competition_id Required Competition id as returned by the sport competitions (e.g. 10932509 for the English Premier League)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

competition_id
language
API EXAMPLE RESPONSE
JSON
[
    {
        "event_id": 36303120,
        "name": "Brentford v Everton",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-23T20:00:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": [
            "Sky Sports Main Event",
            "Sky Sports Premier League"
        ]
    },
    {
        "event_id": 36320347,
        "name": "Nottm Forest v Chelsea",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-27T20:00:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36321844,
        "name": "Leeds v Coventry",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-28T15:00:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36340078,
        "name": "Man Utd v Brentford",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-28T15:00:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36322594,
        "name": "Ipswich v Aston Villa",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-28T17:30:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36328727,
        "name": "Everton v Liverpool",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-29T12:00:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36326499,
        "name": "Sunderland v Tottenham",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-29T14:05:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36327281,
        "name": "Brighton v Newcastle",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-29T14:05:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36327197,
        "name": "Fulham v Bournemouth",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-29T14:05:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36324789,
        "name": "Crystal Palace v Hull",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-29T14:05:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36329793,
        "name": "Arsenal v Man City",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-11-29T16:30:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36352798,
        "name": "Coventry v Ipswich",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-12-01T20:00:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36348550,
        "name": "Man City v Leeds",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-12-02T19:30:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36348365,
        "name": "Chelsea v Crystal Palace",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-12-02T19:30:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36348548,
        "name": "Liverpool v Sunderland",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-12-02T19:30:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36348364,
        "name": "Hull v Nottm Forest",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-12-02T19:30:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36348353,
        "name": "Bournemouth v Brighton",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-12-02T20:15:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36348363,
        "name": "Aston Villa v Everton",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-12-02T20:15:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36348362,
        "name": "Brentford v Arsenal",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-12-02T20:15:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36348480,
        "name": "Newcastle v Man Utd",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-12-02T20:15:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    },
    {
        "event_id": 36348361,
        "name": "Tottenham v Fulham",
        "sport_id": 1,
        "competition_id": 10932509,
        "country_code": "GB",
        "start_time": "2026-12-03T20:00:00.000Z",
        "in_play": false,
        "can_turn_in_play": true,
        "video_available": false,
        "tv_channels": []
    }
]
Get events of a competition — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41102/get+events+of+a+competition?competition_id=10932509&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the outright markets of a competition (e.g. winner, top goalscorer, relegation, top four finish) with every runner's best three back and lay prices, the amounts available, last traded price, implied probability and the money matched.
Endpoint ID: 41103
GET https://zylalabs.com/api/15366/betfair+api/41103/get+outright+markets+of+a+competition+with+prices
INPUT PARAMETERS

Get outright markets of a competition with prices — Endpoint Features

Object Description
competition_id Required Competition id as returned by the sport competitions (e.g. 10932509 for the English Premier League)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency Optional Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

competition_id
language
currency
API EXAMPLE RESPONSE
JSON
[
    {
        "market_id": "1.258422584",
        "name": "Winner",
        "market_type": "WINNER",
        "betting_type": "ODDS",
        "start_time": "2026-08-21T19:00:00.000Z",
        "suspend_time": "2026-08-21T19:00:00.000Z",
        "status": "OPEN",
        "in_play": false,
        "turn_in_play_enabled": false,
        "total_matched": 3973578.48,
        "total_available": 259665.63,
        "last_match_time": "2026-11-23T15:59:26.564Z",
        "number_of_winners": 1,
        "number_of_runners": 20,
        "number_of_active_runners": 20,
        "bet_delay": 0,
        "starting_price_market": false,
        "each_way_divisor": null,
        "race_number": null,
        "race_type": null,
        "commission_rate": 5,
        "line": null,
        "event": {
            "event_id": 2022802,
            "name": "English Premier League",
            "sport_id": 1,
            "country_code": "GB",
            "timezone": "Europe/London",
            "venue": null,
            "start_time": "2025-08-16T14:00:01.000Z"
        },
        "runners": [
            {
                "selection_id": 1096,
                "name": "Arsenal",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 1,
                "last_price_traded": 1.35,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            },
            {
                "selection_id": 56323,
                "name": "Liverpool",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 2,
                "last_price_traded": 7.8,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            },
            {
                "selection_id": 18567,
                "name": "Brighton",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 3,
                "last_price_traded": 18.5,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            },
            {
                "selection_id": 47999,
                "name": "Man City",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 4,
                "last_price_traded": 22,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            },
            {
                "selection_id": 55190,
                "name": "Chelsea",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 5,
                "last_price_traded": 100,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            },
            {
                "selection_id": 48224,
                "name": "Tottenham",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 6,
                "last_price_traded": 130,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            },
            {
                "selection_id": 1141,
                "name": "Bournemouth",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 7,
                "last_price_traded": 280,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            },
            {
                "selection_id": 48317,
                "name": "Leeds",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 8,
                "last_price_traded": 730,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            },
            {
                "selection_id": 48351,
                "name": "Man Utd",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 9,
                "last_price_traded": 840,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            },
            {
                "selection_id": 63908,
                "name": "Aston Villa",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 10,
                "last_price_traded": 940,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            }
        ]
    }
]
Get outright markets of a competition with prices — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41103/get+outright+markets+of+a+competition+with+prices?competition_id=10932509&language=en¤cy=GBP' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the events of a sport, optionally of one competition, with their start time, competition and one market with every runner's best three back and lay prices with the amounts available, last traded price and the money matched. That market is the match odds unless "market_type" picks another. Events in play come first when sorted by start time.
Endpoint ID: 41104
GET https://zylalabs.com/api/15366/betfair+api/41104/get+upcoming+events+of+a+sport+with+prices
INPUT PARAMETERS

Get upcoming events of a sport with prices — Endpoint Features

Object Description
sport_id Required Sport id as returned by the sports list (e.g. 1 for football, 2 for tennis, 7522 for basketball)
competition_id Optional Competition id as returned by the sport competitions (e.g. 10932509 for the English Premier League)
market_type Optional Market type code shown with every event, as returned by the sport market types (e.g. MATCH_ODDS, OVER_UNDER_25, BOTH_TEAMS_TO_SCORE)
sort Optional Order of the events: start_time (soonest first), matched (most money matched first), available (most money available first) or rank (the exchange's own order)
page Optional Page number, 25 events a page
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency Optional Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
competition_id
market_type
sort
page
language
currency
API EXAMPLE RESPONSE
JSON
{
    "page": 1,
    "total": 21,
    "has_next_page": false,
    "events": [
        {
            "event_id": 36303120,
            "name": "Brentford v Everton",
            "sport_id": 1,
            "sport_name": "Soccer",
            "competition_id": 10932509,
            "competition_name": "English Premier League",
            "country_code": "GB",
            "timezone": "GMT",
            "venue": null,
            "start_time": "2026-11-23T20:00:00.000Z",
            "video_available": false,
            "tv_channels": [
                "Sky Sports Main Event",
                "Sky Sports Premier League"
            ],
            "market": {
                "market_id": "1.265321700",
                "name": "Match Odds",
                "market_type": "MATCH_ODDS",
                "betting_type": "ODDS",
                "start_time": "2026-11-23T20:00:00.000Z",
                "suspend_time": "2026-11-23T20:00:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "turn_in_play_enabled": true,
                "total_matched": 260372.5,
                "total_available": 740625.46,
                "last_match_time": "2026-11-23T15:57:34.863Z",
                "number_of_winners": 1,
                "number_of_runners": 3,
                "number_of_active_runners": 3,
                "bet_delay": 0,
                "starting_price_market": true,
                "each_way_divisor": null,
                "race_number": null,
                "race_type": null,
                "commission_rate": 5,
                "line": null,
                "runners": [
                    {
                        "selection_id": 78864,
                        "name": "Brentford",
                        "handicap": 0,
                        "status": "ACTIVE",
                        "sort_priority": 1,
                        "last_price_traded": 2.4,
                        "best_back_price": 2.4,
                        "best_lay_price": 2.42,
                        "implied_probability": 41.67,
                        "back": [
                            {
                                "price": 2.4,
                                "size": 5494.66
                            },
                            {
                                "price": 2.38,
                                "size": 15982.16
                            },
                            {
                                "price": 2.36,
                                "size": 24319.14
                            }
                        ],
                        "lay": [
                            {
                                "price": 2.42,
                                "size": 15984.78
                            },
                            {
                                "price": 2.44,
                                "size": 36967.86
                            },
                            {
                                "price": 2.46,
                                "size": 12012.52
                            }
                        ]
                    },
                    {
                        "selection_id": 56343,
                        "name": "Everton",
                        "handicap": 0,
                        "status": "ACTIVE",
                        "sort_priority": 2,
                        "last_price_traded": 3.3,
                        "best_back_price": 3.25,
                        "best_lay_price": 3.3,
                        "implied_probability": 30.77,
                        "back": [
                            {
                                "price": 3.25,
                                "size": 19771.36
                            },
                            {
                                "price": 3.2,
                                "size": 28727.74
                            },
                            {
                                "price": 3.15,
                                "size": 12516.9
                            }
                        ],
                        "lay": [
                            {
                                "price": 3.3,
                                "size": 4586.67
                            },
                            {
                                "price": 3.35,
                                "size": 13466.51
                            },
                            {
                                "price": 3.4,
                                "size": 24518.96
                            }
                        ]
                    },
                    {
                        "selection_id": 58805,
                        "name": "The Draw",
                        "handicap": 0,
                        "status": "ACTIVE",
                        "sort_priority": 3,
                        "last_price_traded": 3.6,
                        "best_back_price": 3.55,
                        "best_lay_price": 3.6,
                        "implied_probability": 28.17,
                        "back": [
                            {
                                "price": 3.55,
                                "size": 21273.9
                            },
                            {
                                "price": 3.5,
                                "size": 22424.61
                            },
                            {
                                "price": 3.45,
                                "size": 16584.23
                            }
                        ],
                        "lay": [
                            {
                                "price": 3.6,
                                "size": 34212.72
                            },
                            {
                                "price": 3.65,
                                "size": 21186.63
                            },
                            {
                                "price": 3.7,
                                "size": 21851.27
                            }
                        ]
                    }
                ]
            }
        }
    ]
}
Get upcoming events of a sport with prices — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41104/get+upcoming+events+of+a+sport+with+prices?sport_id=1&competition_id=10932509&market_type=MATCH_ODDS&sort=start_time&page=1&language=en¤cy=GBP' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the events of a sport whose market starts on the given day (UTC), with their start time, competition and one market with every runner's best three back and lay prices with the amounts available, last traded price and the money matched. That market is the match odds unless "market_type" picks another.
Endpoint ID: 41105
GET https://zylalabs.com/api/15366/betfair+api/41105/get+events+of+a+sport+by+date+with+prices
INPUT PARAMETERS

Get events of a sport by date with prices — Endpoint Features

Object Description
sport_id Required Sport id as returned by the sports list (e.g. 1 for football, 2 for tennis, 7522 for basketball)
date Required Day in the format YYYY-MM-DD (UTC), today or later
market_type Optional Market type code shown with every event, as returned by the sport market types (e.g. MATCH_ODDS, OVER_UNDER_25, BOTH_TEAMS_TO_SCORE)
sort Optional Order of the events: start_time (soonest first), matched (most money matched first), available (most money available first) or rank (the exchange's own order)
page Optional Page number, 25 events a page
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency Optional Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
date
market_type
sort
page
language
currency
API EXAMPLE RESPONSE
JSON
{
    "page": 1,
    "total": 66,
    "has_next_page": true,
    "events": [
        {
            "event_id": 36352923,
            "name": "Barnsley U21 v Bolton U21",
            "sport_id": 1,
            "sport_name": "Soccer",
            "competition_id": 12511339,
            "competition_name": "English U21 Pro Development League",
            "country_code": "GB",
            "timezone": "GMT",
            "venue": null,
            "start_time": "2026-11-23T13:00:00.000Z",
            "video_available": false,
            "tv_channels": [],
            "market": {
                "market_id": "1.265950966",
                "name": "Match Odds",
                "market_type": "MATCH_ODDS",
                "betting_type": "ODDS",
                "start_time": "2026-11-23T13:00:00.000Z",
                "suspend_time": "2026-11-23T13:00:00.000Z",
                "status": "SUSPENDED",
                "in_play": false,
                "turn_in_play_enabled": false,
                "total_matched": 174.63,
                "total_available": 1419.03,
                "last_match_time": "2026-11-23T14:13:53.671Z",
                "number_of_winners": 1,
                "number_of_runners": 3,
                "number_of_active_runners": 3,
                "bet_delay": 0,
                "starting_price_market": false,
                "each_way_divisor": null,
                "race_number": null,
                "race_type": null,
                "commission_rate": 5,
                "line": null,
                "runners": [
                    {
                        "selection_id": 6667038,
                        "name": "Barnsley U21",
                        "handicap": 0,
                        "status": "ACTIVE",
                        "sort_priority": 1,
                        "last_price_traded": 2.32,
                        "best_back_price": 1.04,
                        "best_lay_price": 1000,
                        "implied_probability": 96.15,
                        "back": [
                            {
                                "price": 1.04,
                                "size": 172.28
                            },
                            {
                                "price": 1.03,
                                "size": 167.41
                            },
                            {
                                "price": 1.02,
                                "size": 167.48
                            }
                        ],
                        "lay": [
                            {
                                "price": 1000,
                                "size": 3.64
                            }
                        ]
                    },
                    {
                        "selection_id": 6594013,
                        "name": "Bolton U21",
                        "handicap": 0,
                        "status": "ACTIVE",
                        "sort_priority": 2,
                        "last_price_traded": 2.66,
                        "best_back_price": 1.04,
                        "best_lay_price": 1000,
                        "implied_probability": 96.15,
                        "back": [
                            {
                                "price": 1.04,
                                "size": 173.45
                            },
                            {
                                "price": 1.03,
                                "size": 167.41
                            },
                            {
                                "price": 1.02,
                                "size": 167.48
                            }
                        ],
                        "lay": [
                            {
                                "price": 1000,
                                "size": 4.46
                            }
                        ]
                    },
                    {
                        "selection_id": 58805,
                        "name": "The Draw",
                        "handicap": 0,
                        "status": "ACTIVE",
                        "sort_priority": 3,
                        "last_price_traded": 4.9,
                        "best_back_price": 1.01,
                        "best_lay_price": 750,
                        "implied_probability": 99.01,
                        "back": [
                            {
                                "price": 1.01,
                                "size": 21.71
                            }
                        ],
                        "lay": [
                            {
                                "price": 750,
                                "size": 3.8
                            }
                        ]
                    }
                ]
            }
        }
    ]
}
Get events of a sport by date with prices — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41105/get+events+of+a+sport+by+date+with+prices?sport_id=1&date=2026-11-23&market_type=MATCH_ODDS&sort=start_time&page=1&language=en¤cy=GBP' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the events in play, of one sport or of the whole exchange, with their live score and one market with every runner's best three back and lay prices with the amounts available, last traded price and the money matched. That market is the match odds unless "market_type" picks another.
Endpoint ID: 41106
GET https://zylalabs.com/api/15366/betfair+api/41106/get+live+events+with+scores+and+prices
INPUT PARAMETERS

Get live events with scores and prices — Endpoint Features

Object Description
sport_id Optional Sport id as returned by the sports list (e.g. 1 for football, 2 for tennis); every sport when left out
market_type Optional Market type code shown with every event, as returned by the sport market types (e.g. MATCH_ODDS, OVER_UNDER_25, BOTH_TEAMS_TO_SCORE)
page Optional Page number, 25 events a page
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency Optional Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
market_type
page
language
currency
API EXAMPLE RESPONSE
JSON
{
    "page": 1,
    "total": 10,
    "has_next_page": false,
    "events": [
        {
            "event_id": 36351611,
            "name": "Al Jeel v Al-Saqer FC",
            "sport_id": 1,
            "sport_name": "Soccer",
            "competition_id": 2315454,
            "competition_name": "Saudi 1st Division",
            "country_code": "SA",
            "timezone": "GMT",
            "venue": null,
            "start_time": "2026-11-23T14:30:00.000Z",
            "video_available": false,
            "tv_channels": [],
            "market": {
                "market_id": "1.265932243",
                "name": "Match Odds",
                "market_type": "MATCH_ODDS",
                "betting_type": "ODDS",
                "start_time": "2026-11-23T14:30:00.000Z",
                "suspend_time": "2026-11-23T14:30:00.000Z",
                "status": "OPEN",
                "in_play": true,
                "turn_in_play_enabled": true,
                "total_matched": 6154.45,
                "total_available": 12149.26,
                "last_match_time": "2026-11-23T15:59:59.021Z",
                "number_of_winners": 1,
                "number_of_runners": 3,
                "number_of_active_runners": 3,
                "bet_delay": 5,
                "starting_price_market": false,
                "each_way_divisor": null,
                "race_number": null,
                "race_type": null,
                "commission_rate": 5,
                "line": null,
                "runners": [
                    {
                        "selection_id": 7899418,
                        "name": "Al Jeel",
                        "handicap": 0,
                        "status": "ACTIVE",
                        "sort_priority": 1,
                        "last_price_traded": 4.9,
                        "best_back_price": 4.8,
                        "best_lay_price": 5.1,
                        "implied_probability": 20.83,
                        "back": [
                            {
                                "price": 4.8,
                                "size": 140.95
                            },
                            {
                                "price": 4.7,
                                "size": 199.98
                            },
                            {
                                "price": 4.6,
                                "size": 273.49
                            }
                        ],
                        "lay": [
                            {
                                "price": 5.1,
                                "size": 115.91
                            },
                            {
                                "price": 5.2,
                                "size": 34
                            },
                            {
                                "price": 5.3,
                                "size": 182.88
                            }
                        ]
                    },
                    {
                        "selection_id": 42105035,
                        "name": "Al-Saqer FC",
                        "handicap": 0,
                        "status": "ACTIVE",
                        "sort_priority": 2,
                        "last_price_traded": 3.85,
                        "best_back_price": 4.1,
                        "best_lay_price": 4.4,
                        "implied_probability": 24.39,
                        "back": [
                            {
                                "price": 4.1,
                                "size": 183.59
                            },
                            {
                                "price": 4,
                                "size": 96.95
                            },
                            {
                                "price": 3.95,
                                "size": 227.6
                            }
                        ],
                        "lay": [
                            {
                                "price": 4.4,
                                "size": 188.36
                            },
                            {
                                "price": 4.5,
                                "size": 406.74
                            },
                            {
                                "price": 4.6,
                                "size": 189.85
                            }
                        ]
                    },
                    {
                        "selection_id": 58805,
                        "name": "The Draw",
                        "handicap": 0,
                        "status": "ACTIVE",
                        "sort_priority": 3,
                        "last_price_traded": 1.8,
                        "best_back_price": 1.75,
                        "best_lay_price": 1.79,
                        "implied_probability": 57.14,
                        "back": [
                            {
                                "price": 1.75,
                                "size": 414.76
                            },
                            {
                                "price": 1.74,
                                "size": 82
                            },
                            {
                                "price": 1.73,
                                "size": 424.7
                            }
                        ],
                        "lay": [
                            {
                                "price": 1.79,
                                "size": 16.75
                            },
                            {
                                "price": 1.8,
                                "size": 78
                            },
                            {
                                "price": 1.81,
                                "size": 368.94
                            }
                        ]
                    }
                ]
            },
            "score": {
                "event_id": 36351611,
                "sport_id": 1,
                "status": "SecondHalfKickOff",
                "minute": 69,
                "seconds": 26,
                "score": {
                    "home": {
                        "name": "Al Jeel",
                        "score": "2",
                        "half_time_score": "2",
                        "full_time_score": null,
                        "penalties_score": null,
                        "penalties_sequence": [],
                        "games": null,
                        "sets": null,
                        "highlight": false,
                        "number_of_yellow_cards": 1,
                        "number_of_red_cards": 0,
                        "number_of_cards": 1,
                        "number_of_corners": 2,
                        "number_of_corners_first_half": 1,
                        "number_of_corners_second_half": 1,
                        "booking_points": 10
                    },
                    "away": {
                        "name": "Al-Saqer FC",
                        "score": "2",
                        "half_time_score": "1",
                        "full_time_score": null,
                        "penalties_score": null,
                        "penalties_sequence": [],
                        "games": null,
                        "sets": null,
                        "highlight": true,
                        "number_of_yellow_cards": 0,
                        "number_of_red_cards": 0,
                        "number_of_cards": 0,
                        "number_of_corners": 1,
                        "number_of_corners_first_half": 0,
                        "number_of_corners_second_half": 1,
                        "booking_points": 0
                    },
                    "number_of_yellow_cards": 1,
                    "number_of_red_cards": 0,
                    "number_of_cards": 1,
                    "number_of_corners": 3,
                    "number_of_corners_first_half": 1,
                    "number_of_corners_second_half": 2,
                    "booking_points": 10
                },
                "elapsed_regular_time": 69,
                "has_sets": false,
                "full_time_elapsed": {
                    "hour": 0,
                    "min": 0,
                    "sec": 0
                }
            }
        }
    ]
}
Get live events with scores and prices — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41106/get+live+events+with+scores+and+prices?sport_id=1&market_type=MATCH_ODDS&page=1&language=en¤cy=GBP' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns an event with its name, sport, competition, start time, country, TV channels, whether it is in play, the number of open markets, the market types it offers and its live score.
Endpoint ID: 41107
GET https://zylalabs.com/api/15366/betfair+api/41107/get+event+details
INPUT PARAMETERS

Get event details — Endpoint Features

Object Description
event_id Required Event id as returned by the event lists or the search (e.g. 36303120)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

event_id
language
API EXAMPLE RESPONSE
JSON
{
    "event_id": 36303120,
    "name": "Brentford v Everton",
    "sport_id": 1,
    "sport_name": "Soccer",
    "competition_id": 10932509,
    "competition_name": "English Premier League",
    "country_code": "GB",
    "timezone": "GMT",
    "venue": null,
    "start_time": "2026-11-23T20:00:00.000Z",
    "video_available": false,
    "tv_channels": [
        "Sky Sports Main Event",
        "Sky Sports Premier League"
    ],
    "in_play": false,
    "number_of_markets": 61,
    "market_types": [
        "MATCH_ODDS",
        "CORRECT_SCORE",
        "OVER_UNDER_05",
        "OVER_UNDER_15",
        "OVER_UNDER_25",
        "OVER_UNDER_35",
        "OVER_UNDER_45",
        "OVER_UNDER_55",
        "OVER_UNDER_65",
        "OVER_UNDER_75",
        "OVER_UNDER_85",
        "ASIAN_HANDICAP",
        "ALT_TOTAL_GOALS",
        "BOTH_TEAMS_TO_SCORE",
        "HALF_TIME",
        "DRAW_NO_BET",
        "HALF_TIME_SCORE",
        "HALF_TIME_FULL_TIME",
        "TO_SCORE_2_OR_MORE",
        "TO_SCORE_HATTRICK",
        "SHOTS_ON_TARGET_P1",
        "SHOTS_ON_TARGET_P2",
        "SHOWN_A_CARD",
        "TO_SCORE",
        "MATCH_SPECIALS",
        "OVER_UNDER_35_CARDS",
        "OVER_UNDER_25_CARDS",
        "MATCH_ODDS_AND_BTTS",
        "OVER_UNDER_85_CORNR",
        "PENALTY_TAKEN",
        "CORRECT_SCORE2",
        "FIRST_GOAL_SCORER",
        "OVER_UNDER_105_CORNR",
        "SENDING_OFF",
        "TEAM_A_2",
        "TEAM_B_1",
        "TEAM_A_3",
        "TEAM_B_2",
        "TEAM_B_3",
        "TEAM_A_WIN_TO_NIL",
        "TEAM_B_WIN_TO_NIL",
        "FIRST_HALF_GOALS_25",
        "ODD_OR_EVEN",
        "TEAM_A_1",
        "FIRST_HALF_GOALS_05",
        "FIRST_HALF_GOALS_15",
        "MATCH_ODDS_AND_OU_25",
        "TEAM_A_OVER_UNDER_25",
        "MATCH_ODDS_AND_OU_35",
        "TEAM_A_OVER_UNDER_15",
        "TEAM_B_OVER_UNDER_15",
        "TEAM_B_OVER_UNDER_25",
        "TEAM_A_OVER_UNDER_05",
        "TEAM_B_OVER_UNDER_05",
        "FIRST_HALF_GOALS_35",
        "OVER_UNDER_45_CARDS",
        "OVER_UNDER_55_CARDS",
        "OVER_UNDER_95_CORNR",
        "OVER_UNDER_115_CORNR",
        "DOUBLE_CHANCE"
    ],
    "score": null
}
Get event details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41107/get+event+details?event_id=36303120&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns every market of an event with its type, status, money matched and available, commission rate and every runner with its best three back and lay prices, the amounts available, last traded price and implied probability. "market_type" keeps one type of market.
Endpoint ID: 41108
GET https://zylalabs.com/api/15366/betfair+api/41108/get+all+markets+of+an+event+with+prices
INPUT PARAMETERS

Get all markets of an event with prices — Endpoint Features

Object Description
event_id Required Event id as returned by the event lists or the search (e.g. 36303120)
market_type Optional Market type code to keep, as returned by the sport market types (e.g. MATCH_ODDS, OVER_UNDER_25, CORRECT_SCORE); every market when left out
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency Optional Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

event_id
market_type
language
currency
API EXAMPLE RESPONSE
JSON
[
    {
        "market_id": "1.265321639",
        "name": "Over/Under 2.5 Goals",
        "market_type": "OVER_UNDER_25",
        "betting_type": "ODDS",
        "start_time": "2026-11-23T20:00:00.000Z",
        "suspend_time": "2026-11-23T20:00:00.000Z",
        "status": "OPEN",
        "in_play": false,
        "turn_in_play_enabled": true,
        "total_matched": 10582.18,
        "total_available": 81708.72,
        "last_match_time": "2026-11-23T15:56:21.478Z",
        "number_of_winners": 1,
        "number_of_runners": 2,
        "number_of_active_runners": 2,
        "bet_delay": 0,
        "starting_price_market": false,
        "each_way_divisor": null,
        "race_number": null,
        "race_type": null,
        "commission_rate": 5,
        "line": null,
        "event": {
            "event_id": 36303120,
            "name": "Brentford v Everton",
            "sport_id": 1,
            "country_code": "GB",
            "timezone": "GMT",
            "venue": null,
            "start_time": "2026-11-23T20:00:00.000Z"
        },
        "runners": [
            {
                "selection_id": 47972,
                "name": "Under 2.5 Goals",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 1,
                "last_price_traded": 2.04,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            },
            {
                "selection_id": 47973,
                "name": "Over 2.5 Goals",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 2,
                "last_price_traded": 1.96,
                "best_back_price": null,
                "best_lay_price": null,
                "implied_probability": null,
                "back": [],
                "lay": []
            }
        ]
    }
]
Get all markets of an event with prices — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41108/get+all+markets+of+an+event+with+prices?event_id=36303120&market_type=OVER_UNDER_25&language=en¤cy=GBP' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the live score of an event in play: the score of each side, half time, full time and penalty scores, sets and games, cards, corners and booking points, the match status and the minute played.
Endpoint ID: 41109
GET https://zylalabs.com/api/15366/betfair+api/41109/get+live+score+of+an+event
INPUT PARAMETERS

Get live score of an event — Endpoint Features

Object Description
event_id Required Event id as returned by the event lists or the search (e.g. 36303120)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

event_id
language
API EXAMPLE RESPONSE
JSON
{
    "event_id": 36351611,
    "sport_id": 1,
    "status": "SecondHalfKickOff",
    "minute": 69,
    "seconds": 26,
    "score": {
        "home": {
            "name": "Al Jeel",
            "score": "2",
            "half_time_score": "2",
            "full_time_score": null,
            "penalties_score": null,
            "penalties_sequence": [],
            "games": null,
            "sets": null,
            "highlight": false,
            "number_of_yellow_cards": 1,
            "number_of_red_cards": 0,
            "number_of_cards": 1,
            "number_of_corners": 2,
            "number_of_corners_first_half": 1,
            "number_of_corners_second_half": 1,
            "booking_points": 10
        },
        "away": {
            "name": "Al-Saqer FC",
            "score": "2",
            "half_time_score": "1",
            "full_time_score": null,
            "penalties_score": null,
            "penalties_sequence": [],
            "games": null,
            "sets": null,
            "highlight": true,
            "number_of_yellow_cards": 0,
            "number_of_red_cards": 0,
            "number_of_cards": 0,
            "number_of_corners": 1,
            "number_of_corners_first_half": 0,
            "number_of_corners_second_half": 1,
            "booking_points": 0
        },
        "number_of_yellow_cards": 1,
        "number_of_red_cards": 0,
        "number_of_cards": 1,
        "number_of_corners": 3,
        "number_of_corners_first_half": 1,
        "number_of_corners_second_half": 2,
        "booking_points": 10
    },
    "elapsed_regular_time": 69,
    "has_sets": false,
    "full_time_elapsed": {
        "hour": 0,
        "min": 0,
        "sec": 0
    }
}
Get live score of an event — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41109/get+live+score+of+an+event?event_id=36351611&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the live score of an event in play together with its incidents (kick off, goals, cards, corners, substitutions, half time) in order, each with its minute and team.
Endpoint ID: 41110
GET https://zylalabs.com/api/15366/betfair+api/41110/get+incidents+of+an+event
INPUT PARAMETERS

Get incidents of an event — Endpoint Features

Object Description
event_id Required Event id as returned by the event lists or the search (e.g. 36303120)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

event_id
language
API EXAMPLE RESPONSE
JSON
{
    "event_id": 36351611,
    "sport_id": 1,
    "status": null,
    "minute": 69,
    "seconds": null,
    "score": {
        "home": {
            "name": "Al Jeel",
            "score": "2",
            "half_time_score": "2",
            "full_time_score": null,
            "penalties_score": null,
            "penalties_sequence": [],
            "games": null,
            "sets": null,
            "highlight": false,
            "number_of_yellow_cards": 1,
            "number_of_red_cards": 0,
            "number_of_cards": 1,
            "number_of_corners": 2,
            "number_of_corners_first_half": 1,
            "number_of_corners_second_half": 1,
            "booking_points": 10
        },
        "away": {
            "name": "Al-Saqer FC",
            "score": "2",
            "half_time_score": "1",
            "full_time_score": null,
            "penalties_score": null,
            "penalties_sequence": [],
            "games": null,
            "sets": null,
            "highlight": true,
            "number_of_yellow_cards": 0,
            "number_of_red_cards": 0,
            "number_of_cards": 0,
            "number_of_corners": 1,
            "number_of_corners_first_half": 0,
            "number_of_corners_second_half": 1,
            "booking_points": 0
        },
        "number_of_yellow_cards": 1,
        "number_of_red_cards": 0,
        "number_of_cards": 1,
        "number_of_corners": 3,
        "number_of_corners_first_half": 1,
        "number_of_corners_second_half": 2,
        "booking_points": 10
    },
    "elapsed_regular_time": 69,
    "in_play_match_status": "SecondHalfKickOff",
    "incidents": [
        {
            "id": 0,
            "type": "KickOff",
            "team": null,
            "team_name": null,
            "minute": 0,
            "elapsed_regular_time": 0,
            "elapsed_added_time": null,
            "time": null
        },
        {
            "id": 1,
            "type": "Goal",
            "team": "home",
            "team_name": "Al Jeel",
            "minute": 30,
            "elapsed_regular_time": 30,
            "elapsed_added_time": null,
            "time": null
        },
        {
            "id": 2,
            "type": "Goal",
            "team": "away",
            "team_name": "Al-Saqer FC",
            "minute": 46,
            "elapsed_regular_time": 45,
            "elapsed_added_time": 1,
            "time": null
        },
        {
            "id": 3,
            "type": "Goal",
            "team": "home",
            "team_name": "Al Jeel",
            "minute": 48,
            "elapsed_regular_time": 45,
            "elapsed_added_time": 3,
            "time": null
        },
        {
            "id": 4,
            "type": "SecondHalfKickOff",
            "team": null,
            "team_name": null,
            "minute": 45,
            "elapsed_regular_time": 45,
            "elapsed_added_time": null,
            "time": null
        },
        {
            "id": 5,
            "type": "Goal",
            "team": "away",
            "team_name": "Al-Saqer FC",
            "minute": 51,
            "elapsed_regular_time": 51,
            "elapsed_added_time": null,
            "time": null
        },
        {
            "id": 6,
            "type": "YellowCard",
            "team": "home",
            "team_name": "Al Jeel",
            "minute": 61,
            "elapsed_regular_time": 61,
            "elapsed_added_time": null,
            "time": null
        }
    ]
}
Get incidents of an event — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41110/get+incidents+of+an+event?event_id=36351611&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the statistics of a football match: the league table, the line-ups, the recent results and scorers of each team, their head to head results and match facts.
Endpoint ID: 41111
GET https://zylalabs.com/api/15366/betfair+api/41111/get+statistics+of+a+football+match
INPUT PARAMETERS

Get statistics of a football match — Endpoint Features

Object Description
event_id Required Event id as returned by the event lists or the search (e.g. 36303120)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

event_id
language
API EXAMPLE RESPONSE
JSON
{
    "event_id": 36303120,
    "table": {
        "competition_name": "British Soccer - English Premier League",
        "table_rows": [
            {
                "selection_id": 1096,
                "position": 1,
                "team": "Arsenal",
                "points": 26,
                "matches_played": 11,
                "matches_won": 8,
                "matches_drawn": 2,
                "matches_lost": 1,
                "goals_scored": 20,
                "goals_conceded": 5
            },
            {
                "selection_id": 47999,
                "position": 2,
                "team": "Man City",
                "points": 22,
                "matches_played": 11,
                "matches_won": 7,
                "matches_drawn": 1,
                "matches_lost": 3,
                "goals_scored": 23,
                "goals_conceded": 8
            },
            {
                "selection_id": 55190,
                "position": 3,
                "team": "Chelsea",
                "points": 20,
                "matches_played": 11,
                "matches_won": 6,
                "matches_drawn": 2,
                "matches_lost": 3,
                "goals_scored": 21,
                "goals_conceded": 11
            },
            {
                "position": 4,
                "points": 19,
                "matches_played": 11,
                "matches_won": 5,
                "matches_drawn": 4,
                "matches_lost": 2,
                "goals_scored": 14,
                "goals_conceded": 10
            },
            {
                "selection_id": 48224,
                "position": 5,
                "team": "Tottenham",
                "points": 18,
                "matches_played": 11,
                "matches_won": 5,
                "matches_drawn": 3,
                "matches_lost": 3,
                "goals_scored": 19,
                "goals_conceded": 10
            },
            {
                "selection_id": 63908,
                "position": 6,
                "team": "Aston Villa",
                "points": 18,
                "matches_played": 11,
                "matches_won": 5,
                "matches_drawn": 3,
                "matches_lost": 3,
                "goals_scored": 13,
                "goals_conceded": 10
            },
            {
                "selection_id": 48351,
                "position": 7,
                "team": "Man Utd",
                "points": 18,
                "matches_played": 11,
                "matches_won": 5,
                "matches_drawn": 3,
                "matches_lost": 3,
                "goals_scored": 19,
                "goals_conceded": 18
            },
            {
                "selection_id": 56323,
                "position": 8,
                "team": "Liverpool",
                "points": 18,
                "matches_played": 11,
                "matches_won": 6,
                "matches_drawn": 0,
                "matches_lost": 5,
                "goals_scored": 18,
                "goals_conceded": 17
            },
            {
                "selection_id": 1141,
                "position": 9,
                "team": "Bournemouth",
                "points": 18,
                "matches_played": 11,
                "matches_won": 5,
                "matches_drawn": 3,
                "matches_lost": 3,
                "goals_scored": 17,
                "goals_conceded": 18
            },
            {
                "selection_id": 52689,
                "position": 10,
                "team": "C Palace",
                "points": 17,
                "matches_played": 11,
                "matches_won": 4,
                "matches_drawn": 5,
                "matches_lost": 2,
                "goals_scored": 14,
                "goals_conceded": 9
            },
            {
                "selection_id": 18567,
                "position": 11,
                "team": "Brighton",
                "points": 16,
                "matches_played": 11,
                "matches_won": 4,
                "matches_drawn": 4,
                "matches_lost": 3,
                "goals_scored": 17,
                "goals_conceded": 15
            },
            {
                "position": 12,
                "points": 16,
                "matches_played": 11,
                "matches_won": 5,
                "matches_drawn": 1,
                "matches_lost": 5,
                "goals_scored": 17,
                "goals_conceded": 17
            },
            {
                "selection_id": 56343,
                "position": 13,
                "team": "Everton",
                "points": 15,
                "matches_played": 11,
                "matches_won": 4,
                "matches_drawn": 3,
                "matches_lost": 4,
                "goals_scored": 12,
                "goals_conceded": 13
            },
            {
                "selection_id": 25422,
                "position": 14,
                "team": "Newcastle",
                "points": 12,
                "matches_played": 11,
                "matches_won": 3,
                "matches_drawn": 3,
                "matches_lost": 5,
                "goals_scored": 11,
                "goals_conceded": 14
            },
            {
                "selection_id": 56764,
                "position": 15,
                "team": "Fulham",
                "points": 11,
                "matches_played": 11,
                "matches_won": 3,
                "matches_drawn": 2,
                "matches_lost": 6,
                "goals_scored": 12,
                "goals_conceded": 16
            },
            {
                "position": 16,
                "points": 11,
                "matches_played": 11,
                "matches_won": 3,
                "matches_drawn": 2,
                "matches_lost": 6,
                "goals_scored": 10,
                "goals_conceded": 20
            },
            {
                "selection_id": 56299,
                "position": 17,
                "team": "Burnley",
                "points": 10,
                "matches_played": 11,
                "matches_won": 3,
                "matches_drawn": 1,
                "matches_lost": 7,
                "goals_scored": 14,
                "goals_conceded": 22
            },
            {
                "selection_id": 48756,
                "position": 18,
                "team": "West Ham",
                "points": 10,
                "matches_played": 11,
                "matches_won": 3,
                "matches_drawn": 1,
                "matches_lost": 7,
                "goals_scored": 13,
                "goals_conceded": 23
            },
            {
                "position": 19,
                "points": 9,
                "matches_played": 11,
                "matches_won": 2,
                "matches_drawn": 3,
                "matches_lost": 6,
                "goals_scored": 10,
                "goals_conceded": 20
            },
            {
                "selection_id": 48044,
                "position": 20,
                "team": "Wolves",
                "points": 2,
                "matches_played": 11,
                "matches_won": 0,
                "matches_drawn": 2,
                "matches_lost": 9,
                "goals_scored": 7,
                "goals_conceded": 25
            }
        ],
        "winner_market_id": 142751842
    }
}
Get statistics of a football match — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41111/get+statistics+of+a+football+match?event_id=36303120&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns every sport on the exchange with its id, name and the number of markets open for betting.
Endpoint ID: 41112
GET https://zylalabs.com/api/15366/betfair+api/41112/get+sports
INPUT PARAMETERS

Get sports — Endpoint Features

Object Description
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

language
API EXAMPLE RESPONSE
JSON
[
    {
        "sport_id": 1,
        "name": "Soccer",
        "number_of_markets": 8636
    },
    {
        "sport_id": 2,
        "name": "Tennis",
        "number_of_markets": 3001
    },
    {
        "sport_id": 4339,
        "name": "Greyhound Racing",
        "number_of_markets": 601
    },
    {
        "sport_id": 7,
        "name": "Horse Racing",
        "number_of_markets": 385
    },
    {
        "sport_id": 4,
        "name": "Cricket",
        "number_of_markets": 239
    },
    {
        "sport_id": 2378961,
        "name": "Politics",
        "number_of_markets": 149
    },
    {
        "sport_id": 7524,
        "name": "Ice Hockey",
        "number_of_markets": 144
    },
    {
        "sport_id": 7522,
        "name": "Basketball",
        "number_of_markets": 123
    },
    {
        "sport_id": 6423,
        "name": "American Football",
        "number_of_markets": 76
    },
    {
        "sport_id": 5,
        "name": "Rugby Union",
        "number_of_markets": 69
    },
    {
        "sport_id": 6,
        "name": "Boxing",
        "number_of_markets": 57
    },
    {
        "sport_id": 27454571,
        "name": "Esports",
        "number_of_markets": 48
    },
    {
        "sport_id": 10,
        "name": "Special Bets",
        "number_of_markets": 41
    },
    {
        "sport_id": 61420,
        "name": "Australian Rules",
        "number_of_markets": 34
    },
    {
        "sport_id": 3,
        "name": "Golf",
        "number_of_markets": 33
    },
    {
        "sport_id": 6422,
        "name": "Snooker",
        "number_of_markets": 22
    },
    {
        "sport_id": 26420387,
        "name": "Mixed Martial Arts",
        "number_of_markets": 9
    },
    {
        "sport_id": 998917,
        "name": "Volleyball",
        "number_of_markets": 7
    },
    {
        "sport_id": 3503,
        "name": "Darts",
        "number_of_markets": 2
    },
    {
        "sport_id": 2152880,
        "name": "Gaelic Games",
        "number_of_markets": 2
    },
    {
        "sport_id": 8,
        "name": "Motor Sport",
        "number_of_markets": 2
    },
    {
        "sport_id": 136332,
        "name": "Chess",
        "number_of_markets": 1
    }
]
Get sports — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41112/get+sports?language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the competitions of a sport that have markets open for betting, each with its id, name, region and the number of markets.
Endpoint ID: 41113
GET https://zylalabs.com/api/15366/betfair+api/41113/get+competitions+of+a+sport
INPUT PARAMETERS

Get competitions of a sport — Endpoint Features

Object Description
sport_id Required Sport id as returned by the sports list (e.g. 1 for football, 2 for tennis, 7522 for basketball)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
language
API EXAMPLE RESPONSE
JSON
[
    {
        "competition_id": 10932509,
        "name": "English Premier League",
        "sport_id": 1,
        "region": "GBR",
        "number_of_markets": 258
    },
    {
        "competition_id": 117,
        "name": "Spanish La Liga",
        "sport_id": 1,
        "region": "ESP",
        "number_of_markets": 149
    },
    {
        "competition_id": 81,
        "name": "Italian Serie A",
        "sport_id": 1,
        "region": "ITA",
        "number_of_markets": 121
    },
    {
        "competition_id": 67387,
        "name": "Argentinian Primera Division",
        "sport_id": 1,
        "region": "ARG",
        "number_of_markets": 38
    },
    {
        "competition_id": 13,
        "name": "Brazilian Serie A",
        "sport_id": 1,
        "region": "BRA",
        "number_of_markets": 135
    },
    {
        "competition_id": 228,
        "name": "UEFA Champions League",
        "sport_id": 1,
        "region": "International",
        "number_of_markets": 1055
    },
    {
        "competition_id": 39218,
        "name": "AFC Champions League",
        "sport_id": 1,
        "region": "International",
        "number_of_markets": 516
    },
    {
        "competition_id": 7129730,
        "name": "English Sky Bet Championship",
        "sport_id": 1,
        "region": "GBR",
        "number_of_markets": 375
    },
    {
        "competition_id": 35,
        "name": "English Sky Bet League 1",
        "sport_id": 1,
        "region": "GBR",
        "number_of_markets": 119
    },
    {
        "competition_id": 37,
        "name": "English Sky Bet League 2",
        "sport_id": 1,
        "region": "GBR",
        "number_of_markets": 75
    },
    {
        "competition_id": 11086347,
        "name": "English National League",
        "sport_id": 1,
        "region": "GBR",
        "number_of_markets": 292
    },
    {
        "competition_id": 105,
        "name": "Scottish Premiership",
        "sport_id": 1,
        "region": "GBR",
        "number_of_markets": 106
    },
    {
        "competition_id": 2608550,
        "name": "Specials",
        "sport_id": 1,
        "region": "International",
        "number_of_markets": 8
    },
    {
        "competition_id": 12117172,
        "name": "Australian A-League Men",
        "sport_id": 1,
        "region": "AUS",
        "number_of_markets": 1
    },
    {
        "competition_id": 99,
        "name": "Portuguese Primeira Liga",
        "sport_id": 1,
        "region": "PRT",
        "number_of_markets": 5
    },
    {
        "competition_id": 67,
        "name": "Greek Super League",
        "sport_id": 1,
        "region": "GRC",
        "number_of_markets": 39
    },
    {
        "competition_id": 12204313,
        "name": "Spanish Segunda Division",
        "sport_id": 1,
        "region": "ESP",
        "number_of_markets": 38
    },
    {
        "competition_id": 12199513,
        "name": "Italian Serie C",
        "sport_id": 1,
        "region": "ITA",
        "number_of_markets": 102
    },
    {
        "competition_id": 2134,
        "name": "English Football League Cup",
        "sport_id": 1,
        "region": "GBR",
        "number_of_markets": 52
    },
    {
        "competition_id": 97,
        "name": "Polish Ekstraklasa",
        "sport_id": 1,
        "region": "POL",
        "number_of_markets": 21
    },
    {
        "competition_id": 59,
        "name": "German Bundesliga",
        "sport_id": 1,
        "region": "DEU",
        "number_of_markets": 150
    },
    {
        "competition_id": 12511339,
        "name": "English U21 Pro Development League",
        "sport_id": 1,
        "region": "GBR",
        "number_of_markets": 24
    },
    {
        "competition_id": 4905,
        "name": "Romanian Liga I",
        "sport_id": 1,
        "region": "ROU",
        "number_of_markets": 33
    },
    {
        "competition_id": 19,
        "name": "Cypriot 1st Division",
        "sport_id": 1,
        "region": "CYP",
        "number_of_markets": 33
    },
    {
        "competition_id": 2315454,
        "name": "Saudi 1st Division",
        "sport_id": 1,
        "region": "SAU",
        "number_of_markets": 187
    },
    {
        "competition_id": 6251219,
        "name": "Indian Super League",
        "sport_id": 1,
        "region": "IND",
        "number_of_markets": 33
    },
    {
        "competition_id": 55,
        "name": "French Ligue 1",
        "sport_id": 1,
        "region": "FRA",
        "number_of_markets": 134
    },
    {
        "competition_id": 403085,
        "name": "Polish I Liga",
        "sport_id": 1,
        "region": "POL",
        "number_of_markets": 33
    },
    {
        "competition_id": 12199393,
        "name": "Indian I-League",
        "sport_id": 1,
        "region": "IND",
        "number_of_markets": 66
    },
    {
        "competition_id": 12209069,
        "name": "UEFA Nations League A",
        "sport_id": 1,
        "region": "International",
        "number_of_markets": 33
    },
    {
        "competition_id": 12375833,
        "name": "UEFA Conference League",
        "sport_id": 1,
        "region": "International",
        "number_of_markets": 71
    },
    {
        "competition_id": 141,
        "name": "US MLS",
        "sport_id": 1,
        "region": "USA",
        "number_of_markets": 75
    },
    {
        "competition_id": 2005,
        "name": "UEFA Europa League",
        "sport_id": 1,
        "region": "International",
        "number_of_markets": 106
    },
    {
        "competition_id": 12201574,
        "name": "Italian Campionato Primavera",
        "sport_id": 1,
        "region": "ITA",
        "number_of_markets": 40
    },
    {
        "competition_id": 12770279,
        "name": "Saudi U21 Elite League",
        "sport_id": 1,
        "region": "SAU",
        "number_of_markets": 46
    },
    {
        "competition_id": 801976,
        "name": "Egyptian Premier",
        "sport_id": 1,
        "region": "EGY",
        "number_of_markets": 267
    },
    {
        "competition_id": 862579,
        "name": "Romanian Liga II",
        "sport_id": 1,
        "region": "ROU",
        "number_of_markets": 33
    },
    {
        "competition_id": 12209621,
        "name": "Portuguese U23",
        "sport_id": 1,
        "region": "PRT",
        "number_of_markets": 165
    },
    {
        "competition_id": 11635923,
        "name": "Omani Professional League",
        "sport_id": 1,
        "region": "ARE",
        "number_of_markets": 30
    },
    {
        "competition_id": 12274040,
        "name": "Albanian 1st Division",
        "sport_id": 1,
        "region": "ALB",
        "number_of_markets": 26
    },
    {
        "competition_id": 15,
        "name": "Bulgarian A League",
        "sport_id": 1,
        "region": "BGR",
        "number_of_markets": 35
    },
    {
        "competition_id": 115,
        "name": "Slovenian Premier League",
        "sport_id": 1,
        "region": "SVN",
        "number_of_markets": 33
    },
    {
        "competition_id": 4431442,
        "name": "Algerian Ligue 1",
        "sport_id": 1,
        "region": "DZA",
        "number_of_markets": 66
    },
    {
        "competition_id": 194215,
        "name": "Turkish Super League",
        "sport_id": 1,
        "region": "TUR",
        "number_of_markets": 43
    },
    {
        "competition_id": 17,
        "name": "Croatian HNL",
        "sport_id": 1,
        "region": "HRV",
        "number_of_markets": 35
    },
    {
        "competition_id": 175680,
        "name": "Turkish 1 Lig",
        "sport_id": 1,
        "region": "TUR",
        "number_of_markets": 33
    }
]
Get competitions of a sport — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41113/get+competitions+of+a+sport?sport_id=1&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the market type codes of a sport (e.g. MATCH_ODDS, OVER_UNDER_25, CORRECT_SCORE, ASIAN_HANDICAP) with the number of open markets of each. Pass a code as "market_type" to an event list to get that market with every event instead of the match odds.
Endpoint ID: 41114
GET https://zylalabs.com/api/15366/betfair+api/41114/get+market+types+of+a+sport
INPUT PARAMETERS

Get market types of a sport — Endpoint Features

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

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
API EXAMPLE RESPONSE
JSON
[
    {
        "market_type": "MATCH_ODDS",
        "number_of_markets": 496
    },
    {
        "market_type": "OVER_UNDER_25",
        "number_of_markets": 389
    },
    {
        "market_type": "ASIAN_HANDICAP",
        "number_of_markets": 346
    },
    {
        "market_type": "CORRECT_SCORE",
        "number_of_markets": 345
    },
    {
        "market_type": "ALT_TOTAL_GOALS",
        "number_of_markets": 344
    },
    {
        "market_type": "BOTH_TEAMS_TO_SCORE",
        "number_of_markets": 343
    },
    {
        "market_type": "OVER_UNDER_05",
        "number_of_markets": 327
    },
    {
        "market_type": "OVER_UNDER_15",
        "number_of_markets": 218
    },
    {
        "market_type": "OVER_UNDER_35",
        "number_of_markets": 213
    },
    {
        "market_type": "OVER_UNDER_45",
        "number_of_markets": 213
    },
    {
        "market_type": "OVER_UNDER_55",
        "number_of_markets": 213
    },
    {
        "market_type": "OVER_UNDER_65",
        "number_of_markets": 213
    },
    {
        "market_type": "OVER_UNDER_75",
        "number_of_markets": 212
    },
    {
        "market_type": "OVER_UNDER_85",
        "number_of_markets": 212
    },
    {
        "market_type": "DRAW_NO_BET",
        "number_of_markets": 212
    },
    {
        "market_type": "DOUBLE_CHANCE",
        "number_of_markets": 212
    },
    {
        "market_type": "HALF_TIME",
        "number_of_markets": 210
    },
    {
        "market_type": "HALF_TIME_SCORE",
        "number_of_markets": 210
    },
    {
        "market_type": "HALF_TIME_FULL_TIME",
        "number_of_markets": 210
    },
    {
        "market_type": "TEAM_B_1",
        "number_of_markets": 209
    },
    {
        "market_type": "FIRST_HALF_GOALS_25",
        "number_of_markets": 209
    },
    {
        "market_type": "TEAM_A_1",
        "number_of_markets": 209
    },
    {
        "market_type": "FIRST_HALF_GOALS_15",
        "number_of_markets": 207
    },
    {
        "market_type": "FIRST_HALF_GOALS_05",
        "number_of_markets": 205
    },
    {
        "market_type": "MATCH_ODDS_AND_BTTS",
        "number_of_markets": 198
    },
    {
        "market_type": "TEAM_A_2",
        "number_of_markets": 198
    },
    {
        "market_type": "TEAM_A_3",
        "number_of_markets": 198
    },
    {
        "market_type": "TEAM_B_2",
        "number_of_markets": 198
    },
    {
        "market_type": "TEAM_B_3",
        "number_of_markets": 198
    },
    {
        "market_type": "ODD_OR_EVEN",
        "number_of_markets": 198
    },
    {
        "market_type": "MATCH_ODDS_AND_OU_25",
        "number_of_markets": 198
    },
    {
        "market_type": "TEAM_A_WIN_TO_NIL",
        "number_of_markets": 194
    },
    {
        "market_type": "TEAM_B_WIN_TO_NIL",
        "number_of_markets": 194
    },
    {
        "market_type": "CORRECT_SCORE2",
        "number_of_markets": 42
    },
    {
        "market_type": "OVER_UNDER_85_CORNR",
        "number_of_markets": 30
    },
    {
        "market_type": "OVER_UNDER_105_CORNR",
        "number_of_markets": 30
    },
    {
        "market_type": "SENDING_OFF",
        "number_of_markets": 30
    },
    {
        "market_type": "FIRST_HALF_GOALS_35",
        "number_of_markets": 28
    },
    {
        "market_type": "FIRST_GOAL_SCORER",
        "number_of_markets": 27
    },
    {
        "market_type": "OVER_UNDER_35_CARDS",
        "number_of_markets": 25
    },
    {
        "market_type": "OVER_UNDER_25_CARDS",
        "number_of_markets": 25
    },
    {
        "market_type": "OVER_UNDER_45_CARDS",
        "number_of_markets": 24
    },
    {
        "market_type": "OVER_UNDER_55_CARDS",
        "number_of_markets": 24
    },
    {
        "market_type": "OVER_UNDER_95_CORNR",
        "number_of_markets": 24
    },
    {
        "market_type": "OVER_UNDER_115_CORNR",
        "number_of_markets": 24
    },
    {
        "market_type": "TO_SCORE",
        "number_of_markets": 23
    },
    {
        "market_type": "PENALTY_TAKEN",
        "number_of_markets": 21
    },
    {
        "market_type": "TEAM_A_OVER_UNDER_25",
        "number_of_markets": 21
    },
    {
        "market_type": "MATCH_ODDS_AND_OU_35",
        "number_of_markets": 21
    },
    {
        "market_type": "TEAM_A_OVER_UNDER_15",
        "number_of_markets": 21
    },
    {
        "market_type": "TEAM_B_OVER_UNDER_15",
        "number_of_markets": 21
    },
    {
        "market_type": "TEAM_B_OVER_UNDER_25",
        "number_of_markets": 21
    },
    {
        "market_type": "TEAM_A_OVER_UNDER_05",
        "number_of_markets": 21
    },
    {
        "market_type": "TEAM_B_OVER_UNDER_05",
        "number_of_markets": 21
    },
    {
        "market_type": "SHOTS_ON_TARGET_P1",
        "number_of_markets": 20
    },
    {
        "market_type": "WINNER",
        "number_of_markets": 19
    },
    {
        "market_type": "TO_QUALIFY",
        "number_of_markets": 19
    },
    {
        "market_type": "TO_SCORE_2_OR_MORE",
        "number_of_markets": 14
    },
    {
        "market_type": "TO_SCORE_HATTRICK",
        "number_of_markets": 14
    },
    {
        "market_type": "SHOWN_A_CARD",
        "number_of_markets": 12
    },
    {
        "market_type": "SHOTS_ON_TARGET_P2",
        "number_of_markets": 11
    },
    {
        "market_type": "RELEGATION",
        "number_of_markets": 6
    },
    {
        "market_type": "SPECIAL",
        "number_of_markets": 6
    },
    {
        "market_type": "MATCH_SPECIALS",
        "number_of_markets": 6
    },
    {
        "market_type": "SPECIALS_NEXT_MGR",
        "number_of_markets": 4
    },
    {
        "market_type": "CORNER_ODDS",
        "number_of_markets": 4
    },
    {
        "market_type": "TOP_GOALSCORER",
        "number_of_markets": 3
    },
    {
        "market_type": "PROMOTION",
        "number_of_markets": 3
    },
    {
        "market_type": "BOOKING_ODDS",
        "number_of_markets": 3
    },
    {
        "market_type": "HANDICAP",
        "number_of_markets": 2
    },
    {
        "market_type": "TOP_2_FINISH",
        "number_of_markets": 2
    },
    {
        "market_type": "TOP_4_FINISH_FT",
        "number_of_markets": 2
    },
    {
        "market_type": "WINNER_WITHOUT",
        "number_of_markets": 1
    },
    {
        "market_type": "TOP_5_FINISH",
        "number_of_markets": 1
    },
    {
        "market_type": "TOP_6_FINISH",
        "number_of_markets": 1
    },
    {
        "market_type": "TOP_10_FINISH",
        "number_of_markets": 1
    },
    {
        "market_type": "BOTTOM_3_WO",
        "number_of_markets": 1
    },
    {
        "market_type": "ROCK_BOTTOM",
        "number_of_markets": 1
    },
    {
        "market_type": "TOP_4_FINISH",
        "number_of_markets": 1
    },
    {
        "market_type": "TO_REACH_FINAL",
        "number_of_markets": 1
    },
    {
        "market_type": "GROUP_WINNER",
        "number_of_markets": 1
    },
    {
        "market_type": "COMPETITION_SPECIALS",
        "number_of_markets": 1
    },
    {
        "market_type": "TOP_8_FINISH",
        "number_of_markets": 1
    }
]
Get market types of a sport — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41114/get+market+types+of+a+sport?sport_id=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Searches the exchange for events (matches, races and outright events) by team, player, competition or venue name. Every result comes with its id, sport, competition, start time and the markets it offers.
Endpoint ID: 41115
GET https://zylalabs.com/api/15366/betfair+api/41115/search+events
INPUT PARAMETERS

Search events — Endpoint Features

Object Description
query Required Search text, between 2 and 100 characters (e.g. arsenal)
page Optional Page number, 25 results a page
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
page
language
API EXAMPLE RESPONSE
JSON
{
    "query": "arsenal",
    "page": 1,
    "total": 8,
    "has_next_page": false,
    "results": [
        {
            "event_id": 36288642,
            "name": "Arsenal v Dortmund",
            "type": "Fixture",
            "sport_id": 1,
            "sport_name": "Soccer",
            "competition_id": 228,
            "competition_name": "UEFA Champions League",
            "start_time": "2026-11-24T20:00:00Z",
            "path": [
                "Soccer",
                "UEFA Soccer",
                "UEFA Champions League",
                "Fixtures 24 Nov",
                "Arsenal v Dortmund"
            ],
            "race_market_id": null,
            "markets": [
                {
                    "market_id": "1.265194898",
                    "name": "Match Odds and Over/Under 3.5 Goals",
                    "market_type": "MATCH_ODDS_AND_OU_35"
                },
                {
                    "market_id": "1.265194897",
                    "name": "Arsenal Over/Under 2.5 Goals",
                    "market_type": "TEAM_A_OVER_UNDER_25"
                },
                {
                    "market_id": "1.265194905",
                    "name": "First Half Goals 3.5",
                    "market_type": "FIRST_HALF_GOALS_35"
                },
                {
                    "market_id": "1.265194775",
                    "name": "Cards Over/Under 2.5",
                    "market_type": "OVER_UNDER_25_CARDS"
                },
                {
                    "market_id": "1.265194903",
                    "name": "Dortmund Over/Under 0.5 Goals",
                    "market_type": "TEAM_B_OVER_UNDER_05"
                },
                {
                    "market_id": "1.265194773",
                    "name": "Cards Over/Under 3.5",
                    "market_type": "OVER_UNDER_35_CARDS"
                },
                {
                    "market_id": "1.265194774",
                    "name": "Player Shots on Target 2 or More",
                    "market_type": "SHOTS_ON_TARGET_P2"
                },
                {
                    "market_id": "1.265194902",
                    "name": "Arsenal Over/Under 0.5 Goals",
                    "market_type": "TEAM_A_OVER_UNDER_05"
                },
                {
                    "market_id": "1.265194772",
                    "name": "Player Shots on Target 1 or More",
                    "market_type": "SHOTS_ON_TARGET_P1"
                },
                {
                    "market_id": "1.265194799",
                    "name": "Corners Over/Under 10.5",
                    "market_type": "OVER_UNDER_105_CORNR"
                },
                {
                    "market_id": "1.265194771",
                    "name": "Player To Score a Hat-trick?",
                    "market_type": "TO_SCORE_HATTRICK"
                },
                {
                    "market_id": "1.265194901",
                    "name": "Dortmund Over/Under 2.5 Goals",
                    "market_type": "TEAM_B_OVER_UNDER_25"
                },
                {
                    "market_id": "1.265799100",
                    "name": "Corners Over/Under 11.5",
                    "market_type": "OVER_UNDER_115_CORNR"
                },
                {
                    "market_id": "1.265194798",
                    "name": "Player First Goalscorer",
                    "market_type": "FIRST_GOAL_SCORER"
                },
                {
                    "market_id": "1.265194770",
                    "name": "Player To Score 2 Goals or More",
                    "market_type": "TO_SCORE_2_OR_MORE"
                },
                {
                    "market_id": "1.265194796",
                    "name": "Correct Score 2 Home",
                    "market_type": "CORRECT_SCORE2"
                },
                {
                    "market_id": "1.265194900",
                    "name": "Dortmund Over/Under 1.5 Goals",
                    "market_type": "TEAM_B_OVER_UNDER_15"
                },
                {
                    "market_id": "1.265194797",
                    "name": "Correct Score 2 Away",
                    "market_type": "CORRECT_SCORE2"
                },
                {
                    "market_id": "1.265194854",
                    "name": "Arsenal +1",
                    "market_type": "TEAM_A_1"
                },
                {
                    "market_id": "1.265194853",
                    "name": "Double Chance",
                    "market_type": "DOUBLE_CHANCE"
                },
                {
                    "market_id": "1.265194852",
                    "name": "Total Goals Odd/Even",
                    "market_type": "ODD_OR_EVEN"
                },
                {
                    "market_id": "1.265194851",
                    "name": "Match Odds",
                    "market_type": "MATCH_ODDS"
                },
                {
                    "market_id": "1.265194850",
                    "name": "Both teams to Score?",
                    "market_type": "BOTH_TEAMS_TO_SCORE"
                },
                {
                    "market_id": "1.265799097",
                    "name": "Cards Over/Under 4.5",
                    "market_type": "OVER_UNDER_45_CARDS"
                },
                {
                    "market_id": "1.265799098",
                    "name": "Cards Over/Under 5.5",
                    "market_type": "OVER_UNDER_55_CARDS"
                },
                {
                    "market_id": "1.265799099",
                    "name": "Corners Over/Under 9.5",
                    "market_type": "OVER_UNDER_95_CORNR"
                },
                {
                    "market_id": "1.265194899",
                    "name": "Arsenal Over/Under 1.5 Goals",
                    "market_type": "TEAM_A_OVER_UNDER_15"
                },
                {
                    "market_id": "1.265194849",
                    "name": "First Half Goals 2.5",
                    "market_type": "FIRST_HALF_GOALS_25"
                },
                {
                    "market_id": "1.265194848",
                    "name": "Over/Under 8.5 Goals",
                    "market_type": "OVER_UNDER_85"
                },
                {
                    "market_id": "1.265194847",
                    "name": "Over/Under 7.5 Goals",
                    "market_type": "OVER_UNDER_75"
                }
            ]
        }
    ]
}
Search events — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41115/search+events?query=arsenal&page=1&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns one market with its status, money matched and available, commission rate, rules and every runner with its best three back and lay prices, the amounts available, last traded price, implied probability, starting price and, for a race, the race card (jockey, trainer, age, weight, form, rating, draw, pedigree, silks and forecast price).
Endpoint ID: 41116
GET https://zylalabs.com/api/15366/betfair+api/41116/get+a+market+with+prices+and+rules
INPUT PARAMETERS

Get a market with prices and rules — Endpoint Features

Object Description
market_id Required Market id as returned in "market_id" by the event and market endpoints (e.g. 1.258422584)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency Optional Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

market_id
language
currency
API EXAMPLE RESPONSE
JSON
{
    "market_id": "1.258422584",
    "name": "Winner",
    "market_type": "WINNER",
    "betting_type": "ODDS",
    "start_time": "2026-08-21T19:00:00.000Z",
    "suspend_time": "2026-08-21T19:00:00.000Z",
    "status": "OPEN",
    "in_play": false,
    "turn_in_play_enabled": false,
    "total_matched": 3973578.48,
    "total_available": 259665.63,
    "last_match_time": "2026-11-23T15:59:26.564Z",
    "number_of_winners": 1,
    "number_of_runners": 20,
    "number_of_active_runners": 20,
    "bet_delay": 0,
    "starting_price_market": false,
    "each_way_divisor": null,
    "race_number": null,
    "race_type": null,
    "commission_rate": 5,
    "line": null,
    "event": {
        "event_id": 2022802,
        "name": "English Premier League",
        "sport_id": 1,
        "country_code": "GB",
        "timezone": "Europe/London",
        "venue": null,
        "start_time": "2025-08-16T14:00:01.000Z"
    },
    "rules": "Who will win this league? At the start of the tournament all unmatched bets will be cancelled and the market will be reopened.\n\nFor further information please see Rules & Regs",
    "runners": [
        {
            "selection_id": 1096,
            "name": "Arsenal",
            "handicap": 0,
            "status": "ACTIVE",
            "sort_priority": 1,
            "last_price_traded": 1.35,
            "best_back_price": 1.34,
            "best_lay_price": 1.35,
            "implied_probability": 74.63,
            "back": [
                {
                    "price": 1.34,
                    "size": 1941.89
                },
                {
                    "price": 1.33,
                    "size": 5993.42
                },
                {
                    "price": 1.32,
                    "size": 4307.49
                }
            ],
            "lay": [
                {
                    "price": 1.35,
                    "size": 3686.86
                },
                {
                    "price": 1.36,
                    "size": 1285.16
                },
                {
                    "price": 1.37,
                    "size": 2515.98
                }
            ]
        },
        {
            "selection_id": 56323,
            "name": "Liverpool",
            "handicap": 0,
            "status": "ACTIVE",
            "sort_priority": 2,
            "last_price_traded": 7.8,
            "best_back_price": 7.8,
            "best_lay_price": 8,
            "implied_probability": 12.82,
            "back": [
                {
                    "price": 7.8,
                    "size": 103.14
                },
                {
                    "price": 7.6,
                    "size": 448.61
                },
                {
                    "price": 7.4,
                    "size": 207.33
                }
            ],
            "lay": [
                {
                    "price": 8,
                    "size": 169.58
                },
                {
                    "price": 8.2,
                    "size": 312.27
                },
                {
                    "price": 8.4,
                    "size": 44.38
                }
            ]
        },
        {
            "selection_id": 18567,
            "name": "Brighton",
            "handicap": 0,
            "status": "ACTIVE",
            "sort_priority": 3,
            "last_price_traded": 18.5,
            "best_back_price": 18,
            "best_lay_price": 18.5,
            "implied_probability": 5.56,
            "back": [
                {
                    "price": 18,
                    "size": 125.88
                },
                {
                    "price": 17.5,
                    "size": 73.69
                },
                {
                    "price": 17,
                    "size": 543.61
                }
            ],
            "lay": [
                {
                    "price": 18.5,
                    "size": 27.32
                },
                {
                    "price": 19,
                    "size": 96.29
                },
                {
                    "price": 19.5,
                    "size": 418.69
                }
            ]
        },
        {
            "selection_id": 47999,
            "name": "Man City",
            "handicap": 0,
            "status": "ACTIVE",
            "sort_priority": 4,
            "last_price_traded": 22,
            "best_back_price": 22,
            "best_lay_price": 23,
            "implied_probability": 4.55,
            "back": [
                {
                    "price": 22,
                    "size": 198.94
                },
                {
                    "price": 21,
                    "size": 119.27
                },
                {
                    "price": 20,
                    "size": 74.53
                }
            ],
            "lay": [
                {
                    "price": 23,
                    "size": 55.12
                },
                {
                    "price": 24,
                    "size": 76.54
                },
                {
                    "price": 25,
                    "size": 20
                }
            ]
        },
        {
            "selection_id": 55190,
            "name": "Chelsea",
            "handicap": 0,
            "status": "ACTIVE",
            "sort_priority": 5,
            "last_price_traded": 100,
            "best_back_price": 100,
            "best_lay_price": 110,
            "implied_probability": 1,
            "back": [
                {
                    "price": 100,
                    "size": 10.05
                },
                {
                    "price": 90,
                    "size": 10.58
                },
                {
                    "price": 70,
                    "size": 85.66
                }
            ],
            "lay": [
                {
                    "price": 110,
                    "size": 25.96
                },
                {
                    "price": 120,
                    "size": 34.33
                },
                {
                    "price": 130,
                    "size": 44.1
                }
            ]
        }
    ]
}
Get a market with prices and rules — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41116/get+a+market+with+prices+and+rules?market_id=1.258422584&language=en¤cy=GBP' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns up to 25 markets at once, each with its status, money matched and every runner's best three back and lay prices with the amounts available, last traded price and implied probability.
Endpoint ID: 41117
GET https://zylalabs.com/api/15366/betfair+api/41117/get+prices+of+several+markets
INPUT PARAMETERS

Get prices of several markets — Endpoint Features

Object Description
market_ids Required Up to 25 market ids separated by commas, as returned in "market_id" by the event and market endpoints (e.g. 1.258422584)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency Optional Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

market_ids
language
currency
API EXAMPLE RESPONSE
JSON
[
    {
        "market_id": "1.258422584",
        "name": "Winner",
        "market_type": "WINNER",
        "betting_type": "ODDS",
        "start_time": "2026-08-21T19:00:00.000Z",
        "suspend_time": "2026-08-21T19:00:00.000Z",
        "status": "OPEN",
        "in_play": false,
        "turn_in_play_enabled": false,
        "total_matched": 3973576.8,
        "total_available": 259666.47,
        "last_match_time": "2026-11-23T15:47:10.442Z",
        "number_of_winners": 1,
        "number_of_runners": 20,
        "number_of_active_runners": 20,
        "bet_delay": 0,
        "starting_price_market": false,
        "each_way_divisor": null,
        "race_number": null,
        "race_type": null,
        "commission_rate": 5,
        "line": null,
        "event": {
            "event_id": 2022802,
            "name": "English Premier League",
            "sport_id": 1,
            "country_code": "GB",
            "timezone": "Europe/London",
            "venue": null,
            "start_time": "2025-08-16T14:00:01.000Z"
        },
        "runners": [
            {
                "selection_id": 1096,
                "name": "Arsenal",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 1,
                "last_price_traded": 1.34,
                "best_back_price": 1.34,
                "best_lay_price": 1.35,
                "implied_probability": 74.63,
                "back": [
                    {
                        "price": 1.34,
                        "size": 1941.89
                    },
                    {
                        "price": 1.33,
                        "size": 5993.42
                    },
                    {
                        "price": 1.32,
                        "size": 4307.49
                    }
                ],
                "lay": [
                    {
                        "price": 1.35,
                        "size": 3687.7
                    },
                    {
                        "price": 1.36,
                        "size": 1285.16
                    },
                    {
                        "price": 1.37,
                        "size": 2515.98
                    }
                ]
            },
            {
                "selection_id": 56323,
                "name": "Liverpool",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 2,
                "last_price_traded": 7.8,
                "best_back_price": 7.8,
                "best_lay_price": 8,
                "implied_probability": 12.82,
                "back": [
                    {
                        "price": 7.8,
                        "size": 103.14
                    },
                    {
                        "price": 7.6,
                        "size": 448.61
                    },
                    {
                        "price": 7.4,
                        "size": 207.33
                    }
                ],
                "lay": [
                    {
                        "price": 8,
                        "size": 169.58
                    },
                    {
                        "price": 8.2,
                        "size": 312.27
                    },
                    {
                        "price": 8.4,
                        "size": 44.38
                    }
                ]
            },
            {
                "selection_id": 18567,
                "name": "Brighton",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 3,
                "last_price_traded": 18.5,
                "best_back_price": 18,
                "best_lay_price": 18.5,
                "implied_probability": 5.56,
                "back": [
                    {
                        "price": 18,
                        "size": 125.88
                    },
                    {
                        "price": 17.5,
                        "size": 73.69
                    },
                    {
                        "price": 17,
                        "size": 543.61
                    }
                ],
                "lay": [
                    {
                        "price": 18.5,
                        "size": 27.32
                    },
                    {
                        "price": 19,
                        "size": 96.29
                    },
                    {
                        "price": 19.5,
                        "size": 418.69
                    }
                ]
            },
            {
                "selection_id": 47999,
                "name": "Man City",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 4,
                "last_price_traded": 22,
                "best_back_price": 22,
                "best_lay_price": 23,
                "implied_probability": 4.55,
                "back": [
                    {
                        "price": 22,
                        "size": 198.94
                    },
                    {
                        "price": 21,
                        "size": 119.27
                    },
                    {
                        "price": 20,
                        "size": 74.53
                    }
                ],
                "lay": [
                    {
                        "price": 23,
                        "size": 55.12
                    },
                    {
                        "price": 24,
                        "size": 76.54
                    },
                    {
                        "price": 25,
                        "size": 20
                    }
                ]
            },
            {
                "selection_id": 55190,
                "name": "Chelsea",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 5,
                "last_price_traded": 100,
                "best_back_price": 100,
                "best_lay_price": 110,
                "implied_probability": 1,
                "back": [
                    {
                        "price": 100,
                        "size": 10.05
                    },
                    {
                        "price": 90,
                        "size": 10.58
                    },
                    {
                        "price": 70,
                        "size": 85.66
                    }
                ],
                "lay": [
                    {
                        "price": 110,
                        "size": 25.96
                    },
                    {
                        "price": 120,
                        "size": 34.33
                    },
                    {
                        "price": 130,
                        "size": 44.1
                    }
                ]
            }
        ]
    }
]
Get prices of several markets — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41117/get+prices+of+several+markets?market_ids=1.258422584&language=en¤cy=GBP' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the 25 markets with the most money matched, of one sport or of the whole exchange, with every runner's best three back and lay prices, the amounts available and last traded price.
Endpoint ID: 41118
GET https://zylalabs.com/api/15366/betfair+api/41118/get+most+traded+markets
INPUT PARAMETERS

Get most traded markets — Endpoint Features

Object Description
sport_id Optional Sport id as returned by the sports list (e.g. 1 for football, 2 for tennis); every sport when left out
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency Optional Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport_id
language
currency
API EXAMPLE RESPONSE
JSON
[
    {
        "market_id": "1.258422584",
        "name": "Winner",
        "market_type": "WINNER",
        "betting_type": "ODDS",
        "start_time": "2026-08-21T19:00:00.000Z",
        "suspend_time": "2026-08-21T19:00:00.000Z",
        "status": "OPEN",
        "in_play": false,
        "turn_in_play_enabled": false,
        "total_matched": 3973576.8,
        "total_available": 259666.47,
        "last_match_time": "2026-11-23T15:47:10.442Z",
        "number_of_winners": 1,
        "number_of_runners": 20,
        "number_of_active_runners": 20,
        "bet_delay": 0,
        "starting_price_market": false,
        "each_way_divisor": null,
        "race_number": null,
        "race_type": null,
        "commission_rate": 5,
        "line": null,
        "event": {
            "event_id": 2022802,
            "name": "English Premier League",
            "sport_id": 1,
            "country_code": "GB",
            "timezone": "Europe/London",
            "venue": null,
            "start_time": "2025-08-16T14:00:01.000Z"
        },
        "runners": [
            {
                "selection_id": 1096,
                "name": "Arsenal",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 1,
                "last_price_traded": 1.34,
                "best_back_price": 1.34,
                "best_lay_price": 1.35,
                "implied_probability": 74.63,
                "back": [
                    {
                        "price": 1.34,
                        "size": 1941.89
                    },
                    {
                        "price": 1.33,
                        "size": 5993.42
                    },
                    {
                        "price": 1.32,
                        "size": 4307.49
                    }
                ],
                "lay": [
                    {
                        "price": 1.35,
                        "size": 3687.7
                    },
                    {
                        "price": 1.36,
                        "size": 1285.16
                    },
                    {
                        "price": 1.37,
                        "size": 2515.98
                    }
                ]
            },
            {
                "selection_id": 56323,
                "name": "Liverpool",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 2,
                "last_price_traded": 7.8,
                "best_back_price": 7.8,
                "best_lay_price": 8,
                "implied_probability": 12.82,
                "back": [
                    {
                        "price": 7.8,
                        "size": 103.14
                    },
                    {
                        "price": 7.6,
                        "size": 448.61
                    },
                    {
                        "price": 7.4,
                        "size": 207.33
                    }
                ],
                "lay": [
                    {
                        "price": 8,
                        "size": 169.58
                    },
                    {
                        "price": 8.2,
                        "size": 312.27
                    },
                    {
                        "price": 8.4,
                        "size": 44.38
                    }
                ]
            },
            {
                "selection_id": 18567,
                "name": "Brighton",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 3,
                "last_price_traded": 18.5,
                "best_back_price": 18,
                "best_lay_price": 18.5,
                "implied_probability": 5.56,
                "back": [
                    {
                        "price": 18,
                        "size": 125.88
                    },
                    {
                        "price": 17.5,
                        "size": 73.69
                    },
                    {
                        "price": 17,
                        "size": 543.61
                    }
                ],
                "lay": [
                    {
                        "price": 18.5,
                        "size": 27.32
                    },
                    {
                        "price": 19,
                        "size": 96.29
                    },
                    {
                        "price": 19.5,
                        "size": 418.69
                    }
                ]
            },
            {
                "selection_id": 47999,
                "name": "Man City",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 4,
                "last_price_traded": 22,
                "best_back_price": 22,
                "best_lay_price": 23,
                "implied_probability": 4.55,
                "back": [
                    {
                        "price": 22,
                        "size": 198.94
                    },
                    {
                        "price": 21,
                        "size": 119.27
                    },
                    {
                        "price": 20,
                        "size": 74.53
                    }
                ],
                "lay": [
                    {
                        "price": 23,
                        "size": 55.12
                    },
                    {
                        "price": 24,
                        "size": 76.54
                    },
                    {
                        "price": 25,
                        "size": 20
                    }
                ]
            },
            {
                "selection_id": 55190,
                "name": "Chelsea",
                "handicap": 0,
                "status": "ACTIVE",
                "sort_priority": 5,
                "last_price_traded": 100,
                "best_back_price": 100,
                "best_lay_price": 110,
                "implied_probability": 1,
                "back": [
                    {
                        "price": 100,
                        "size": 10.05
                    },
                    {
                        "price": 90,
                        "size": 10.58
                    },
                    {
                        "price": 70,
                        "size": 85.66
                    }
                ],
                "lay": [
                    {
                        "price": 110,
                        "size": 25.96
                    },
                    {
                        "price": 120,
                        "size": 34.33
                    },
                    {
                        "price": 130,
                        "size": 44.1
                    }
                ]
            }
        ]
    }
]
Get most traded markets — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41118/get+most+traded+markets?sport_id=1&language=en¤cy=GBP' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the horse or greyhound race meetings of a day with their venue, country and going, and every race with its market id, name, number, start time and status. Pass a race's market id to the market details for the race card with prices.
Endpoint ID: 41119
GET https://zylalabs.com/api/15366/betfair+api/41119/get+race+meetings+of+a+day
INPUT PARAMETERS

Get race meetings of a day — Endpoint Features

Object Description
sport Optional Racing sport: horse-racing or greyhound-racing
date Optional Day in the format YYYY-MM-DD (UTC), today or later; today when left out
countries Optional Two-letter country codes separated by commas (e.g. GB,IE,US,FR,AU); every country with races when left out
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

sport
date
countries
language
API EXAMPLE RESPONSE
JSON
[
    {
        "meeting_id": 36346259,
        "name": "Newcastle 23rd Nov",
        "venue": "Newcastle",
        "country_code": "GB",
        "start_time": "2026-11-23T15:30:00.000Z",
        "going": "Standard",
        "races": [
            {
                "market_id": "1.265874247",
                "race_id": "36346259.1605",
                "name": "7f Mdn Stks",
                "race_number": "R2",
                "start_time": "2026-11-23T16:05:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874253",
                "race_id": "36346259.1640",
                "name": "5f Nursery",
                "race_number": "R3",
                "start_time": "2026-11-23T16:40:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874260",
                "race_id": "36346259.1715",
                "name": "7f Nov Stks",
                "race_number": "R4",
                "start_time": "2026-11-23T17:15:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874267",
                "race_id": "36346259.1745",
                "name": "6f Hcap",
                "race_number": "R5",
                "start_time": "2026-11-23T17:45:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874274",
                "race_id": "36346259.1815",
                "name": "6f Hcap",
                "race_number": "R6",
                "start_time": "2026-11-23T18:15:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874281",
                "race_id": "36346259.1845",
                "name": "6f Hcap",
                "race_number": "R7",
                "start_time": "2026-11-23T18:45:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874288",
                "race_id": "36346259.1915",
                "name": "5f Hcap",
                "race_number": "R8",
                "start_time": "2026-11-23T19:15:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874295",
                "race_id": "36346259.1945",
                "name": "1m Hcap",
                "race_number": "R9",
                "start_time": "2026-11-23T19:45:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            }
        ]
    },
    {
        "meeting_id": 36346281,
        "name": "Wolverhampton 23rd Nov",
        "venue": "Wolverhampton",
        "country_code": "GB",
        "start_time": "2026-11-23T16:30:00.000Z",
        "going": "Standard",
        "races": [
            {
                "market_id": "1.265874302",
                "race_id": "36346281.1630",
                "name": "1m1f Hcap",
                "race_number": "R1",
                "start_time": "2026-11-23T16:30:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874308",
                "race_id": "36346281.1700",
                "name": "1m1f Nursery",
                "race_number": "R2",
                "start_time": "2026-11-23T17:00:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874315",
                "race_id": "36346281.1730",
                "name": "6f Mdn Stks",
                "race_number": "R3",
                "start_time": "2026-11-23T17:30:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874439",
                "race_id": "36346281.1800",
                "name": "5f Hcap",
                "race_number": "R4",
                "start_time": "2026-11-23T18:00:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874452",
                "race_id": "36346281.1830",
                "name": "1m4f Hcap",
                "race_number": "R5",
                "start_time": "2026-11-23T18:30:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874432",
                "race_id": "36346281.1900",
                "name": "7f Hcap",
                "race_number": "R6",
                "start_time": "2026-11-23T19:00:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874445",
                "race_id": "36346281.1930",
                "name": "7f Hcap",
                "race_number": "R7",
                "start_time": "2026-11-23T19:30:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874459",
                "race_id": "36346281.2000",
                "name": "7f Hcap",
                "race_number": "R8",
                "start_time": "2026-11-23T20:00:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            },
            {
                "market_id": "1.265874465",
                "race_id": "36346281.2030",
                "name": "1m1f Hcap",
                "race_number": "R9",
                "start_time": "2026-11-23T20:30:00.000Z",
                "status": "OPEN",
                "in_play": false,
                "has_result": false
            }
        ]
    }
]
Get race meetings of a day — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41119/get+race+meetings+of+a+day?sport=horse-racing&countries=GB,IE&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the next horse races to start in the chosen countries, soonest first, with their venue, start time, status and the money matched.
Endpoint ID: 41120
GET https://zylalabs.com/api/15366/betfair+api/41120/get+next+horse+races
INPUT PARAMETERS

Get next horse races — Endpoint Features

Object Description
countries Optional Two-letter country codes separated by commas (e.g. GB,IE,US,FR,AU)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

countries
language
API EXAMPLE RESPONSE
JSON
[
    {
        "market_id": "1.265874247",
        "race_id": "36346259.1605",
        "meeting_id": 36346259,
        "venue": "Newcastle",
        "country_code": "GB",
        "start_time": "2026-11-23T16:05:00.000Z",
        "status": "OPEN",
        "in_play": false,
        "total_matched": 78040.15,
        "video_available": true,
        "tv_channels": [
            "Sky Sports Racing"
        ]
    },
    {
        "market_id": "1.265874302",
        "race_id": "36346281.1630",
        "meeting_id": 36346281,
        "venue": "Wolverhampton",
        "country_code": "GB",
        "start_time": "2026-11-23T16:30:00.000Z",
        "status": "OPEN",
        "in_play": false,
        "total_matched": 19706.02,
        "video_available": true,
        "tv_channels": [
            "Sky Sports Racing"
        ]
    },
    {
        "market_id": "1.265874253",
        "race_id": "36346259.1640",
        "meeting_id": 36346259,
        "venue": "Newcastle",
        "country_code": "GB",
        "start_time": "2026-11-23T16:40:00.000Z",
        "status": "OPEN",
        "in_play": false,
        "total_matched": 19494.1,
        "video_available": true,
        "tv_channels": [
            "Sky Sports Racing"
        ]
    },
    {
        "market_id": "1.265874308",
        "race_id": "36346281.1700",
        "meeting_id": 36346281,
        "venue": "Wolverhampton",
        "country_code": "GB",
        "start_time": "2026-11-23T17:00:00.000Z",
        "status": "OPEN",
        "in_play": false,
        "total_matched": 12695.58,
        "video_available": true,
        "tv_channels": [
            "Sky Sports Racing"
        ]
    },
    {
        "market_id": "1.265874260",
        "race_id": "36346259.1715",
        "meeting_id": 36346259,
        "venue": "Newcastle",
        "country_code": "GB",
        "start_time": "2026-11-23T17:15:00.000Z",
        "status": "OPEN",
        "in_play": false,
        "total_matched": 9202.33,
        "video_available": true,
        "tv_channels": [
            "Sky Sports Racing"
        ]
    }
]
Get next horse races — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41120/get+next+horse+races?countries=GB,IE&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the expert analysis of a horse or greyhound race: the verdict and, for every runner, its details, comment, rating and recent form (for horses: age, weight, trainer, official rating, equipment, pedigree and the past races with course, distance, going, jockey, position and in-play and starting prices; for greyhounds: trap, rating and predicted position and odds).
Endpoint ID: 41121
GET https://zylalabs.com/api/15366/betfair+api/41121/get+race+analysis+and+form
INPUT PARAMETERS

Get race analysis and form — Endpoint Features

Object Description
market_id Required Market id as returned in "market_id" by the event and market endpoints (e.g. 1.258422584)
language Optional Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

market_id
language
API EXAMPLE RESPONSE
JSON
{
    "market_id": "1.265873935",
    "sport": "horse-racing",
    "verdict": "WOODSTOCK CITY has made a bright start for Olly Murphy, and he's narrowly preferred to interesting stable-switcher Gordon Grey. Gallivanted heads the remainder in a competitive conditionals handicap.",
    "trading_hints": "Not At That Price has traded at 50% or less of Betfair SP twice on its last 5 starts.",
    "top_three": [
        {
            "name": "Woodstock City",
            "star_rating": 5
        },
        {
            "name": "Gordon Grey (IRE)",
            "star_rating": 4
        },
        {
            "name": "Gallivanted (FR)",
            "star_rating": 4
        }
    ],
    "runners": [
        {
            "selection_id": 43748,
            "name": "Royal Approval (IRE)",
            "age": 5,
            "weight": 166,
            "weight_unit": "lb",
            "comment": "Once-fairly useful Flat winner for Andrew Balding but went the wrong way for Gordon Elliott this year. Offered little on the level for new yard last month and opening mark in this sphere looks harsh.",
            "saddle_cloth": "3",
            "trainer_name": "Joe Tickle",
            "official_rating": 107,
            "recent_form": "65-P",
            "days_since_last_run": 177,
            "pedigree": {
                "dam": {
                    "progeny_code": "1.00390646",
                    "name": "Nabaraat (USA)",
                    "breeding": "USA"
                },
                "sire": {
                    "progeny_code": "1.00365478",
                    "name": "Cracksman",
                    "breeding": "GB"
                }
            },
            "colour": "ch",
            "gender": "Gelding",
            "past_races": [
                {
                    "date": "2026-10-29T14:42:00.000Z",
                    "country_code": "GB",
                    "course": "Bath",
                    "course_code": "Bat",
                    "distance": 2237,
                    "distance_unit": "yd",
                    "going": {
                        "abbr": "Sft",
                        "full": "Soft"
                    },
                    "in_play_max": 600,
                    "in_play_min": 44,
                    "bsp": 110,
                    "race_type": {
                        "key": "F",
                        "abbr": "Flat",
                        "full": "Flat"
                    },
                    "timeform_race_id": "1.4.1261029.5",
                    "jockey": "Callum Hutchinson",
                    "official_rating": 83,
                    "position": "10/12"
                },
                {
                    "date": "2026-07-07T16:25:00.000Z",
                    "country_code": "IE",
                    "course": "Tramore",
                    "course_code": "Tra",
                    "distance": 2640,
                    "distance_unit": "yd",
                    "going": {
                        "abbr": "Gd",
                        "full": "Good"
                    },
                    "in_play_max": 1000,
                    "in_play_min": 6.8,
                    "bsp": 10.61,
                    "race_type": {
                        "key": "F",
                        "abbr": "Flat",
                        "full": "Flat"
                    },
                    "timeform_race_id": "1.228.1260707.1",
                    "jockey": "L. F. Roche",
                    "position": "6/6"
                },
                {
                    "date": "2026-05-30T14:16:00.000Z",
                    "country_code": "IE",
                    "course": "Listowel",
                    "course_code": "Lis",
                    "distance": 4480,
                    "distance_unit": "yd",
                    "going": {
                        "abbr": "GS",
                        "full": "Good to Soft"
                    },
                    "in_play_max": 1000,
                    "in_play_min": 6.2,
                    "bsp": 9.29,
                    "race_type": {
                        "key": "H",
                        "abbr": "Hdl",
                        "full": "Hurdle"
                    },
                    "timeform_race_id": "1.217.1260530.3",
                    "jockey": "R. A. Doyle",
                    "position": "P/9"
                },
                {
                    "date": "2025-10-18T12:45:00.000Z",
                    "country_code": "IE",
                    "course": "Limerick",
                    "course_code": "Lim",
                    "distance": 3590,
                    "distance_unit": "yd",
                    "going": {
                        "abbr": "GS",
                        "full": "Good to Soft"
                    },
                    "in_play_max": 270,
                    "in_play_min": 23,
                    "bsp": 42,
                    "race_type": {
                        "key": "H",
                        "abbr": "Hdl",
                        "full": "Hurdle"
                    },
                    "timeform_race_id": "1.215.1251018.1",
                    "jockey": "Sam Ewing",
                    "position": "5/16"
                },
                {
                    "date": "2025-09-20T12:25:00.000Z",
                    "country_code": "IE",
                    "course": "Navan",
                    "course_code": "Nav",
                    "distance": 3465,
                    "distance_unit": "yd",
                    "going": {
                        "abbr": "GS",
                        "full": "Good to Soft"
                    },
                    "in_play_max": 1000,
                    "in_play_min": 7,
                    "bsp": 6.6,
                    "race_type": {
                        "key": "H",
                        "abbr": "Hdl",
                        "full": "Hurdle"
                    },
                    "timeform_race_id": "1.220.1250920.1",
                    "jockey": "J. W. Kennedy",
                    "position": "6/16"
                },
                {
                    "date": "2025-06-26T14:10:00.000Z",
                    "country_code": "GB",
                    "course": "Newcastle",
                    "course_code": "Nwc",
                    "distance": 2242,
                    "distance_unit": "yd",
                    "going": {
                        "abbr": "Slw",
                        "full": "Slow"
                    },
                    "in_play_max": 10.5,
                    "in_play_min": 1.01,
                    "bsp": 12,
                    "race_type": {
                        "key": "F",
                        "abbr": "Flat",
                        "full": "Flat"
                    },
                    "timeform_race_id": "1.35.1250626.3",
                    "jockey": "P. J. McDonald",
                    "official_rating": 83,
                    "position": "1/11"
                }
            ]
        }
    ]
}
Get race analysis and form — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15366/betfair+api/41121/get+race+analysis+and+form?market_id=1.265873935&language=en' --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 Betfair 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

Betting exchange data: sports, competitions, upcoming and live events, every market with back and lay prices and amounts available, live scores, statistics and horse racing.

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