# Get All Stages

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

### `GET` All Stages

```
https://f1.sportmonks.com/api/v1.0/stages
```

| 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

`season` `track`

{% hint style="success" %}
Results are included by default
{% endhint %}

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/stages?api_token={API_TOKEN}
```

{% endtab %}

{% tab title="Response" %}

```javascript
   "data": [
        {
            "id": 115320811,
            "name": "Race",
            "track_id": 3,
            "season_id": 6,
            "length": "5.412 km",
            "city": "Losail",
            "distance": 307.6,
            "total_laps": 56,
            "laps_running": 56,
            "fastest_lap": "1:32.090",
            "time": {
                "status": "Finished",
                "starting_at": {
                    "date_time": "2021-03-28 13:00:00",
                    "date": "2021-03-28",
                    "time": "13:00:00",
                    "timestamp": 1616936400,
                    "timezone": "UTC"
                }
            },
            "results": {
                "data": [
                    {
                        "driver_id": 232407,
                        "team_id": 15,
                        "track_id": 3,
                        "season_id": 6,
                        "stage_id": 115320811,
                        "position": 5,
                        "driver_time": "1:32:55.944",
                        "driver_time_int": "52.047s",
                        "best_lap_time": null,
                        "laps": 56,
                        "grid": "6",
                        "pit": "3",
                        "retired": false,
                        "fasted_lap_time": null,
                        "fasted_lap": null,
                        "driver": {
                            "data": {
                                "id": 232407,
                                "team_id": 15,
                                "name": "Sergio Perez (MEX)",
                                "short_name": "PER",
                                "number": 11,
                                "image_path": "https://cdn.sportmonks.com/images/f1/drivers/sergioperez.png"
                            }
                        }
                    },
                    {
                        "driver_id": 232393,
                        "team_id": 20,
                        "track_id": 3,
                        "season_id": 6,
                        "stage_id": 115320811,
                        "position": 15,
                        "driver_time": "1 LAP",
                        "driver_time_int": "1 LAP",
                        "best_lap_time": null,
                        "laps": 55,
                        "grid": "11",
                        "pit": "1",
                        "retired": false,
                        "fasted_lap_time": null,
                        "fasted_lap": null,
                        "driver": {
                            "data": {
                                "id": 232393,
                                "team_id": 20,
                                "name": "Sebastian Vettel (GER)",
                                "short_name": "VET",
                                "number": 5,
                                "image_path": "https://cdn.sportmonks.com/images/f1/drivers/sebastianvettel.png"
                            }
                        }
                    },
                    {
                        "driver_id": 232399,
                        "team_id": 17,
                        "track_id": 3,
                        "season_id": 6,
                        "stage_id": 115320811,
                        "position": 17,
                        "driver_time": "DNF",
                        "driver_time_int": null,
                        "best_lap_time": null,
                        "laps": 53,
                        "grid": "4",
                        "pit": "4",
                        "retired": true,
                        "fasted_lap_time": null,
                        "fasted_lap": null,
                        "driver": {
                            "data": {
                                "id": 232399,
                                "team_id": 17,
                                "name": "Pierre Gasly (FRA)",
                                "short_name": "GAS",
                                "number": 10,
                                "image_path": "https://cdn.sportmonks.com/images/f1/drivers/peirregasly.png"
                            }
                        }
                    },
```

{% 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/#d24f51c7-0cfe-4bbb-a629-787a206c07fc)
{% endhint %}
