Guides
Guides to the odds API
Step by step, with every request in curl, Python and JavaScript and the answer it returns.
-
Your first request to the OddFeeds API
Walk from the countries to the odds of one match in four requests, with each one in curl, Python and JavaScript.
6 min read Read the guide -
Read Asian handicap and over/under lines from the API
Ask for Asian handicap and over/under rows, read their lines, quarter lines included, and see how a line counts in play.
5 min read Read the guide -
Feed an arbitrage scanner from the API
One request for every bookmaker of your key on the matches in play, the prices lined up per outcome, and the check of each price before you act.
6 min read Read the guide -
Use Pinnacle as your reference price
Ask for Pinnacle and other bookmakers on the same match and line, read how current each price is, and see one way to take the margin out on an example.
6 min read Read the guide -
Poll in-play prices and read how fresh each one is
A polling loop for in-play trading: the minute and score with each price, when each price changed and was last confirmed, and the right wait on 429 and 5xx.
6 min read Read the guide -
Keep your own history of odds from the API
Poll the matches you model and keep one line per price change you see, with the closing time of every price that leaves the feed.
6 min read Read the guide