Search flights
Returns upcoming flights for an airport. At least one of departure_icao or arrival_icao is required.
Results are limited to flights departing within the last 24 hours or later. If no fresh data is held and live flights are enabled for your community, the data provider is queried and your community's credits may be consumed. meta.source tells you whether the response came from the provider or the cache.
The shape of each item in data depends on the format parameter.
depth, limit and cursor are opt-in. Without them, or with empty values, the search works as described above.
Stored flights only. depth=shallow returns what is already stored. It never calls the data provider, queues a refresh or consumes credits.
Deep search. depth=deep is for an airport pair a user has locked (see List routes), so it needs both departure_icao and arrival_icao. For each of your selected operators that flies the pair, the data provider is asked once for that operator's flights between the two airports, during your request, and the response is built from the stored flights afterwards. It looks about 6 hours ahead. It never fails the search: if a pull is not possible or fails, you get the stored flights and meta.deep says why.
- A pull consumes 1 credit per operator, at most once an hour for the same pair. A pair that was pulled in the last 6 hours, by any community, is not pulled again, and that search consumes nothing.
- Pulls are capped for each community each day, and share a daily budget with other refreshes.
- A request with
cursornever pulls.
Paging. Send limit to get one page, ordered by stored departure time, with ties in a stable order. While more flights remain, the response has meta.next_cursor: send it as cursor, with limit and the rest of the same search. The last page has no next_cursor.
- Without
depth=shallow, the first page can refresh and consume credits like any search. A request with a cursor never calls the data provider, queues a refresh or consumes credits. - Pages are not a snapshot. Flights inserted behind the cursor during a walk are missed, and a flight whose departure time changes can be missed or repeated. Start again without a cursor for a current list.
Authorizations
Your community's SimVector API key.
Your community's SimVector API key (prefer the header, as query strings are logged).
Token from GET /auth/jwt. Valid for 48 hours.
Parameters
Query Parameters
ICAO code of the departure airport, for example KJFK.
"KJFK"44ICAO code of the arrival airport, for example EGLL. If both airports are given, results are filtered by both, but only the departure airport triggers a provider refresh.
"EGLL"44Comma-separated operator ICAO codes. Only operators already selected for your community are matched.
"DAL,UAL"Response item format.
"live_flights_v0""phpVMS7""schedule_cloud""live_flights_v0"Opt-in. shallow returns stored flights only, with no provider call, queued refresh or credit use. The value is case-sensitive.
deep pulls the airport pair from the data provider during the request, then returns stored flights. It needs both airports. See the description above. The value is case-sensitive.
"shallow""deep"Opt-in paging. The most flights to return in one page, a whole number from 1 to 500 without leading zeros. Without it, the search is not paged.
1500The meta.next_cursor of the previous page. It is opaque and requires limit.
Send it with the rest of the same search. Only limit, format and depth may change between pages. A cursor from another search or community is rejected, as is one issued before a change to the operators the search covers.
Responses
Matching flights.