Skip to content

DinoFeeds API ​

By purchasing any DinOdds package, you get access to the DinoFeeds API.

About the API ​

DinoFeeds API has been developed to provide an easy solution for displaying betting odds feeds on WordPress websites, specifically through the DinOdds plugin. The plugin pulls the odds from the feed once an hour and saves them on your website. Your visitors never contact the feed: their browsers load the odds from your own website's REST endpoint.

API Settings ​

You can control the API settings through your AffKraft account.

Find the DinOdds subscription you need and open its settings, where you can adjust:

  • the leagues and sportsbooks you want to receive
  • the website (domain and IP) that is allowed to fetch odds

Available leagues ​

SportLeagues (slug)
American footballNFL (nfl), NCAAF (ncaaf), CFL (cfl)
BasketballNBA (nba), NCAAB (ncaab), WNBA (wnba)
BaseballMLB (mlb)
HockeyNHL (nhl)
Combat sportsBoxing (boxing), UFC (ufc)
TennisATP (atp), WTA (wta)

Use the slug in the [odds] shortcode, for example [odds league="atp"].

Notes: ​

  1. You can always change the settings for your subscription
  2. You can select to pull data for only the leagues and the sportsbooks you want
  3. If a league is out of season, or you don't promote a sportsbook, it's recommended to skip them, otherwise, you'll have additional unused data stored in your database
  4. The plugin doesn't choose sportsbooks, the account does. After a change, save your Client ID again in the plugin (sidebar → Change) to load the new list, see Feed Updates
  5. If you move the site to another domain or server, update the allowed website here too, otherwise feed requests are refused