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.
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®ions=us&oddsFormat=american&markets=h2h,spreads,totals
Приєднуйтесь до обговорення — додайте повідомлення нижче:
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®ions=us&oddsFormat=american&markets=h2h,spreads,totals