---
title: "Yahoo Sports game boxscore"
method: GET
path: "/yahoo-sports/game"
tags: ["Yahoo Sports"]
---

# Yahoo Sports game boxscore

`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`

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`.

## 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
- `game` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- YahoosportsGameResponseDoc
  - `code` integer
  - `data` YahoosportsGameResponse
    - `away_score` integer
    - `away_team` YahoosportsTeamRef
      - `abbreviation` string
      - `id` string
      - `location` string
      - `logo` string
      - `name` string
      - `nickname` string
      - `primary_color` string
      - `secondary_color` string
      - `short_name` string
      - `url` string
    - `broadcasts` YahoosportsBroadcast[]
      - `abbr` string
      - `name` string
    - `display_name` string
    - `fetched_at` string
    - `game` string
    - `home_score` integer
    - `home_team` YahoosportsTeamRef
      - `abbreviation` string
      - `id` string
      - `location` string
      - `logo` string
      - `name` string
      - `nickname` string
      - `primary_color` string
      - `secondary_color` string
      - `short_name` string
      - `url` string
    - `id` string
    - `league` string
    - `line_score` YahoosportsLinePeriod[]
      - `away` integer
      - `home` integer
      - `label` string
    - `source_url` string
    - `start_time` string
    - `status` string
    - `status_display` string
    - `team_stats` YahoosportsTeamStatLine[]
      - `stats` YahoosportsStat[]
        - `id` string
        - `label` string
        - `value` string
      - `team` YahoosportsTeamRef
        - `abbreviation` string
        - `id` string
        - `location` string
        - `logo` string
        - `name` string
        - `nickname` string
        - `primary_color` string
        - `secondary_color` string
        - `short_name` string
        - `url` string
    - `venue` YahoosportsVenue
      - `city` string
      - `country` string
      - `name` string
      - `state` string
    - `week` integer
    - `winning_team_id` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
