{
  "openapi": "3.0.1",
  "info": {
    "title": "Ryanair Flights Scraper [$0.5/1k 💙 ]",
    "description": "Scrape Ryanair flight fares, prices, routes, and cheapest destinations. Search one-way or round-trip flights by airport, date range, currency, and market, then export structured fare data with prices, flight numbers, availability, and booking links.*",
    "version": "0.1",
    "x-build-id": "K7bXLIBSjy59FPMfP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/epicscrapers~ryan-air-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-epicscrapers-ryan-air-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/epicscrapers~ryan-air-scraper/runs": {
      "post": {
        "operationId": "runs-sync-epicscrapers-ryan-air-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/epicscrapers~ryan-air-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-epicscrapers-ryan-air-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",
        "required": [
          "origins"
        ],
        "properties": {
          "origins": {
            "title": "Origin airports",
            "type": "array",
            "description": "Add one or more origin airport IATA codes, for example <code>DUB</code>, <code>STN</code>, or <code>BCN</code>.",
            "items": {
              "type": "string"
            }
          },
          "destinations": {
            "title": "Destination airports",
            "type": "array",
            "description": "Add destination airport IATA codes for route searches. Leave empty to discover the cheapest available destinations from each origin.",
            "items": {
              "type": "string"
            }
          },
          "tripType": {
            "title": "Trip type",
            "enum": [
              "oneWay",
              "roundTrip"
            ],
            "type": "string",
            "description": "Choose one-way for route calendars or Explore mode. Choose round-trip only when destinations and return dates are provided.",
            "default": "oneWay"
          },
          "outboundDateFrom": {
            "title": "Outbound from",
            "type": "string",
            "description": "Enter the earliest outbound departure date in <code>YYYY-MM-DD</code> format."
          },
          "outboundDateTo": {
            "title": "Outbound to",
            "type": "string",
            "description": "Enter the latest outbound departure date in <code>YYYY-MM-DD</code> format."
          },
          "returnDateFrom": {
            "title": "Return from",
            "type": "string",
            "description": "Enter the earliest return departure date. Required only for round-trip searches."
          },
          "returnDateTo": {
            "title": "Return to",
            "type": "string",
            "description": "Enter the latest return departure date. Required only for round-trip searches."
          },
          "maxResults": {
            "title": "Maximum fares",
            "minimum": 1,
            "type": "integer",
            "description": "Limit how many fare records are saved after filtering and sorting. Keep this low for test runs.",
            "default": 250
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Enter the fare currency code, for example <code>EUR</code>, <code>GBP</code>, or <code>USD</code>.",
            "default": "EUR"
          },
          "maxPrice": {
            "title": "Maximum fare price",
            "type": "number",
            "description": "Save only fares at or below this price. Leave empty to save all available prices."
          },
          "sortBy": {
            "title": "Sort fares by",
            "enum": [
              "sourceOrder",
              "priceAsc",
              "departureAsc",
              "durationAsc"
            ],
            "type": "string",
            "description": "Choose how fare records are ordered before the maximum fares limit is applied.",
            "default": "priceAsc"
          },
          "includeUnavailable": {
            "title": "Save unavailable dates",
            "type": "boolean",
            "description": "For specific one-way route calendar searches, also save dates with no fare as records with <code>available: false</code> and <code>price: null</code>.",
            "default": false
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "type": "integer",
            "description": "Number of adults used in generated Ryanair booking links.",
            "default": 1
          },
          "teens": {
            "title": "Teens",
            "minimum": 0,
            "type": "integer",
            "description": "Number of teens aged 12–15 used in generated Ryanair booking links.",
            "default": 0
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "type": "integer",
            "description": "Number of children aged 2–11 used in generated Ryanair booking links.",
            "default": 0
          },
          "infants": {
            "title": "Infants",
            "minimum": 0,
            "type": "integer",
            "description": "Number of infants under 2 used in generated Ryanair booking links.",
            "default": 0
          },
          "market": {
            "title": "Market / locale",
            "type": "string",
            "description": "Ryanair market used for pricing and localization, for example <code>en-gb</code>, <code>en-ie</code>, <code>es-es</code>, or <code>de-de</code>.",
            "default": "en-gb"
          },
          "requestTimeoutSecs": {
            "title": "Request timeout",
            "minimum": 5,
            "type": "integer",
            "description": "Timeout for each Ryanair API request in seconds.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}