Query flight events based on given search criteria.

GET {{baseUrl}}/flightlegs/events?from=<string>&to=<string>&carrier=<string>&flight-number=<string>&operational-suffix=<string>&origin-date=<string>&origin-iata-code=<string>&destination-iata-code=<string>&event-type=<string>&location=<string>&source=<string>&max-results=<integer>

If no query parameter is set the search will be reduced to the last 24 hours. If no maxResult is set a maximum of 1000 records will be returned.

Request Params

KeyDatatypeRequiredDescription
fromstringThe start point of the interval in UTC. e.g. 2020-01-31T12:30:00.000Z. If used the from and the to parameter has to be set.
tostringThe end point of the interval in UTC. e.g. 2020-01-31T12:30:00.000Z. If used the from and the to parameter has to be set.
carrierstringIATA 2-digit code of the operating carrier.
flight-numberstringThe numeric flight number of operating airline.
operational-suffixstringUsed to distinguish two flights having the same flight number and departing from their respective origin stations on the same date.
origin-datestringThe day of operation, i.e. local day of schedule off-block time in UTC at first departure airport of flight. e.g. 2020-01-31T12:30:00.000Z.
origin-iata-codestringThe IATA code of an airport as origin airport for a flight leg.
destination-iata-codestringThe IATA code of an airport as destination airport for a flight leg.
event-typestringThe event type:
locationstringLocation of the event to search for.
sourcestringSource of the event to search for.
max-resultsstringThe maximum number of results.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{&quot;event-time&quot;:&quot;1981-07-25T13:51:29.097Z&quot;,&quot;event-type&quot;:&quot;FLIGHT_SCHEDULED_EVENT&quot;,&quot;identifier&quot;:{&quot;carrier&quot;:&quot;ZZ&quot;,&quot;destination-iata-code&quot;:&quot;ZZZ&quot;,&quot;flight-number&quot;:&quot;997&quot;,&quot;identifier-string&quot;:&quot;reprehenderit&quot;,&quot;origin-date&quot;:&quot;2018-07-03&quot;,&quot;origin-iata-code&quot;:&quot;AAA&quot;,&quot;operational-suffix&quot;:&quot;B&quot;},&quot;is-international&quot;:true,&quot;sibt&quot;:&quot;1944-10-14T04:05:45.850Z&quot;,&quot;sobt&quot;:&quot;1990-03-02T07:27:20.593Z&quot;,&quot;source&quot;:&quot;Scanner TRA_12&quot;,&quot;meta&quot;:{&quot;created-at&quot;:&quot;2010-09-15T23:36:13.989Z&quot;,&quot;created-by&quot;:{&quot;user-id&quot;:&quot;exercitation&quot;,&quot;user-name&quot;:&quot;labore aliqua pariatur&quot;},&quot;modified-count&quot;:28840329,&quot;modified-at&quot;:&quot;2008-05-29T11:48:58.507Z&quot;},&quot;location&quot;:&quot;TRA_12&quot;,&quot;secondary-identifiers&quot;:[{&quot;created&quot;:&quot;1990-08-24T22:22:58.873Z&quot;,&quot;identifier&quot;:&quot;amet anim do nostrud in&quot;,&quot;source&quot;:&quot;aliqua Ut ipsum&quot;},{&quot;created&quot;:&quot;1990-06-10T00:03:52.665Z&quot;,&quot;identifier&quot;:&quot;deserunt ex irure aliquip magna&quot;,&quot;source&quot;:&quot;do incididunt sit deserunt&quot;}],&quot;aircraft-type&quot;:&quot;A320&quot;,&quot;aircraft-registration&quot;:&quot;ipsum incididunt veniam&quot;,&quot;codeshares&quot;:[{&quot;carrier&quot;:&quot;ZZ&quot;,&quot;destination-iata-code&quot;:&quot;ZZZ&quot;,&quot;flight-number&quot;:&quot;997&quot;,&quot;identifier-string&quot;:&quot;magna deserunt mollit minim&quot;,&quot;origin-date&quot;:&quot;1968-01-08&quot;,&quot;origin-iata-code&quot;:&quot;AAA&quot;,&quot;operational-suffix&quot;:&quot;B&quot;},{&quot;carrier&quot;:&quot;ZZ&quot;,&quot;destination-iata-code&quot;:&quot;ZZZ&quot;,&quot;flight-number&quot;:&quot;997&quot;,&quot;identifier-string&quot;:&quot;dolore commodo Duis anim&quot;,&quot;origin-date&quot;:&quot;1950-06-18&quot;,&quot;origin-iata-code&quot;:&quot;AAA&quot;,&quot;operational-suffix&quot;:&quot;B&quot;}],&quot;flight-segments&quot;:[{&quot;identifier&quot;:{&quot;carrier&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;destination-iata-code&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;flight-number&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;identifier-string&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;origin-date&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;origin-iata-code&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;operational-suffix&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;is-international&quot;:false,&quot;secondary-identifiers&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},{&quot;identifier&quot;:{&quot;carrier&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;destination-iata-code&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;flight-number&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;identifier-string&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;origin-date&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;origin-iata-code&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;operational-suffix&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;is-international&quot;:false,&quot;secondary-identifiers&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]}]},{&quot;event-time&quot;:&quot;1956-09-22T04:22:56.312Z&quot;,&quot;event-type&quot;:&quot;FLIGHT_SCHEDULED_EVENT&quot;,&quot;identifier&quot;:{&quot;carrier&quot;:&quot;ZZ&quot;,&quot;destination-iata-code&quot;:&quot;ZZZ&quot;,&quot;flight-number&quot;:&quot;997&quot;,&quot;identifier-string&quot;:&quot;in nostrud Duis labore&quot;,&quot;origin-date&quot;:&quot;2019-07-26&quot;,&quot;origin-iata-code&quot;:&quot;AAA&quot;,&quot;operational-suffix&quot;:&quot;B&quot;},&quot;is-international&quot;:true,&quot;sibt&quot;:&quot;1998-09-14T14:48:31.101Z&quot;,&quot;sobt&quot;:&quot;1969-05-03T15:04:28.874Z&quot;,&quot;source&quot;:&quot;Scanner TRA_12&quot;,&quot;meta&quot;:{&quot;created-at&quot;:&quot;1962-09-08T08:58:09.512Z&quot;,&quot;created-by&quot;:{&quot;user-id&quot;:&quot;ut et&quot;,&quot;user-name&quot;:&quot;minim&quot;},&quot;modified-count&quot;:35548993,&quot;modified-at&quot;:&quot;2003-07-19T17:05:26.967Z&quot;},&quot;location&quot;:&quot;TRA_12&quot;,&quot;secondary-identifiers&quot;:[{&quot;created&quot;:&quot;1997-09-23T17:10:38.731Z&quot;,&quot;identifier&quot;:&quot;dolore fugiat&quot;,&quot;source&quot;:&quot;ullamco dolor et minim&quot;},{&quot;created&quot;:&quot;1954-10-18T02:11:13.193Z&quot;,&quot;identifier&quot;:&quot;labore veniam adipisicing&quot;,&quot;source&quot;:&quot;cupidatat dolor laborum reprehenderit&quot;}],&quot;aircraft-type&quot;:&quot;A320&quot;,&quot;aircraft-registration&quot;:&quot;magna aute&quot;,&quot;codeshares&quot;:[{&quot;carrier&quot;:&quot;ZZ&quot;,&quot;destination-iata-code&quot;:&quot;ZZZ&quot;,&quot;flight-number&quot;:&quot;997&quot;,&quot;identifier-string&quot;:&quot;exe&quot;,&quot;origin-date&quot;:&quot;2002-10-25&quot;,&quot;origin-iata-code&quot;:&quot;AAA&quot;,&quot;operational-suffix&quot;:&quot;B&quot;},{&quot;carrier&quot;:&quot;ZZ&quot;,&quot;destination-iata-code&quot;:&quot;ZZZ&quot;,&quot;flight-number&quot;:&quot;997&quot;,&quot;identifier-string&quot;:&quot;esse cillum ullamco&quot;,&quot;origin-date&quot;:&quot;1949-10-30&quot;,&quot;origin-iata-code&quot;:&quot;AAA&quot;,&quot;operational-suffix&quot;:&quot;B&quot;}],&quot;flight-segments&quot;:[{&quot;identifier&quot;:{&quot;carrier&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;destination-iata-code&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;flight-number&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;identifier-string&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;origin-date&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;origin-iata-code&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;operational-suffix&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;is-international&quot;:false,&quot;secondary-identifiers&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},{&quot;identifier&quot;:{&quot;carrier&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;destination-iata-code&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;flight-number&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;identifier-string&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;origin-date&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;origin-iata-code&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;operational-suffix&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;is-international&quot;:false,&quot;secondary-identifiers&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]}]}]