Public Sector Blitz API

These read-only GET routes require no account. They serve the public /sector-blitz page and its sector pages (/sector-blitz/44, /127, /999, with the same /sector-blitz prefix). When the backend Sector Blitz feature flag is disabled, the page and API return 404.

For scoring and the official schedule, see contests. For arbitrary contest IDs, descriptors, exact history and build metadata, use the separate authenticated Influence API.

Routes

All paths below follow /api/public/sector-blitz.

Suffix Query parameters Payload within the response’s data
(none) sector phase, contest, available, standings, guilds, optional results podium
/guilds sector, page Ranked guild data and total
/players sector, page Ranked personal data and total
/battles page Current raid data and total while active
/spectate/{planet_id} min_height Active raid snapshot; raid: null when none is available to spectate
/struct-types None Struct-type catalog for rendering the board
/spectate/{planet_id}/event/{seq} Required time Exact planet activity row, or data: null

sector, when supplied, must be 44, 127 or 999. page defaults to 1 and accepts 1–1000. Leaderboards have fixed pages of 10 and include only positive scorers; battles have pages of 5. There is no public limit, contest-ID selector, history range or after_id. Unsupported/non-scalar parameters are rejected.

Battle rows identify the planet, sector, attacker and defender. The battle list covers raids in initiated, ongoing or shieldsVulnerable state in the three sectors; it is not a list of successful scoring events.

For spectator recovery, min_height is the newest live block the client has seen. The server bounds an ahead request to at most one block beyond its observed height; it is not an arbitrary historical snapshot selector. Large planet activity events can arrive as keys: resolve them with the exact planet ID, sequence and URL-encoded RFC3339 time (preserving up to six fractional digits and its timezone). A missing row can be temporarily unreadable; retry rather than inventing an event.

Selection, freshness and errors

The outer envelope is success, errors, data. Inspect the nested data.available even when HTTP is 200 and success is true. An unavailable underlying score snapshot can produce empty arrays with available: false; those are not valid zero standings.

phase is none, active or results for contest-scoped reads. Selection prefers a running contest, otherwise recent results, using the local chain height. The public display enters results at the end height and retains them for 201,600 blocks (approximately 14 days at six-second blocks). Display phase alone does not certify that the Influence projection has finalized. No selected contest returns an empty, available result rather than a fabricated upcoming contest.

Ordinary successful responses use Cache-Control: public, max-age=5, s-maxage=10, stale-while-revalidate=30. Server caches share score work by build and battle work by height; concurrent refreshes may return a previous copy. Use authenticated snapshots when you need the exact build/readiness contract. Struct types cache for one hour; found activity rows cache as immutable for one day, while missing rows use no-store.

HTTP 429 carries Retry-After when the client limit is exceeded. HTTP 503 with errors.busy carries Retry-After: 5. Respect backoff; do not poll once per render or treat a failed request as an empty leaderboard.

Verified against: webapp 7e7b9ebb, SectorBlitzController, SectorBlitzPublicManager, SectorBlitzPublicQuery, SectorBlitzSpectateReader, PlanetActivityQuery and public-route security configuration. This documents the source contract, not a live deployment check.