{
  "openapi": "3.0.1",
  "info": {
    "title": "Award Flights Scraper - Miles, Taxes & Seats (28 Programs)",
    "description": "Scrape award seats bookable with miles and points from Flightpoints: miles, taxes, seats, stops and airlines per cabin for 28 loyalty programs, every day Flightpoints shows (about the next 2 months), by route or whole region. No login. Export to JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "kGTeM3viXS5Up77Ti"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nice_dev~flightpoints-award-flights-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nice_dev-flightpoints-award-flights-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/nice_dev~flightpoints-award-flights-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nice_dev-flightpoints-award-flights-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/nice_dev~flightpoints-award-flights-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nice_dev-flightpoints-award-flights-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": "From",
            "pattern": "^\\s*$|^\\s*[A-Za-z]{3}(\\s*,\\s*[A-Za-z]{3})*\\s*$",
            "maxLength": 200,
            "type": "string",
            "description": "Departure airports, as 3-letter IATA codes separated by commas (`JFK,EWR`). A city code such as `NYC`, `LON`, `PAR` or `TYO` covers all its airports. With no origin, destination, region, route or link at all, the Actor runs the short example JFK to LHR (20 rows). For a whole program or the whole network, use a line of **Routes** that reads anywhere-anywhere, with **Programs**."
          },
          "origins": {
            "title": "More departure airports",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "More departure airports, one IATA code per line. Added to **From**: all departure airports and all destinations make ONE search, so every pair is covered in a single pass.",
            "items": {
              "type": "string",
              "maxLength": 3
            },
            "default": []
          },
          "destination": {
            "title": "To",
            "pattern": "^\\s*$|^\\s*[A-Za-z]{3}(\\s*,\\s*[A-Za-z]{3})*\\s*$",
            "maxLength": 200,
            "type": "string",
            "description": "Arrival airports, as 3-letter IATA codes separated by commas (`LHR,LGW`), city codes accepted (`LON`). With no origin, destination, region, route or link at all, the Actor runs the short example JFK to LHR (20 rows)."
          },
          "destinations": {
            "title": "More destinations",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "More arrival airports, one IATA code per line. Added to **To**.",
            "items": {
              "type": "string",
              "maxLength": 3
            },
            "default": []
          },
          "originRegion": {
            "title": "Departure region",
            "enum": [
              "NA",
              "SA",
              "EU",
              "AF",
              "AS",
              "OC"
            ],
            "type": "string",
            "description": "Search every departure airport of a whole region (for example all of North America to Europe). Used when **From** is empty."
          },
          "destinationRegion": {
            "title": "Arrival region",
            "enum": [
              "NA",
              "SA",
              "EU",
              "AF",
              "AS",
              "OC"
            ],
            "type": "string",
            "description": "Search every arrival airport of a whole region. Used when **To** is empty."
          },
          "routes": {
            "title": "Routes",
            "maxItems": 500,
            "uniqueItems": true,
            "type": "array",
            "description": "Ready-made searches, one per line: `JFK-LHR`, several airports `JFK,EWR-LHR,LGW`, a region `NA-EU`, optionally with their own dates `JFK-LHR 2026-12-10` or `JFK-LHR 2026-12-10 2026-12-20`. Each line is its own search; a line without dates uses the dates below. Max 500 searches per run in all (form, routes and links together). The line `anywhere-anywhere` means every route of the programs you pick.",
            "items": {
              "type": "string",
              "maxLength": 60
            },
            "default": []
          },
          "startUrls": {
            "title": "Flightpoints links",
            "maxItems": 500,
            "type": "array",
            "description": "Search or explore links copied from flightpoints.com (`https://flightpoints.com/search?origins=JFK&destinations=LHR&date=2026-12-10`, `https://flightpoints.com/explore?originAirports=JFK&cabin=3`): their airports, dates, cabins, programs, seats, miles, taxes, stops and airline filters are kept. Each link is its own search, added to the searches of this form. Max 500 links.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "programs": {
            "title": "Loyalty programs",
            "uniqueItems": true,
            "type": "array",
            "description": "Programs to search (28 programs). Empty = all of them. Each program is read separately, so fewer programs = a faster run.",
            "items": {
              "type": "string",
              "enum": [
                "AA",
                "AC",
                "AD",
                "AF/KL",
                "AM",
                "AS",
                "AV",
                "AY",
                "B6",
                "BA",
                "CM",
                "CX",
                "DL",
                "EK",
                "EY",
                "G3",
                "IB",
                "LH",
                "NK",
                "QF",
                "QR",
                "SK",
                "SQ",
                "TK",
                "TP",
                "UA",
                "VA",
                "VS"
              ],
              "enumTitles": [
                "American Airlines AAdvantage",
                "Air Canada Aeroplan",
                "Azul TudoAzul",
                "Air France-KLM Flying Blue",
                "Aeromexico Rewards",
                "Alaska Airlines Atmos Rewards",
                "Avianca LifeMiles",
                "Finnair Plus (Avios)",
                "JetBlue TrueBlue",
                "British Airways Executive Club (Avios)",
                "Copa ConnectMiles",
                "Cathay Pacific Asia Miles",
                "Delta SkyMiles",
                "Emirates Skywards",
                "Etihad Guest",
                "GOL Smiles",
                "Iberia Club (Avios)",
                "Lufthansa Miles & More",
                "Spirit Free Spirit",
                "Qantas Frequent Flyer",
                "Qatar Airways Privilege Club (Avios)",
                "SAS EuroBonus",
                "Singapore Airlines KrisFlyer",
                "Turkish Airlines Miles&Smiles",
                "TAP Air Portugal Miles&Go",
                "United MileagePlus",
                "Virgin Australia Velocity",
                "Virgin Atlantic Flying Club"
              ]
            },
            "default": []
          },
          "transferPartners": {
            "title": "Transferable points I hold",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only programs your credit-card points transfer to (for example Chase Ultimate Rewards reaches United, Flying Blue, Virgin Atlantic, British Airways, Aeroplan...). Empty = no restriction.",
            "items": {
              "type": "string",
              "enum": [
                "amex",
                "amexcanada",
                "amexaustralia",
                "chase",
                "citi",
                "capitalone",
                "bilt",
                "wellsfargo",
                "rove"
              ],
              "enumTitles": [
                "American Express Membership Rewards (US)",
                "American Express Membership Rewards (Canada)",
                "American Express Membership Rewards (Australia)",
                "Chase Ultimate Rewards",
                "Citi ThankYou Points",
                "Capital One Miles",
                "Bilt Rewards",
                "Wells Fargo Rewards",
                "Rove Miles"
              ]
            },
            "default": []
          },
          "alliances": {
            "title": "Alliances",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only programs of these alliances. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "oneworld",
                "staralliance",
                "skyteam",
                "none"
              ],
              "enumTitles": [
                "oneworld",
                "Star Alliance",
                "SkyTeam",
                "No alliance"
              ]
            },
            "default": []
          },
          "startDate": {
            "title": "First departure date",
            "maxLength": 40,
            "type": "string",
            "description": "First departure day: a date (`2026-12-20`), or a period from the run date such as `30 days` or `2 weeks` - a saved task then always looks the same distance ahead. Empty = today."
          },
          "endDate": {
            "title": "Last departure date",
            "maxLength": 40,
            "type": "string",
            "description": "Last departure day: a date (`2026-12-20`), or a period from the run date such as `30 days` or `2 weeks` - a saved task then always looks the same distance ahead. Empty = every day available."
          },
          "departureDate": {
            "title": "Exact departure date",
            "maxLength": 40,
            "type": "string",
            "description": "One departure day (a date (`2026-12-20`), or a period from the run date such as `30 days` or `2 weeks` - a saved task then always looks the same distance ahead.), used instead of the two dates above. Combine with **Days around**."
          },
          "daysAround": {
            "title": "Days around the exact date",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Also keep this many days before and after the **Exact departure date** (3 = a 7-day window).",
            "default": 0
          },
          "daysOfWeek": {
            "title": "Days of the week",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only departures on these days. Empty = every day.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7"
              ],
              "enumTitles": [
                "Monday",
                "Tuesday",
                "Wednesday",
                "Thursday",
                "Friday",
                "Saturday",
                "Sunday"
              ]
            },
            "default": []
          },
          "cabins": {
            "title": "Cabins",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only days with award seats in at least one of these cabins; seat, miles, taxes and stop filters below apply to these cabins. Empty = all four cabins.",
            "items": {
              "type": "string",
              "enum": [
                "economy",
                "premium_economy",
                "business",
                "first"
              ],
              "enumTitles": [
                "Economy",
                "Premium economy",
                "Business",
                "First"
              ]
            },
            "default": []
          },
          "minSeats": {
            "title": "Minimum seats",
            "minimum": 0,
            "maximum": 9,
            "type": "integer",
            "description": "Seats needed in a matching cabin (1-9). 0 = no minimum.",
            "default": 0
          },
          "maxMiles": {
            "title": "Maximum miles",
            "minimum": 0,
            "maximum": 5000000,
            "type": "integer",
            "description": "Keep only days where a matching cabin costs at most this many miles / points (one way, one passenger). 0 = no limit.",
            "default": 0
          },
          "maxTaxes": {
            "title": "Maximum taxes and fees (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Keep only days where a matching cabin has taxes and fees at most this amount, in US dollars. 0 = no limit. Turkish, Qatar and GOL fares have no taxes figure (the service shows 0): they never pass this limit.",
            "default": 0
          },
          "directOnly": {
            "title": "Direct flights only",
            "type": "boolean",
            "description": "Keep only cabins with a nonstop award. The miles and taxes of the row are those of the cheapest award of the cabin, which may have stops: tick Flights of the day for the miles of the nonstop flight itself.",
            "default": false
          },
          "maxStops": {
            "title": "Maximum stops",
            "minimum": 0,
            "maximum": 4,
            "type": "integer",
            "description": "Keep only cabins with at most this many stops. Empty = any number."
          },
          "airlines": {
            "title": "Operating airlines",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only cabins flown by at least one of these airlines, 2-letter IATA codes one per line (`BA`, `AA`).",
            "items": {
              "type": "string",
              "maxLength": 2
            },
            "default": []
          },
          "excludeAirlines": {
            "title": "Exclude airlines",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop cabins flown only by these airlines (`F9`, `NK`), 2-letter IATA codes one per line.",
            "items": {
              "type": "string",
              "maxLength": 2
            },
            "default": []
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum number of award days in the dataset (one row = one program x one route x one day). 0 = no limit.",
            "default": 1000
          },
          "maxItemsPerQuery": {
            "title": "Max results per search",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Cap per search (form, route line or link). 0 = no cap per search.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "date",
              "miles",
              "taxes",
              "seats",
              "freshness"
            ],
            "type": "string",
            "description": "Order of the rows within each search. By date, the days come program by program (earliest day first within each program); any other sort reads all programs of a search before returning it, so the rows kept are the best ones across all programs. With the option Flights of the day, the rows are the right ones (the cheapest, the most seats...) but may arrive in another order: sort the dataset when you export it.",
            "default": "date"
          },
          "includeItineraries": {
            "title": "Flights of the day (itineraries)",
            "type": "boolean",
            "description": "Add to each row the flights behind the award: departure and arrival times, duration, stops, flight numbers, aircraft, segments with layovers and distance, taxes per flight, the airline booking link, and the same flight bookable with OTHER programs (miles, taxes and seats for each). One more request per row; billed per row enriched.",
            "default": false
          },
          "postedAfter": {
            "title": "Seen since",
            "maxLength": 40,
            "type": "string",
            "description": "Award data comes from flightpoints' recent checks, not a live search. Keep only rows checked since: a date (`2026-12-20`), or a period from the run date such as `24 hours` or `3 days` - a saved task then always looks the same distance ahead. Reads `lastSeen`."
          },
          "postedBefore": {
            "title": "Seen before",
            "maxLength": 40,
            "type": "string",
            "description": "Keep only rows last checked before this date (reads `lastSeen`)."
          },
          "excludeKeywords": {
            "title": "Exclude words",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop rows whose program, airline or airport names contain one of these words (whole words, case-insensitive: `Heath` does not drop `Heathrow`).",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "onlyNew": {
            "title": "Only new or changed awards",
            "type": "boolean",
            "description": "Return only days that are new since the previous run, or whose miles changed in the cabins you follow (the `cabins` filter; a cabin opened or closed, the price in miles dropped or rose). `changeType` says which. Changing Cabins (or the searches) under the same state key delivers every day once more: keep the same input for a scheduled watch, or use a new state key.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "pattern": "^[a-zA-Z0-9_-]{1,64}$",
            "maxLength": 64,
            "type": "string",
            "description": "Name of the memory shared by runs (letters, digits, - and _). Use one per watched route. Changing Cabins (or the searches) under the same key delivers every day once more; keep the same input for a scheduled watch, or use a new state key.",
            "default": "default"
          },
          "resetState": {
            "title": "Reset state",
            "type": "boolean",
            "description": "Forget what previous runs returned (the next run returns everything).",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "The Apify proxy is included in the price. Residential proxy is not needed and refused.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Requests in parallel. Several searches sorted by something other than the date hold their rows in memory while they are read: a run with little memory reads fewer of them at the same time.",
            "default": 4
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 1,
            "maximum": 600,
            "type": "integer",
            "description": "Upper bound of the request rate.",
            "default": 120
          },
          "minRequestIntervalMs": {
            "title": "Min interval between requests (ms)",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Pause between two requests.",
            "default": 0
          },
          "maxRequestRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Retries of a failed request.",
            "default": 5
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Verbose log.",
            "default": 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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}