---
title: "GET /insights/leaderboards/{year}"
method: GET
path: "/insights/leaderboards/{year}"
tags: ["insight"]
---

# GET /insights/leaderboards/{year}

`GET /insights/leaderboards/{year}`

## Request

- Base URL: `https://www.thebluealliance.com/api/v3`
- URL: `https://www.thebluealliance.com/api/v3/insights/leaderboards/{year}`
- Auth: API key in header `X-TBA-Auth-Key`

Gets a list of `LeaderboardInsight` objects from a specific year. Use year=0 for overall.

## Path parameters

- `year` integer, required

## Headers

- `If-None-Match` string

## Response `200`

Successful response

- LeaderboardInsight[]
  - `data` object, required
    - `rankings` object[], required
      - `value` number, required: Value of the insight that the corresponding team/event/matches have, e.g. number of blue banners, or number of matches played.
      - `keys` string[], required: Team/Event/Match keys that have the corresponding value.
    - `key_type` 'team' | 'event' | 'match', required: What type of key is used in the rankings; either 'team', 'event', or 'match'.
  - `name` string, required: Name of the insight.
  - `year` integer, required: Year the insight was measured in (year=0 for overall insights).

## Other responses

- `304`: Not Modified - Use Local Cached Value
- `401`: Authorization information is missing or invalid.
- `404`: Not Found

## Changes

- **2026-02-08** `cc960731dc5b`: 1 info
  - api tag `list` removed
- **2024-09-21** `30390dd088e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/thebluealliance/apis/the-blue-alliance-api-v3/changes/insights/leaderboards/:year/get.md)

---

[API](https://skmtc.dev/thebluealliance/apis/the-blue-alliance-api-v3.md) - [All operations](https://skmtc.dev/thebluealliance/apis/the-blue-alliance-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/thebluealliance/apis/the-blue-alliance-api-v3/revisions/9316d02dee32?raw)
