/clans/{clanId}
Returns the fixture clan record. Field names below are placeholders and will not match the real API.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
clanId | string | required | The clan's identifier. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
include | stringranksmembersmedals | optional | Extra relations to embed in the response. |
local HttpService = game:GetService("HttpService")
local response = HttpService:RequestAsync({
Url = "https://api.example.invalid/v0/clans/CLAN_ID",
Method = "GET",
Headers = {
["Authorization"] = "Bearer YOUR_CLAN_API_KEY",
},
})
if response.Success then
print(HttpService:JSONDecode(response.Body))
else
warn(response.StatusCode, response.Body)
endThe clan.
{
"id": "CLAN_ID",
"name": "Example Clan",
"clanType": "NORMAL",
"memberCount": 42
}