World Map

Scan World Region

Scan a region of the world map for ALL player bases.

Uses pipelined queries for fast scanning.

Map coordinates: 0-1000 for both X and Y.

Example: To scan a region:

/world/scan?x_start=400&y_start=400&x_end=500&y_end=500&server_id=1349

Performance: Uses pipelining - sends all queries rapidly over one connection. A 100x100 region with step=20 = 36 queries completes in ~5-10 seconds.

Zone-based blockSize: Automatically uses optimal blockSize for each region:

  • Far South (y <= 100): blockSize=20
  • Central (100 < y <= 600): blockSize=10
  • North (y > 600): blockSize=11
get/world/scan

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/scan
  • Auth: API key in header X-API-Key

Query parameters

x_startinteger

Starting X coordinate

y_startinteger

Starting Y coordinate

x_endinteger

Ending X coordinate

y_endinteger

Ending Y coordinate

server_idinteger required

Server ID

stepinteger

Grid step size

Response

Successful Response

regionstring required

Scanned region description

blocks_scannedinteger required

Number of blocks queried

base_countinteger required

Total bases found

Changes

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