接口地址:http://open.liupai.net/footballs/league
支持格式:JSON,JSONP
请求方式:GET
请求示例:http://open.liupai.net/football/league?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 暂无参数 | |||
| 参数名称 | 类型 | 说明 |
|---|---|---|
| name | string | 联赛名称 |
| fixture_id | int | 赛季ID |
| max_turn_round | int | 当前赛季的最大轮次 |
| league_id | int | 联赛ID |
| fixture_str | string | 赛季 |
接口地址:http://open.liupai.net/footballs/nation
支持格式:JSON,JSONP
请求方式:GET POST
请求示例:http://open.liupai.net/footballs/nation?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 暂无参数 | |||
| 参数名称 | 类型 | 说明 |
|---|---|---|
| nation_id | int | 比赛国家ID |
| nation_enname | string | 英文名称 |
| nation_cnname | string | 中文名称 |
| cont_id | int | 比赛国家ID |
| cont_name | string | 五大洲名称 |
接口地址:http://open.liupai.net/footballs/table
支持格式:JSON,JSONP
请求方式:GET
请求示例:http://open.liupai.net/football/table?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| fixture_id | int | 是 | 赛季ID |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| level_name | string | 小组赛名称 |
| color | string | 球队主题色 |
| team_logo | string | 球队 logo |
| points | int | 积分 |
| miss_num | int | 掉球 |
| gain_num | int | 进球 |
| draw_num | int | 平 |
| lost_num | int | 负 |
| win_num | int | 胜 |
| team | string | 球队名称 |
| match_num | int | 场次 |
| rank | int | 排名 |
| team_id | int | 球队ID |
接口地址:http://open.liupai.net/footballs/schedule
支持格式:JSON,JSONP
请求方式:GET
请求示例:http://open.liupai.net/football/schedule?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| turn_id | int | 是 | 每轮ID |
| fixture_id | int | 是 | 赛季ID |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| team2_score | int | 客队得分 |
| team2 | string | 客队名称 |
| team1_score | int | 主队得分 |
| team2_id | int | 客队ID |
| show_state | string | 比赛状态 |
| team1_logo | string | 主队logo |
| team1_id | int | 主队ID |
| team1 | string | 主队名称 |
| match_time | string | 比赛时间 |
| team2_logo | string | 客队logo |
| match_id | int | 比赛ID |
接口地址:http://open.liupai.net/footballs/liveToday
支持格式:JSON,JSONP
请求方式:GET
请求示例:http://open.liupai.net/football/liveToday?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 暂无参数 | |||
| 参数名称 | 类型 | 说明 |
|---|---|---|
| match_id | int | 比赛ID |
| time | string | 比赛时间 |
| league_id | int | 联赛ID |
| team1 | string | 主队名称 |
| team1_logo | string | 主队logo |
| team1_id | int | 主队ID |
| team1_score | int | 主队得分 |
| team2 | string | 客队名称 |
| team2_logo | string | 客队logo |
| team2_id | int | 客队ID |
| team2_score | int | 客队得分 |
| show_state | string | 比赛状态 |
| league | string | 联赛名称 |
| league_logo | string | 联赛logo |
| bet_order | string | 场次 |
| rang | int | 让分 |
| team1_half_score | int | 主队半场得分 |
| team2_half_score | int | 客队半场得分 |
接口地址:http://open.liupai.net/footballs/score
支持格式:JSON,JSONP
请求方式:GET
请求示例:http://open.liupai.net/football/score?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 暂无参数 | |||
| 参数名称 | 类型 | 说明 |
|---|---|---|
| match_id | int | 赛事ID |
| live_time | string | 比赛进行计时 |
| show_state | string | 比赛状态 |
| team1_score | int | 主队得分 |
| team2_score | int | 客队得分 |
| team1_half_score | int | 主队半场得分 |
| team2_half_score | int | 客队半场得分 |
接口地址:http://open.liupai.net/footballs/liveSchedule
支持格式:JSON,JSONP
请求方式:GET
请求示例:http://open.liupai.net/football/liveSchedule?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| date | string | 否 | 年月日(例 2018-04-08) |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| match_id | int | 比赛ID |
| time | string | 比赛时间 |
| league_id | int | 联赛ID |
| team1 | string | 主队名称 |
| team1_logo | string | 主队logo |
| team1_id | int | 主队ID |
| team1_score | int | 主队得分 |
| team2 | string | 客队名称 |
| team2_logo | string | 客队logo |
| team2_id | int | 客队ID |
| team2_score | int | 客队得分 |
| show_state | string | 比赛状态(未开赛/上半场/中场/下半场/加时/取消/推迟) |
| league | string | 联赛名称 |
| league_logo | string | 联赛logo |
| bet_order | string | 竞彩序号 |
| rang | string | 让球分 |
| team1_half_score | string | 主队半场得分 |
| team2_half_score | string | 客队半场得分 |
| cardcount | int | 罚牌 主队 客队 (2红牌 3黄牌 9两黄变红) |
接口地址:http://open.liupai.net/footballs/results
支持格式:JSON,JSONP
请求方式:GET
请求示例:http://open.liupai.net/football/results?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| group_id | int | 否 | 分组id |
| date | string | 否 | 年月日(例如 2018-01-23) |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| match_id | int | 比赛ID |
| time | string | 比赛时间 |
| league_id | int | 联赛ID |
| team1 | string | 主队名称 |
| team1_logo | string | 主队logo |
| team1_id | int | 主队ID |
| team1_score | int | 主队得分 |
| team2 | string | 客队名称 |
| team2_logo | string | 客队logo |
| team2_id | int | 客队ID |
| team2_score | int | 客队得分 |
| show_state | string | 比赛状态 |
| league | string | 联赛名称 |
| league_logo | string | 联赛logo |
| bet_order | string | 比赛唯一标识 |
| rang | string | 让球数 |
| team1_half_score | string | 主队半场得分 |
| team2_half_score | string | 客队半场得分 |
| cardcount | array | 罚牌 主队 客队 (2红牌 3黄牌 9两黄变红) |
接口地址:http://open.liupai.net/footballs/footballData
支持格式:JSON,JSONP
请求方式:GET POST
请求示例:http://open.liupai.net/football/footballData?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| action | string | 是 | analyse 分析,odds 赔率,event 直播(定时轮询),baseinfo 当场基本信息 |
| match_id | int | 是 | 比赛ID |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| match_time | string | 比赛时间 |
| home | string | 主队名称 |
| away | string | 客队名称 |
| home_score | int | 主队得分 |
| away_score | int | 客队得分 |
| home_half_score | int | 主队半场得分 |
| away_half_score | int | 客队半场得分 |
| panlu | decimal | 盘路 |
| result | string | 赛果 |
| league | string | 联赛名称 |
| match_id | int | 比赛ID |
| t_type | string | 数据展示维度 |
| match_num | int | 比赛次数 |
| win_num | int | 赢 |
| draw_num | int | 平局 |
| lost_num | int | 输 |
| gain_num | int | 得分 |
| miss_num | int | 丢分 |
| difference_num | int | 净得分 |
| points | int | 比赛得分 |
| rank | int | 联赛排名 |
| win_ratio | string | 胜率 |
| time | string | 比赛时间 |
| league_id | int | 联赛ID |
| team1 | string | 主队名称 |
| team1_logo | string | 主队logo |
| team1_id | int | 主队ID |
| team1_score | int | 主队得分 |
| team2 | string | 客队名称 |
| team2_logo | string | 客队logo |
| team2_id | int | 客队ID |
| team2_score | int | 客队得分 |
| show_state | string | 比赛状态 |
| league_logo | string | 联赛logo |
| bet_order | string | 场次 |
| rang | int | 让球 |
| team1_half_score | int | 主队半场得分 |
| team2_half_score | int | 客队半场得分 |
| event_time | string | 事件时间点 |
| is_home | int | 是否是主队 |
| player | string | 球员动态(罚牌/进球等) |
| event_type | int | 待定 |
| state_key | string | 统计类型 |
| state_val | string | 分数比(主客队逗号分割) |
| first_home_win | decimal | 欧指初盘(主胜) |
| first_stand_off | decimal | 欧指初盘(平局) |
| first_guest_win | decimal | 欧指初盘(客胜) |
| home_win | decimal | 欧指终盘(主胜) |
| stand_off | decimal | 欧指终盘(平局) |
| guest_win | decimal | 欧指终盘(客胜) |
接口地址:http://open.liupai.net/footballs/league_all
支持格式:JSON,JSONP,XML
请求方式:GET POST
请求示例:http://open.liupai.net/footballs/league_all?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| is_all | string | 否 | 是否筛选赛事(默认热门联赛) league:联赛,cup:杯赛,all:所有 |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| lid | int | 联赛ID |
| country_id | int | 国家ID |
| cont_id | int | 五大洲ID |
| color | string | 颜色 |
| league_name | string | 中文简称 |
| league_enname | string | 英文名称 |
| league_logo | string | 赛事Logo |
接口地址:http://open.liupai.net/footballs/fixture
支持格式:JSON,JSONP,XML
请求方式:GET POST
请求示例:http://open.liupai.net/footballs/fixture?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| league_id | int | 是 | 联赛ID |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| fixture_id | int | 赛季ID |
| fixture_str | int | 赛季时间 |
| max_turn_round | int | 最大轮次 |
接口地址:http://open.liupai.net/footballs/getTermList
支持格式:JSON,JSONP
请求方式:GET POST
请求示例:http://open.liupai.net/footballs/getTermList?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 暂无参数 | |||
| 参数名称 | 类型 | 说明 |
|---|---|---|
| TermNo | string | 期号 |
| BeginTime | string | 开售时间 |
| EndTime | string | 截期时间 |
| DrawTime | string | 开奖时间 |
| LotteryType | string | 彩种 |
接口地址:http://open.liupai.net/footballs/getLotteryList
支持格式:JSON,JSONP
请求方式:GET POST
请求示例:http://open.liupai.net/footballs/getLotteryList?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| termNo | string | 是 | 期号,传足格式:例2021001,不传返回当前期 |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| match_id | int | 赛事ID |
| time | string | 比赛时间 |
| league_id | int | 联赛ID |
| team1 | string | 主队名称 |
| team1_id | int | 主队ID |
| team1_score | int | 主队得分 |
| team1_logo | string | 主队logo |
| team2 | string | 客队名称 |
| team2_id | int | 客队ID |
| team2_score | int | 客队得分 |
| team2_logo | string | 客队logo |
| show_state | string | 赛事状态 |
| league | string | 联赛名称 |
| league_logo | string | 联赛logo |
| bet_order | string | 竞彩序号 |
| rang | int | 联赛排名 |
| cardcount | array | 罚牌 主队 客队 (2红牌 3黄牌 ) |
| team1_half_score | int | 主队半场得分 |
| team2_half_score | int | 客队半场得分 |
| explains_score | string | 比分说明,加时点球等 |
| corner | string | 角球 |
| nation | string | 国家 |
| result | string | 比赛结果 |