> For the complete documentation index, see [llms.txt](https://docs.sportmonks.com/v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportmonks.com/v2/formula-one-api/our-api/teams-1/get-teams-by-season-id.md).

# GET Teams By Season ID

{% hint style="danger" %}
**This version of the API is deprecated. Please visit the** [**docs**](https://docs.sportmonks.com/v3/motorsport-api/) **of our brand new Motorsport API v3**&#x20;
{% endhint %}

### `GET` Teams by Season ID \[Current]

```
https://f1.sportmonks.com/api/v1.0/teams/season/{seasonID}
```

You can only utilize the above endpoint for the current F1 season. The season ID of the current F1 season is #10.&#x20;

### `GET` Teams by Season ID \[Previous]

If you want to obtain the teams for previous seasons, you can make the following API request.&#x20;

```
https://f1.sportmonks.com/api/v1.0/teams/season/{seasonID}/previous
```

| Endpoint details        |         |
| ----------------------- | ------- |
| Authorization           | API Key |
| Pagination              | NO      |
| Allowed nested includes | 10      |

#### Parameters

| Available parameters |                                                                                                                   |
| -------------------- | ----------------------------------------------------------------------------------------------------------------- |
| include              | Enrich the API with more data and/or nested includes. Can be used by adding `&include=` etc. to your request url. |

#### Include options

`team`

Includes are the cornerstone of our API and allow you to enrich and customize your requests. This flexibility is what distinguishes us from our competitors. &#x20;

#### Example response

{% tabs %}
{% tab title="Request" %}

```
https://f1.sportmonks.com/api/v1.0/teams/season/10?api_token={API_TOKEN}
```

{% endtab %}

{% tab title="Response" %}

```javascript
{
  "data": [
    {
      "id": 14,
      "name": "McLaren",
      "image_path": "https://cdn.sportmonks.com/images/f1/teams/mcclaren.png",
      "team_id": 14,
      "season_id": 10,
      "points": 0,
      "position": 1
    },
    {
      "id": 11,
      "name": "Ferrari",
      "image_path": "https://cdn.sportmonks.com/images/f1/teams/ferrari.png",
      "team_id": 11,
      "season_id": 10,
      "points": 0,
      "position": 2
    },
    {
      "id": 15,
      "name": "Red Bull",
      "image_path": "https://cdn.sportmonks.com/images/f1/teams/redbull.png",
      "team_id": 15,
      "season_id": 10,
      "points": 0,
      "position": 3
    },
    {
      "id": 13,
      "name": "Mercedes",
      "image_path": "https://cdn.sportmonks.com/images/f1/teams/mercedes.png",
      "team_id": 13,
      "season_id": 10,
      "points": 0,
      "position": 4
    },
    {
      "id": 20,
      "name": "Aston Martin",
      "image_path": "https://cdn.sportmonks.com/images/f1/teams/astonmartin.png",
      "team_id": 20,
      "season_id": 10,
      "points": 0,
      "position": 5
    },
    {
      "id": 16,
      "name": "Alpine",
      "image_path": "https://cdn.sportmonks.com/images/f1/teams/alpine.png",
      "team_id": 16,
      "season_id": 10,
      "points": 0,
      "position": 6
    },
    {
      "id": 18,
      "name": "Haas",
      "image_path": "https://cdn.sportmonks.com/images/f1/teams/haas.png",
      "team_id": 18,
      "season_id": 10,
      "points": 0,
      "position": 7
    },
    {
      "id": 17,
      "name": "Racing Bulls",
      "image_path": "https://cdn.sportmonks.com/images/f1/teams/rb.png",
      "team_id": 17,
      "season_id": 10,
      "points": 0,
      "position": 8
    },
    {
      "id": 57,
      "name": "Williams",
      "image_path": "https://cdn.sportmonks.com/images/f1/teams/williams.png",
      "team_id": 57,
      "season_id": 10,
      "points": 0,
      "position": 9
    },
    {
      "id": 19,
      "name": "Sauber/Audi",
      "image_path": "https://cdn.sportmonks.com/images/f1/teams/kicksauber.png",
      "team_id": 19,
      "season_id": 10,
      "points": 0,
      "position": 10
    }
  ],
  "meta": {
    "subscription": {
      "started_at": null,
      "trial_ends_at": {
        "date": "2024-09-16 10:00:46.000000",
        "timezone_type": 3,
        "timezone": "UTC"
      },
      "ends_at": null
    },
    "plans": [
      {
        "name": "Formula One",
        "price_monthly": "65.00",
        "price_yearly": "660.00",
        "request_limit": "2000,60"
      }
    ],
    "sports": [
      {
        "id": 2,
        "name": "Formula One",
        "current": false
      }
    ]
  }
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Check this endpoint in Postman.\
&#x20;                                                             [![Run in Postman](https://run.pstmn.io/button.svg)](https://formulaone-postman.sportmonks.com/#ac6f6c07-760e-42c5-b604-4b9f17283fc1)
{% endhint %}
