NBA

NBA team fan badges with team logos and team colors.

Show which NBA team you support with a fan badge that renders the team logo next to the badge text.

fan New York Knicks
Knicks (branded)
fan Boston Celtics
Celtics (branded)
fan Golden State Warriors
Warriors
fan Chicago Bulls
Bulls outline
fan Los Angeles Lakers
Lakers ghost
fan Miami Heat
Heat (branded)

Available badges

BadgeEndpointDescription
NBA champs/nbaDefault “2026 champs / Knicks” badge using the branded Knicks color
NBA team/nba/{team}Fan badge with NBA team name, logo, and team color

{team} accepts common team slugs, names, abbreviations, and nicknames. For example, knicks, ny, new-york-knicks, and celtics all resolve to a team badge. Omit {team} for the default “2026 champs / Knicks” badge.

GET/nba/:team.svg

Path Parameters

required

Team slug, abbreviation, city, or nickname.

![badge](https://shieldcn.dev/nba/knicks.svg)
badge preview

Quick examples

![2026 Champs Knicks](https://shieldcn.dev/nba.svg)
![Celtics fan](https://shieldcn.dev/nba/celtics.svg?variant=branded)
![Warriors fan](https://shieldcn.dev/nba/warriors.svg?variant=outline)
![Bulls fan](https://shieldcn.dev/nba/chi.svg?variant=secondary)

Team slugs

Use lowercase team names with spaces replaced by dashes, a team abbreviation, or a common nickname:

  • /nba/knicks, /nba/ny, /nba/new-york-knicks
  • /nba/celtics, /nba/bos, /nba/boston
  • /nba/warriors, /nba/gs, /nba/golden-state-warriors
  • /nba/lakers, /nba/lal, /nba/los-angeles-lakers
  • /nba/sixers, /nba/phi, /nba/76ers

Unknown teams return a readable error badge instead of a broken image.

Customizing

All standard badge query params apply (variant, size, mode, font, label, colors, etc.). The branded variant uses the resolved team's primary color.

Override the label while keeping the Knicks logo and team color.

![team New York Knicks](https://shieldcn.dev/nba/knicks.svg?variant=branded&label=team)

Outline badges stay readable in light mode while preserving the full-color team logo.

![fan Boston Celtics outline](https://shieldcn.dev/nba/celtics.svg?variant=outline&mode=light)

Data source

Team names, aliases, and primary colors are resolved from a static NBA team map. Team logo images are fetched from ESPN's public team logo CDN and cached for 24 hours. No API key required.