---
title: "Get leaderboard users for timeline"
method: GET
path: "/api/admin/v1/timeline/leaderboard_users"
tags: ["Admin Timeline"]
---

# Get leaderboard users for timeline

`GET /api/admin/v1/timeline/leaderboard_users`

Get users who should appear on the timeline leaderboard based on recent activity.

## Query parameters

- `period` 'daily' | 'last_7_days'

## Response `200`

successful

- object
  - `users` object[]
    - `id` integer
    - `display_name` string, nullable
    - `avatar_url` string, nullable

## Other responses

- `401` — unauthorized

---

[API](https://skmtc.dev/hackclub/apis/hackatime-admin-api.md) · [All operations](https://skmtc.dev/hackclub/apis/hackatime-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hackclub/hackatime-admin-api/revisions/f5a2d53cd28d/schema)
