> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flyhub.app/llms.txt
> Use this file to discover all available pages before exploring further.

# List flights in progress

> Returns the airline's flights in progress right now, newest first, up to 100. Not paginated. Requires flights:read and uses the same group scope as the flights endpoint. Each request costs 5 rows of the hourly row budget. Results are cached for about 30 seconds, so polling faster returns the same data. No positions, altitudes, or speeds are returned. Offline-tracked flights appear only when the pilot shares them on the live map.



## OpenAPI

````yaml /virtual-airlines/openapi.json get /api/v1/va/flights/live
openapi: 3.1.0
info:
  title: FlyHub Virtual Airlines API
  version: '2026-10-25'
  description: >-
    Read-only airline information and Discord notification payloads for Virtual
    Airlines integrations. Resources are scoped to the airline that issued the
    fhva_live bearer key.
servers:
  - url: https://flyhub.app
    description: FlyHub production API
security: []
tags:
  - name: public-api
    description: >-
      Read-only resources for airline websites, dashboards, and private
      integrations.
    x-group: Public VA API
  - name: discord-webhooks
    description: Discord notification payloads for selected airline activity.
    x-group: Discord webhooks
paths:
  /api/v1/va/flights/live:
    get:
      tags:
        - public-api
      summary: List flights in progress
      description: >-
        Returns the airline's flights in progress right now, newest first, up to
        100. Not paginated. Requires flights:read and uses the same group scope
        as the flights endpoint. Each request costs 5 rows of the hourly row
        budget. Results are cached for about 30 seconds, so polling faster
        returns the same data. No positions, altitudes, or speeds are returned.
        Offline-tracked flights appear only when the pilot shares them on the
        live map.
      operationId: listVaLiveFlights
      parameters:
        - $ref: '#/components/parameters/IfNoneMatch'
      responses:
        '200':
          $ref: '#/components/responses/LiveFlightsResponse'
        '304':
          $ref: '#/components/responses/NotModified'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - vaApiKey: []
