# Award Flights Scraper - Miles, Taxes & Seats (28 Programs) (`nice_dev/flightpoints-award-flights-scraper`) Actor

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.

- **URL**: https://apify.com/nice_dev/flightpoints-award-flights-scraper.md
- **Developed by:** [Nice Dev](https://apify.com/nice_dev) (community)
- **Categories:** Travel, Automation, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### ✈️ What is Award Flights Scraper?

**Award Flights Scraper** extracts **award seats bookable with miles and points from [Flightpoints](https://flightpoints.com)**: for each **loyalty program, route and day**, the **miles, taxes and fees, seats, stops and operating airlines of every cabin** (economy, premium economy, business, first), across **28 programs** (AAdvantage, United MileagePlus, Flying Blue, Aeroplan, Avios, Virgin Atlantic, Emirates, Qatar, Singapore KrisFlyer…). You get **every day each program shows** for a route, not only the 1 to 3 days a single search returns, and whole regions at once (all of North America to Europe). Tick one option to add **the flights behind each day: times, flight numbers, aircraft, segments, the airline booking link, and the same flight bookable with other programs**. It works as an **award flight search API alternative**: run it on a schedule, call it from your code, or plug it into Make, Zapier or n8n.

Type a **departure** and an **arrival** airport (`JFK` and `LHR`), or a city code (`NYC`, `LON`), click **Start**, and download the award days in JSON, CSV or Excel. No login, no account with any program, nothing to set up. Dates can be relative (`30 days` from the run date), so a saved task always looks the same distance ahead.

**Fast:** 1,000 award days in about 20 seconds per run on the Apify platform; with **Flights of the day** ticked, about 100 award days with their flights per minute at the default speed.

**Cheap:** $0.01 per 1,000 award days, plus $0.01 per run (see Pricing below).

### 📋 What data can you extract from Flightpoints?

One item per program × route × day, 63 fields. The row marked **option** comes only when you tick **Flights of the day**; it is charged on its own, only for the rows it is added to (see Pricing).

| Category | What you get |
| --- | --- |
| 🎟️ **Program** | loyalty program, its airline, alliance, logo — `AAdvantage`, `oneworld` |
| 💳 **Transfer partners** | the credit-card points that transfer to the program — `chase`, `amex`, `citi`, `capitalone`, `bilt` |
| 📍 **Route** | departure and arrival airports with name, city, country, region and GPS position — `JFK`, `New York`, `US` |
| 📅 **Day** | departure date and day of the week — `2026-12-10`, `Thursday` |
| 💺 **Each cabin** | miles or points, taxes and fees in USD, seats seen, stops, operating airlines — `57,500 miles + 58.60 USD` |
| 🏆 **Best deals** | the cheapest cabin in miles and the highest cabin with seats, with their miles and taxes, nonstop or not |
| 🕒 **Freshness** | when the award was last seen, its age in hours |
| 🔔 **Changes** | with **Only new or changed awards**: `new` or `changed` (a cabin opened, the miles moved) |
| ✈️ **Flights of the day** (option) | each flight: departure and arrival times, duration, stops, flight numbers, aircraft, segments with layovers and distance, taxes, the airline's booking link |
| 🔁 **Other programs** (option) | the same flight bookable with other programs, with their miles, taxes, seats and booking link |

Every field, with an example, is listed in the **Output** section below.

A field that does not apply to a row (no first class on that route, no option ticked) is `null`, never missing, so every row has the same columns. A search that finds no award seat at all in any program gives one free row of `recordType` `no-awards`, so an empty result is visible instead of silent.

### ✅ Why use Award Flights Scraper?

- 📆 **Every day, not a sample**: each program is read for all the days it shows on the route (about 30 to 40 days on JFK-LHR in our tests), where a plain search returns 1 to 3 days.
- 🌍 **Whole regions and open searches**: from `NA` to `EU`, a whole program or the whole network with one `routes` line, `anywhere-anywhere` (with `programs`).
- 💳 **Search by the points you hold**: pick your credit-card points (Chase, Amex, Citi, Capital One, Bilt…) and only the programs they transfer to are searched. No other award tool on the Store does it.
- 🎯 **Filters on every cabin**: seats needed, maximum miles, maximum taxes, nonstop only, maximum stops, airlines to keep or drop, days of the week, freshness of the data. A day is kept when at least one cabin passes all of them.
- 🔁 **The same flight in other programs** (option): see when a flight costs fewer miles with a partner program.
- 🔔 **Monitoring built in**: tick **Only new or changed awards**, schedule the Actor, and each run returns only the days that are new or whose miles moved in the cabins you follow.
- 🔌 API, scheduling, integrations (Make, Zapier, n8n, Google Sheets, Slack…) and JSON / CSV / Excel export via the Apify platform.

### 🚀 How to scrape award flights

1. Create a free Apify account.
2. Open **Award Flights Scraper** and type a departure airport in **From** and an arrival airport in **To** (`JFK` and `LHR`; `NYC` covers JFK, EWR and LGA).
3. Optionally pick **Loyalty programs**, **Transferable points I hold**, dates, cabins and the miles, taxes or seats you need.
4. Or fill **Routes** with several searches (`JFK-LHR`, `NA-EU`, `JFK,EWR-LHR 2026-12-10`), or paste links copied from flightpoints.com into **Flightpoints links**.
5. Set **Max results** and click **Start**, then download the dataset in JSON, CSV, Excel or via API.

### 💰 How much does it cost to scrape award flights?

This Actor uses **pay per event** pricing: you pay per award day returned, plus a small fee per run start. The option **Flights of the day** is charged on its own, only for the rows it is added to; it is off by default. The `no-awards` row of an empty search is free. Platform usage (compute, proxy) is included in the price. The prices per plan are in the **Pricing** tab.

| What you get                 | Event             | Price per 1,000 (Free plan → Gold plan) |
| ---------------------------- | ----------------- | --------------------------------------- |
| Award day                    | `award-day`       | $0.01 on every plan                     |
| **Flights of the day** (option) | `day-details`  | $0.72 → $0.45, only for the days delivered with their flights |
| Run start                    | `apify-actor-start` | $0.01 per run                         |

Two examples on the Free plan:

- **1,000 award days** from New York to London across all programs: 1,000 × $0.00001 + $0.01 = **$0.02**.
- **1,000 award days with Flights of the day**: $0.01 + $0.72 + $0.01 = **$0.74** (a day with no flight left, or whose flights the service refuses, is not charged for the option).

Set the run option **maximum cost per run** to cap what a run can spend: the Actor stops saving rows when the cap is reached.

### ⚙️ Input

```json
{
    "origin": "JFK",
    "destination": "LHR",
    "maxItems": 100
}
```

Several routes, only business class for at most 80,000 miles, only the programs Chase points transfer to, in the next 60 days:

```json
{
    "routes": ["JFK,EWR-LHR", "NYC-PAR", "NA-AS"],
    "transferPartners": ["chase"],
    "cabins": ["business"],
    "maxMiles": 80000,
    "minSeats": 2,
    "endDate": "60 days",
    "maxItemsPerQuery": 200
}
```

Monitor a route for new or cheaper seats, with the flights of each day:

```json
{
    "origin": "SFO",
    "destination": "TYO",
    "cabins": ["business", "first"],
    "onlyNew": true,
    "stateKey": "sfo-tokyo",
    "includeItineraries": true,
    "maxItems": 50
}
```

| Field | Notes |
| --- | --- |
| `origin`, `origins` | Departure airports, IATA codes (`JFK,EWR`); city codes cover all their airports (`NYC`, `LON`, `PAR`, `TYO`). Leave both sides, both regions, `routes` and `startUrls` empty and the Actor runs the short example JFK to LHR (20 rows). |
| `destination`, `destinations` | Arrival airports, same format. |
| `originRegion`, `destinationRegion` | A whole region (`NA`, `SA`, `EU`, `AF`, `AS`, `OC`), used when the airport field is empty. |
| `routes` | One search per line: `JFK-LHR`, `JFK,EWR-LHR,LGW`, `NA-EU`, with optional dates `JFK-LHR 2026-12-10` or `JFK-LHR 2026-12-10 2026-12-20`. For every route of a program, or of the whole network, write the line `anywhere-anywhere` and pick the `programs`. |
| `startUrls` | Search or explore links copied from flightpoints.com: their airports, dates, cabins, programs and filters are kept. |
| `programs`, `transferPartners`, `alliances` | Which programs are searched: those listed, those your points transfer to, those of an alliance. Empty = all 28. |
| `startDate`, `endDate`, `departureDate`, `daysAround` | A date range, or one date with days around it (3 = a 7-day window). Dates or periods from the run date (`30 days`, `2 weeks`). |
| `daysOfWeek` | Keep only departures on these days. |
| `cabins`, `minSeats`, `maxMiles`, `maxTaxes`, `directOnly`, `maxStops`, `airlines`, `excludeAirlines` | Filters on the cabins: a day is kept when at least one of the chosen cabins passes all of them. |
| `postedAfter`, `postedBefore` | Freshness: keep only awards last seen since / before a date or a period (`24 hours`, `3 days`). |
| `excludeKeywords` | Drop rows whose program, airline or airport names contain one of these WHOLE words (`Heath` does not drop `Heathrow`; a phrase must match as a whole). |
| `sortBy` | Order of the rows within each search: `date` (default: earliest day first within each program, program after program), `miles` (cheapest matching cabin), `taxes`, `seats` or `freshness` (most recently seen). A sort other than the date reads every program of the search before returning it, so the rows kept are the best across all programs. With **Flights of the day**, those rows are the right ones but may arrive in another order: sort the dataset when you export it. A sorted search keeps at most its best 20,000 award days (fewer when the run is given little memory: the log gives the number), also with a result limit above that; when it cannot be cut to your result limit (New award seats only, itineraries, date or keyword filters, several searches, or no limit), New award seats only, the filters and the limit then pick from those award days. The run log says so when it happens: narrow the search (airports, region, programs) to see the rest. |
| `maxItems`, `maxItemsPerQuery` | Cap of the whole run and of each search (`0` = no cap). |
| `includeItineraries` | Option **Flights of the day**: the flights, segments and other programs of each row. One more request per row, charged per row enriched. |
| `onlyNew`, `stateKey`, `resetState` | Monitoring: only the days new since the previous run or whose miles changed in the cabins you follow (`cabins`; none chosen = the four), under this memory key; `resetState` forgets it. 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 `stateKey`. |
| Advanced | `proxyConfiguration` (Apify proxy by default, included; the residential proxy is not needed and refused), `maxConcurrency` (with little memory, several searches sorted by something other than the date are read fewer at a time), `maxRequestsPerMinute`, `minRequestIntervalMs`, `maxRequestRetries`, `debugLog`. |

### 📦 Output

```json
{
    "recordType": "award",
    "id": "AA|JFK|LHR|2026-11-08",
    "url": "https://flightpoints.com/search?origins=JFK&destinations=LHR&date=2026-11-08&programmes=AA",
    "program": "AA",
    "programName": "AAdvantage",
    "programAirline": "American Airlines",
    "alliance": "oneworld",
    "transferPartners": [
        "citi"
    ],
    "programLogoUrl": "https://api.flightpoints.com/media/programs/logos/AA/American_Airlines__AAdvantage-01.svg",
    "origin": "JFK",
    "originName": "John F. Kennedy International Airport",
    "originCity": "New York",
    "originCountry": "US",
    "originRegion": "NA",
    "originLatitude": 40.6397,
    "originLongitude": -73.7789,
    "destination": "LHR",
    "destinationName": "Heathrow Airport",
    "destinationCity": "London",
    "destinationCountry": "GB",
    "destinationRegion": "EU",
    "destinationLatitude": 51.4775,
    "destinationLongitude": -0.461389,
    "departureDate": "2026-11-08",
    "dayOfWeek": "Sunday",
    "economyMiles": 22500,
    "economyTaxes": 24.5,
    "economySeats": 1,
    "economyStops": 0,
    "economyAirlines": [
        "IB",
        "BA",
        "AA"
    ],
    "premiumEconomyMiles": 40000,
    "premiumEconomyTaxes": 53,
    "premiumEconomySeats": 1,
    "premiumEconomyStops": 0,
    "premiumEconomyAirlines": [
        "AA"
    ],
    "businessMiles": 57500,
    "businessTaxes": 733.5,
    "businessSeats": 1,
    "businessStops": 0,
    "businessAirlines": [
        "BA",
        "AA"
    ],
    "firstMiles": 436000,
    "firstTaxes": 5.6,
    "firstSeats": 1,
    "firstStops": 0,
    "firstAirlines": [
        "AA"
    ],
    "cabinsAvailable": [
        "economy",
        "premium_economy",
        "business",
        "first"
    ],
    "lowestMiles": 22500,
    "lowestMilesCabin": "economy",
    "lowestMilesTaxes": 24.5,
    "lowestMilesSeats": 1,
    "bestCabin": "first",
    "bestCabinMiles": 436000,
    "bestCabinTaxes": 5.6,
    "isDirect": true,
    "taxesCurrency": "USD",
    "lastSeen": "2026-10-20T17:34:47.000Z",
    "dataAgeHours": 424.7,
    "changeType": null,
    "itineraries": [
        {
            "departureTime": "18:10",
            "arrivalDate": "2026-11-09",
            "arrivalTime": "06:15",
            "durationMinutes": 425,
            "stops": 0,
            "flightNumbers": [
                "BA112"
            ],
            "airlines": [
                "BA"
            ],
            "aircraft": [
                "Boeing 777"
            ],
            "bookingUrl": "https://www.aa.com/booking/search?locale=en_US&pax=1&adult=1&type=OneWay&searchType=Award&cabin=&carriers=ALL&travelType=personal&slices=%5B%7B%22orig%22%3A%22JFK%22%2C%22origNearby%22%3Afalse%2C%22dest%22%3A%22LHR%22%2C%22destNearby%22%3Afalse%2C%22date%22%3A%222026-11-08%22%7D%5D",
            "cabins": {
                "economy": {
                    "miles": 22500,
                    "taxes": 308.5,
                    "seats": 1,
                    "airlines": [
                        "BA"
                    ]
                },
                "premiumEconomy": null,
                "business": null,
                "first": null
            },
            "segments": [
                {
                    "segmentNumber": 1,
                    "origin": "JFK",
                    "destination": "LHR",
                    "departureTime": "2026-11-08T18:10",
                    "arrivalTime": "2026-11-09T06:15",
                    "flightNumber": "BA112",
                    "airlineCode": "BA",
                    "airlineName": "British Airways",
                    "aircraft": "Boeing 777",
                    "distanceMiles": 3451,
                    "travelMinutes": 425,
                    "layoverMinutes": 0
                }
            ],
            "otherPrograms": [
                {
                    "program": "AS",
                    "programName": "Atmos Rewards",
                    "cabins": {
                        "economy": {
                            "miles": 22500,
                            "taxes": 354,
                            "seats": 5,
                            "airlines": null
                        },
                        "premiumEconomy": null,
                        "business": null,
                        "first": null
                    },
                    "bookingUrl": "https://www.alaskaair.com/search/results?O=JFK&D=LHR&OD=2026-11-08&A=1&C=0&L=0&RT=false&ShoppingMethod=onlineaward"
                }
            ]
        }
    ],
    "itinerariesCount": 22,
    "otherProgramsCount": 20,
    "searchQuery": "JFK-LHR",
    "scrapedAt": "2026-11-07T10:14:20.200Z"
}
```

An award day with the option **Flights of the day** ticked. The `itineraries` list is trimmed here to its first flight, and its `otherPrograms` to one program: the real row has one entry per flight (22 on this day) and one per other program that books it.

You can download the dataset in various formats such as JSON, HTML, CSV or Excel.

#### All 63 fields

| Fields | What you get |
| --- | --- |
| `recordType`, `id`, `url` | `award` (or `no-awards`), `AA\|JFK\|LHR\|2026-11-07` (same from run to run), the Flightpoints page of the day |
| `program`, `programName`, `programAirline`, `alliance`, `transferPartners`, `programLogoUrl` | **Program**: `AA`, `AAdvantage`, `American Airlines`, `oneworld`, `["citi", "bilt"]`, logo URL |
| `origin`, `originName`, `originCity`, `originCountry`, `originRegion`, `originLatitude`, `originLongitude` | **Departure**: `JFK`, airport name, `New York`, `US`, `NA`, GPS position |
| `destination`, `destinationName`, `destinationCity`, `destinationCountry`, `destinationRegion`, `destinationLatitude`, `destinationLongitude` | **Arrival**: same fields |
| `departureDate`, `dayOfWeek` | `2026-11-07`, `Saturday` |
| `economyMiles`, `economyTaxes`, `economySeats`, `economyStops`, `economyAirlines` | **Economy**: `22500`, `19.8` (USD), seats, stops, `["AA", "BA"]` |
| `premiumEconomyMiles`, `premiumEconomyTaxes`, `premiumEconomySeats`, `premiumEconomyStops`, `premiumEconomyAirlines` | **Premium economy**: same fields |
| `businessMiles`, `businessTaxes`, `businessSeats`, `businessStops`, `businessAirlines` | **Business**: `57500`, `58.6`… |
| `firstMiles`, `firstTaxes`, `firstSeats`, `firstStops`, `firstAirlines` | **First**: same fields, `null` when no award seat |
| `cabinsAvailable` | cabins with seats: `["economy", "premium_economy", "business", "first"]` |
| `lowestMiles`, `lowestMilesCabin`, `lowestMilesTaxes`, `lowestMilesSeats` | **Best deals**: the cheapest among the matching cabins (the cabins that pass all your cabin filters; all four by default) |
| `bestCabin`, `bestCabinMiles`, `bestCabinTaxes`, `isDirect` | the highest cabin with seats and whether a nonstop award exists, both among the matching cabins |
| `taxesCurrency` | `USD` |
| `lastSeen`, `dataAgeHours` | **Freshness**: when Flightpoints last saw the award, its age in hours |
| `changeType` | `new` or `changed` with **Only new or changed awards**, else `null` |
| `itineraries`, `itinerariesCount`, `otherProgramsCount` | **Option**: the flights of the day with their segments and other programs, how many, how many also bookable elsewhere |
| `searchQuery`, `scrapedAt` | the search the row comes from (`JFK,EWR-LHR`), ISO timestamp |

### 💡 Tips

#### How to find the best award quickly

Leave **Loyalty programs** empty to search all 28, set **Cabins** and **Maximum miles**, and sort by miles (`sortBy`). Or tick **Transferable points I hold** with the bank whose points you have: the Actor searches only the programs you can actually book with.

#### How to reduce costs

The price is per award day, so the levers are `maxItems`, `maxItemsPerQuery`, the programs and the filters, and `onlyNew` for scheduled runs (a day already delivered and unchanged is not delivered again, as long as the input stays the same). Fewer programs also make the run faster: each program is read on its own. Tick **Flights of the day** only when you need the flights: it adds one request per row, and one charge for each row that gets flights (a day with no flight listed is not charged).

#### How fresh is the data?

Rows come from Flightpoints' recent checks of each program, not from a live search on the airline sites (live searches on Flightpoints need an account). `lastSeen` and `dataAgeHours` say how old each row is; use **Seen since** (`postedAfter: "3 days"`) to keep only recent checks. Always confirm on the airline site before transferring points.

#### Monitoring: only the new or changed awards

Tick **Only new or changed awards** (`onlyNew`) and schedule the Actor. The first run returns everything; each later run returns only the days never delivered under this `stateKey`, or whose miles changed since in the cabins you follow (`cabins`; none chosen = the four) or a followed cabin opened or closed (`changeType` says which). A change in a cabin you did not choose does not bring the day back. Changing `cabins` (or the searches) under the same state key delivers every day once more, marked `changed`: keep the same input for a scheduled watch, or use a new state key. The memory lives in a named key-value store of your account (`flightpoints-award-flights-scraper-seen`). Give each schedule its own `stateKey`, and tick `resetState` once to start over. The memory keeps every state it has delivered: a day that goes back to a price it already had is not returned again.

### 🔌 Integrations and API

Call the Actor via the Apify API, the JavaScript or Python clients, or connect it with integrations and webhooks (Make, Zapier, n8n, Google Sheets, Slack, Airtable…). The dataset can be fetched as JSON or CSV from any tool.

### 🤖 Use with AI agents (MCP)

AI agents (Claude, ChatGPT, Cursor…) can find and run this Actor through the [Apify MCP server](https://mcp.apify.com), billed to their Apify account like any run. It returns one item per loyalty program × route × day with award seats. Actor id: `nice_dev/flightpoints-award-flights-scraper`; MCP server with this Actor only: `https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/flightpoints-award-flights-scraper`.

Smallest input, for a cheap first call:

```json
{
    "origin": "JFK",
    "destination": "LHR",
    "maxItems": 10
}
```

Key output fields: `program`, `departureDate`, `lowestMiles`, `lowestMilesCabin`, `lowestMilesTaxes`, `businessMiles`, `cabinsAvailable` and `itineraries` (with `includeItineraries`).

Cost: per award day returned plus a small fee per run start, see the pricing section above. Cap each call with `maxItems` and, through the API, with the run option `maxTotalChargeUsd`.

### ❓ FAQ

#### Is it legal to scrape Flightpoints?

The Actor only reads what Flightpoints shows publicly to any anonymous visitor: award availability, miles, taxes and flight times. It logs in to nothing and returns no personal data. You are responsible for using the data in compliance with Flightpoints' Terms of Use and applicable law. This Actor is not affiliated with Flightpoints or with any airline or loyalty program.

#### Does it need a login, a program account or a proxy?

No login and no account with any program. The proxy is included in the price: leave the default setting (the residential proxy is not needed and refused). A request the site turns away is retried at once on a new proxy session, up to 10 times on top of the retries (without a proxy, after a pause of 5 seconds, doubled at each retry up to 150 seconds).

#### Can I book from the results?

The Actor returns availability, not tickets. With **Flights of the day**, each flight carries the airline's booking link (`bookingUrl`), prefilled when the airline allows it. Seats move fast: check them on the airline site before transferring points, as transfers are usually final.

#### Known limitations

- The days shown are the ones Flightpoints holds for each program: about 2 months ahead in our tests, not the full year.
- Taxes and fees are in US dollars, as Flightpoints gives them. For Turkish (`TK`), Qatar (`QR`) and GOL (`G3`) Flightpoints shows 0 on every fare (22,238 fares of 22,238 checked): that is no figure, so the taxes of these programs are `null`, and a limit on the taxes (`maxTaxes`) never keeps them.
- Each cabin of a day sums up the day's flights: the fewest miles, the fewest stops, the taxes of the cheapest award and the airlines of all the flights. They can come from different flights: a cabin with `0` stops and a nonstop that costs more miles than the row shows (49 of 120 cabins checked). With `directOnly` or `maxStops` the day is kept because such a flight exists; tick **Flights of the day** for the miles and taxes of each flight. `durationMinutes` of a flight is the time in the air, layovers not included.
- Sorted by date (the default), a search with several programs gives each program's days in turn, earliest first within the program. With a cap (`maxItems`), you get the days of the first programs, not the earliest days overall: to get the earliest days across all programs, raise the cap and sort the dataset on `departureDate` when you export it. A sort by miles, taxes, seats or freshness is across all programs.
- With **Flights of the day** and a sort other than the date, the rows delivered are the right ones (for `maxItems` 15 and `miles`, the 15 cheapest) but they may arrive in another order: sort the dataset when you export it.
- Two searches on the same route with different filters share one `no-awards` row.
- `onlyNew` remembers each state it delivered: a day whose miles go back to a value already delivered is not returned again.
- Two runs sharing the same `stateKey` at the same time may both return the same new day.

**A run that reaches its timeout** stops itself about 45 seconds before it: no new request is made, what it read is saved and, with `onlyNew`, remembered, and the run ends *Succeeded* with "Stopped before the run's timeout". Resurrect it to go on from there, or give the next run a longer timeout (Run options).

**A run the platform stops without warning** (out of memory)

- Resurrect it: it goes on from where it stood at most a minute before the stop. What it had read since is read again, and the rows already saved are skipped: none is delivered or charged twice, and `maxItems` still counts them.
- With `onlyNew`, the memory is saved every 5 rows (and at least 2 seconds apart): resurrect the stopped run and the rows it had saved meanwhile join the memory; leave it stopped for good, and the next run may return up to 4 rows once more.

#### Something doesn't work?

The last line of the log counts the rows saved and filtered out, and the requests that failed after every retry. Those requests are listed, with the reason, in the `FAILED_REQUESTS` record of the run's key-value store. A run that saved nothing and had failed requests fails, and its last message gives the cause.

If Flightpoints changes its data, you are told instead of paying for blank rows: when the first rows read all lack a field they always carry, the run saves nothing more, stops and fails, and its last message names the missing field.

### 🛟 Support

Open an issue in the **Issues** tab with a link to your run: the run log and the `FAILED_REQUESTS` record of the key-value store show exactly which requests failed and why.

# Actor input Schema

## `origin` (type: `string`):

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` (type: `array`):

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.

## `destination` (type: `string`):

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` (type: `array`):

More arrival airports, one IATA code per line. Added to **To**.

## `originRegion` (type: `string`):

Search every departure airport of a whole region (for example all of North America to Europe). Used when **From** is empty.

## `destinationRegion` (type: `string`):

Search every arrival airport of a whole region. Used when **To** is empty.

## `routes` (type: `array`):

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.

## `startUrls` (type: `array`):

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.

## `programs` (type: `array`):

Programs to search (28 programs). Empty = all of them. Each program is read separately, so fewer programs = a faster run.

## `transferPartners` (type: `array`):

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.

## `alliances` (type: `array`):

Keep only programs of these alliances. Empty = all.

## `startDate` (type: `string`):

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` (type: `string`):

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` (type: `string`):

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` (type: `integer`):

Also keep this many days before and after the **Exact departure date** (3 = a 7-day window).

## `daysOfWeek` (type: `array`):

Keep only departures on these days. Empty = every day.

## `cabins` (type: `array`):

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.

## `minSeats` (type: `integer`):

Seats needed in a matching cabin (1-9). 0 = no minimum.

## `maxMiles` (type: `integer`):

Keep only days where a matching cabin costs at most this many miles / points (one way, one passenger). 0 = no limit.

## `maxTaxes` (type: `number`):

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.

## `directOnly` (type: `boolean`):

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.

## `maxStops` (type: `integer`):

Keep only cabins with at most this many stops. Empty = any number.

## `airlines` (type: `array`):

Keep only cabins flown by at least one of these airlines, 2-letter IATA codes one per line (`BA`, `AA`).

## `excludeAirlines` (type: `array`):

Drop cabins flown only by these airlines (`F9`, `NK`), 2-letter IATA codes one per line.

## `maxItems` (type: `integer`):

Maximum number of award days in the dataset (one row = one program x one route x one day). 0 = no limit.

## `maxItemsPerQuery` (type: `integer`):

Cap per search (form, route line or link). 0 = no cap per search.

## `sortBy` (type: `string`):

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.

## `includeItineraries` (type: `boolean`):

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.

## `postedAfter` (type: `string`):

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` (type: `string`):

Keep only rows last checked before this date (reads `lastSeen`).

## `excludeKeywords` (type: `array`):

Drop rows whose program, airline or airport names contain one of these words (whole words, case-insensitive: `Heath` does not drop `Heathrow`).

## `onlyNew` (type: `boolean`):

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.

## `stateKey` (type: `string`):

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.

## `resetState` (type: `boolean`):

Forget what previous runs returned (the next run returns everything).

## `proxyConfiguration` (type: `object`):

The Apify proxy is included in the price. Residential proxy is not needed and refused.

## `maxConcurrency` (type: `integer`):

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.

## `maxRequestsPerMinute` (type: `integer`):

Upper bound of the request rate.

## `minRequestIntervalMs` (type: `integer`):

Pause between two requests.

## `maxRequestRetries` (type: `integer`):

Retries of a failed request.

## `debugLog` (type: `boolean`):

Verbose log.

## Actor input object example

```json
{
  "origin": "JFK",
  "origins": [],
  "destination": "LHR",
  "destinations": [],
  "routes": [],
  "startUrls": [],
  "programs": [],
  "transferPartners": [],
  "alliances": [],
  "daysAround": 0,
  "daysOfWeek": [],
  "cabins": [],
  "minSeats": 0,
  "maxMiles": 0,
  "maxTaxes": 0,
  "directOnly": false,
  "airlines": [],
  "excludeAirlines": [],
  "maxItems": 100,
  "maxItemsPerQuery": 0,
  "sortBy": "date",
  "includeItineraries": false,
  "excludeKeywords": [],
  "onlyNew": false,
  "stateKey": "default",
  "resetState": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 4,
  "maxRequestsPerMinute": 120,
  "minRequestIntervalMs": 0,
  "maxRequestRetries": 5,
  "debugLog": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "origin": "JFK",
    "destination": "LHR",
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nice_dev/flightpoints-award-flights-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "origin": "JFK",
    "destination": "LHR",
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("nice_dev/flightpoints-award-flights-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "origin": "JFK",
  "destination": "LHR",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call nice_dev/flightpoints-award-flights-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/flightpoints-award-flights-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/bVFUVF3zscP6yA4Pn/builds/kGTeM3viXS5Up77Ti/openapi.json
