Betfair API

API ID 15366

投注交易所数据:体育项目、赛事、即将开始和正在进行的比赛、所有市场的买入和卖出价格及可用金额、实时比分、统计数据和赛马

API 文档

端点

请求
返回某项赛事的所有即将举行的活动及其开始时间、国家、电视台频道和是否正在进行中
Endpoint ID: 41102
GET https://zylalabs.com/api/15366/betfair+api/41102/get+events+of+a+competition
输入参数

获取一场比赛的赛事信息 — 端点功能

对象 描述
competition_id 必需 Competition id as returned by the sport competitions (e.g. 10932509 for the English Premier League)
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

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


输入参数

competition_id
language
API 示例响应
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": []
    }
]
获取一场比赛的赛事信息 — 代码片段

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' 


    
请求
返回某项赛事的胜负盘市场(例如冠军、最佳射手、降级、排名前四),并列出每个参赛选项最佳的三个买入和卖出价格、可用金额、最新成交价、隐含概率及已匹配金额
Endpoint ID: 41103
GET https://zylalabs.com/api/15366/betfair+api/41103/get+outright+markets+of+a+competition+with+prices
输入参数

获取比赛的直接市场及赔率 — 端点功能

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

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


输入参数

competition_id
language
currency
API 示例响应
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": []
            }
        ]
    }
]
获取比赛的直接市场及赔率 — 代码片段

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' 


    
请求
返回某项运动的赛事,也可指定某一场比赛,并提供赛事开始时间、比赛信息,以及一个市场中每个参赛者最佳的三个买入价和卖出价及其可用金额、最后成交价和已匹配金额。除非“market_type”指定其他市场类型,否则该市场为比赛赔率市场。按开始时间排序时,正在进行的赛事排在最前面
Endpoint ID: 41104
GET https://zylalabs.com/api/15366/betfair+api/41104/get+upcoming+events+of+a+sport+with+prices
输入参数

获取某项运动即将举行的赛事及价格 — 端点功能

对象 描述
sport_id 必需 Sport id as returned by the sports list (e.g. 1 for football, 2 for tennis, 7522 for basketball)
competition_id 可选 Competition id as returned by the sport competitions (e.g. 10932509 for the English Premier League)
market_type 可选 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 可选 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 可选 Page number, 25 events a page
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency 可选 Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

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


输入参数

sport_id
competition_id
market_type
sort
page
language
currency
API 示例响应
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
                            }
                        ]
                    }
                ]
            }
        }
    ]
}
获取某项运动即将举行的赛事及价格 — 代码片段

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' 


    
请求
返回市场在指定日期(UTC)开始的某项运动的赛事,包括其开始时间、赛事名称,以及一个市场中每个参赛者最优的三个买入价和卖出价及其可用金额、最后成交价和已匹配金额。除非“market_type”指定其他市场,否则该市场为比赛赔率。
Endpoint ID: 41105
GET https://zylalabs.com/api/15366/betfair+api/41105/get+events+of+a+sport+by+date+with+prices
输入参数

按日期获取某项运动的赛事及价格 — 端点功能

对象 描述
sport_id 必需 Sport id as returned by the sports list (e.g. 1 for football, 2 for tennis, 7522 for basketball)
date 必需 Day in the format YYYY-MM-DD (UTC), today or later
market_type 可选 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 可选 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 可选 Page number, 25 events a page
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency 可选 Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

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


输入参数

sport_id
date
market_type
sort
page
language
currency
API 示例响应
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
                            }
                        ]
                    }
                ]
            }
        }
    ]
}
按日期获取某项运动的赛事及价格 — 代码片段

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' 


    
请求
返回正在进行的赛事,可以是某项运动的赛事,也可以是整个交易所的赛事,并附带其实时比分,以及一个市场中每个参赛选项最佳的三档买入和卖出价格及可用金额、最后成交价和已匹配金额。除非“market_type”选择了其他市场,否则该市场为比赛赔率市场
Endpoint ID: 41106
GET https://zylalabs.com/api/15366/betfair+api/41106/get+live+events+with+scores+and+prices
输入参数

获取带有比分和赔率的实时赛事 — 端点功能

对象 描述
sport_id 可选 Sport id as returned by the sports list (e.g. 1 for football, 2 for tennis); every sport when left out
market_type 可选 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 可选 Page number, 25 events a page
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency 可选 Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

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


输入参数

sport_id
market_type
page
language
currency
API 示例响应
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
                }
            }
        }
    ]
}
获取带有比分和赔率的实时赛事 — 代码片段

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' 


    
请求
返回包含赛事名称 运动项目 比赛 开始时间 国家 电视频道 是否正在进行 未结算盘口数量 提供的盘口类型及其实时比分的赛事
Endpoint ID: 41107
GET https://zylalabs.com/api/15366/betfair+api/41107/get+event+details
输入参数

