Hosted bookmaker odds widgets

Odds widgets for betting websites

Add upcoming league games, up to 10 bookmakers and team logos without exposing a private API key.

Paid plans from $30/month. No surprise charges.

Live widget preview

Multiple Bookmakers

Compare up to 10 bookmakers in one panel for articles, affiliate pages and betting tools.

Customizable

Choose one league, up to 10 bookmakers and your background, accent and text colours.

Instant Updates

Current bookmaker prices update automatically without changing the embed on your website.

How to integrate a live odds widget into your website

Choose your settings in the widget builder, copy the embed code and paste it into your website.

  1. 1. Configure your odds widget

    Sign in and open Widgets in your account. With an active data plan and API key, choose a league, two to 10 bookmakers, a layout, odds format and colours.

  2. 2. Copy the embed code

    Check the preview, then select Copy widget. The code includes your signed widget token and loads the hosted panel.

  3. 3. Add the widget to your website

    Paste the embed into your page HTML where the odds should appear. For WordPress, use the plugin instructions that follow.

  4. 4. Publish and check the widget

    Open the published page on desktop and mobile. Confirm the selected league, bookmakers and prices appear, try switching games and leave the widget visible to check automatic refresh.

API keys remain server-side. The customer copies only the signed widget embed.

Add the widget to an HTML website

Paste the complete code from Copy widget inside your page's <body>, at the position where you want the odds panel. Save the page and publish your changes.

The embed uses this format. Replace YOUR_WIDGET_TOKEN with the signed token from your account, or copy your complete generated embed.

<div
  class="odds-api-widget"
  data-odds-api-widget-container
>
  <script
    async
    src="https://odds-api.net/widgets/odds-ticker.js"
    data-odds-api-widget="ticker"
    data-widget-token="YOUR_WIDGET_TOKEN"
    data-widget-theme="light"
    data-widget-background=""
    data-widget-accent=""
    data-widget-text=""
    data-widget-layout="match"
  ></script>
  <a
    class="odds-api-widget-credit"
    href="https://odds-api.net/?utm_source=widget&utm_medium=embed&utm_campaign=odds_widget"
  >
    Sports odds by Odds API
  </a>
</div>

Add the widget to WordPress

  1. In your account's Widgets tab, download the WordPress plugin and select Copy link beside WordPress widget link.
  2. In WordPress, open Plugins → Add New Plugin → Upload Plugin. Upload the ZIP, install it and activate Odds API Widgets.
  3. Open Settings → Odds API Widgets, enable hosted embeds, paste your widget link and save. Select Check widget to verify it.
  4. Edit a page, add the Odds API Widget block and publish. You can also use [odds_api_widget] in a Shortcode block.

If the widget does not load, check its preview in your account and confirm your data plan and API key are active. For an HTML embed, make sure your editor preserved the script tag.

This could be your site...

See how an NBA publisher can add sportsbook prices with a hosted widget. The same feed powers our NBA odds API.

ScoresNBA
Final

LAL112

CHI106

4th · 2:14

BOS98

NYK94

Final

DEN104

PHX101

8:00 PM

MIA–

MIL–

Courtside Daily
NBANewsScoresStandingsGame previewsOdds
LatestCeltics close strongly to take control of the East raceFive offseason moves changing the playoff picture
LakersLos Angeles
VS
BullsChicago
NBA matchup preview
NBA preview

Lakers vs Bulls: three matchups that could decide it

Los Angeles and Chicago meet in a game shaped by pace, bench scoring and late-possession execution.

Odds widget FAQs

Bookmakers, customization, automatic updates and API-key security.

How many bookmakers can I show?

Choose between two and 10 supported bookmakers for each widget.

Can I customize the widget?

Yes. Choose the league, select between two and 10 bookmakers, then set the background, accent and text colours.

How do visitors change games?

The widget loads up to 10 upcoming games for the selected league. Visitors use the dots at the bottom, arrow keys or a swipe to change the matchup.

How do the odds update?

Games and bookmaker prices update automatically inside the hosted widget. You do not need to republish the embed.

Does the widget expose my API key?

No. The embed uses a signed widget token, while odds-api.net keeps the active API key server-side.