---
title: "Fetch chart rankings"
method: GET
path: "/api/charts/{platform}/{category}"
---

# Fetch chart rankings

`GET /api/charts/{platform}/{category}`

## Request

- Base URL: `https://api.reletter.com`
- URL: `https://api.reletter.com/api/charts/{platform}/{category}`
- Auth: API key in header `x-reletter-api-key`

Publications ranked for a platform and category, in rank order.

## Path parameters

- `platform` string, required
- `category` string, required

## Query parameters

- `variant` string

## Response `200`

Success.

## Other responses

- `400`: Validation error, or quota exhausted (`code: bundle_exhausted`).
- `401`: API key is missing, unknown or inactive.
- `429`: Burst limit exceeded (`api_rate_limited`).

---

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