Yahoo Sports

Yahoo Sports team detail

Returns one team's detail (identity, colors, conference/division, and current standing summary) from sports.yahoo.com's own server-rendered team page. The league enum accepts nfl, nba, wnba, mlb, nhl, college-football, college-basketball, college-womens-basketball, mls, premier-league, la-liga, serie-a, bundesliga, ligue-1, nwsl, ligamx-apertura, ligamx-clausura, copa-america, club-world-cup, world-cup, concacaf-champions-cup, concacaf-gold-cup, concacaf-league, and champions-league. Get a team slug from the scoreboard or standings response (e.g. green-bay, la-lakers).

get/yahoo-sports/team

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/yahoo-sports/team
  • Auth: API key in header x-api-key

Query parameters

league'nfl' | 'nba' | 'wnba' | 'mlb' | 'nhl' | 'college-football' | 'college-basketball' | 'college-womens-basketball' | 'mls' | 'premier-league' | 'la-liga' | 'serie-a' | 'bundesliga' | 'ligue-1' | 'champions-league' | 'nwsl' | 'ligamx-apertura' | 'ligamx-clausura' | 'copa-america' | 'club-world-cup' | 'world-cup' | 'concacaf-champions-cup' | 'concacaf-gold-cup' | 'concacaf-league' required

League key

teamstring required

Yahoo Sports team slug

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "league": "nfl",
    "team": {
      "abbreviation": "GB",
      "conference": "NFC",
      "division": "NFC North",
      "id": "nfl.t.9",
      "location": "Green Bay",
      "name": "Green Bay Packers",
      "nickname": "Packers",
      "primary_color": "203731",
      "record": {
        "display": "64-56",
        "points": 85,
        "win_pct": ".533"
      },
      "secondary_color": "FFB612",
      "short_name": "Green Bay",
      "standing_summary": "4th NFC North",
      "url": "https://sports.yahoo.com/nfl/teams/green-bay/"
    }
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.