Version: 1.1.0
Category: webapp
Entity: Player
Base URL: ${webappBaseUrl} (default: http://localhost:8080)
Last Updated: January 1, 2026
| Method | Path | Description | Auth Required |
|---|---|---|---|
| GET | /api/player/{player_id} |
Get player information from web application | No |
| GET | /api/player/{player_id}/action/last/block/height |
Get last action block height for player | No |
| GET | /api/player/raid/search |
Search player raids | No |
| PUT | /api/player/username |
Update player username | Yes |
| GET | /api/player/transfer/search |
Search player transfers | No |
| GET | /api/player/{player_id}/ore/stats |
Get player ore statistics | No |
| GET | /api/player/{player_id}/planet/completed |
Get completed planets for player | No |
| GET | /api/player/{player_id}/raid/launched |
Get launched raids for player | No |
/api/player/{player_id}Get player information from web application.
webapp-player-by-idschemas/responses.md#WebappPlayerResponseapplication/json| Name | Type | Required | Format | Description |
|---|---|---|---|---|
player_id |
string | Yes | entity-id (pattern: ^1-[0-9]+$) |
Player identifier in format ‘type-index’ (e.g., ‘1-11’ for player type 1, index 11). Type 1 = Player. |
Request: GET http://localhost:8080/api/player/1-11
Response:
{
"player": {
"id": "1-11",
"username": "PlayerName",
"address": "cosmos1..."
},
"guild": {
"id": "2-1",
"name": "GuildName"
},
"stats": {
"total_ore": 1000,
"planets_completed": 5
}
}
/api/player/{player_id}/action/last/block/heightGet last action block height for player.
webapp-player-action-last-blockschemas/responses.md#BlockHeightResponseapplication/json| Name | Type | Required | Format | Description |
|---|---|---|---|---|
player_id |
string | Yes | player-id | Player identifier |
Request: GET http://localhost:8080/api/player/1-11/action/last/block/height
Response:
{
"height": 12345
}
/api/player/raid/searchSearch player raids.
webapp-player-raid-search/api/player/usernameUpdate player username.
webapp-player-username/api/player/transfer/searchSearch player transfers.
webapp-player-transfer-search/api/player/{player_id}/ore/statsGet player ore statistics.
webapp-player-ore-statsschemas/responses.md#OreStatsResponseapplication/json| Name | Type | Required | Format | Description |
|---|---|---|---|---|
player_id |
string | Yes | player-id | Player identifier |
Request: GET http://localhost:8080/api/player/1-11/ore/stats
Response:
{
"player_id": "1-11",
"total_ore": 1000,
"ore_by_type": {
"iron": 500,
"copper": 300,
"silver": 200
}
}
/api/player/{player_id}/planet/completedGet completed planets for player.
webapp-player-planet-completed| Name | Type | Required | Format | Description |
|---|---|---|---|---|
player_id |
string | Yes | player-id | Player identifier |
/api/player/{player_id}/raid/launchedGet launched raids for player.
webapp-player-raid-launched| Name | Type | Required | Format | Description |
|---|---|---|---|---|
player_id |
string | Yes | player-id | Player identifier |
Player responses include reactor staking summary:
{
"player": {
"id": "1-11",
"username": "PlayerName",
...
},
"reactorStaking": {
"totalStaked": "...",
"delegationStatus": "active",
"reactors": [...]
},
...
}
Last Updated: January 1, 2026