Live match tracker widget
https:/
Enterprise only: the live match tracker, an embed that draws a match from its tracking data a few seconds behind the live action — in football, tennis, basketball, ice hockey or darts, for every fixture GET /v2/fixtures/{id}/tracking answers for — and turns into a replay you can play, speed up and scrub once the match is over. Football: The ball moving across the pitch and trailing a line behind it; which side is pressing and how hard (zones for ball safe, attack and dangerous attack); corners, free kicks and other set pieces; shots; goals with the new score; cards, VAR reviews and substitutions. Tennis (since 2026-11-13): A court coloured for its surface (hard, clay or grass), the home player starting on the left and the picture turning when the players change ends. Each rally shows the ball’s path, how high it flew and where it bounced; also who serves, lets, faults and second serves; a score updated after every point, with a board for an ace, a double fault or deuce; break, game, set and match points; games, sets and service breaks won; the set table at changeovers and set breaks; aces, double faults, service points won and break points won between points; a strip that collects aces, double faults, breaks and sets. Rallies play at real speed, about 10 seconds behind. Basketball (since 2026-11-13): Home shoots towards the right in every period. A band in the team’s colour marks possession (it reads “free throws” while a player is at the line). Shots appear where they were taken, with the ball’s arc to the rim: the points above the rim when it drops, a ring when it misses. Free throws one by one; fouls, offensive and defensive rebounds, steals, turnovers, blocks and jump balls; score, period and game clock; team fouls and the bonus; remaining timeouts; scoring runs of 8–0 or more; shot marks for the current period; centred cards for timeouts, video reviews, the end of each period and half-time, with period scores; a strip with lead changes, three-pointers, runs, timeouts and the end of each period. In NBA games all ten players move on the court as numbered discs in their team colours, together with the ball (and its height), the name of whoever carries it and the shot clock; the replay leaves the players out. About 9 seconds behind. Ice hockey (since 2026-11-13): The home side plays towards the right-hand net in each period. The puck sits where each play leaves it; faceoff wins, hits, giveaways and takeaways; shots drawn where they were taken with a line to the goal (saved, naming the goalkeeper, wide or blocked); a goal board as the score changes, naming scorer and assists and tagging power-play, short-handed or empty-net goals; disallowed goals; the zone under pressure; score, period and game clock; each side’s penalties counting down and the resulting strength (5 on 4 power play, 4 on 4, delayed penalty, empty net); penalty shots and shots on goal; the shoot-out one attempt at a time, with a running tally; shot marks for the current period; centred cards for TV timeouts, timeouts and the start and end of each period, with goals per period; a strip with goals, penalties, the shoot-out and period ends. When a game’s feed carries nothing but the goals, the tracker says so (limited coverage). About 10 seconds behind. Darts (since 2026-11-13): Every dart of the current visit is placed in the bed it struck, the latest highlighted with its score (a single sits in the inner or outer single bed, a miss lands outside the double ring). Next to the board, each player’s visit: the darts thrown, their total and the score still required. Whose throw it is, plus a checkout route we compute whenever the remaining score can be finished; banners for a 180, visits of 140+ and 100+, a bust and a checkout (showing the double and how many darts it took); a card for every leg and set as it is won; who opened the leg; three-dart averages and 180 counts; a closing card with averages, 180s, 100-plus visits and the highest checkout; a strip listing 180s, won legs and sets, and the result. Matches the source reports visit by visit, without single darts, show the visits only. About 9 seconds behind. Embedding works as for the other widgets: put data-sportsapi-widget="tracker" plus data-fixture, set to our fixture id, on an element, and load v1.js once with your widget key; the script inserts a frame showing this page in that spot and sizes it to fit. Options: data-theme light | dark | auto (auto follows the visitor), data-lang en, de, es, fr, pt or tr, data-accent (#rrggbb) for the controls, which also stands in when the home colour is not usable, data-home-color / data-away-color (#rrggbb; normally the colour of each team’s kit, replaced by a theme colour when the kit would blend into the grass or clash with the opponent), data-size full (max 780 px wide) or compact (max 460 px), and on | off switches for data-scoreboard, data-events (a strip with the latest key moments), data-trail (the ball’s trail; in basketball and ice hockey, shot marks for the current period), data-flip (in football, basketball and ice hockey it sends the away side to the right, otherwise the home side’s direction for the whole match; in tennis and darts it moves the away player to the left, the home player’s usual place), then data-replay, and data-frame (off removes the tracker’s own frame of border, padding, background and rounded corners, letting it sit inside a card on your page). Changing an option on the element takes effect at once, and changing data-fixture loads the other match. Animation follows the visitor’s reduced-motion setting.
Any /v2 call can also come back with one of the common errors.
<div data-sportsapi-widget="tracker" data-fixture="955250" data-theme="auto" data-lang="en"></div>
<script src="https://api.datasportsapi.com/widgets/v1.js" data-key="pk_live_…" async></script>