components:
  parameters:
    IfNoneMatch:
      name: If-None-Match
      in: header
      description: >-
        ETag from an earlier response. When the body is unchanged the API
        returns 304 and charges one row.
      schema:
        type: string
  responses:
    LiveFlightsResponse:
      description: Flights in progress right now (up to 100).
      headers:
        Cache-Control:
          $ref: '#/components/headers/CacheControl'
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
        ETag:
          $ref: '#/components/headers/ETag'
        X-RateLimit-Row-Limit:
          $ref: '#/components/headers/RateLimitRowLimit'
        X-RateLimit-Row-Remaining:
          $ref: '#/components/headers/RateLimitRowRemaining'
        X-RateLimit-Row-Reset:
          $ref: '#/components/headers/RateLimitRowReset'
        X-RateLimit-Row-Cost:
          $ref: '#/components/headers/RateLimitRowCost'
      content:
        application/json:
          schema:
            type: object
            required:
              - data
              - meta
            properties:
              data:
                type: array
                items:
                  $ref: '#/components/schemas/LiveFlight'
              meta:
                $ref: '#/components/schemas/Meta'
    NotModified:
      description: >-
        The body has not changed since the ETag sent in If-None-Match. Costs one
        row.
    Unauthorized:
      description: A valid FlyHub VA API key is required.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The key does not include the required read scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: The request rate is temporarily limited.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServiceUnavailable:
      description: FlyHub cannot safely serve the request at the moment.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  headers:
    CacheControl:
      description: >-
        The response is private and should not be stored as a shared cache
        entry.
      schema:
        type: string
        example: private, no-store
    RateLimitLimit:
      description: Requests allowed in the current public API window.
      schema:
        type: integer
    RateLimitRemaining:
      description: Requests remaining in the current public API window.
      schema:
        type: integer
    RateLimitReset:
      description: ISO timestamp when the public API request window resets.
      schema:
        type: string
        format: date-time
    ETag:
      description: >-
        Weak validator of the response body. Send it back in If-None-Match; an
        unchanged body returns 304 and costs one row.
      schema:
        type: string
        example: W/"q8ZK2yE0p3l6tB0mXx1cWQ9dTnR4aSfh"
    RateLimitRowLimit:
      description: Rows one API key can read per hour.
      schema:
        type: integer
    RateLimitRowRemaining:
      description: Rows left this hour, the lower of the key and its airline allowance.
      schema:
        type: integer
    RateLimitRowReset:
      description: ISO timestamp when the hourly row window resets.
      schema:
        type: string
        format: date-time
    RateLimitRowCost:
      description: >-
        Rows this response consumed: the rows returned for a list, a fixed cost
        for single objects, 1 for a 304.
      schema:
        type: integer
    RetryAfter:
      description: Seconds to wait before retrying after a rate limit.
      schema:
        type: integer
  schemas:
    LiveFlight:
      type: object
      required:
        - airlineIcao
        - flightNumber
        - originIcao
        - destinationIcao
        - origin
        - destination
        - aircraftRegistration
        - aircraftTypeIcao
        - pilot
        - trackingMode
        - network
        - phase
        - offBlockAt
        - progressPercent
        - etaAt
        - updatedAt
      properties:
        airlineIcao:
          description: ICAO code of the operating airline.
          type:
            - string
            - 'null'
        flightNumber:
          type: string
        originIcao:
          type: string
        destinationIcao:
          type: string
        origin:
          description: Origin airport details.
          oneOf:
            - $ref: '#/components/schemas/AirportRef'
            - type: 'null'
        destination:
          description: Destination airport details.
          oneOf:
            - $ref: '#/components/schemas/AirportRef'
            - type: 'null'
        aircraftRegistration:
          type:
            - string
            - 'null'
        aircraftTypeIcao:
          type:
            - string
            - 'null'
        pilot:
          oneOf:
            - $ref: '#/components/schemas/PublicPilot'
            - type: 'null'
        trackingMode:
          type: string
          enum:
            - online
            - offline
          description: >-
            online is the live desktop tracker; offline is checkpoint-based
            offline tracking.
        network:
          type:
            - string
            - 'null'
          enum:
            - vatsim
            - ivao
            - offline
            - null
          description: >-
            vatsim or ivao when the pilot is connected right now, offline for
            offline-tracked flights, null otherwise.
        phase:
          type: string
          enum:
            - preflight
            - pushback
            - taxi
            - takeoff
            - climb
            - cruise
            - descent
            - landing
            - parked
          description: Coarse flight phase.
        offBlockAt:
          type:
            - string
            - 'null'
          format: date-time
        progressPercent:
          description: Coarse route progress from 0 to 100.
          type:
            - integer
            - 'null'
          minimum: 0
          maximum: 100
        etaAt:
          description: >-
            Estimated arrival: derived from ground speed while airborne,
            otherwise the planned arrival.
          type:
            - string
            - 'null'
          format: date-time
        updatedAt:
          description: Time of the last tracker update.
          type:
            - string
            - 'null'
          format: date-time
    Meta:
      type: object
      required:
        - apiVersion
      properties:
        apiVersion:
          type: string
          example: '2026-10-25'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
    AirportRef:
      type: object
      required:
        - icao
        - name
        - city
        - countryCode
      properties:
        icao:
          type: string
        name:
          type:
            - string
            - 'null'
        city:
          type:
            - string
            - 'null'
        countryCode:
          description: ISO 3166-1 alpha-2 country code.
          type:
            - string
            - 'null'
    PublicPilot:
      type: object
      description: >-
        Public pilot identity: a display name and a public avatar URL only. User
        IDs are never exposed.
      required:
        - displayName
        - avatarUrl
      properties:
        displayName:
          type: string
        avatarUrl:
          description: >-
            Public, unsigned FlyHub avatar URL, or null when the pilot has no
            avatar.
          type:
            - string
            - 'null'
          format: uri
  securitySchemes:
    vaApiKey:
      type: http
      scheme: bearer
      bearerFormat: fhva_live_...
      description: >-
        A read-only FlyHub VA API key created from Ownership. Keep it on your
        integration server.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.