> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sportsapipro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Driver Endpoints

> 16 endpoints for motorsport driver data: career stats, race history

<Warning>
  **Motorsport drivers are exposed as teams, not players.** Search results for drivers (Verstappen, Bagnaia, Marquez, etc.) return `type: "team"`. To fetch a driver, use `/api/teams/:id` and the driver-team endpoints documented on the [Constructor / Team](./team) page (`/api/teams/:id`, `/api/teams/:id/events/last/:page`, `/api/teams/:id/near-events`, `/api/teams/:id/performance`, `/api/teams/:id/media`).

  The `/api/players/:id/...` endpoints listed below are inherited from the team-sport routing layer. They will return `404` for motorsport driver IDs. The only motorsport-native driver route is the namespaced one:

  ```bash theme={null}
  GET /api/motorsport/players/:driverId/events/last/0   # Recent races for a driver
  ```
</Warning>

## Driver Endpoints (16)

All endpoints use base URL `https://api.sportsapipro.com/v2/motorsport`.

```bash theme={null}
# NOTE: For motorsport, prefer /api/teams/:id — see warning above.
GET /api/players/:id                    # Driver details (nationality, number, team, age)
GET /api/players/:id/image              # Driver photo URL
GET /api/players/:id/statistics         # Career statistics
GET /api/players/:id/statistics/seasons # Seasons with stats
GET /api/players/:id/statistics/match-type?type=overall
GET /api/players/:id/characteristics
GET /api/players/:id/attribute-overviews
GET /api/players/:id/last-year-summary
GET /api/players/:id/unique-tournaments
GET /api/players/:id/events/last/:page
GET /api/players/:id/events/next/:page
GET /api/players/:id/media
GET /api/players/:id/media/videos
GET /api/players/:id/tournament/:tid/season/:sid/statistics?type=overall
GET /api/players/:id/tournament/:tid/season/:sid/ratings?type=overall
GET /api/players/:id/tournament/:tid/season/:sid/summary
```
