Opodo Flight Search API Documentation Pass origin and destination as three-letter IATA codes, a departure date, optional return date and passengers. Each offer keeps both fee layers: the original price and the public Prime sale price. Prices are numbers with currency and are per passenger. One credit per successful request.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
3 required parameters needed before sending a request.
5 optional filters available.
string
Required
Origin IATA code from the locations endpoint, for example BER.
example
string
Required
Destination IATA code from the locations endpoint, for example LHR.
example
string
Required
Departure date in YYYY-MM-DD format.
2026-06-15
string
Optional
Return date in YYYY-MM-DD format. Adds the return leg when given.
2026-06-15
integer
Optional
Number of adults, 1 to 9. Defaults to 1.
10
integer
Optional
Number of children, 0 to 8.
10
integer
Optional
Number of infants, 0 to 8 and never more than adults.
10
integer
Optional
Offers to return, 1 to 100. Defaults to 25.
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
success
{
"data": {
"currency": "EUR",
"trip_type": "one_way",
"itineraries": [
{
"key": "it-1",
"legs": [],
"price": {
"type": "DISCOUNTED",
"amount": 89.99,
"currency": "EUR"
},
"discount": 40,
"sections": [],
"sale_price": {
"type": "DISCOUNTED",
"amount": 89.99,
"currency": "EUR"
},
"total_price": 89.99,
"original_price": {
"type": "UNDISCOUNTED",
"amount": 129.99,
"currency": "EUR"
},
"price_per_passenger": 89.99
}
]
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
HTTP UPSTREAM_UNAVAILABLE
Opodo data is temporarily unavailable. Please retry.
HTTP PARSER_DRIFT
The upstream response shape changed.
HTTP NOT_FOUND
The requested location was not found.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.