{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"d597d674-a6ce-4bbc-a630-ebe0babc8ec6","catalogType":"api","categories":["data"],"dataPlatform":"espn","dataPlatformLogoUrl":"https://api.sh/logos/espn.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get ESPN Team data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as league, output, raw, and retrieve structured data including ESPN team identifier, team full display name, team short abbreviation, primary team hex color, and primary team logo URL to build branded team pages, and show next matchup countdowns.","descriptionTranslations":{"ar":"استرجع ملفات فرق ESPN التفصيلية عبر OpenAny REST لبناء صفحات الأندية وأدوات المقارنة ولافتات المباريات عبر الدوريات الكبرى والجامعية وكرة القدم. أرسل league وteam_id مع خيار include لإضافة statistics أو depth_chart أو leaders للحصول على الشعارات والألوان والملعب والمباراة القادمة بصيغة JSON.","ja":"OpenAny REST で詳細な ESPN チームプロフィールを取得し、チームハブや比較ツール、試合バナー構築に活用できます。league と team_id（数値 ID または略称）に加え、include で statistics・depth_chart・leaders を選択すると、ロゴ、カラー、本拠地、次戦情報を JSON で返します。","zh":"通过 OpenAny REST 获取详尽的 ESPN 球队档案，用于搭建球队主页、球队对比工具和比赛日视觉横幅。传入 league 与 team_id（数字 ID 或缩写），并可通过 include 按需附加 statistics、depth_chart 或 leaders，获取队徽、配色、主场场馆与下场比赛信息 JSON。"},"effectContentHtml":"","executionMode":"sync","id":"84efe0c1-43f9-462e-8831-17de17da2493","includedContentHtml":"","inputs":[{"description":"League slug: nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, nhl, soccer competitions (eng.1 Premier League, esp.1 LaLiga, ita.1, ger.1, fra.1, usa.1 MLS, uefa.champions, uefa.europa, fifa.world ...), f1, irl, nascar-premier, pga, lpga, atp, wta, ufc. Other ESPN leagues work with `sport`.","location":"query","name":"league","nullable":false,"required":true,"type":"string"},{"description":"Only needed for a league not listed under `league` (it is inferred for those).","enum_values":["football","basketball","baseball","hockey","soccer","racing","golf","tennis","mma","lacrosse","volleyball","rugby","field-hockey","water-polo","australian-football","rugby-league","cricket","boxing"],"location":"query","name":"sport","nullable":false,"required":false,"type":"string"},{"description":"ESPN team id or abbreviation (13 = Los Angeles Lakers).","location":"query","name":"team_id","nullable":false,"required":true,"type":"string"},{"description":"Comma-separated extras: `statistics` (season team statistics), `depth_chart` (positions and players in depth order, where the league publishes one), `coaches` (coaching staff with years of experience), `injuries` (the team's injury report), `leaders` (team leaders per statistical category for `season`/`seasontype`, default the current season). Each extra is one more lookup; one that the league does not offer comes back as `{error}`.","location":"query","name":"include","nullable":false,"required":false,"type":"string"},{"description":"For include=leaders: season year (the year the season ends for NBA/NHL, e.g. 2025 = 2024-25). Default the current season.","location":"query","name":"season","nullable":false,"required":false,"type":"string"},{"description":"For include=leaders: 1 preseason, 2 regular season (default), 3 postseason, 4 off season.","enum_values":["1","2","3","4"],"location":"query","name":"seasontype","nullable":false,"required":false,"type":"string"},{"description":"For include=leaders: players per category (1-20, default 5).","location":"query","name":"leaders_limit","nullable":false,"required":false,"type":"integer"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/espn.png","method":"GET","name":"ESPN team API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eESPN Team API\u003c/h2\u003e\n\u003cp\u003eInspect a single team by passing league and team_id (numeric ID or abbreviation, such as 13 for the Los Angeles Lakers), plus optional sport, include (comma-separated extras like statistics, depth_chart, leaders), season, seasontype and leaders_limit (1-20). Returned JSON provides franchise details, venue, logos, colors, conference groups and next_event[].\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired query: league and team_id (id or abbreviation, e.g. 13). Optional sport, include (statistics, depth_chart, leaders), season, seasontype (1-4), leaders_limit (1-20), raw=0, fields and fresh=1.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · ESPN team API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eBuild branded team pages\u003c/strong\u003e: Use color, alternate_color, logo, logos[] and franchise.venue to style team headers accurately.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePull team stats and depth charts together\u003c/strong\u003e: Pass include=statistics,depth_chart,leaders to combine season metrics and starters in one call.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eShow next matchup countdowns\u003c/strong\u003e: Read next_event[] to display the team\u0026#39;s upcoming opponent, date and competition status.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eid\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eESPN team identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTeam full display name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eabbreviation\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTeam short abbreviation\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elocation\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTeam city or geographic location\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecolor\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary team hex color\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elogo\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary team logo URL\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efranchise.name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eFranchise name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efranchise.venue.fullName\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eHome stadium or arena name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003egroups.id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eConference or division group identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_event[].competitions[].date\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eScheduled start time of the next event\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/espn/v1/team \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode league=nba \\\n  --data-urlencode output=json \\\n  --data-urlencode raw=0 \\\n  --data-urlencode team_id=13\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/84efe0c1-43f9-462e-8831-17de17da2493\"\u003ePublished ESPN Team API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eCan I pass a team abbreviation instead of a numeric team_id?\u003c/h3\u003e\n\u003cp\u003eYes. team_id accepts either an ESPN numeric ID (such as 13) or team abbreviation.\u003c/p\u003e\n\u003ch3\u003eWhat extra data can I request with the include parameter?\u003c/h3\u003e\n\u003cp\u003ePass comma-separated extras such as statistics (season team stats), depth_chart (positions and players) and leaders.\u003c/p\u003e\n\u003ch3\u003eWhen do season, seasontype and leaders_limit apply?\u003c/h3\u003e\n\u003cp\u003eThose parameters configure include=leaders, selecting the season year, season type (1-4, default 2) and leaders per category (1-20, default 5).\u003c/p\u003e\n\u003ch3\u003eDoes the response include home arena or stadium metadata?\u003c/h3\u003e\n\u003cp\u003eYes. franchise.venue exposes id, fullName, shortName, address, indoor, grass and images[].\u003c/p\u003e\n\u003ch3\u003eHow do I refresh next_event and team stats immediately?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1 to skip the 24-hour cache and fetch live team data.\u003c/p\u003e\n\u003ch3\u003eHow do I keep the team payload small?\u003c/h3\u003e\n\u003cp\u003eOmit unneeded include extras and pass raw=0 to drop bulky raw source blocks.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/espn/espn-team-roster-api\"\u003eESPN Team Roster API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/espn/espn-team-schedule-api\"\u003eESPN Team Schedule API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/espn/espn-teams-api\"\u003eESPN Teams API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/espn/espn-team-api?offering=84efe0c1-43f9-462e-8831-17de17da2493","providerId":"apish","publicPath":"/v1/agent-apis/apish/espn/v1/team","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"league":"nba","output":"json","raw":"0","team_id":"13"}},"response_body":{"abbreviation":"LAL","active":true,"alternate_color":"fdb927","cached":false,"color":"552583","credits_used":1,"fetched_at":"2026-11-19T12:21:20.435Z","franchise":{"id":"13","name":"Los Angeles Lakers","venue":{"address":{"city":"Los Angeles","state":"CA"},"fullName":"crypto.com Arena","grass":false,"id":"1841","images":[{"alt":"","height":1125,"href":"https://a.espncdn.com/i/venues/nba/day/1841.jpg","rel":["full","day"],"width":2000}],"indoor":true,"shortName":"Staples Center"}},"groups":{"id":"4","isConference":false,"parent":{"id":"6"}},"id":"13","league":"nba","location":"Los Angeles","logo":"https://a.espncdn.com/i/teamlogos/nba/500/lal.png","logos":[{"rel":["full","default"],"url":"https://a.espncdn.com/i/teamlogos/nba/500/lal.png"},{"rel":["full","dark"],"url":"https://a.espncdn.com/i/teamlogos/nba/500-dark/lal.png"},{"rel":["full","scoreboard"],"url":"https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/lal.png"},{"rel":["full","scoreboard","dark"],"url":"https://a.espncdn.com/i/teamlogos/nba/500-dark/scoreboard/lal.png"},{"rel":["full","primary_logo_on_white_color"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_white_color.png"},{"rel":["full","primary_logo_on_black_color"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_black_color.png"},{"rel":["full","primary_logo_on_primary_color"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_primary_color.png"},{"rel":["full","primary_logo_on_secondary_color"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_on_secondary_color.png"},{"rel":["full","primary_logo_black"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_black.png"},{"rel":["full","primary_logo_white"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/primary_logo_white.png"},{"rel":["full","secondary_logo_on_white_color"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_white_color.png"},{"rel":["full","secondary_logo_on_black_color"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_black_color.png"},{"rel":["full","secondary_logo_on_primary_color"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_primary_color.png"},{"rel":["full","secondary_logo_on_secondary_color"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_on_secondary_color.png"},{"rel":["full","secondary_logo_black"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_black.png"},{"rel":["full","secondary_logo_white"],"url":"https://a.espncdn.com/guid/2876e98b-b9bc-2920-4319-46e6943f8be4/logos/secondary_logo_white.png"}],"name":"Los Angeles Lakers","next_event":[{"competitions":[{"attendance":null,"broadcasts":[],"competitors":[{"athlete":null,"form":null,"home_away":"home","id":"13","leaders":[],"linescores":[],"order":0,"rank":null,"records":[],"score":null,"seed":null,"statistics":[],"team":{"abbreviation":"LAL","alternate_color":null,"color":null,"id":"13","location":"Los Angeles","logo":"https://a.espncdn.com/i/teamlogos/nba/500/lal.png","name":"Los Angeles Lakers","nickname":null,"short_name":"Lakers","url":"https://www.espn.com/nba/team/_/name/lal/los-angeles-lakers"},"type":"team","winner":null},{"athlete":null,"form":null,"home_away":"away","id":"23","leaders":[],"linescores":[],"order":1,"rank":null,"records":[],"score":null,"seed":null,"statistics":[],"team":{"abbreviation":"SAC","alternate_color":null,"color":null,"id":"23","location":"Sacramento","logo":"https://a.espncdn.com/i/teamlogos/nba/500/sac.png","name":"Sacramento Kings","nickname":null,"short_name":"Kings","url":"https://www.espn.com/nba/team/_/name/sac/sacramento-kings"},"type":"team","winner":null}],"conference_game":null,"date":"2026-11-21T03:00Z","headlines":[],"id":"401909313","leaders":[],"neutral_site":false,"notes":["NBA Cup - Group Play"],"odds":null,"status":{"clock":"0.0","completed":false,"description":"Scheduled","detail":"Fri, November 20th at 10:00 PM EST","name":"STATUS_SCHEDULED","period":0,"short_detail":"11/20 - 10:00 PM EST","state":"pre"},"type":"STD","venue":{"city":"Los Angeles","country":null,"id":null,"indoor":null,"name":"crypto.com Arena","state":"CA"}}],"date":"2026-11-21T03:00Z","end_date":null,"id":"401909313","name":"Sacramento Kings at Los Angeles Lakers","season":{"slug":null,"type":null,"year":2027},"short_name":"SAC @ LAL","status":null,"url":"https://www.espn.com/nba/game/_/gameId/401909313/kings-lakers","week":null}],"nickname":"Lakers","record":[{"description":"Overall Record","stats":{"OTLosses":0,"OTWins":0,"avgPointsAgainst":114.4375,"avgPointsFor":120.875,"differential":6.4375,"divisionWinPercent":0.8333333,"gamesAhead":11,"gamesBehind":0,"gamesPlayed":16,"leagueWinPercent":0.7,"losses":3,"playoffSeed":1,"pointDifferential":103,"points":5,"pointsAgainst":1831,"pointsFor":1934,"streak":-1,"ties":0,"winPercent":0.8125,"wins":13},"summary":"13-3","type":"total"},{"description":"Home Record","stats":{"OTLosses":0,"losses":2,"ties":0,"winPercent":0.75,"wins":6},"summary":"6-2","type":"home"},{"description":"Away Record","stats":{"OTLosses":0,"losses":1,"ties":0,"winPercent":0.875,"wins":7},"summary":"7-1","type":"road"}],"short_name":"Lakers","slug":"los-angeles-lakers","sport":"basketball","standing_summary":"1st in Pacific Division","url":"https://www.espn.com/nba/team/_/name/lal/los-angeles-lakers"}}],"seoDescription":"Get ESPN Team data via REST or MCP powered by Apish. Pay per call, no subscription. Get ESPN team identifier and team full display name in JSON.","updatedAt":"2026-12-03T02:41:58.207Z","usageInstructionsHtml":""}}