Skip to main content
GET
/
pilot
/
statistics
Error
A valid request URL is required to generate request examples
{
  "hours_flown": 123,
  "flights_flown": "127",
  "average_landing_rate": 123,
  "pireps_filed": "127",
  "total_pay": 0,
  "flight_streak": 0,
  "location": "YSSY",
  "ff_level": 0,
  "ff_status": 0,
  "rank_image": "<string>"
}

Authorizations

Authorization
string
header
required

The pilot's API key, obtained via POST /pilot/login or your OAuth flow. Send as Authorization: Bearer <api_key> on every authenticated request.

Response

Statistics for the authenticated pilot.

hours_flown
number<float>
required

Career flight time in decimal hours.

flights_flown
string
required

Stringified PIREP count — kept as a string for backwards compatibility with older clients.

Example:

"127"

average_landing_rate
number<float>
required

Average touchdown rate across all filed PIREPs (feet per minute, negative).

pireps_filed
string
required

Stringified PIREP count (currently identical to flights_flown).

Example:

"127"

total_pay
number
default:0
required

Reserved. Always 0 in the reference implementation.

flight_streak
integer
default:0
required

Reserved. Always 0 in the reference implementation.

location
string
required

ICAO of the pilot's current airport.

Example:

"YSSY"

ff_level
integer
default:0
required

Reserved. Always 0 in the reference implementation.

ff_status
integer
default:0
required

Reserved. Always 0 in the reference implementation.

rank_image
string<uri> | null
required

URL to the pilot's rank insignia image (same field as PilotSession.rank_image). Rendered by the Stratos client as a rank badge. Return null if not set. The phpVMS reference resolves this from the rank's image_url column.