Live Sports Odds

फ्रीमियम
द्वारा The Odds API | अपडेट किया गया 5日前 | 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
1年前

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 1年前

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

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें