Skip to main content
The MilitaryService provides APIs for tracking military aircraft from OpenSky and Wingbits, retrieving military base data, accessing USNI Fleet intelligence reports, and assessing theater-level military posture.

Base Path

ListMilitaryFlights

Retrieves tracked military aircraft from OpenSky and Wingbits within a geographic bounding box, with optional filtering by operator and aircraft type. Endpoint: GET /api/military/v1/list-military-flights

Request Parameters

int32
Maximum items per page (1-100)
string
Cursor for next page
double
North-east corner latitude of bounding box
double
North-east corner longitude of bounding box
double
South-west corner latitude of bounding box
double
South-west corner longitude of bounding box
MilitaryOperator
Optional operator filter (e.g., MILITARY_OPERATOR_USAF, MILITARY_OPERATOR_RAF)
MilitaryAircraftType
Optional aircraft type filter (e.g., MILITARY_AIRCRAFT_TYPE_FIGHTER, MILITARY_AIRCRAFT_TYPE_TANKER)

Response

MilitaryFlight[]
Individual military flights
MilitaryFlightCluster[]
Geographic clusters of flights
PaginationResponse
Pagination metadata

Example Request


GetTheaterPosture

Retrieves military posture assessments for geographic theaters, providing strategic-level situational awareness. Endpoint: GET /api/military/v1/get-theater-posture

Request Parameters

string
Theater name (e.g., “indo-pacific”, “european”, “middle-east”). Empty returns all theaters.

Response

TheaterPosture[]
Theater posture assessments (one per theater, or all if no filter)

Example Request


GetAircraftDetails

Retrieves Wingbits aircraft enrichment data for a single ICAO24 hex, providing detailed aircraft information. Endpoint: GET /api/military/v1/get-aircraft-details

Request Parameters

string
required
ICAO 24-bit hex address (lowercase)

Response

AircraftDetails
Aircraft details, absent if not found
bool
Whether the Wingbits API is configured

Example Request


GetAircraftDetailsBatch

Retrieves Wingbits aircraft enrichment data for multiple ICAO24 hexes in a single request. Endpoint: POST /api/military/v1/get-aircraft-details-batch

Request Body

string[]
required
Array of ICAO 24-bit hex addresses (lowercase)

Response

map<string, AircraftDetails>
Map of ICAO24 hex to aircraft details
bool
Whether the Wingbits API is configured

Example Request


GetWingbitsStatus

Checks whether the Wingbits enrichment API is configured and available. Endpoint: GET /api/military/v1/get-wingbits-status

Request Parameters

No parameters required.

Response

bool
Whether the Wingbits API is configured with valid credentials
string
Status message

Example Request


GetUSNIFleetReport

Retrieves the latest parsed USNI Fleet Tracker report with information about U.S. Navy carrier strike groups and deployments. Endpoint: GET /api/military/v1/get-usni-fleet-report

Request Parameters

bool
When true, bypass cache and fetch fresh data from USNI

Response

USNIFleetReport
The parsed fleet report, if available
bool
Whether the response was served from cache
bool
Whether the cached data is stale (served after a fetch failure)
string
Error message, if any

Example Request


ListMilitaryBases

Retrieves military bases within a bounding box with server-side clustering for map visualization. Endpoint: GET /api/military/v1/list-military-bases

Request Parameters

double
North-east corner latitude of bounding box
double
North-east corner longitude of bounding box
double
South-west corner latitude of bounding box
double
South-west corner longitude of bounding box
int32
Map zoom level for clustering threshold
string
Optional base type filter
string
Optional base kind filter
string
Optional country filter (ISO 3166-1 alpha-2)

Response

MilitaryBaseEntry[]
Individual military bases in the view
MilitaryBaseCluster[]
Geographic clusters of bases
int32
Total bases in the bounding box
bool
Whether results were truncated

Example Request