Loot Goblin DE

API

API documentation

The guild API provides selected guild data to trusted tools without granting write access. Every route is GET and every response is JSON.

Create and protect a key

Authorized officers create a key on the guild site under Interface. Select only the read rights the client needs. The complete secret is shown once; store it like a password, never embed it in a public browser bundle and revoke it immediately if it leaks.

Authentication and first request

The base URL is https:/loot.rocks/api/v1. Send the key in the Authorization header as Bearer lgv1_…. Calling the root verifies the key and returns its guild, name and capabilities.

curl --request GET "https:/loot.rocks/api/v1" \
  --header "Authorization: Bearer lgv1_…"

Responses and pagination

List routes return up to 50 rows in data. If has_more is true, pass next_cursor unchanged as cursor on the next request. Cursors are opaque and tied to their route and filters. Discord IDs are JSON strings so JavaScript does not lose precision. Responses use Cache-Control: no-store. division selects one division, division=none selects guild-wide records only, and omitting it includes all permitted divisions.

{
  "guild_id": "123456789012345678",
  "page_size": 50,
  "has_more": true,
  "next_cursor": "opaque-value",
  "data": []
}

Status codes and limits

Read rights

Endpoints

PathRead rightModuleQueryContent
/api/v1———Any valid key. Response: version, guild_id, name, capabilities.
/api/v1/membersmembers.readguild_rostercursor, divisionMember profiles and organization data.
/api/v1/eventsevents.readeventscursorEvents with time, status and metadata.
/api/v1/teamsunits.readguild_teamscursor, divisionTeams, divisions and units.
/api/v1/attendanceattendance.readguild_attendancecursor, user_idEvent attendance and participation.
/api/v1/absencesabsence.readguild_rostercursor, user_idReported absences.
/api/v1/formsforms.readguild_recruitcursorForms, fields and surveys.
/api/v1/requestsrequests.readguild_recruitcursorSubmitted applications and requests.
/api/v1/ticketstickets.readticketscursor, divisionTickets with status and assignment.
/api/v1/alliancesalliances.read—cursorAlliances, with no extra module switch.
/api/v1/alliance-operationsalliances.read—statusApproval status for shared events, tasks, and loot sessions.
/api/v1/ledgerledger.readguild_ledgercursor, divisionLedger entries with currency context.
/api/v1/shipsships.readstar_citizencursorGuild and member ships.
/api/v1/inventoryinventory.readguild_inventorycursor, kind, divisionInventory items and guild ships.
/api/v1/loot-sessionsloot.readlootcursor, divisionLoot sessions with status and totals.
/api/v1/proofsproofs.read—proof_id, cursor, subject_kind, subject_idProof images, with no extra module switch.

Documentation