Ryanair API Documentation Pass two IATA codes, an outbound range and either inbound dates or a stay length in nights. Inbound dates are derived from the outbound range and nights when omitted. Limit is 1 to 20. One request performs one upstream lookup and costs one credit when it succeeds.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
4 required parameters needed before sending a request.
5 optional filters available.
string
Required
Origin IATA code
example
string
Required
Destination IATA code
example
string
Required
First outbound date, YYYY-MM-DD
example
string
Required
Last outbound date, YYYY-MM-DD
example
string
Optional
First return date, YYYY-MM-DD. Required unless nights are given
example
string
Optional
Last return date, YYYY-MM-DD. Required unless nights are given
example
integer
Optional
Minimum stay in nights. Required unless inbound dates are given
10
integer
Optional
Maximum stay in nights. Required unless inbound dates are given
10
integer
Optional
Maximum fares, 1 to 20
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"fares": [
{
"inbound": {
"price": 22
},
"outbound": {
"price": 20
}
}
]
},
"meta": {
"credits": 1,
"billable": true
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A query parameter is missing or invalid. This response is not billed.
{
"message": "The request validation failed."
}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.