Skip to content
Scrappa Get API key
Ryanair API 1 credit / request

Ryanair API Documentation

GET https://scrappa.co/api/ryanair/flights/availability

Ryanair API Documentation Pass two IATA codes and a date. The answer holds each flight with a numeric price and currency, local and UTC departure times, duration, flight number and the number of fares left. One request performs one upstream lookup and costs one credit when it succeeds.

Ryanair API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/ryanair/flights/availability
Auth header
x-api-key
Cost
1 credit / request
origin = example destination = example date = 2026-06-15
Response preview
200 OK
{
    "data": {
        "flights": [
            {
                "date": "2026-12-01",
                "fares": [
                    {
                        "value": 24.99,
                        "currency": "EUR"
                    }
                ],
                "fares_left": 5,
                "flight_number": "FR123",
                "departure_time_utc": "06:20",
...

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.

2 optional filters available.

origin string Required

Origin IATA code

Example value example
destination string Required

Destination IATA code

Example value example
date string Required

Departure date, YYYY-MM-DD

Example value 2026-06-15
adults integer Optional

Adult passengers, 1 to 9

Example value 10
flex integer Optional

Flexible days before and after, 0 to 3

Example value 10

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "flights": [
            {
                "date": "2026-12-01",
                "fares": [
                    {
                        "value": 24.99,
                        "currency": "EUR"
                    }
                ],
                "fares_left": 5,
                "flight_number": "FR123",
                "departure_time_utc": "06:20",
                "departure_time_local": "06:20"
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

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.