NFL scores
NFL·BAR

Docs

NFLBar is one script and three custom elements. Load the script once per page, then place elements anywhere.

<script src="https://cdn.nflbar.com/nflbar.js" defer></script>
<nfl-bar theme="dark" tabs="scores,schedule,leaders" team="KC" accent="#F5B700"></nfl-bar>
<nfl-card type="standings" division="AFC West"></nfl-card>
<nfl-pill team="PHI"></nfl-pill>

Attributes

ElementAttributeValues
nfl-barthemedark (default) | light
nfl-barteamTeam abbreviation to pin first, e.g. KC, PHI, LA
nfl-bartabsComma list of scores, schedule, leaders
nfl-barmodeticker (continuous scroll, default) | static
nfl-baraccentAny CSS color for the active tab and highlights
nfl-barflatSquare corners and no border, for docking at the very top of a page
nfl-barskindefault | neon | led | varsity | turf | terminal | pride | broadcast
nfl-barpresetgold | sky | violet | orange | midnight | slate | paper | cream | team (uses the pinned team's colors)
nfl-barbg, color, muted, border, winAny CSS color; overrides the skin and preset
nfl-barmotionoff disables every animation (reduced-motion visitors never get any)
nfl-cardtypestandings | team | game | leaders
nfl-carddivisione.g. AFC West (standings)
nfl-cardteamTeam for team/game cards (also picks the division for standings)
nfl-cardstatpass_yds | rush_yds | rec_yds | td | ppr (leaders)
nfl-pillteamRequired. Team abbreviation
nfl-pillshowlast (default) | next
nfl-pilltheme / sizelight, and size=sm for inline text
alllangen | es | pt | de | fr | it | nl | ja | ko | zh, or auto to follow your page's <html lang>. Kickoff times follow the language's format
allsiteYour saved embed id from your account, for install stats

Theming with CSS

Every color is a CSS variable, so you can also theme the bar from your own stylesheet. Attributes win over CSS, CSS wins over presets and skins.

nfl-bar {
  --nb-bg: #111;  --nb-fg: #fafafa;  --nb-mut: #a1a1aa;
  --nb-line: #27272a;  --nb-win: #fff;  --nb-acc: #22c55e;
}

Docking the bar at the top of your site

<nfl-bar flat style="position:sticky;top:0;z-index:50"></nfl-bar>

JSON feed for apps

Everything the widgets draw is in two public, CDN-cached files. Use them in iOS, Android, React Native or anything that speaks HTTP.

URLContentsRefresh
https://cdn.nflbar.com/v1/feed.jsonTeams and colors, last/this/next week games with lines, standings, leaders, per-game leaders, injuriesNightly + Monday morning
https://cdn.nflbar.com/v1/live.jsonIn-game state keyed by ESPN event id (the espn field on each game): score, quarter, clock, possession, down and distanceEvery minute during games
https://cdn.nflbar.com/v1/season-2026.jsonEvery game of the seasonNightly

Where the data comes from

Schedules, results, lines, team colors, player stats and injury reports come from nflverse, the open-source project behind nfl_data_py and nflreadpy. Standings are computed from results and sorted by win percentage, then point differential; they do not apply the NFL's full tiebreaker rules.

Privacy

The embed sets no cookies and collects no personal data. It sends an anonymous impression event (host domain, widget type) so we can count installs.