---
title: "Get local leaderboard"
method: GET
path: "/botMetric/localleaderboard"
tags: ["BotMetric"]
---

# Get local leaderboard

`GET /botMetric/localleaderboard`

## Query parameters

- `metric` string
- `start` string, date-time
- `end` string, date-time
- `numSurroundingAgencies` integer

## Response `200`

Success

- LeaderboardResponse[]
  - `agencyName` string, nullable — The name of the agency
  - `count` integer — The number of the metric

---

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