Skip to main content
GET
Get Economy Data

Autorizzazioni

Authorization
string
header
obbligatorio

API key for accessing CivOps endpoints.

Passed in the Authorization: Bearer <key> header.

REQUIRED FOR ALL CIVOPS ENDPOINTS (except /health).

Parametri della query

action
enum<string>
obbligatorio

Action type for retrieving data.

Opzioni disponibili:
balance,
leaderboard,
rank,
cooldowns
userId
string

User ID (required for balance, rank, cooldowns).

limit
integer
predefinito:10

Record limit for leaderboard.

Risposta

Successful response with economy data.

The response is of type object.