GET /airlines/:id/flights(.:format)

Overview

Returns an array of flights that are currently in the system for the airline specified by the id parameter. The id can be the FlightCaster id of the airline, the IATA code of the airline, or the ICAO code of the airline.

The results are limited to 30 entries by default. The page parameter can be used scroll through the results.

Note: IATA issues 'controlled duplicates', so it is recommended that the ICAO identifier be used. Controlled duplicates are issued to regional airlines who do not operate in the same air space.

Parameters

Examples Requests

Example Response

    <?xml version="1.0" encoding="utf-8"?>
    <flights current-page="1" total-entries="528" total-pages="264">
      <flight>
        <id>12565687</id>
        <flightstats-history-id>173020616</flightstats-history-id>
        <number>28</number>
        <airline-icao-id>VRD</airline-icao-id>
        <origin-icao-id>KSFO</origin-icao-id>
        <destination-icao-id>KJFK</destination-icao-id>
        <diverted-icao-id/>
        <published-arrival-time>2009-10-12 11:50:00 UTC</published-arrival-time>
        <published-departure-time>2009-10-12 06:15:00 UTC</published-departure-time>
        <created-at>2009-10-08 08:19:35 UTC</created-at>
        <updated-at>2009-10-08 08:19:35 UTC</updated-at>
        <predictions status="on-time">
          <prediction greater-than="0" less-or-equal-than="20" message="On-Time">0.85495341</prediction>
          <prediction greater-than="20" less-or-equal-than="60" message="Less than 60m late">0.108263855</prediction>
          <prediction greater-than="60" message="More than 60m late">0.0367827363</prediction>
        </predictions>
      </flight>
      <flight>
        <id>12565664</id>
        <flightstats-history-id>173020593</flightstats-history-id>
        <number>358</number>
        <airline-icao-id>VRD</airline-icao-id>
        <origin-icao-id>KSFO</origin-icao-id>
        <destination-icao-id>KBOS</destination-icao-id>
        <diverted-icao-id/>
        <published-arrival-time>2009-10-12 11:40:00 UTC</published-arrival-time>
        <published-departure-time>2009-10-12 05:55:00 UTC</published-departure-time>
        <created-at>2009-10-08 08:19:35 UTC</created-at>
        <updated-at>2009-10-08 08:19:35 UTC</updated-at>
        <predictions status="on-time">
          <prediction greater-than="0" less-or-equal-than="20" message="On-Time">0.85495341</prediction>
          <prediction greater-than="20" less-or-equal-than="60" message="Less than 60m late">0.108263855</prediction>
          <prediction greater-than="60" message="More than 60m late">0.0367827363</prediction>
        </predictions>
      </flight>
    </flights>