---
title: "Returns the ban with the specified ID."
method: GET
path: "/bans/{ban_id}"
tags: ["Player Bans"]
---

# Returns the ban with the specified ID.

`GET /bans/{ban_id}`

## Path parameters

- `ban_id` integer, required

## Response `200`

- Ban
  - `id` integer, required
  - `player` PlayerInfo, required
    - `id` string, required — a SteamID
    - `name` string, required — The player's name on Steam.
  - `banned_by` union, required
    - object — The ban was issued by the Anti-Cheat on a CS2 server.
      - `id` integer, required — The ban was issued by the Anti-Cheat on a CS2 server.
      - `type` 'server', required
    - object — The ban was issued by an admin.
      - `id` string, u-int64, required — a 64-bit SteamID
      - `type` 'admin', required
  - `reason` 'macro' | 'auto-bhop' | 'auto-strafe', required
  - `unban` Unban
    - `admin_id` string, u-int64, required — a 64-bit SteamID
    - `reason` string, required
    - `created_at` string, date-time, required — a UTC timestamp
  - `created_at` string, date-time, required — a UTC timestamp

## Other responses

- `400` — invalid path parameters
- `404`

---

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