Skip to content

Interim documentation

These endpoints are documented as they exist today and are provided as-is. This documentation will be replaced by a considerably more robust API specification (API v2).

Schedule Cloud API ​

The Schedule Cloud API returns flight schedules and live-flight data for the operators your community has selected.

Authentication ​

Every request needs credentials. Use one of:

  • an API key in the x-api-key header (preferred) or the api_key query parameter, or
  • a bearer JWT from GET /auth/jwt, valid for 48 hours: Authorization: Bearer <token>.

Your community must have an active Schedule Cloud subscription, otherwise requests fail with 402 subscription_required.

bash
curl -H "x-api-key: $SIMVECTOR_API_KEY" \
  "https://api.simvector.net/v1/data/live/search?departure_icao=KJFK&format=schedule_cloud"

Base URL will change

The API is served from https://api.simvector.net/. Keep the base URL in configuration so you can switch without code changes.

Find flights by route ​

List the routes, let the user lock an airport pair, then search that pair.

  1. List the routes of your community's selected operators.

    bash
    curl -H "x-api-key: $SIMVECTOR_API_KEY" \
      "https://api.simvector.net/v1/data/routes"

    This is the static schedule. It can include pairs that are no longer flown.

  2. Let the user lock a pair from data.routes, using data.airports for names and positions. Don't search every pair in advance.

  3. Search the pair. Add depth=shallow to read stored flights only, with no provider call, queued refresh or credit use.

    bash
    curl -H "x-api-key: $SIMVECTOR_API_KEY" \
      "https://api.simvector.net/v1/data/live/search?departure_icao=KJFK&arrival_icao=EGLL&depth=shallow"

    A listed pair can return no flights. Without depth, the same search can refresh from the data provider and consume credits.

  4. To check what is really flying, search the locked pair again with depth=deep. It needs both airports. It asks the data provider about the pair during the request, which takes a few seconds at most, and then returns the stored flights, with meta.deep saying what happened.

    bash
    curl -H "x-api-key: $SIMVECTOR_API_KEY" \
      "https://api.simvector.net/v1/data/live/search?departure_icao=KJFK&arrival_icao=EGLL&depth=deep"

    A pull consumes 1 credit per operator, and a pair that was pulled in the last 6 hours is not pulled again. If a pull is not possible, you still get the stored flights.

For a long result, you can add limit and cursor to read it in pages. Flights inserted behind the cursor while you page are missed.

Endpoints ​

EndpointPurpose
Get selected operatorsOperators selected for your community
List routesAirports and routes in the static schedule of your selected operators
Search flightsUpcoming flights for an airport
Get a flightOne flight by id or natural key
Get a JWTExchange an API key for a bearer token

AMXM schema © 2024 RTCA, EUROCAE. Use does not imply endorsement by RTCA or EUROCAE.