Use case

Website widgets

Live scores, a match card or a league table on any page, from one script tag — no code, no server, and a key that only works on your sites.

The build, step by step

  1. A widget key

    Create a widget key in the dashboard and list the sites it may run on.

    Dashboard → Widgets
  2. Pick a widget

    Live scores of a sport, one match, or a league table — in three sizes, light or dark.

    livescore · match · standings
  3. Paste it

    One element per widget, then the script once; it refreshes itself.

    <script src=".../widgets/v1.js">

Two lines of HTML

The dashboard's Widgets tab builds this snippet and previews every choice.

HTML
<div data-sportsapi-widget="livescore" data-sport="football"></div>
<script src="https://sportsapi.app/widgets/v1.js" data-key="pk_live_…" async></script>
Which plan

Pro and Business. Widget calls count against your quota like any other request.

Compare plans