---
title: "Get teams"
method: GET
path: "/teams"
tags: ["Sports Data"]
---

# Get teams

`GET /teams`

Returns all teams supported by SX.bet. Results are paginated starting at page 0 with a maximum of 500 records per page.

## Query parameters

- `sportId` integer
- `page` integer
- `perPage` integer
- `id` integer

## Response `200`

- object
  - `status` string — `success` or `failure` if the request succeeded or not
  - `data` Team[]
    - `id` number — The ID for this team
    - `name` string — The name of this team
    - `sport` object — The sport this team belongs to
      - `sportId` integer — Unique identifier for the sport
      - `label` string — Human-readable sport name
      - `active` boolean — Whether this sport is currently active on SX.bet

## Other responses

- `400` — Bad request — no teams found matching the given parameters

---

[API](https://skmtc.net/sx/apis/sx-bet-api.md) · [All operations](https://skmtc.net/sx/apis/sx-bet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sx/sx-bet-api/versions/eb2c05c3a98e/schema)
