Demo: Orbit Travel API
Download OpenAPI DocumentSearch destinations, flights and seat maps, book and pay, manage saved passengers and Orbit Miles, and receive booking and payment events by webhook or from the Events API.
Every request needs an API key in the x-api-key header, or an OAuth access token from Create an access token in Authorization: Bearer …. Each credential can make 60 requests a minute.
Authentication
Create an access token
Destinations
List destinations
Get a destination
Flights
Search flights
Get a flight
Legacy flight searchDeprecated
Seats
Get a seat map
Returns the seat map of a flight: every cabin, row and seat, with what is free right now. Seats in the exit row cost extra.
Path Parameters
Flight id.
Query Parameters
Only this cabin.
Responses
200OK
Flight id.
Vessel type.
How long a seat hold lasts, in seconds.
One map per cabin the flight sells.
Show child attributes
Cabin.
Column letters, left to right; an empty string marks an aisle.
Rows, front to back.
Show child attributes
Row number.
Seats in the row, left to right.
Show child attributes
Whether the seat can be held.
What makes this seat different.
Extra charge for this seat; null when it is included in the fare.
Show child attributes
Extra charge in cents.
ISO 4217 currency code.
Seat number: row and column.
Column letter.
Requests allowed per minute for this credential.
Requests left in the current window.
When the window resets, in Unix seconds.
400The request is invalid: a parameter or body field failed validation.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
401Authentication is missing or invalid.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
403Authenticated, but not allowed to do this.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
404No flight with this id.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
429Too many requests: more than 60 a minute. Wait `Retry-After` seconds, then retry.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
Seconds to wait before retrying.
Requests allowed per minute for this credential.
Requests left in the current window.
When the window resets, in Unix seconds.
500Something failed on the server. Retry with backoff.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
curl http://localhost:3010/v1/flights/flt_2031_proxima/seats \
--header 'x-api-key: YOUR_API_KEY'{
"flightId": "flt_2031_proxima",
"vessel": "Orbit Clipper OC-9",
"holdDurationSeconds": 900,
"cabins": [
{
"cabin": "economy",
"layout": [
"A",
"B",
"C",
"",
"D",
"E",
"F"
],
"rows": [
{
"number": 24,
"seats": [
{}
]
}
]
}
]
}