获取活动详情 — 端点功能

对象 描述
event_id 必需 Event id as returned by the event lists or the search (e.g. 36303120)
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

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


输入参数

event_id
language
API 示例响应
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
}
获取活动详情 — 代码片段

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' 


    
请求
返回某个赛事的所有市场,包括其类型、状态、已匹配和可用金额、佣金率,以及每个参赛方的最佳三个买入价和卖出价、可用金额、最后成交价和隐含概率 "market_type" 保留一种市场类型
Endpoint ID: 41108
GET https://zylalabs.com/api/15366/betfair+api/41108/get+all+markets+of+an+event+with+prices
输入参数

获取事件中所有带价格的市场 — 端点功能

对象 描述
event_id 必需 Event id as returned by the event lists or the search (e.g. 36303120)
market_type 可选 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 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro
currency 可选 Currency of the matched and available amounts: GBP, EUR, USD, AUD, CAD, NZD, HKD, SGD, DKK, NOK, SEK, BRL, MXN

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


输入参数

event_id
market_type
language
currency
API 示例响应
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": []
            }
        ]
    }
]
获取事件中所有带价格的市场 — 代码片段

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' 


    
请求
返回正在进行赛事的实时比分:双方比分、半场比分、全场比分和点球比分、盘数和局数、红黄牌、角球和罚牌积分、比赛状态以及比赛进行的分钟数
Endpoint ID: 41109
GET https://zylalabs.com/api/15366/betfair+api/41109/get+live+score+of+an+event
输入参数

获取活动的实时比分 — 端点功能

对象 描述
event_id 必需 Event id as returned by the event lists or the search (e.g. 36303120)
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

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


输入参数

event_id
language
API 示例响应
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
    }
}
获取活动的实时比分 — 代码片段

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' 


    
请求
返回正在进行的赛事实时比分及其按顺序排列的事件(开球、进球、红黄牌、角球、换人、中场休息),每项均包含分钟数和球队
Endpoint ID: 41110
GET https://zylalabs.com/api/15366/betfair+api/41110/get+incidents+of+an+event
输入参数

获取事件的事故记录 — 端点功能

对象 描述
event_id 必需 Event id as returned by the event lists or the search (e.g. 36303120)
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

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


输入参数

event_id
language
API 示例响应
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
        }
    ]
}
获取事件的事故记录 — 代码片段

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' 


    
请求
返回足球比赛的统计数据:联赛积分榜、双方阵容、各队近期赛果和进球者、双方交锋记录以及比赛事实
Endpoint ID: 41111
GET https://zylalabs.com/api/15366/betfair+api/41111/get+statistics+of+a+football+match
输入参数

获取一场足球比赛的统计数据 — 端点功能

对象 描述
event_id 必需 Event id as returned by the event lists or the search (e.g. 36303120)
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

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


输入参数

event_id
language
API 示例响应
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
    }
}
获取一场足球比赛的统计数据 — 代码片段

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' 


    
请求
返回交易所中的每项运动及其 ID、名称和可供投注的市场数量
Endpoint ID: 41112
GET https://zylalabs.com/api/15366/betfair+api/41112/get+sports
输入参数

获取体育资讯 — 端点功能

对象 描述
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

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


输入参数

language
API 示例响应
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
    }
]
获取体育资讯 — 代码片段

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


    
请求
返回具有开放投注市场的体育项目赛事,包括每项赛事的 ID、名称、地区和市场数量
Endpoint ID: 41113
GET https://zylalabs.com/api/15366/betfair+api/41113/get+competitions+of+a+sport
输入参数

获取某项运动的比赛 — 端点功能

对象 描述
sport_id 必需 Sport id as returned by the sports list (e.g. 1 for football, 2 for tennis, 7522 for basketball)
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

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


输入参数

sport_id
language
API 示例响应
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
    }
]
获取某项运动的比赛 — 代码片段

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' 


    
请求
返回某项运动的市场类型代码(例如 MATCH_ODDS、OVER_UNDER_25、CORRECT_SCORE、ASIAN_HANDICAP)以及每种类型的未关闭市场数量。将代码作为“market_type”传递给赛事列表,即可获取每场赛事的该市场,而非胜负赔率市场
Endpoint ID: 41114
GET https://zylalabs.com/api/15366/betfair+api/41114/get+market+types+of+a+sport
输入参数

获取某项运动的市场类型 — 端点功能

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

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


输入参数

