Need help/advice for API to get Guild info via JSON or HTTP :) — Guild Wars 2 Forums

Need help/advice for API to get Guild info via JSON or HTTP :)

Hello Everyone,
I'm not new to API's in the past I've used Google Sheets with scripting to pull data from GW2SPidy.

My very small guild just captured a Guild Hall and I wanted to pull some info about upgrades and their progress.

I've gone through the GW2 API Wiki but, I'm having difficulty grasping the formatting and requirements. For example I have no idea where to look to get my Guild ID which some of the API Commands ask for, and if I try to get some basic info via HTTP command it tells me that my key is invalid.
If you could please nudge me in the right direction, it would be appreciated. :)

Thanks in advance.


  • smiley.1438smiley.1438 Member ✭✭
    edited April 4, 2018

    to find your guild id:<GUILD_NAME> - the search term needs to be urlencoded, like veterans+of+lions+arch, which returns 75FD83CF-0C45-4834-BC4C-097F93A487AF - note that this endpoint does not require an API key.

    now that you have the guild id, you can query all the /v2/guild/:id/ endpoints like so:<GUILD_ID>/upgrades?access_token=<YOUR_API_KEY>

    Make sure the API key you've created has the guilds scope enabled! Check your keys under

    (also: HTTP & JSON are 2 completely different concepts ;))

  • Kiwi Kans.6390Kiwi Kans.6390 Member
    edited April 4, 2018

    @smiley.1438 said:
    (also: HTTP & JSON are 2 completely different concepts ;))

    Thank you so much for the advice and examples, it is appreciated. :)
    This information should help me to figure the rest out.

    I'm sure I will have more questions at a later date :smiley:

  • Having the name encoded with %20 (which is a space) works too.

©2010–2018 ArenaNet, LLC. All rights reserved. Guild Wars, Guild Wars 2, Heart of Thorns, Guild Wars 2: Path of Fire, ArenaNet, NCSOFT, the Interlocking NC Logo, and all associated logos and designs are trademarks or registered trademarks of NCSOFT Corporation. All other trademarks are the property of their respective owners.