best_flights structure (recommended flights)| Field Name | Type | Description | Example |
|---|---|---|---|
| best_flights | Array<Object> | List of recommended flights (Google Flights suggestions) | [] |
| flight | Array<Object> | List of flight legs (may include layovers) | [] |
| carbon_emissions | Object | Carbon emission information | {} |
| price | String | Flight price | $2,481 |
| type | String | Flight type | round trip |
flight (flight leg information)| Field Name | Type | Description | Example |
|---|---|---|---|
| departure_airport | Object | Departure airport information | {} |
| arrival_airport | Object | Arrival airport information | {} |
| airplane | String | Aircraft model | Boeing 777 |
| airline | String | Airline | Air Canada |
| flight_number | String | Flight number | AC871 |
| legroom | String | Seat legroom | 31 in |
departure_airport / arrival_airport| Field Name | Type | Description | Example |
|---|---|---|---|
| name | String | Airport name | Paris Charles de Gaulle Airport |
| id | String | Airport IATA code | CDG |
| time | String | Departure/arrival time | 2026-4-8 14:10 |
carbon_emissions (carbon emissions)| Field Name | Type | Description | Example |
|---|---|---|---|
| this_flight | String | Carbon emissions of this flight (g CO₂) | 632000 |
| typical_for_this_route | String | Average carbon emissions for this route | 520000 |
| difference_percent | String | Percentage difference from the average | 22 |
other_departing_flights (more flights)| Field Name | Type | Description |
|---|---|---|
| other_departing_flights | Array<Object> | Other available flights |
{
"best_flights": [
{
"flight": [
{
"departure_airport": {
"name": "Paris Charles de Gaulle Airport",
"id": "CDG",
"time": "2026-04-08 14:10"
},
"arrival_airport": {
"name": "Montréal-Pierre Elliott Trudeau International Airport",
"id": "YUL",
"time": "2026-04-08 15:45"
},
"airplane": "Boeing 777",
"airline": "Air Canada",
"flight_number": "AC871",
"legroom": "31 in"
},
{
"departure_airport": {
"name": "Montréal-Pierre Elliott Trudeau International Airport",
"id": "YUL",
"time": "2026-04-08 17:35"
},
"arrival_airport": {
"name": "Austin-Bergstrom International Airport",
"id": "AUS",
"time": "2026-04-08 21:10"
},
"airplane": "Airbus A319",
"airline": "Air Canada",
"flight_number": "AC1741",
"legroom": "29 in"
}
],
"carbon_emissions": {
"this_flight": "632000",
"typical_for_this_route": "520000",
"difference_percent": "22"
},
"price": "$2,481",
"type": "round trip"
}
]
}