Discover/teamcolorcodes.com API
live

teamcolorcodes.com APIteamcolorcodes.com

Get Hex, RGB, CMYK, and Pantone color codes for NFL, NBA, MLB, NHL, NCAA, and soccer teams via the teamcolorcodes.com API.

Endpoints
4
Updated
3mo ago
Try it

No input parameters required.

api.parse.bot/scraper/29e13f18-fd55-4186-a28e-fbac5952be0c/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/29e13f18-fd55-4186-a28e-fbac5952be0c/list_leagues' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

List all supported sports leagues and their relative paths. Returns a static list of leagues available for querying teams.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "data": "array of objects each containing league name and path",
    "status": "string indicating success"
  },
  "sample": {
    "data": [
      {
        "path": "/nfl-team-color-codes/",
        "league": "NFL"
      },
      {
        "path": "/nba-team-color-codes/",
        "league": "NBA"
      },
      {
        "path": "/mlb-team-color-codes/",
        "league": "MLB"
      }
    ],
    "status": "success"
  }
}

About the teamcolorcodes.com API

The teamcolorcodes.com API provides official brand color data across 6 major sports leagues using 4 endpoints. Call get_team_colors with any team URL to retrieve structured color sections containing Hex, RGB, CMYK, and Pantone values. You can also browse leagues with list_leagues, enumerate rosters with list_teams, or run a cross-league keyword search with search_teams to locate a team page before fetching its colors.

Endpoints and Coverage

The API covers NFL, NBA, MLB, NHL, NCAA, and international soccer. list_leagues returns an array of objects each containing a league name and path (e.g. /nfl-team-color-codes/). Feed any path into list_teams to get every team in that league as an array of {name, url} objects. The url from that response is what you pass to get_team_colors.

Color Data Returned

get_team_colors returns a data object with three top-level fields: team_name, url, and color_sections. Each entry in color_sections has a section label (some teams have primary and secondary sections) and a colors array. Individual color entries carry whichever of these four formats are documented for that team: hex, rgb, cmyk, and pantone. Not every team has all four formats — availability depends on what teamcolorcodes.com publishes for that team.

Searching Across Leagues

search_teams accepts a query string and an optional league_path. Without league_path, it searches up to 6 leagues and returns a results array of {name, url, league_path} matches. This is useful when you have a team name but do not know which league path to start from. Results can then feed directly into get_team_colors.

Practical Considerations

League paths are stable string identifiers (e.g. /nba-team-color-codes/) and serve as the linking parameter across list_leagues, list_teams, and search_teams. Color section names are sourced directly from the team's color page, so formatting may vary slightly between teams. There is no pagination — list_teams returns all teams for a league in a single response.

Common use cases
  • Populate an official team color palette picker for a fan merchandise design tool using get_team_colors hex values
  • Build a sports branding reference app that maps every NBA or NFL team to its exact Pantone and CMYK colors
  • Validate brand color compliance in user-generated sports content by comparing submitted colors against official RGB values
  • Generate CSS variables or Tailwind config entries per team using the hex codes from color_sections
  • Cross-league team search in a sports trivia app using search_teams with a partial team name query
  • Automate data entry for a sports design system by iterating list_teams across all leagues and fetching each team's colors
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does teamcolorcodes.com have an official developer API?+
No. teamcolorcodes.com does not publish an official developer API or documented data feed. This Parse API is the structured programmatic interface to that data.
What color formats does `get_team_colors` return, and are all four always present?+
Each color entry in color_sections can include hex, rgb, cmyk, and pantone fields. Not all four are guaranteed — the API returns whichever formats teamcolorcodes.com lists for that specific team, so some teams may only have hex and RGB while others include all four.
Does the API return historical or alternate uniform colors?+
The API returns whatever color sections are published on a team's page, which may include primary and secondary palettes. Dedicated historical, throwback, or season-specific alternate uniform color sets are not separately broken out as distinct endpoints. You can fork this API on Parse and revise it to add an endpoint targeting those alternate color sections if the source page includes them.
Can I retrieve team logos or other brand assets alongside the color codes?+
No. The API covers color data only — hex, RGB, CMYK, and Pantone values. Logo images, wordmarks, and other brand asset URLs are not returned by any current endpoint. You can fork this API on Parse and revise it to add an endpoint that extracts logo image URLs from team pages.
How do I find a team's URL if I only know the team name?+
search_teams accepts a case-insensitive partial query string and returns matching {name, url, league_path} entries across up to 6 leagues. Pass the returned url directly to get_team_colors to fetch that team's color data.
Page content last updated . Spec covers 4 endpoints from teamcolorcodes.com.
Related APIs in SportsSee all →
athletic.net API
Search and analyze cross country and track & field performance data across the US, including athlete profiles, meet results, team rosters, and rankings. Access comprehensive meet information, historical records, and state-level competition data to track athlete progress and discover top performers.
maxpreps.com API
Access high school sports data from MaxPreps. Search for schools, retrieve team rosters and schedules, look up athlete profiles, and browse national or state rankings across all sports.
vg.no API
Access VG.no's latest news, articles, sports scores, and TV guides through a single interface where you can browse the front page, search articles by topic, view category-specific content, and find related stories. Get real-time sports scores and television schedules alongside comprehensive news coverage from Norway's leading news outlet.
vegasinsider.com API
Retrieve MLB betting odds from major sportsbooks including bet365, FanDuel, and DraftKings, covering Moneyline, Total, and Runline markets for any supported date. Easily compare odds across books to identify the best available lines.
puntoticket.com API
Browse and search events happening in Chile with PuntoTicket, viewing featured shows, filtering by category, and checking detailed pricing and availability for concerts, theater, sports, and more. Find the perfect event by exploring all listings or discovering what's trending right now.
130point.com API
Search for sold trading cards across eBay, Goldin, Heritage Auctions, Pristine Auction, MySlabs, and Fanatics Collect to find historical prices, sale dates, and marketplace information all in one place. Get comprehensive sales data to research card values and track market trends across multiple platforms instantly.
wynncraft.com API
Access detailed Wynncraft game information to look up item metadata and search across the complete item database, retrieve player statistics and character inventories, and browse guild information and global search results. Use this data to compare gear, track player progress, analyze guild rosters, or build tools for the Wynncraft community.
whoscored.com API
Search for players and teams, then dive deep into their performance metrics, match statistics, and detailed passing data to analyze football games and player abilities. Get comprehensive insights on team performance, individual player stats, and play-by-play event information to power your football analysis and decision-making.