LW

LASTWAR // FIELD INTEL

UNOFFICIAL CONSOLE • v2.0 POOL
POOL: 0/0
READY

Player Search

Search for a player on the map. Returns coordinates, alliance tag, HQ level and shield status.

// RESPONSE
No request executed yet.

Top Alliances

Top alliances on a server, sorted by power.

// RESPONSE
Enter server ID.

Alliance Members

Full member list of an alliance, including power and roles.

// RESPONSE
Enter server ID + alliance tag.

Kingdom Positions

Government positions — who holds Minister, General, etc.

// RESPONSE
Enter server ID.

Block Inspector

Query a single map block. Returns ALL player bases at that location plus active zombie hunts.

// RESPONSE
Enter server ID, X and Y.

Area Scan

Scan a rectangular region for ALL player bases. Uses pipelined queries — fast but tokens-hungry for large regions.

// RESPONSE
Set region (small region = fewer tokens).

Radar Detect

Uses the in-game radar (player detection feature). Returns players currently visible on the radar — fast and tokens-friendly.

// RESPONSE
Click the button to query the radar.

Raw Request

Manual endpoint call for anything the other tabs don't cover. Auth headers are added automatically, pool failover is active.

// RESPONSE
Choose method, enter path, send.

Key Pool

Multiple API keys with automatic failover on rate-limit. Limit-hit keys go into cooldown for 24h.

// POOL STATUS
Pool is empty. Open settings to add keys.

Request Log

Last 50 API calls of this session, including which key was used.

No requests yet.

Settings

API Key Pool0 keys

Failover strategy: each request uses the first available key (list order). On 429 or tokens_remaining: 0 the key goes into cooldown for 24h. Reorder with the up/down arrows.

Authentifizierung

Official docs say X-API-Key. Use Bearer only if the API accepts both.
RECOMMENDED: "USE LOCAL PROXY" → sets the URL to http://localhost:8787. Requires lw-proxy.bat to be running. Direct API access almost always fails due to CORS.

Endpoint Paths

Placeholders {server_id}, {name}, {tag}, {limit} get replaced.

Defaults

Cooldown

Default: 24h. Since the daily token refill on lastwar.tools happens after 24h, this matches exactly.

Backup & Sync

Export downloads a file with all keys + settings. Import on another device → done. ⚠ Warning: the exported file contains your API keys in plaintext, store it securely.

Notes

CORS: If requests get blocked by the browser, the API does not allow direct browser access. Use a proxy or a CORS extension.

Cooldown detection: A key is marked as "limit reached" when the response is HTTP 429 or 402, a header x-tokens-remaining: 0 appears, or the error message contains "limit", "quota" or "exceeded".

Security: All keys live exclusively in your browser's localStorage. Nothing is sent to third parties.