{
  "openapi": "3.0.1",
  "info": {
    "title": "Ryanair Scraper",
    "description": "[💰 $0.90 / 1K] Scrape Ryanair fares directly — cheapest one-way and round-trip prices across flexible date windows, plus Explore mode for the lowest fare to every destination from your origin. Get flight numbers, times, duration, airports, and ready-to-book links in clean JSON or CSV.",
    "version": "1.0",
    "x-build-id": "5WaMTRqNfgvKtsaPS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~ryanair-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-ryanair-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/solidcode~ryanair-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-ryanair-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/solidcode~ryanair-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-ryanair-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "origin": {
            "title": "Origin airport(s)",
            "type": "string",
            "description": "Departure airport IATA code, e.g. 'DUB' for Dublin. Add several separated by commas (e.g. 'DUB, STN, BCN') to search from multiple origins."
          },
          "destination": {
            "title": "Destination airport(s)",
            "type": "string",
            "description": "Arrival airport IATA code, e.g. 'STN' for London Stansted. Add several separated by commas. Leave empty to find the cheapest fare to every destination Ryanair flies to from your origin."
          },
          "tripType": {
            "title": "Trip type",
            "enum": [
              "oneWay",
              "roundTrip"
            ],
            "type": "string",
            "description": "Search one-way fares, or round-trip fares that pair the cheapest outbound and return flights."
          },
          "departDateFrom": {
            "title": "Outbound date from",
            "type": "string",
            "description": "Earliest outbound departure date (YYYY-MM-DD). Leave empty to start from today."
          },
          "departDateTo": {
            "title": "Outbound date to",
            "type": "string",
            "description": "Latest outbound departure date (YYYY-MM-DD). Leave empty to search roughly a week from the start date."
          },
          "returnDateFrom": {
            "title": "Return date from",
            "type": "string",
            "description": "Earliest return departure date (YYYY-MM-DD). Only used for round-trip searches."
          },
          "returnDateTo": {
            "title": "Return date to",
            "type": "string",
            "description": "Latest return departure date (YYYY-MM-DD). Only used for round-trip searches."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Number of adult passengers (age 16+). Affects the quoted price and the booking link."
          },
          "teens": {
            "title": "Teens",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "Number of teen passengers (age 12-15). Pre-filled into the booking link."
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "Number of child passengers (age 2-11). Pre-filled into the booking link."
          },
          "infants": {
            "title": "Infants",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "Number of infant passengers (under 2). Pre-filled into the booking link."
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "EUR",
              "GBP",
              "USD",
              "PLN",
              "SEK",
              "NOK",
              "DKK",
              "CHF",
              "HUF",
              "CZK",
              "RON",
              "BGN",
              "MAD",
              "ILS",
              "CAD",
              "AUD"
            ],
            "type": "string",
            "description": "Currency for the fare prices."
          },
          "market": {
            "title": "Market (locale)",
            "enum": [
              "en-gb",
              "en-ie",
              "de-de",
              "fr-fr",
              "es-es",
              "it-it",
              "pt-pt",
              "nl-nl",
              "pl-pl",
              "sv-se",
              "nb-no",
              "da-dk",
              "cs-cz",
              "ro-ro",
              "hu-hu",
              "el-gr"
            ],
            "type": "string",
            "description": "Locale used for fare data and the booking link, e.g. 'en-gb'. This mainly affects the language and country path of the booking URL."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only return fares at or below this price (in the selected currency). Leave empty for no price limit."
          },
          "sortBy": {
            "title": "Sort results by",
            "enum": [
              "sourceOrder",
              "cheapest",
              "earliestDeparture",
              "shortestDuration"
            ],
            "type": "string",
            "description": "How to order the results within each route."
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after collecting this many fare rows across all routes. The final count can slightly exceed this number: routes that are already running when the limit is reached are always finished in full, so results are never cut off part-way through a route. Set to 0 for no limit."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}