Live Sports Odds

फ्रीमियम
द्वारा The Odds API | अपडेट किया गया 11 дней назад | Sports
लोकप्रियता

9.9 / 10

लेटेंसी

393ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

NBA Props endpoint not working

Rapid account: Pferreira 8
pferreira8
2 месяца назад

I am curious if I am doing something wrong
Here is the url I use with python requests for Celtics Mavs (game on 3/1)
https://odds.p.rapidapi.com/v4/sports/basketball_nba/events/d9b1f16402c3cf1593bdbe0e2c96856e/odds?regions=us&oddsFormat=decimal&markets=player_points&dateFormat=iso

The api key is passed in the headers
Here is the response from the server
Endpoint ‘/v4/sports/basketball_nba/events/d9b1f16402c3cf1593bdbe0e2c96856e/odds’ does not exist

Rapid account: Pferreira 8
pferreira8 Commented 2 месяца назад

great to know, thank you

Rapid account: Theoddsapi
theoddsapi Commented 2 месяца назад

Thanks for reaching out.

The event-odds endpoint is only available from our website API, and is not supported on RapidAPI at this time,

An API call will be the same as your example, but with a different host:

https://api.the-odds-api.com/v4/sports/basketball_nba/events/d9b1f16402c3cf1593bdbe0e2c96856e/odds?regions=us&oddsFormat=decimal&markets=player_points&dateFormat=iso&apiKey=YOUR_API_KEY

The API key will also need to be obtained from our website.

Also note this endpoint will return a 404 if the game has expired or is not currently showing odds.

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

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