文档
测试

获取赛程赛果列表-体彩查询

GET
https://open.sportnanoapi.com/api/v4/match/lottery?user=cmqp&secret=72186080619b93ec687ccb5f0800321c&lottery_type=101

接口描述

该接口返回查询日期开始及之后的赛程赛果数据 请求次数:120次/min 彩种说明 竞彩: 101-竞彩足球 北单: 301-北单胜负过关 404-北单让球胜平负 传统足彩: 401-14场胜负 402-6场半全场 403-4场进球

请求参数

参数名
类型
描述
必填
user
string
用户名
必填
secret
string
用户密钥
必填
lottery_type
int
示例:101
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
query
object
数据字典
必填
total
int
示例:12
必填
type
string
示例:lottery
必填
lottery_type
int
示例:101
必填
results
array
数据列表
必填
id
int
示例:2692188
必填
sport_id
int
示例:1
必填
season_id
int
示例:9067
必填
competition_id
int
示例:129
必填
home_team_id
int
示例:10364
必填
away_team_id
int
示例:10047
必填
status_id
int
示例:8
必填
match_time
int
示例:1590597000
必填
neutral
int
示例:0
必填
note
string
示例:
必填
home_scores
array
数据列表
必填
away_scores
array
数据列表
必填
home_position
string
示例:3
必填
away_position
string
示例:11
必填
coverage
object
数据字典
必填
mlive
int
示例:1
必填
intelligence
int
示例:1
必填
lineup
int
示例:1
必填
round
object
数据字典
必填
stage_id
int
示例:44720
必填
round_num
int
示例:28
必填
group_num
int
示例:0
必填
environment
object
数据字典
必填
weather
int
示例:1
必填
pressure
string
示例:776mmHg
必填
temperature
string
示例:20°C
必填
wind
string
示例:2.6m/s
必填
humidity
string
示例:50%
必填
updated_at
int
示例:1590608869
必填
lottery
object
数据字典
必填
issue_num
string
示例:3001
必填

说明 / 示例

{ "code": 0, "query": { "total": 12, "type": "lottery", "lottery_type": 101 }, "results": [ { "id": 2692188, "sport_id": 1, "season_id": 9067, "competition_id": 129, "home_team_id": 10364, "away_team_id": 10047, "status_id": 8, "match_time": 1590597000, "neutral": 0, "note": "", "home_scores": [2,1,1,2,4,0,0], "away_scores": [2,1,0,3,7,0,0], "home_position": "3", "away_position": "11", "coverage": { "mlive": 1, "intelligence": 1, "lineup": 1 }, "round": { "stage_id": 44720, "round_num": 28, "group_num": 0 }, "environment": { "weather": 1, "pressure": "776mmHg", "temperature": "20°C", "wind": "2.6m/s", "humidity": "50%" }, "updated_at": 1590608869, "lottery": { "issue_num": "3001" } }, { "id": 2693778, "sport_id": 1, "season_id": 9073, "competition_id": 130, "home_team_id": 10028, "away_team_id": 11274, "status_id": 8, "match_time": 1590597000, "neutral": 0, "note": "", "home_scores": [2,0,0,3,4,0,0], "away_scores": [1,0,0,1,11,0,0], "home_position": "14", "away_position": "6", "coverage": { "mlive": 1, "intelligence": 1, "lineup": 1 }, "round": { "stage_id": 44733, "round_num": 28, "group_num": 0 }, "environment": { "weather": 5, "pressure": "775mmHg", "temperature": "17°C", "wind": "2.9m/s", "humidity": "55%" }, "updated_at": 1590603889, "lottery": { "issue_num": "3004" } }]}