Live Sports Odds

免费增值
通过 The Odds API | 已更新 hace 4 días | Sports
人气

9.9 / 10

延迟

392ms

服务等级

100%

Health Check

N/A

返回所有讨论

spreads and totals not working for odds endpoint, always returns h2h

Rapid account: Joshzoll
joshzoll
hace un año

I’m using region=us and no matter what I put in the markets I always get h2h in the response.

Note that I’m using draftkings and fanduel in the markets parameter.

Rapid account: Theoddsapi
theoddsapi Commented hace un año

Thanks for reaching out. h2h is returned by default when no other markets are specified. To see spreads and totals in the response, be sure to include these in the “markets” parameter, for example “markets=h2h,spreads,totals”:

https://api.the-odds-api.com/v4/sports/basketball_nba/odds?apiKey=YOUR_API_KEY&regions=us&oddsFormat=american&markets=h2h,spreads,totals

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论