---
title: "Session pit-lane time leaderboard"
method: GET
path: "/v1/fantasy/session/{sessionId}/pit-times"
tags: ["Fantasy"]
---

# Session pit-lane time leaderboard

`GET /v1/fantasy/session/{sessionId}/pit-times`

## Request

- Base URL: `https://api.racehooks.io`
- URL: `https://api.racehooks.io/v1/fantasy/session/{sessionId}/pit-times`
- Auth: API key in header `Authorization`

Returns stationary pit-stop time rankings for a session. Each entry's time is the stationary pit-stop time (the seconds the car is stopped in its box), served from the stored session record and enriched with the driver's canonical three-letter code and team. An id that matches no session returns 404 SESSION_NOT_FOUND; a real session with no stops yet returns 200 with an empty list.

## Path parameters

- `sessionId` string, required

## Response `200`

Default Response

- object
  - `data` object
    - `sessionId` string
    - `source` 'live' | 'historical'
    - `fastestStop` object, nullable
      - `driver` string: Driver id slug, or car number for live-only stops
      - `tla` string
      - `team` string
      - `pitStopTimeSec` number: Stationary time in seconds (the one definition; never the pit-lane transit).
      - `kind` 'service' | 'extended': extended = stationary over 30 s (repair / red-flag stop): real, flagged, never clamped.
      - `lap` integer, nullable
    - `stops` object[]
      - `driver` string: Driver id slug, or car number for live-only stops
      - `tla` string
      - `team` string
      - `pitStopTimeSec` number: Stationary time in seconds (the one definition; never the pit-lane transit).
      - `kind` 'service' | 'extended': extended = stationary over 30 s (repair / red-flag stop): real, flagged, never clamped.
      - `lap` integer, nullable
  - `message` string

## Other responses

- `401`: Default Response
- `403`: Default Response
- `404`: Default Response

---

[API](https://skmtc.dev/racehooks/apis/racehooks-api.md) · [All operations](https://skmtc.dev/racehooks/apis/racehooks-api/llms.txt) · [OpenAPI document](https://skmtc.dev/racehooks/apis/racehooks-api/revisions/2335b73f46e4?raw)