sport_id
API 示例响应
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
    }
]
获取某项运动的市场类型 — 代码片段

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' 


    
请求
按球队、球员、赛事或场馆名称在交易所中搜索活动(比赛、赛跑和冠军竞猜)。每条结果都包含其 ID、运动项目、赛事、开始时间以及提供的投注市场_久久爱
Endpoint ID: 41115
GET https://zylalabs.com/api/15366/betfair+api/41115/search+events
输入参数

搜索活动 — 端点功能

对象 描述
query 必需 Search text, between 2 and 100 characters (e.g. arsenal)
page 可选 Page number, 25 results a page
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

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


输入参数

query
page
language
API 示例响应
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"
                }
            ]
        }
    ]
}
搜索活动 — 代码片段

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' 


    
请求
返回一个市场及其状态 已匹配和可用的资金 佣金率 规则以及每位参赛者的最佳三档买入价和卖出价 可用金额 最后成交价 隐含概率 起始价以及赛马赛事的赛卡信息(骑师 练马师 年龄 负重 赛绩 评分 档位 血统 马衣和预测价格)
Endpoint ID: 41116
GET https://zylalabs.com/api/15366/betfair+api/41116/get+a+market+with+prices+and+rules
输入参数

获取一个包含价格和规则的市场 — 端点功能

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

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


输入参数

market_id
language
currency
API 示例响应
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
                }
            ]
        }
    ]
}
获取一个包含价格和规则的市场 — 代码片段

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' 


    
请求
一次最多返回 25 个市场,每个市场均包含其状态、已匹配金额以及每个参赛者最佳的三个买入价和卖出价及其可用金额、最后成交价和隐含概率
Endpoint ID: 41117
GET https://zylalabs.com/api/15366/betfair+api/41117/get+prices+of+several+markets
输入参数

获取多个市场的价格 — 端点功能

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

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


输入参数

market_ids
language
currency
API 示例响应
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
                    }
                ]
            }
        ]
    }
]
获取多个市场的价格 — 代码片段

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' 


    
请求
返回某项运动或整个交易所中成交金额最多的25个市场,并显示每个选手最佳的三个买价和卖价、可用金额及最后成交价
Endpoint ID: 41118
GET https://zylalabs.com/api/15366/betfair+api/41118/get+most+traded+markets
输入参数

获取交易量最大的市场 — 端点功能

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

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


输入参数

sport_id
language
currency
API 示例响应
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
                    }
                ]
            }
        ]
    }
]
获取交易量最大的市场 — 代码片段

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' 


    
请求
返回某一天的赛马或赛狗赛事安排,包括场地、国家和场地状况,以及每场比赛的市场 ID、名称、编号、开始时间和状态。将比赛的市场 ID 传入市场详情接口,即可获取包含赔率的赛事卡片。
Endpoint ID: 41119
GET https://zylalabs.com/api/15366/betfair+api/41119/get+race+meetings+of+a+day
输入参数

获取某一天的赛马赛事计划群娱乐主管 — 端点功能

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

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


输入参数

sport
date
countries
language
API 示例响应
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
            }
        ]
    }
]
获取某一天的赛马赛事计划群娱乐主管 — 代码片段

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' 


    
请求
返回所选国家即将开始的赛马比赛,按开始时间从早到晚排列,并显示赛场、开始时间、状态和已撮合金额
Endpoint ID: 41120
GET https://zylalabs.com/api/15366/betfair+api/41120/get+next+horse+races
输入参数

获取下一场赛马赛事 — 端点功能

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

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


输入参数

countries
language
API 示例响应
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"
        ]
    }
]
获取下一场赛马赛事 — 代码片段

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' 


    
请求
返回赛马或赛狗比赛的专家分析:赛果预测,以及每位参赛者的详情、点评、评分和近期表现(赛马:年龄、体重、训练师、官方评分、装备、血统以及过往比赛的赛场、距离、场地状况、骑师、名次、比赛中赔率和起步赔率;赛狗:赛道号、评分、预测名次和赔率)
Endpoint ID: 41121
GET https://zylalabs.com/api/15366/betfair+api/41121/get+race+analysis+and+form
输入参数

获取赛事分析和状态 — 端点功能

对象 描述
market_id 必需 Market id as returned in "market_id" by the event and market endpoints (e.g. 1.258422584)
language 可选 Language of the names: en, es, it, de, fr, pt, sv, da, no, fi, ru, el, ro

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


输入参数

market_id
language
API 示例响应
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"
                }
            ]
        }
    ]
}
获取赛事分析和状态 — 代码片段

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 访问密钥和身份验证

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

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

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

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

起价
$10,000/年


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

概览

博彩交易所数据:体育项目、赛事、即将开始和正在进行的活动、每个市场的买入和卖出价格及可用金额、实时比分、统计数据和赛马

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API