Answers.Body: <p>You can use <a href="https://lichess.org/api#tag/Teams/operation/teamOfUsername" rel="nofollow noreferrer">Teams of a player</a> api endpoint:</p>
  <p><code>https://lichess.org/api/team/of/{username}</code></p>
  <p>For example:</p>
  <p><a href="https://lichess.org/api/team/of/thibault" rel="nofollow noreferrer">https://lichess.org/api/team/of/thibault</a></p>
  <p>Currently returns:</p>
  <pre><code>[
    {
      &quot;id&quot;: &quot;chessguessr&quot;,
      &quot;name&quot;: &quot;Chessguessr&quot;,
      &quot;description&quot;: &quot;Chessguessr is a game where you try to guess the next moves in a chessgame. A new position is posted every day at midnight UTC, and most of the games are taken from Lichess!\r\n\r\nPlay the game on [Chessguessr.com](https://chessguessr.com).\r\n\r\nCode [on Github](https://github.com/Assios/chessguessr).&quot;,
      &quot;open&quot;: true,
      &quot;leader&quot;: {
        &quot;name&quot;: &quot;Assios&quot;,
        &quot;title&quot;: &quot;LM&quot;,
        &quot;flair&quot;: &quot;activity.xmas-lichess-horsey&quot;,
        &quot;patron&quot;: true,
        &quot;id&quot;: &quot;assios&quot;
      },
      &quot;nbMembers&quot;: 235,
      &quot;leaders&quot;: [
        {
          &quot;name&quot;: &quot;Assios&quot;,
          &quot;title&quot;: &quot;LM&quot;,
          &quot;flair&quot;: &quot;activity.xmas-lichess-horsey&quot;,
          &quot;patron&quot;: true,
          &quot;id&quot;: &quot;assios&quot;
        }
      ]
    },
    {
      &quot;id&quot;: &quot;coders&quot;,
      &quot;name&quot;: &quot;Coders&quot;,
      &quot;description&quot;: &quot;If you want to join the team, prove (briefly) that you can code in the request message!&quot;,
      &quot;open&quot;: false,
      &quot;leader&quot;: {
        &quot;name&quot;: &quot;thibault&quot;,
        &quot;flair&quot;: &quot;symbols.rainbow-flag&quot;,
        &quot;patron&quot;: true,
        &quot;id&quot;: &quot;thibault&quot;
      },
      &quot;nbMembers&quot;: 425,
      &quot;flair&quot;: &quot;objects.hammer-and-wrench&quot;,
      &quot;leaders&quot;: [
        {
          &quot;name&quot;: &quot;thibault&quot;,
          &quot;flair&quot;: &quot;symbols.rainbow-flag&quot;,
          &quot;patron&quot;: true,
          &quot;id&quot;: &quot;thibault&quot;
        }
      ]
    },
  ...
  ]
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-08-20T10:25:38.707Z
Answers.LastActivityDate: 2024-08-20T10:25:38.707Z
Answers.UserDisplayName: Matija Sirk
Body: <p>Is there a way of getting all the communities a certain member belongs to on Lichess?</p>
  
Tags: <lichess><online><clubs>
Title: Lichess API member's communities
ThreadText: # Lichess API member's communities
  
  (Asked by: username_0 on 2024-08-20)
  
  Is there a way of getting all the communities a certain member belongs to on Lichess?
  
  **Tags:** lichess, online, clubs
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-08-20. Score: 1 | Accepted answer
  
  You can use [Teams of a player](https://lichess.org/api#tag/Teams/operation/teamOfUsername) api endpoint:
  
  `https://lichess.org/api/team/of/{username}`
  
  For example:
  
  <https://lichess.org/api/team/of/thibault>
  
  Currently returns:
  
  ```
  [
    {
      "id": "chessguessr",
      "name": "Chessguessr",
      "description": "Chessguessr is a game where you try to guess the next moves in a chessgame. A new position is posted every day at midnight UTC, and most of the games are taken from Lichess!\r\n\r\nPlay the game on [Chessguessr.com](https://chessguessr.com).\r\n\r\nCode [on Github](https://github.com/Assios/chessguessr).",
      "open": true,
      "leader": {
        "name": "Assios",
        "title": "LM",
        "flair": "activity.xmas-lichess-horsey",
        "patron": true,
        "id": "assios"
      },
      "nbMembers": 235,
      "leaders": [
        {
          "name": "Assios",
          "title": "LM",
          "flair": "activity.xmas-lichess-horsey",
          "patron": true,
          "id": "assios"
        }
      ]
    },
    {
      "id": "coders",
      "name": "Coders",
      "description": "If you want to join the team, prove (briefly) that you can code in the request message!",
      "open": false,
      "leader": {
        "name": "thibault",
        "flair": "symbols.rainbow-flag",
        "patron": true,
        "id": "thibault"
      },
      "nbMembers": 425,
      "flair": "objects.hammer-and-wrench",
      "leaders": [
        {
          "name": "thibault",
          "flair": "symbols.rainbow-flag",
          "patron": true,
          "id": "thibault"
        }
      ]
    },
  ...
  ]
  
  ```
  
  
  ---
  
  