Use case: content and community sites

Embed live odds widgets on any site

Drop live arbitrage, positive EV, and middles tables onto a site with one iframe, then graduate to API-backed custom embeds.

Who this is for

Site owners, newsletter writers, and community operators who want live odds content on a page without building a backend. The prebuilt widgets at /widgets need no key; the API powers custom embeds when you outgrow them.

Recommended workflow
  1. Paste a prebuilt iframe from /widgets
  2. Pick the sport with the sport query parameter
  3. Add a status badge where live status context helps
  4. Move to API-backed rendering when you need custom styling

The three endpoints this build uses

GET /v1/sports/{sport_key}/best-lineThe data behind a custom best-price table if you outgrow the prebuilt iframes.
GET /v1/sports/{sport_key}/arbitrageFeeds a custom arb board once you want your own styling and filters.
GET /badge/{kind}.svgShields-style status badges (status, sources, books, sports) for READMEs and status pages. Public, no auth.

Working code

<!-- Free prebuilt widget: no signup, no API key -->
<iframe src="https://parlay-api.com/widget/arbs?sport=baseball_mlb"
        width="100%" height="320" frameborder="0"
        title="Live arbitrage opportunities"></iframe>

<!-- Status badge for a README or status page -->
<img src="https://parlay-api.com/badge/books.svg" alt="Bookmakers tracked">

Which tier fits

The prebuilt widgets are free with no signup and no API key, rate limited per viewer IP. Custom embeds that call the API directly can start on the free tier and move up with traffic. Current limits are on the pricing page.

Example repo

Start from parlay-api-js, an open-source starting point for this exact build.

Build links

/widgets/answers/sports-odds-api/answers/how-odds-api-credits-work