World Map

Get World Block

Query a world map region to find ALL player bases.

This is the key endpoint for finding ANY player's coordinates! Unlike al.rank (own alliance only) or detect (radar range limited), this directly queries map tiles and returns all bases in that area.

Usage:

  • Pick an x,y coordinate and server_id
  • The query returns all bases in a ~20x20 tile area around that point
  • Scan the map by querying different x,y positions

Coordinate System:

  • Map is roughly 1000x1000 tiles
  • pointId encodes position as: y * 1000 + x (x max is 999)

If session_key is provided, uses that session's credentials directly.

get/world/block

Request

  • Base URL: https://api.lastwar.tools (the document declares no server; this is the origin it was published from)
  • URL: https://api.lastwar.tools/world/block
  • Auth: API key in header X-API-Key

Query parameters

xinteger required

Map X coordinate

yinteger required

Map Y coordinate

server_idinteger required

Server ID

block_sizeinteger nullable

Block size (auto-detected if not specified)

session_keystring

Session key to use specific credentials

Response

Successful Response

query_xinteger required

Queried X coordinate

query_yinteger required

Queried Y coordinate

base_countinteger required

Number of bases found (from serverPointArr)

zombie_countinteger

Number of active zombie hunts (from marchInfos)

Changes

No recorded changes to this operation across all 1 revision of this API.