Yahoo Sports

Yahoo Sports game boxscore

Returns one game's boxscore (matchup, line score by period, and team stat totals) from sports.yahoo.com's own server-rendered game 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 the game slug from a scoreboard or team-schedule response's game url (the last path segment), e.g. cleveland-guardians-detroit-tigers-460811106.

get/yahoo-sports/game

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/yahoo-sports/game
  • 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

gamestring required

Yahoo Sports game slug from a scoreboard/team-schedule response's game url

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "away_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/"
    },
    "broadcasts": [
      {
        "abbr": "NFLN",
        "name": "NFL Network"
      }
    ],
    "display_name": "Cleveland @ Detroit",
    "game": "cleveland-guardians-detroit-tigers-460811106",
    "home_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/"
    },
    "id": "mlb.g.460811106",
    "league": "mlb",
    "line_score": [
      {
        "label": "Bottom 5th"
      }
    ],
    "status": "FINAL",
    "status_display": "Final",
    "team_stats": [
      {
        "stats": [
          {
            "id": "RUNS",
            "label": "Runs",
            "value": "6"
          }
        ],
        "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/"
        }
      }
    ],
    "venue": {
      "name": "Acrisure Stadium"
    }
  },
  "msg": "OK"
}

Changes

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