Developer Reference
Booking Details API
Written by Mohd Khalid, Founding Engineer at Flyo.ai
khalid@flyo.aiOverview
The Flyo Booking Details API reads a booking from the airline's own manage-booking page and sends it to you in one common shape, whatever the airline: status, flights, passengers with their seats, meals, baggage and add-ons, payment and contact details.
You send the PNR, the airline, the first flight's date and one passenger's name. Flyo accepts the lookup straight away (HTTP 202) and posts the result to your webhook when the airline has answered, usually within a few minutes.
Access is invite-only. Register with Flyo and agree a proposal for the APIs you need. Once you are onboarded you receive your partner dashboard login, where you create API keys, and the API address (host) for your account. It is the same host and the same keys as the Webcheckin API.
Words used in this guide
- Lookup
- One request to read one booking. It is identified by its jobId, which every webhook repeats as job_id.
- identityId
- The booking the lookup is for, as <airline>-<PNR>-<departure date>, for example 6E-ABC123-2026-11-20. Two lookups of the same booking share it; their jobId differs.
- Local time
- Flight times in the booking data are the airport's own wall clock, without a timezone, as the airline shows them, for example 2026-11-20T06:15.
Quickstart: your first lookup
1. Get access and configure your server
Use the API host and API key from your onboarding, without a trailing slash on the host. If you already use the Webcheckin API, the same key works here.
Ready to integrate?
Get your API key and start sending requests to the Flyo partner API.
export FLYO_API_BASE_URL='https://<API-host-from-your-onboarding>'
export FLYO_API_KEY='<API-key-from-your-dashboard>'2. Look up a booking
There is no test environment: every accepted lookup reads a real booking from the airline and uses one credit. Use a booking you own. Replace the example with its PNR, airline, first flight's date and one passenger's name, and point callbackData at an HTTPS endpoint on your server.
curl -X POST "$FLYO_API_BASE_URL/extPartner/api/bookingdetails" \
-H "X-API-Key: $FLYO_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"pnr": "ABC123",
"flights": [
{
"airline": "6E",
"departure_date": "2026-11-20"
}
],
"passengers": [
{
"first_name": "Rahul",
"last_name": "Sharma"
}
],
"callbackData": {
"callbackUrl": "https://partner.example.com/webhooks/flyo",
"auth_header": "Authorization: Bearer <your-webhook-secret>"
}
}'{
"success": true,
"jobId": "019a4e2b-7c41-7d3a-9b2e-5f1c8a6d4e20",
"identityId": "6E-ABC123-2026-11-20",
"status": "QUEUED"
}3. Receive the result
Answer every webhook with 2xx. The first one (state IN_PROGRESS) confirms the lookup has started; the second carries the result. Branch on status: SUCCESS, NOT_FLOWN and CANCELLED include the booking in data.
See a full SUCCESS webhookAuthentication
Send your API key in the X-API-Key header of every request. Create keys in the partner dashboard; a key stays valid until you revoke it there. These are the same keys the Webcheckin API uses.
A missing, unknown or revoked key returns 401. Keep keys on your server, never in browser or mobile app code or in source control.
POST /extPartner/api/bookingdetails
X-API-Key: flyo_<issued-key>/extPartner/api/bookingdetailsLook Up Booking Details
X-API-Key: flyo_<issued-key>Queues a lookup of one booking and returns its jobId. Uses one credit; see Credits for when it is given back.
The body has the same shape as a Webcheckin subscribe, so you can send the booking you already hold. Only pnr, the first flight's airline and departure_date, the first passenger's first_name and last_name and callbackData are read; any other fields are ignored.
Checks run in this order: your plan and credits (402), the request body (400, the first problem found), whether Flyo supports the airline (422). Nothing is charged for a refused request.
Each request starts a new lookup, even for a booking you looked up before, and each one uses a credit. To refresh a booking, look it up again.
Request
POST /extPartner/api/bookingdetails
X-API-Key: flyo_<issued-key>
Content-Type: application/jsoncurl -X POST "$FLYO_API_BASE_URL/extPartner/api/bookingdetails" \
-H "X-API-Key: $FLYO_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"pnr": "ABC123",
"flights": [
{
"airline": "6E",
"departure_date": "2026-11-20"
}
],
"passengers": [
{
"first_name": "Rahul",
"last_name": "Sharma"
}
],
"callbackData": {
"callbackUrl": "https://partner.example.com/webhooks/flyo",
"auth_header": "Authorization: Bearer <your-webhook-secret>"
}
}'{
"pnr": "ABC123",
"flights": [
{
"airline": "6E",
"departure_date": "2026-11-20"
}
],
"passengers": [
{
"first_name": "Rahul",
"last_name": "Sharma"
}
],
"callbackData": {
"callbackUrl": "https://partner.example.com/webhooks/flyo",
"auth_header": "Authorization: Bearer <your-webhook-secret>"
}
}Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
| pnr | string | Yes | The airline booking reference: 6-13 letters or digits. Sent in upper case to the airline. |
| flights | array | Yes | The booking's flights. Only the first entry is used; send the first flight of the booking. |
| flights[].airline | string | Yes | IATA code of the airline holding the booking, for example 6E or AI. |
| flights[].departure_date | string | Yes | The first flight's departure date as YYYY-MM-DD (the origin airport's local date). It must be a real calendar date. |
| passengers | array | Yes | Passengers on the booking. Only the first entry is used; one name on the booking is enough to read the whole booking. |
| passengers[].first_name | string | Yes | First name as on the booking. |
| passengers[].last_name | string | Yes | Last name as on the booking. Most airlines look the booking up by PNR and last name. |
| callbackData | object | Yes | Where to send the result. Results come only by webhook, so it is required. |
| callbackData.callbackUrl | string | Yes | Your webhook endpoint: an HTTPS URL with a public hostname. No IP addresses, localhost or internal names, no user:password and no #fragment. |
| callbackData.auth_header | string | Yes | The header Flyo sends with every webhook, written as "Header-Name: value". The name must be Authorization or X-API-Key, for example "Authorization: Bearer <your-webhook-secret>". The value can't contain another colon or a line break. |
Codes are not case-sensitive: pnr and airline are upper-cased before the lookup.
Response
HTTP 202 Accepted. The lookup is queued; the result is posted to callbackUrl.
{
"success": true,
"jobId": "019a4e2b-7c41-7d3a-9b2e-5f1c8a6d4e20",
"identityId": "6E-ABC123-2026-11-20",
"status": "QUEUED"
}Response Fields
| Field | Type | Description |
|---|---|---|
| success | boolean | true when the lookup was accepted. |
| jobId | string | The lookup's id. Every webhook repeats it as job_id: save it with your own booking reference. |
| identityId | string | The booking, as <airline>-<PNR>-<departure date>. Webhooks repeat it as identity_id. |
| status | string | Always QUEUED: the lookup is waiting for a worker. The result arrives by webhook. |
Errors
| HTTP Status | Message |
|---|---|
| 400 | VALIDATION_ERROR — a field is missing or malformed; message names it, for example "pnr must be 6-13 letters or digits" or "callbackUrl must be an HTTPS URL with a public hostname". |
| 401 | Missing, invalid or revoked API key. |
| 402 | QUOTA_EXHAUSTED — no booking details credits left (quota shows included and consumed units). NO_ENTITLEMENT or ENTITLEMENT_SUSPENDED — the API is not enabled or is suspended for your account. |
| 422 | REJECTED — Flyo doesn't support this airline yet. Not charged. |
| 429 | Rate limit exceeded. Wait retryAfter seconds. |
| 503 | SERVICE_UNAVAILABLE — the lookup service is temporarily unavailable. Not charged; retry shortly. |
| 500 | INTERNAL_ERROR — unexpected error. Retry later. |
Webhooks
Flyo posts a bookingdetails.update event to your callbackUrl twice for every lookup: once with state IN_PROGRESS as soon as the lookup is accepted, then once with the result.
The result has state COMPLETED when the airline answered (status says how: SUCCESS, NOT_FLOWN, CANCELLED, INVALID_PNR, LOGIN_REQUIRED, OTP_REQUIRED or NOT_ALLOWED), or FAILED when Flyo couldn't get an answer from the airline (BLOCKED, TIMEOUT, SITE_ERROR or TECHNICAL_ERROR). reason explains it in plain words when there is something to say, and data holds the booking for SUCCESS, NOT_FLOWN and CANCELLED (null otherwise).
Flyo does not sign the body. Every event carries the header you set in callbackData.auth_header, for example Authorization: Bearer <your-webhook-secret>, and Content-Type: application/json: check the header on your server before trusting the event.
Answer 2xx within 10 seconds, then process the event. Flyo retries network errors, timeouts, 5xx and 429 a limited number of times; any other 4xx stops delivery of that event. Redirects are not followed.
Events can arrive more than once, and the IN_PROGRESS event can arrive after the result. Deduplicate by event_id (the same event always has the same id), match events to your lookup by job_id, and never let an IN_PROGRESS event overwrite a result.
{
"event": "bookingdetails.update",
"event_id": "4b1d0c7e9a2f63858e0b5a7c1d9f2e4b6a8c0e2f4d6b8a0c2e4f6a8b0d2c4e6f",
"occurredAt": "2026-11-02T09:30:01.204Z",
"job_id": "019a4e2b-7c41-7d3a-9b2e-5f1c8a6d4e20",
"identity_id": "6E-ABC123-2026-11-20",
"state": "IN_PROGRESS",
"status": null,
"reason": null,
"data": null
}{
"event": "bookingdetails.update",
"event_id": "c3e5a7b9d1f3e5c7a9b1d3f5e7c9a1b3d5f7e9c1a3b5d7f9e1c3a5b7d9f1e3a5",
"occurredAt": "2026-11-02T09:31:12.876Z",
"job_id": "019a4e2b-7c41-7d3a-9b2e-5f1c8a6d4e20",
"identity_id": "6E-ABC123-2026-11-20",
"state": "COMPLETED",
"status": "SUCCESS",
"reason": null,
"data": {
"pnr": "ABC123",
"airline_code": "6E",
"booking_status": "CONFIRMED",
"booking_status_raw": "Confirmed",
"booking_date": "2026-10-02",
"pax_count": 2,
"lead_passenger": "Rahul Sharma",
"journeys": [
{
"index": 0,
"direction": "OUTBOUND",
"origin": "DEL",
"destination": "BOM",
"departure_date": "2026-11-20",
"duration": "2h 10m",
"stops": 0,
"segments": [
{
"segment_id": "0-DEL-BOM",
"carrier": "6E",
"flight_number": "6E 2135",
"aircraft": "A321",
"origin": "DEL",
"origin_name": "Indira Gandhi International Airport",
"origin_terminal": "1",
"destination": "BOM",
"destination_name": "Chhatrapati Shivaji Maharaj International Airport",
"destination_terminal": "2",
"departure_local": "2026-11-20T06:15",
"arrival_local": "2026-11-20T08:25",
"duration": "2h 10m",
"checkin_closes": "2026-11-20T05:15",
"layover_after": null,
"cabin_baggage_kg": 7,
"checkin_baggage_kg": 15,
"cabin": "Economy",
"fare_class": "Saver",
"status_raw": "Confirmed"
}
]
}
],
"passengers": [
{
"full_name": "Rahul Sharma",
"title": "Mr",
"first_name": "Rahul",
"last_name": "Sharma",
"pax_type": "ADULT",
"gender": "Male",
"age": null,
"loyalty": {
"number": "1234567890",
"tier": "BluChip"
},
"segments": [
{
"segment_id": "0-DEL-BOM",
"flight_status": "NOT_CHECKED_IN",
"flight_status_raw": "Not checked in",
"seat": "12A",
"meals": [
"Veg sandwich"
],
"cabin_baggage_kg": 7,
"checkin_baggage_kg": 15,
"baggage": [
"15 kg check-in"
],
"services": [
"VGML"
],
"addons": [
"Fast Forward"
]
}
]
},
{
"full_name": "Priya Sharma",
"title": "Mrs",
"first_name": "Priya",
"last_name": "Sharma",
"pax_type": "ADULT",
"gender": "Female",
"age": null,
"loyalty": {
"number": null,
"tier": null
},
"segments": [
{
"segment_id": "0-DEL-BOM",
"flight_status": "NOT_CHECKED_IN",
"flight_status_raw": "Not checked in",
"seat": "12B",
"meals": [],
"cabin_baggage_kg": 7,
"checkin_baggage_kg": 15,
"baggage": [
"15 kg check-in"
],
"services": [],
"addons": []
}
]
}
],
"payment": {
"currency": "INR",
"total_paid": 11840,
"balance_due": 0,
"refund_amount": null,
"lines": [
{
"label": "Base fare",
"value": "9,600"
},
{
"label": "Taxes and fees",
"value": "1,890"
},
{
"label": "Seats",
"value": "350"
}
]
},
"contact": {
"email": "rahul.sharma@example.com",
"phone": "+91 98765 43210"
},
"raw": {}
}
}{
"event": "bookingdetails.update",
"event_id": "e7a9c1b3d5f7e9a1c3b5d7f9e1a3c5b7d9f1e3a5c7b9d1f3e5a7c9b1d3f5e7a9",
"occurredAt": "2026-11-02T09:33:40.512Z",
"job_id": "019a4e2b-7c41-7d3a-9b2e-5f1c8a6d4e20",
"identity_id": "6E-ABC123-2026-11-20",
"state": "FAILED",
"status": "TIMEOUT",
"reason": "The airline website did not respond in time",
"data": null
}Event fields
| Field | Type | Description |
|---|---|---|
| event | string | Always bookingdetails.update. |
| event_id | string | Unique id of this event; repeated deliveries of the same event keep it. Use it to deduplicate. |
| occurredAt | string | When Flyo sent the event, as a UTC ISO-8601 timestamp. |
| job_id | string | The jobId returned by your lookup request. |
| identity_id | string | The identityId returned by your lookup request. |
| state | string | IN_PROGRESS (lookup accepted), COMPLETED (the airline answered) or FAILED (no answer from the airline). |
| status | string | null | The result: see Result statuses. null while IN_PROGRESS. |
| reason | string | null | Why, in plain words, when there is something to explain: for example what is missing from a SUCCESS, or why the lookup failed. Show it to your team; don't parse it. |
| data | object | null | The booking (see Booking data) for SUCCESS, NOT_FLOWN and CANCELLED; null for every other status and while IN_PROGRESS. |
Result statuses
status in the result event says what the airline answered. state is COMPLETED for an answer from the airline and FAILED when Flyo couldn't get one; FAILED lookups give their credit back.
| status | state | data | Charged | Meaning |
|---|---|---|---|---|
| SUCCESS | COMPLETED | Yes | Yes | Booking found. If the airline page left part of it out, the booking is still returned and reason says what is missing. |
| NOT_FLOWN | COMPLETED | Yes | Yes | Booking found, but the airline marks the passenger you sent as a no-show and shows no flown flight for them. reason names the passengers and flights. |
| CANCELLED | COMPLETED | Yes | Yes | Booking found, but it is cancelled, or no flights are left on it (cancelled or refunded). |
| INVALID_PNR | COMPLETED | No | Yes | The airline found no booking for this PNR and name. Check the PNR, last name and airline before looking it up again. |
| LOGIN_REQUIRED | COMPLETED | No | Yes | The airline only shows this booking after logging in to the account it was booked with. |
| OTP_REQUIRED | COMPLETED | No | Yes | The airline asks for a one-time password before showing this booking. |
| NOT_ALLOWED | COMPLETED | No | Yes | The airline won't show this booking on its website, for example a booking that must be retrieved on a partner airline's site or through the travel agent that made it. reason says which. |
| BLOCKED | FAILED | No | No, refunded | The airline's website blocked the lookup. Retry later. |
| TIMEOUT | FAILED | No | No, refunded | The airline's website didn't respond in time. Retry later. |
| SITE_ERROR | FAILED | No | No, refunded | The airline's website showed an error. Retry later. |
| TECHNICAL_ERROR | FAILED | No | No, refunded | Flyo couldn't complete the lookup. Retry later; contact Flyo if it keeps happening. |
Booking data
Every airline's booking comes back in this shape. A field the airline doesn't show is null (or an empty list); it is never left out. Times are the airport's local time without a timezone, as the airline shows them (for example 2026-11-20T06:15), and durations, dates and other text are as the airline writes them.
Each passenger's segments point to a flight segment by segment_id, so you can join a passenger's seat, meals and baggage to the flight they belong to.
Booking
| Field | Type | Description |
|---|---|---|
| pnr | string | The booking reference. |
| airline_code | string | IATA code of the airline, for example 6E. |
| booking_status | string | CONFIRMED, COMPLETED (travel is over), CANCELLED, ON_HOLD or UNKNOWN. |
| booking_status_raw | string | null | The status as the airline writes it. |
| booking_date | string | null | When the booking was made, as the airline shows it. |
| pax_count | number | null | Number of passengers on the booking. |
| lead_passenger | string | null | Name of the lead passenger. |
| journeys | array | The booking's journeys (outbound, return), each with its flight segments. |
| passengers | array | Every passenger on the booking, with what they have on each segment. |
| payment | object | What was paid, what is due and any refund. |
| contact | object | The booking's contact details as the airline holds them. |
| raw | object | Airline-specific extras that don't fit the common shape. Its contents differ by airline: don't rely on them. |
journeys[]
| Field | Type | Description |
|---|---|---|
| index | number | Position of the journey in the booking, starting at 0. |
| direction | string | null | OUTBOUND or RETURN when the airline says so. |
| origin | string | null | First airport of the journey (IATA). |
| destination | string | null | Last airport of the journey (IATA). |
| departure_date | string | null | Departure date of the journey. |
| duration | string | null | Total journey time, as the airline shows it. |
| stops | number | null | Number of stops. |
| segments | array | The flights in this journey; fields below. |
journeys[].segments[]
| Field | Type | Description |
|---|---|---|
| segment_id | string | <journey index>-<origin>-<destination>, for example 0-DEL-BOM. Passenger segments refer to it. |
| carrier | string | null | Operating airline code. |
| flight_number | string | null | Flight number, for example 6E 2135. |
| aircraft | string | null | Aircraft type. |
| origin / destination | string | null | Airport codes (IATA). |
| origin_name / destination_name | string | null | Airport names. |
| origin_terminal / destination_terminal | string | null | Departure and arrival terminals. |
| departure_local / arrival_local | string | null | Departure and arrival times, local to each airport, for example 2026-11-20T06:15. |
| duration | string | null | Flight time. |
| checkin_closes | string | null | When check-in closes for this flight, as the airline shows it. |
| layover_after | string | null | Connection time before the next segment. |
| cabin_baggage_kg / checkin_baggage_kg | number | null | Baggage allowance in kg for the segment. |
| cabin | string | null | Cabin as the airline names it, for example Economy or Business. |
| fare_class | string | null | Booking class code or fare name, for example Y or Saver. |
| status_raw | string | null | The segment's status as the airline writes it. |
passengers[]
| Field | Type | Description |
|---|---|---|
| full_name | string | null | Name as the airline shows it. |
| title / first_name / last_name | string | null | Name parts, when the airline shows them separately. |
| pax_type | string | ADULT, CHILD, INFANT, SENIOR, STUDENT or UNKNOWN. |
| gender | string | null | As the airline shows it. |
| age | number | null | Age, when shown. |
| loyalty | object | Frequent-flyer number and tier: { number, tier }. |
| segments | array | What this passenger has on each flight; fields below. |
passengers[].segments[]
| Field | Type | Description |
|---|---|---|
| segment_id | string | The flight segment this belongs to. |
| flight_status | string | FLOWN, NO_SHOW, CHECKED_IN, NOT_CHECKED_IN or UNKNOWN. |
| flight_status_raw | string | null | The passenger's flight status as the airline writes it. |
| seat | string | null | Seat number, for example 12A. |
| meals | string[] | Meals booked. |
| cabin_baggage_kg / checkin_baggage_kg | number | null | This passenger's baggage allowance in kg. |
| baggage | string[] | Baggage items or extras, as the airline describes them. |
| services | string[] | Airline service (SSR) codes, as the airline shows them, for example VGML. |
| addons | string[] | Other add-ons, for example priority boarding or insurance. |
payment and contact
| Field | Type | Description |
|---|---|---|
| payment.currency | string | null | Currency code, for example INR. |
| payment.total_paid | number | null | Total amount paid. |
| payment.balance_due | number | null | Amount still to pay. |
| payment.refund_amount | string | null | Refund amount, as the airline shows it (text, not a number). |
| payment.lines | array | The price breakdown as the airline lists it: { label, value } pairs, both text. |
| contact.email | string | null | Contact email on the booking. |
| contact.phone | string | null | Contact phone on the booking. |
{
"pnr": "ABC123",
"airline_code": "6E",
"booking_status": "CONFIRMED",
"booking_status_raw": "Confirmed",
"booking_date": "2026-10-02",
"pax_count": 2,
"lead_passenger": "Rahul Sharma",
"journeys": [
{
"index": 0,
"direction": "OUTBOUND",
"origin": "DEL",
"destination": "BOM",
"departure_date": "2026-11-20",
"duration": "2h 10m",
"stops": 0,
"segments": [
{
"segment_id": "0-DEL-BOM",
"carrier": "6E",
"flight_number": "6E 2135",
"aircraft": "A321",
"origin": "DEL",
"origin_name": "Indira Gandhi International Airport",
"origin_terminal": "1",
"destination": "BOM",
"destination_name": "Chhatrapati Shivaji Maharaj International Airport",
"destination_terminal": "2",
"departure_local": "2026-11-20T06:15",
"arrival_local": "2026-11-20T08:25",
"duration": "2h 10m",
"checkin_closes": "2026-11-20T05:15",
"layover_after": null,
"cabin_baggage_kg": 7,
"checkin_baggage_kg": 15,
"cabin": "Economy",
"fare_class": "Saver",
"status_raw": "Confirmed"
}
]
}
],
"passengers": [
{
"full_name": "Rahul Sharma",
"title": "Mr",
"first_name": "Rahul",
"last_name": "Sharma",
"pax_type": "ADULT",
"gender": "Male",
"age": null,
"loyalty": {
"number": "1234567890",
"tier": "BluChip"
},
"segments": [
{
"segment_id": "0-DEL-BOM",
"flight_status": "NOT_CHECKED_IN",
"flight_status_raw": "Not checked in",
"seat": "12A",
"meals": [
"Veg sandwich"
],
"cabin_baggage_kg": 7,
"checkin_baggage_kg": 15,
"baggage": [
"15 kg check-in"
],
"services": [
"VGML"
],
"addons": [
"Fast Forward"
]
}
]
},
{
"full_name": "Priya Sharma",
"title": "Mrs",
"first_name": "Priya",
"last_name": "Sharma",
"pax_type": "ADULT",
"gender": "Female",
"age": null,
"loyalty": {
"number": null,
"tier": null
},
"segments": [
{
"segment_id": "0-DEL-BOM",
"flight_status": "NOT_CHECKED_IN",
"flight_status_raw": "Not checked in",
"seat": "12B",
"meals": [],
"cabin_baggage_kg": 7,
"checkin_baggage_kg": 15,
"baggage": [
"15 kg check-in"
],
"services": [],
"addons": []
}
]
}
],
"payment": {
"currency": "INR",
"total_paid": 11840,
"balance_due": 0,
"refund_amount": null,
"lines": [
{
"label": "Base fare",
"value": "9,600"
},
{
"label": "Taxes and fees",
"value": "1,890"
},
{
"label": "Seats",
"value": "350"
}
]
},
"contact": {
"email": "rahul.sharma@example.com",
"phone": "+91 98765 43210"
},
"raw": {}
}Errors
An error answers with an HTTP status and the same JSON body as the Webcheckin API: success false, an error code and a readable message. A 400 names the first problem found; fix it and resend. A 429 adds retryAfter; a 402 QUOTA_EXHAUSTED adds quota.
Branch on the HTTP status and the error code, and show message to your team. A refused request never uses a credit.
{
"success": false,
"error": "VALIDATION_ERROR",
"message": "pnr must be 6-13 letters or digits"
}{
"success": false,
"error": "REJECTED",
"message": "We don't support this airline yet. Please contact the Flyo team."
}| HTTP status / error | What to do |
|---|---|
| 400 VALIDATION_ERROR | Fix the field message names and resend. |
| 401 | Check that X-API-Key holds an active key from your dashboard. |
| 402 QUOTA_EXHAUSTED | You have no booking details credits left. Contact Flyo to add more. |
| 402 NO_ENTITLEMENT / ENTITLEMENT_SUSPENDED | Contact Flyo to enable or restore the API for your account. |
| 422 REJECTED | Flyo doesn't support this airline yet. Don't retry; contact Flyo about coverage. |
| 429 | Wait retryAfter seconds, then retry. |
| 503 SERVICE_UNAVAILABLE | Retry shortly with the same request. Nothing was charged. |
Rate Limits
Each API key can make up to 60 requests per minute and 1,000 per hour, counted across every Flyo API it calls. Over the limit you get 429 with retryAfter: wait that many seconds, then retry.
Credits
Every lookup uses one booking details credit, taken when the lookup is accepted (HTTP 202). New accounts get 100 free credits.
The credit is given back automatically when Flyo can't get an answer from the airline: the result is FAILED with BLOCKED, TIMEOUT, SITE_ERROR or TECHNICAL_ERROR. A request refused with 400, 402, 422 or 503 never uses a credit.
Every answer from the airline is charged, including INVALID_PNR, LOGIN_REQUIRED, OTP_REQUIRED and NOT_ALLOWED, as well as SUCCESS, NOT_FLOWN and CANCELLED.
Lookups are checked against your credits before anything else, so with no credits left every lookup returns 402 QUOTA_EXHAUSTED.
{
"success": false,
"error": "QUOTA_EXHAUSTED",
"message": "bookingDetails quota exhausted. Contact Flyo to increase your limit.",
"quota": {
"included_units": 100,
"consumed_units": 100
}
}Changelog
Changes to the API, newest first.
3 Nov 2026
- New: POST /extPartner/api/bookingdetails looks up a booking on the airline's site and posts the result to your webhook as bookingdetails.update.