{
  "openapi": "3.0.1",
  "info": {
    "title": "Skiplagged Scraper 💰$2.50/1k — Flights & Hotels",
    "description": "Skiplagged flights, hidden-city fares, flex calendars, and hotel rates in one actor. One JSON or CSV row per itinerary, date, or hotel — airlines, stops, and times included. Search by route, paste a /flights/ or /hotels/ URL, or set destination to anywhere. $2.50 per 1,000 results.",
    "version": "0.0",
    "x-build-id": "OpAX9s8wtLCLxTnXw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~skiplagged-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-skiplagged-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/memo23~skiplagged-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-skiplagged-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/memo23~skiplagged-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-skiplagged-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byRoutes",
              "byUrls",
              "flexible",
              "hotels"
            ],
            "type": "string",
            "description": "How to build the search. `search` uses origin/destination. `byRoutes` reads the Routes array. `byUrls` reads pasted Skiplagged /flights/ or /hotels/ URLs. `flexible` returns a date-by-date min/max price calendar. `hotels` searches Skiplagged hotel rates.",
            "default": "search"
          },
          "origin": {
            "title": "Origin (mode=search)",
            "type": "string",
            "description": "Origin IATA airport code (e.g. `JFK`) or metro/city code (e.g. `NYC` covers JFK, LGA, EWR). Defaults to NYC if empty.",
            "default": "NYC"
          },
          "destination": {
            "title": "Destination (mode=search)",
            "type": "string",
            "description": "Destination IATA airport code (e.g. `LHR`) or metro/city code (e.g. `LON` covers LHR, LGW, STN, LTN, LCY). Use `anywhere` to fan out to popular destinations from the origin. Defaults to LON if empty.",
            "default": "LON"
          },
          "departDate": {
            "title": "Departure date (mode=search)",
            "type": "string",
            "description": "Departure date as YYYY-MM-DD. Leave blank to default to 6 weeks from today so a bare Start always searches a future date."
          },
          "returnDate": {
            "title": "Return date (mode=search)",
            "type": "string",
            "description": "Return date as YYYY-MM-DD for a round-trip search. Leave blank for one-way."
          },
          "routes": {
            "title": "Routes (mode=byRoutes)",
            "type": "array",
            "description": "Batch of routes for one run. Each item: `{\"origin\":\"NYC\",\"destination\":\"LON\",\"departDate\":\"2026-10-11\",\"returnDate\":\"2026-10-18\"}` (`returnDate` optional)."
          },
          "startUrls": {
            "title": "Skiplagged URLs (mode=byUrls)",
            "type": "array",
            "description": "Skiplagged flight or hotel URLs, e.g. `https://skiplagged.com/flights/NYC/LON/2026-10-11/2026-10-18` or `https://skiplagged.com/hotels/new-york-ny/2026-10-23/2026-10-30`.",
            "items": {
              "type": "string"
            }
          },
          "tripType": {
            "title": "Trip type",
            "enum": [
              "auto",
              "one-way",
              "round-trip"
            ],
            "type": "string",
            "description": "One-way or round-trip. `auto` follows whether a return date is present. `round-trip` with no return date adds a +7 day return.",
            "default": "auto"
          },
          "cabinClass": {
            "title": "Cabin class",
            "enum": [
              "economy",
              "premium-economy",
              "business",
              "first"
            ],
            "type": "string",
            "description": "Preferred cabin. Skiplagged's public search mostly returns economy; each row still reports the real `fareClass` Skiplagged sent back.",
            "default": "economy"
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 9,
            "type": "integer",
            "description": "Adult passengers (12+). Passed through on the search URL. Logged-out Skiplagged often still prices 1 adult; the row reports whatever came back.",
            "default": 1
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Child passengers (2–11).",
            "default": 0
          },
          "infantsLap": {
            "title": "Infants (on lap)",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Lap infants (under 2, no seat).",
            "default": 0
          },
          "infantsSeat": {
            "title": "Infants (own seat)",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Infants (under 2) with their own seat.",
            "default": 0
          },
          "directOnly": {
            "title": "Direct flights only",
            "type": "boolean",
            "description": "Only emit nonstop itineraries.",
            "default": false
          },
          "maxStops": {
            "title": "Max stops",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Drop itineraries with more stops than this. Leave empty for any number of stops."
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Drop itineraries cheaper than this (whole USD)."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Drop itineraries pricier than this (whole USD)."
          },
          "airlines": {
            "title": "Filter by airline IATA codes",
            "type": "array",
            "description": "Only emit itineraries that include at least one of these 2-letter IATA airline codes, e.g. `AA`, `BA`, `DL`.",
            "items": {
              "type": "string"
            }
          },
          "excludeAirlines": {
            "title": "Exclude airline IATA codes",
            "type": "array",
            "description": "Drop itineraries that include any of these 2-letter IATA codes.",
            "items": {
              "type": "string"
            }
          },
          "hiddenCityOnly": {
            "title": "Hidden-city itineraries only",
            "type": "boolean",
            "description": "Only emit rows where the last landing airport is not the destination you asked for.",
            "default": false
          },
          "excludeHiddenCity": {
            "title": "Exclude hidden-city itineraries",
            "type": "boolean",
            "description": "Drop hidden-city / skiplag itineraries. Ignored when Hidden-city only is on.",
            "default": false
          },
          "departAfter": {
            "title": "Depart after (local HH:MM)",
            "type": "string",
            "description": "Keep itineraries whose first-segment departure is at or after this local time, e.g. `08:00`."
          },
          "departBefore": {
            "title": "Depart before (local HH:MM)",
            "type": "string",
            "description": "Keep itineraries whose first-segment departure is at or before this local time, e.g. `22:00`."
          },
          "arriveAfter": {
            "title": "Arrive after (local HH:MM)",
            "type": "string",
            "description": "Keep itineraries whose last-segment arrival is at or after this local time."
          },
          "arriveBefore": {
            "title": "Arrive before (local HH:MM)",
            "type": "string",
            "description": "Keep itineraries whose last-segment arrival is at or before this local time."
          },
          "flexDays": {
            "title": "Also search nearby dates (± days)",
            "minimum": 0,
            "maximum": 7,
            "type": "integer",
            "description": "In search / byRoutes / byUrls, also search this many days before and after `departDate` (max 7). Ignored in flexible-calendar mode (that mode already returns a date window)."
          },
          "hotelCity": {
            "title": "Hotel city (mode=hotels)",
            "type": "string",
            "description": "City name, Skiplagged city slug (`new-york-ny`), or numeric city id. Falls back to `destination` if empty."
          },
          "rooms": {
            "title": "Hotel rooms",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Rooms for hotel search. Default 1.",
            "default": 1
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "price",
              "duration",
              "departureTime",
              "stops"
            ],
            "type": "string",
            "description": "Order of emitted records.",
            "default": "price"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records (per run, across all routes). Default 50.",
            "default": 50
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional locally. On the Apify platform the actor uses a RESIDENTIAL proxy automatically — Skiplagged 403s datacenter IPs. Override here if you want your own groups or proxy URLs.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}