GET /api/v1/guild

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/lighter/api/v1/guildCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Detailed profile, statistics, and member roster for a single trading guild.

Parameters

nameintypedescription
guild_idqueryintrequiredGuild numeric ID.
example: 1

Response

type: object
data key: members
pagination: none
sample: {
  "code": "int",
  "guild_id": "int",
  "name": "str",
  "description": "str",
  "accepts_join_requests": "bool",
  "max_members": "int",
  "leader_l1": "str",
  "member_count": "int",
  "created_at": "int",
  "duel_record": "object",
  "members": "array[108]",
  "stats": "object",
  "competitions": "array[0]",
  "in_duel": "bool"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/lighter/api/v1/guild?guild_id=1"