A basketball game can flip in under two minutes. One 10-0 run, a couple of steals, a crowd that suddenly gets loud, and a ten-point lead is gone. Now picture missing that because you were in a meeting, stuck on a commute, or building a website instead of watching the game.
So how do fans keep up without living inside a score app? That is where a basketball widget comes in. A basketball widget for websites keeps desktop visitors on your page while the game plays out, and a basketball widget for applications does the same for anyone checking the score on their phone.
Get Started with Our NBA Data Feed
NBA APIWhat Is a Basketball Widget?
A basketball widget is an embeddable, plug-and-play component you can add to a website, screen, or app. It shows live basketball scores, match stats, fixtures, results, and more, and the visitor never has to leave the page.
Think of it as a courtside scoreboard you can drop into any site. Nobody tabs out to check the score. It is already there, updating on its own.
What Does a Basketball Widget Cover?

A good basketball widget, whether a basketball widget for websites or one built for apps, does more than show who is ahead. It packs the whole game into a block you can place anywhere. Here is what it usually covers.
Live Scores
The backbone of the widget. Points, quarters, and game clock tracked as they change, so real-time basketball scores feel like watching the game, not reading a recap.
Real-Time Events
Big moments pushed out the instant they happen, which keeps real-time basketball scores honest. A scoring run, a lead change, or a late comeback shows up on the widget before a friend can text you about it.
Lineups
Who is starting, who is on the bench, and who is on the floor right now. Fans get team news without digging through a pre-game press conference.
Team Stats
Club-level numbers that explain form. Scoring, rebounds, assists, and how a side performs at home versus on the road. This tells you whether a team is actually good or just riding a hot week.
Basketball Player Stats
Points, rebounds, assists, and minutes played for individual players. Basketball player stats are where fantasy managers, scouts, and stat-obsessed fans spend most of their time.
Head-to-Head Stats
Two teams, a history of meetings. A head-to-head view shows how past games went, adding rivalry context that one scoreline cannot.
Competition Center
One place for an entire league or tournament. Fixtures, results, live games, and squads together, so fans following a full season do not need five different pages.
Fixtures and Results
What is coming up and what already happened, in one clean view. Useful for fans planning their week and for sites that want visitors coming back.
Squads
Full team rosters, so a visitor can see who plays for whom without leaving your site.
Learn Everything About Our Competition Coverage
Basketball API CoverageHow Do You Add a Basketball Widget to Your Website?
Adding a basketball widget sounds like a development project. It is not. Setup comes down to three steps.
- Configure the widget. Use a JavaScript object (commonly called Entity_sport) that sets the sport, the widget type, the match or competition ID, the size, the color theme, and where the widget should render.
- Include the loader script. One script tag with the defer attribute, so the widget loads without slowing down the rest of your page.
- Give it a container. A plain div with an ID in your HTML. The widget is injected there once the script runs.
Whether you are adding a basketball widget for websites on a CMS or building a basketball widget for applications natively, the same three steps apply. A minimal setup looks like this:
<div id=”basketball-widget”></div>
<script>
var Entity_sport = {
field: “entity_basketball”,
widget: “match_summary”,
widget_size: “large”,
where_to: “basketball-widget”,
color_type: “dark”,
choosed_preset: “darkblue”
};
</script>
<script defer src=”widget-loader.js”></script>
Size options are small, medium, or large. The color theme can be light or dark, with presets like darkblue or lightred, and one toggle turns widget links on or off. Change the widget name and the match or competition ID, and the same setup handles a team stats card, a fixtures list, or a full match center. There is no separate integration to learn for each one. For the exact values and the real loader URL, check the Basketball Widget Documentation.
Entity Sport Basketball Widget
Entity Sport offers ready-made basketball widgets for platforms that want live data without building a live-data system from scratch. Each one runs on a dedicated basketball API for widgets behind the scenes, and all of them draw from the same real-time basketball data feed. That makes them a strong fit for fan blogs, fantasy platforms, and media sites that would rather keep readers on the page than watch them tab away to check a score.
Three flagship widgets set the tone. The Match Center streams real-time updates, minute-by-minute action, full match details, team lineups, head-to-head stats, and interactive graphs in a single live view. The H2H (Head-to-Head) widget brings up historical records and rivalries, past encounters, player statistics, team form, and player-vs-player matchups. The Scorecard View shows real-time match events next to team and player statistics and key match metrics, for a complete in-game or post-game read.
Beyond those three, the lineup also includes Competition Center, Competition Fixture, Competition Live, Competition Result, Players Statistics, Squads, and Team Statistics widgets. That is enough range for a fan, a fantasy player, or an analyst to pull exactly the view they need instead of scrolling through data they do not.
Every widget shares the same customization options: team logos, custom match date formats, highlighted winning teams, sorting and grouping controls, detailed score breakdowns, and an expandable match summary mode. Because every widget sits on the same basketball data feed, going from a squad list to a live match center is a config change, not a new integration.
Explore the widgets: https://www.entitysport.com/basketball-widget/
Conclusion
Basketball moves fast, and nobody should have to rearrange their day to keep up. With a basketball widget, the game comes to the fan. A live score block, a full match center, or a simple fixtures list takes the matchday experience and drops it straight into your platform, with no separate app needed.
For publishers and platforms, it is a simple way to keep fans engaged without building live infrastructure, since a basketball API for widgets handles the data layer. For fans, it means the game finds them. With the right basketball widget in place, missing the run that decided the game stops being the default.
Get in Touch with Us
ConnectFAQs
1. What is a basketball widget?
A basketball widget is an embeddable component that shows live basketball scores, stats, lineups, and match events on a website or app, and updates on its own as the game moves.
2. How do I add a basketball widget to my website?
You set up a JavaScript configuration object, add the loader script with the defer attribute, and create a container div where the widget will appear. Setup takes minutes, not weeks.
3. Can a basketball widget be customized to match my site?
Yes. Entity Sport basketball widgets support team logos, custom match date formats, light and dark themes, sorting and grouping options, and an expandable match summary mode.
4. What data does a basketball widget display?
Live scores, real-time match events, team stats, basketball player stats, head-to-head records, lineups, fixtures, and results. The exact mix depends on which widget you embed.
5. Which basketball widget is best for following a full season?
The Competition Center widget. It brings fixtures, results, live games, and squads for a whole competition into one block, so fans do not have to jump between pages.