Schedules endpoint returns wrong data

I’m hitting this endpoint https://aeroapi.flightaware.com/aeroapi/schedules/2023-05-19/2023-05-20?airline=AA&flight_number=1504

The data that’s return below is not right from what I can tell. There should be no 1504 flights on 5/20 and the scheduled_in and scheduled_out times seem to be wrong. I am checking against the info that I see here: AA1504 (AAL1504) American Airlines Flight Tracking and History - FlightAware

{
  "scheduled": [
    {
      "ident": "JBU4341",
      "ident_icao": "JBU4341",
      "ident_iata": "B64341",
      "actual_ident": "AAL1504",
      "actual_ident_icao": "AAL1504",
      "actual_ident_iata": "AA1504",
      "aircraft_type": "A319",
      "scheduled_in": "2023-05-19T01:23:00Z",
      "scheduled_out": "2023-05-19T00:00:00Z",
      "origin": "KLGA",
      "origin_icao": "KLGA",
      "origin_iata": "LGA",
      "origin_lid": "LGA",
      "destination": "KDCA",
      "destination_icao": "KDCA",
      "destination_iata": "DCA",
      "destination_lid": "DCA",
      "fa_flight_id": "AAL1504-1684274647-airline-817p",
      "meal_service": "Business: No meal / Economy: No meal",
      "seats_cabin_business": 8,
      "seats_cabin_coach": 120,
      "seats_cabin_first": 0
    },
    {
      "ident": "AAL1504",
      "ident_icao": "AAL1504",
      "ident_iata": "AA1504",
      "actual_ident": null,
      "actual_ident_icao": null,
      "actual_ident_iata": null,
      "aircraft_type": "A319",
      "scheduled_in": "2023-05-19T01:23:00Z",
      "scheduled_out": "2023-05-19T00:00:00Z",
      "origin": "KLGA",
      "origin_icao": "KLGA",
      "origin_iata": "LGA",
      "origin_lid": "LGA",
      "destination": "KDCA",
      "destination_icao": "KDCA",
      "destination_iata": "DCA",
      "destination_lid": "DCA",
      "fa_flight_id": "AAL1504-1684274647-airline-817p",
      "meal_service": "Business: No meal / Economy: No meal",
      "seats_cabin_business": 8,
      "seats_cabin_coach": 120,
      "seats_cabin_first": 0
    },
    {
      "ident": "AAL1504",
      "ident_icao": "AAL1504",
      "ident_iata": "AA1504",
      "actual_ident": null,
      "actual_ident_icao": null,
      "actual_ident_iata": null,
      "aircraft_type": "A319",
      "scheduled_in": "2023-05-19T23:12:00Z",
      "scheduled_out": "2023-05-19T22:00:00Z",
      "origin": "KDCA",
      "origin_icao": "KDCA",
      "origin_iata": "DCA",
      "origin_lid": "DCA",
      "destination": "KLGA",
      "destination_icao": "KLGA",
      "destination_iata": "LGA",
      "destination_lid": "LGA",
      "fa_flight_id": "AAL1504-1684361154-airline-3818p",
      "meal_service": "Business: No meal / Economy: No meal",
      "seats_cabin_business": 8,
      "seats_cabin_coach": 120,
      "seats_cabin_first": 0
    },
    {
      "ident": "JBU4077",
      "ident_icao": "JBU4077",
      "ident_iata": "B64077",
      "actual_ident": "AAL1504",
      "actual_ident_icao": "AAL1504",
      "actual_ident_iata": "AA1504",
      "aircraft_type": "A319",
      "scheduled_in": "2023-05-19T23:12:00Z",
      "scheduled_out": "2023-05-19T22:00:00Z",
      "origin": "KDCA",
      "origin_icao": "KDCA",
      "origin_iata": "DCA",
      "origin_lid": "DCA",
      "destination": "KLGA",
      "destination_icao": "KLGA",
      "destination_iata": "LGA",
      "destination_lid": "LGA",
      "fa_flight_id": "AAL1504-1684361154-airline-3818p",
      "meal_service": "Business: No meal / Economy: No meal",
      "seats_cabin_business": 8,
      "seats_cabin_coach": 120,
      "seats_cabin_first": 0
    },
    {
      "ident": "JBU4341",
      "ident_icao": "JBU4341",
      "ident_iata": "B64341",
      "actual_ident": "AAL1504",
      "actual_ident_icao": "AAL1504",
      "actual_ident_iata": "AA1504",
      "aircraft_type": "A319",
      "scheduled_in": "2023-05-20T01:23:00Z",
      "scheduled_out": "2023-05-20T00:00:00Z",
      "origin": "KLGA",
      "origin_icao": "KLGA",
      "origin_iata": "LGA",
      "origin_lid": "LGA",
      "destination": "KDCA",
      "destination_icao": "KDCA",
      "destination_iata": "DCA",
      "destination_lid": "DCA",
      "fa_flight_id": "AAL1504-1684361154-airline-3819p",
      "meal_service": "Business: No meal / Economy: No meal",
      "seats_cabin_business": 8,
      "seats_cabin_coach": 120,
      "seats_cabin_first": 0
    },
    {
      "ident": "AAL1504",
      "ident_icao": "AAL1504",
      "ident_iata": "AA1504",
      "actual_ident": null,
      "actual_ident_icao": null,
      "actual_ident_iata": null,
      "aircraft_type": "A319",
      "scheduled_in": "2023-05-20T01:23:00Z",
      "scheduled_out": "2023-05-20T00:00:00Z",
      "origin": "KLGA",
      "origin_icao": "KLGA",
      "origin_iata": "LGA",
      "origin_lid": "LGA",
      "destination": "KDCA",
      "destination_icao": "KDCA",
      "destination_iata": "DCA",
      "destination_lid": "DCA",
      "fa_flight_id": "AAL1504-1684361154-airline-3819p",
      "meal_service": "Business: No meal / Economy: No meal",
      "seats_cabin_business": 8,
      "seats_cabin_coach": 120,
      "seats_cabin_first": 0
    }
  ],
  "links": null,
  "num_pages": 1
}

The times are Zulu times so the flights that are listed for 5/20 would be on 5/19 at 8:00 PM local.

1 Like