Live Sports Odds

부분 유료
분류별 The Odds API | 업데이트됨 8 дней назад | Sports
인기

9.9 / 10

지연 시간

391ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

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

Rapid account: Joshzoll
joshzoll
год назад

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 год назад

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입