---
title: "Search teams"
method: GET
path: "/api/team/search"
tags: ["Teams"]
---

# Search teams

`GET /api/team/search`

Paginator of team search results for a keyword.

## Query parameters

- `text` string
- `page` integer

## Response `200`

The paginated list of teams.

- TeamPaginatorJson
  - `currentPage` integer, required
  - `maxPerPage` integer, required
  - `currentPageResults` Team[], required
    - `id` string, required
    - `name` string, required
    - `description` string
    - `flair` string — See [available flair list and images](https://github.com/lichess-org/lila/tree/master/public/flair)
    - `leader` LightUser
      - `id` string, required
      - `name` string, required
      - `flair` string — See [available flair list and images](https://github.com/lichess-org/lila/tree/master/public/flair)
      - `title` 'GM' | 'WGM' | 'IM' | 'WIM' | 'FM' | 'WFM' | 'NM' | 'CM' | 'WCM' | 'WNM' | 'LM' | 'BOT' — only appears if the user is a titled player or a bot user
      - `patron` boolean — Use patronColor value instead to determine if player is a patron.
      - `patronColor` integer — Players can choose a color for their Patron wings. See [here for the color mappings](https://github.com/lichess-org/lila/blob/master/ui/lib/css/abstract/_patron-colors.scss). The presence of this field indicates the player is an active Patron.
    - `leaders` LightUser[]
      - `id` string, required
      - `name` string, required
      - `flair` string — See [available flair list and images](https://github.com/lichess-org/lila/tree/master/public/flair)
      - `title` 'GM' | 'WGM' | 'IM' | 'WIM' | 'FM' | 'WFM' | 'NM' | 'CM' | 'WCM' | 'WNM' | 'LM' | 'BOT' — only appears if the user is a titled player or a bot user
      - `patron` boolean — Use patronColor value instead to determine if player is a patron.
      - `patronColor` integer — Players can choose a color for their Patron wings. See [here for the color mappings](https://github.com/lichess-org/lila/blob/master/ui/lib/css/abstract/_patron-colors.scss). The presence of this field indicates the player is an active Patron.
    - `nbMembers` integer
    - `open` boolean
    - `joined` boolean
    - `requested` boolean
  - `previousPage` integer, nullable, required
  - `nextPage` integer, nullable, required
  - `nbResults` integer, required
  - `nbPages` integer, required

---

[API](https://skmtc.net/lichess/apis/lichess-org-api-reference.md) · [All operations](https://skmtc.net/lichess/apis/lichess-org-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lichess/lichess-org-api-reference/versions/1425db81eb3b/schema)
