← 返回接口文档

GET/api/v1/venues/detail

获取场馆详情
世界杯专题数据包activebetacore可调用

接口说明

返回指定场馆id的数据(建议请求频次:60次/min)

调用信息

请求
GET https://api.sports.csap.ai/api/v1/venues/detail
鉴权
请求头 X-API-Key: <你的 key>(也支持 Authorization: Bearer <key>;?key= 仍可用但不建议,key 会留在地址和日志里)
外部 key
可调用所有有效的 key 都能调用。
频率限制
每分钟 3000 次 · 每天 200000 次 · 按 key 配置(以 /api/v1/account 返回的 rate_per_min、quota_daily 为准;上面是试用 key 的值),超出回 429。另外整表快照、不带比赛 id 的统计列表等重型请求全站同时只处理 2 个,排不上回 429 + Retry-After。响应里暂时没有 X-RateLimit-* 头。 详见通用说明

请求参数 1

参数类型必填示例说明
idsstring必填多id查询,逗号(,)区分,最大200个

请求示例

curl "https://api.sports.csap.ai/api/v1/venues/detail" \
  -H "X-API-Key: YOUR_API_KEY"

在线调试

示例返回

下面是 2026/11/09 22:29(北京时间) 用外部 key 实际请求的返回:HTTP 200,1000 行,350 ms(数据只留前 2 行)

{
  "code": 0,
  "data": [
    {
      "capacity": null,
      "city": "Ponte Caldelas",
      "city_zh": null,
      "country": "Spain",
      "country_id": null,
      "id": 1,
      "name_zh": null,
      "name_zht": null,
      "real_name_zh": null,
      "source": "SXf75ffe",
      "source_id": "Q116868986",
      "surface": null,
      "uid": 1,
      "undersoil_heating": null,
      "updated_at": 1793873335664
    },
    {
      "capacity": null,
      "city": "Ordes",
      "city_zh": null,
      "country": "Spain",
      "country_id": null,
      "id": 2,
      "name_zh": null,
      "name_zht": null,
      "real_name_zh": null,
      "source": "SXf75ffe",
      "source_id": "Q116977409",
      "surface": null,
      "uid": 2,
      "undersoil_heating": null,
      "updated_at": 1793873335670
    }
  ],
  "message": "success",
  "success": true
}

返回字段 18

capacityinteger可为空球场容量示例: 6560
citystring可为空城市示例: "Ponte Caldelas"
city_ennull可为空城市英文
city_zhnull可为空城市中文
countrystring可为空国家 / 地区示例: "Spain"
country_idnull可为空国家 / 地区 id
idinteger记录 id;翻页游标(id 参数取 >= 此值的记录)。比赛类接口里是我方比赛 id(gmid)示例: 1
name_enstring可为空英文名示例: "Willoughby Community Park Stadium"
name_zhnull可为空中文名
name_zhtnull可为空繁体中文名
real_name_enstring可为空原名英文(有数据时返回)示例: "Willoughby Community Park Stadium"
real_name_zhnull可为空原名中文(有数据时返回)
sourcestring数据来源代号(S1、S2…)示例: "SXf75ffe"
source_idstring来源内的 id示例: "Q116868986"
surfacenull可为空场地表面 1.天然草坪 2.人工草坪 3.混合草坪(有数据时返回)
uidinteger记录唯一游标 id示例: 1
undersoil_heatingnull可为空有无地下加热系统 1.有 0.无(有数据时返回)
updated_atinteger最后更新时间(UTC,ISO 8601;增量同步用 time 参数按它取)示例: 1793873335664

错误码

HTTPmessage场景
401missing API key / unauthorized没带 X-API-Key 或 key 无效、已停用
400bad param …参数格式不对(如 id 不是数字或 u<uid>)
301match merged into <gmid>按旧比赛 id 查,这场已合并到新 gmid:Location 指向新地址,返回体带 moved_to
404not found比赛 / 球队 / 赛事不存在,或不在这个 key 的可见范围内(外部 key 只能看到开放范围内的比赛)
429rate limit exceeded / daily quota exceeded超过 key 的每分钟次数或每日配额
429server busy, retry later服务端并发名额已满(重型请求同时只有 2 个),按 Retry-After 秒后重试
500query error服务端查询失败,可重试