GetGuildStats
Request
Section titled “Request”GET https://api.brawlhalla.com/v1/guild/statsThis request returns information on a guild from its ID.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| guild_id | Integer | ✔️ | The ID of the guild. |
Response
Section titled “Response”{ "guild_id": 3, "name": "Asgardian Book Club", "create_date": 1660419655, "xp": 241855, "legacy_xp": 4620759, "notice": "Meets every Thursday!", "tags": [ "Social" "Friendly" "NightOwls" ], "discord_invite_code": "alwaysbecreasing", "guild_points": 114953, "rank": 6184, "is_recruiting": true, "member_count": 3}Response Elements
Section titled “Response Elements”| Element | Type | Required | Description |
|---|---|---|---|
| guild_id | Integer | ✔️ | The ID of the guild. |
| name | String | ✔️ | The name of the guild. |
| create_date | Integer | ✔️ | The date that the guild was created. This is an UNIX timestamp. |
| xp | Integer | ✔️ | The total amount of XP the guild has earned since the introduction of guilds. |
| legacy_xp | Integer | ✔️ | The total amount of XP the guild earned before the introduction of guilds. |
| notice | String | ✔️ | The guild’s current message of the day. |
| tags | Array (String) | ✔️ | The tags currently assigned to the guild. |
| discord_invite_code | String | ✔️ | The Discord link for the guild. |
| guild_points | Integer | ✔️ | The amount of Guild Points the guild has earned. This resets weekly. |
| rank | Integer | ❌ | The current rank of the guild. |
| is_recruiting | Boolean | ✔️ | Notes if the guild currently has open recruitment. |
| member_count | Integer | ❌ | The total number of players in the guild. |