实时数据 · 智能分析 · 开放API · 为开发者与球迷深度链接
/v1/nba/live
延迟 < 1.5s,覆盖30+数据字段
太阳
vs
独行侠
04/09 08:30
76人
vs
骑士
04/10 07:00
森林狼
vs
灰熊
04/11 09:00
/v1/nba/live 端点,返回JSON包含比分、时间、球队数据。需在请求头携带API Key。免费额度500次/日。/v1/nba/history 并传入 season 参数(如2024),可获取完整赛季球队/球员统计。fetch('https://api.nba.example/v1/nba/live', {
headers: {'X-API-Key': 'your_key'}
})
.then(res => res.json())
.then(data => {
console.log('🏀 实时比分:', data.games);
});