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-keyheader (preferred) or theapi_keyquery 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.
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.
List the routes of your community's selected operators.
bashcurl -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.
Let the user lock a pair from
data.routes, usingdata.airportsfor names and positions. Don't search every pair in advance.Search the pair. Add
depth=shallowto read stored flights only, with no provider call, queued refresh or credit use.bashcurl -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.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, withmeta.deepsaying what happened.bashcurl -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
| Endpoint | Purpose |
|---|---|
| Get selected operators | Operators selected for your community |
| List routes | Airports and routes in the static schedule of your selected operators |
| Search flights | Upcoming flights for an airport |
| Get a flight | One flight by id or natural key |
| Get a JWT | Exchange an API key for a bearer token |