Yahoo Sports

Yahoo Sports team roster

Returns a team's full roster (position, jersey number, status, injury, physicals, college, and experience) from sports.yahoo.com's own server-rendered roster 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-roster

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/yahoo-sports/team-roster
  • 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": {
    "count": 53,
    "league": "nfl",
    "players": [
      {
        "height": "6'4\"",
        "id": "nfl.p.42019",
        "injury": "Questionable",
        "name": "John Williams",
        "number": "73",
        "position": "G",
        "status": "ACT"
      }
    ],
    "team": {
      "abbreviation": "GB",
      "id": "nfl.t.9",
      "location": "Green Bay",
      "name": "Green Bay Packers",
      "nickname": "Packers",
      "primary_color": "203731",
      "secondary_color": "FFB612",
      "short_name": "Green Bay",
      "url": "https://sports.yahoo.com/nfl/teams/green-bay/"
    }
  },
  "msg": "OK"
}

Changes

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