> For the complete documentation index, see [llms.txt](https://docs.sportmonks.com/v3/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/v3/motorsport-api/tutorials-and-guides/tutorials/drivers-and-teams.md).

# Drivers and teams

This section covers how to retrieve driver and team data, enrich it with season-specific details, and use it to build driver profiles, constructor pages, and team rosters.

### In this section

* **Drivers** - How to list all drivers, retrieve a driver by ID, enrich with country and team data, and access driver metadata (debut season, short name, etc.).
* **Teams** - How to retrieve constructor teams, access season-specific team details (chassis, engine, team colour), and get the full driver roster for a team.

### Drivers and teams in session context

Driver and team data appears in two contexts in the API: standalone (via the Drivers and Teams endpoints) and in-session (via the `lineups` include on a fixture).

For building a driver profile page, use the Drivers endpoint directly:

```http
https://api.sportmonks.com/v3/motorsport/drivers/DRIVER_ID
?api_token=YOUR_TOKEN
&include=metadata
```

For displaying the driver lineup during or after a session, use the `lineups` include on the fixture and enrich it with driver data:

```http
https://api.sportmonks.com/v3/motorsport/fixtures/FIXTURE_ID
?api_token=YOUR_TOKEN
&include=lineups.driver
```

Season-specific team details (chassis name, engine, team colour) are available via the `seasonDetails` include on a team. These change year to year and are separate from the base team entity.

### Related

* [Endpoints](https://docs.sportmonks.com/v3/motorsport-api/endpoints-and-entities/endpoints)
* [Entities - Driver](https://docs.sportmonks.com/v3/motorsport-api/endpoints-and-entities/entities)
* [Entities - Team](https://docs.sportmonks.com/v3/motorsport-api/endpoints-and-entities/entities)
* [Enrich your response](https://docs.sportmonks.com/v3/motorsport-api/tutorials-and-guides/tutorials/enrich-your-response)
* [Metadata and Per-Season Data Type Reference](https://docs.sportmonks.com/v3/motorsport-api/welcome/metadata-and-per-season-data-type-reference)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sportmonks.com/v3/motorsport-api/tutorials-and-guides/tutorials/drivers-and-teams.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
