---
title: "GET /teams/{year}/{page_num}/keys"
method: GET
path: "/teams/{year}/{page_num}/keys"
tags: ["team"]
---

# GET /teams/{year}/{page_num}/keys

`GET /teams/{year}/{page_num}/keys`

## Request

- Base URL: `https://www.thebluealliance.com/api/v3`
- URL: `https://www.thebluealliance.com/api/v3/teams/{year}/{page_num}/keys`
- Auth: API key in header `X-TBA-Auth-Key`
- TypeScript: <https://skmtc.dev/thebluealliance/apis/the-blue-alliance-api-v3/docs/teams/:year/:page_num/keys/get.ts> (a function with typed inputs; its response is checked against the schema)

Gets a list Team Keys that competed in the given year, paginated in groups of 500.

## Path parameters

- `year` integer, required
- `page_num` integer, required

## Headers

- `If-None-Match` string

## Response `200`

Successful response

- string[]: Array of Team Keys

## 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
  - added the non-success response with the status `404`
- **2024-03-29** `7bf03129c828`: 1 info
  - added the media type `application/json` for the response with the status `401`
- **2022-11-18** `5b245377faaf`: 2 warning, 1 info
  - the optional response header `Last-Modified` removed for the status `200`
  - deleted the `header` request parameter `If-Modified-Since`
  - added the new optional `header` request parameter `If-None-Match`
- **2020-03-06** `a78c0ff8885f`: 1 info
  - added the media type `application/json` for the response with the status `200`

[Operation history](https://skmtc.dev/thebluealliance/apis/the-blue-alliance-api-v3/changes/teams/:year/:page_num/keys/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)
