---
title: "Yahoo Sports motorsports season schedule"
method: GET
path: "/yahoo-sports/motorsports-schedule"
tags: ["Yahoo Sports"]
---

# Yahoo Sports motorsports season schedule

`GET /yahoo-sports/motorsports-schedule`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/yahoo-sports/motorsports-schedule`
- Auth: API key in header `x-api-key`

Returns a series' season race list (name, date, status, laps, distance, pole/race winner, venue), from Yahoo Sports' own server-rendered motorsports schedule page. The `series` enum accepts `f1` and `nascar`.

## Query parameters

- `series` 'f1' | 'nascar', required
- `season` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- YahoosportsMotorsportsScheduleResponseDoc
  - `code` integer
  - `data` YahoosportsMotorsportsScheduleResponse
    - `count` integer
    - `fetched_at` string
    - `races` YahoosportsMotorsportsRace[]
      - `distance_mi` string
      - `id` string
      - `laps` integer
      - `laps_completed` integer
      - `name` string
      - `pole_winner` YahoosportsMotorsportsDriverRef
        - `id` string
        - `name` string
        - `url` string
      - `race_winner` YahoosportsMotorsportsDriverRef
        - `id` string
        - `name` string
        - `url` string
      - `start_time` string
      - `status` string
      - `url` string
      - `venue` YahoosportsVenue
        - `city` string
        - `country` string
        - `name` string
        - `state` string
    - `season` integer
    - `series` string
    - `source_url` 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)
