API:2/guild/:id/members
From Guild Wars 2 Wiki
Jump to navigationJump to search
/v2/guild/:id/members
- HTTP method
- GET
- Format
- json
- API version
- version 2
- Release date
- 2015-12-14
- Scope
- account
guilds - Optional
- none
This resource returns information about the members of a specified guild. The endpoint requires the scope guilds, and will only work if the API key is from the guild leader's account.
Response
The endpoint must be requested with :id replaced with a valid guild ID. The endpoint will return an array of objects, each describing a guild member. Each object has the following properties:
name(string) - The account name of the member.rank(string) - The guild rank of the member. (See /v2/guild/:id/ranks.)joined(string) - The time and date the member joined the guild (ISO-8601 standard). May also be null -- the join date was not tracked before around March 19th, 2013.wvw_member(boolean) - Whether the player has the guild chosen for wvw matchmaking or not..
Example
https://api.guildwars2.com/v2/guild/4BBB52AA-D768-4FC6-8EDE-C299F2822F0F/members
[
{
"name": "Lawton Campbell.9413",
"rank": "Leader",
"joined": "2015-07-22T06:18:35.000Z",
"wvw_member": true
},
{
"name": "Lawton Campbell.1450",
"rank": "Member",
"joined": "2015-06-17T02:38:27.000Z",
"wvw_member": false
}
]