Join The Team!

A signing like no other...

Name
Email
Password
Selected Plan:
Pro£19.99/m
Pro w/ API£69.99/m
Return to Journal

Adding Peak Odds to Value Bets API

I've made a couple of changes to the value bets API and you will need to amend your code or scripts ever so slightly. The field that used to be called "best_odds" has now been renamed to "latest_odds". It makes more sense, especially with the second addition: peak odds. This new property will allow value bets that saw the odds drop before KO still show up on the results API. You can also go into the odds object and view the peak for each bookmaker. When viewing the results API, the value will be calculated based on the peak vs the probability model. When viewing the upcoming fixtures, it will remain the same (comparing the current best odds to the probability model output).

Also, I just wanted to let you all know that I'll be bringing pagination to the value bets API soon. This will again require updates to your code, so I'll be sure to put some documentation together before it goes live. If you have not checked out the Trends API, then maybe that will be a good bit of practise as you'll need to view and check the number of pages and call again if there's more than one page being presented.

Please let me know if you notice anything or feel like I have missed anything with this update and I'll get right on it.

Written by Joe (Founder @ OddAlerts)

Enjoyed this? Click to share on Twitter