# Priceline Flights Scraper — US & Canada Flight Fares (`boring_internet_explorer/priceline-scraper`) Actor

Scrape Priceline flight fares for the United States (English, Spanish) and Canada (French) storefronts. One-way and round-trip prices in USD with airlines, times, stops, layovers, baggage and refund rules, seats left, for many origins and destinations with a per-route item limit.

- **URL**: https://apify.com/boring_internet_explorer/priceline-scraper.md
- **Developed by:** [Boring Internet Explorer](https://apify.com/boring_internet_explorer) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 71.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## ✈️ Priceline Flights Scraper — United States & Canada

[Priceline.com](https://www.priceline.com/) is one of the largest online travel agencies in North America. This scraper searches Priceline flights for any number of origin and destination airports and returns every fare it finds as clean, structured data: total price, airline, flight numbers, times, stops, layovers, baggage, seat and refund rules for each fare option, and seats left. It covers all three Priceline storefronts — United States in English, United States in Spanish and Canada in French — so you can compare fares, track routes and feed pricing models without copying results by hand.

### Why use this scraper?

- 💸 **Fare monitoring** — track the cheapest price on any route every day and spot price drops early.
- 🧭 **Route comparison** — search several origins and destinations in one run and give every route its own item limit.
- 🛫 **Airline benchmarking** — compare airlines, fare brands (Basic, Main, Flex) and what each fare includes.
- 📈 **Travel analytics** — build price-versus-departure-date datasets for forecasting and dashboards.
- 🧳 **Baggage and refund rules** — see whether carry-on, checked bag, seat selection, changes and cancellation are included, paid or unavailable.
- 🍁 **Three storefronts** — run the same search on the US English, US Spanish and Canadian French sites.
- 🧑‍🤝‍🧑 **Real passenger mixes** — price adults, children and infants in economy, premium economy, business or first class.

### Supported searches

| Type                      | Example                                                                |
| ------------------------- | ---------------------------------------------------------------------- |
| One-way, one route        | `origins: ["JFK"]`, `destinations: ["LAX"]`                            |
| Several routes in one run | `origins: ["JFK", "BOS"]`, `destinations: ["LAX", "MIA"]` (4 searches) |
| Round trip                | `tripType: "roundTrip"`, `departureDate`, `returnDate`                 |
| City codes                | `origins: ["NYC"]`, `destinations: ["LON"]`                            |
| Nonstop only              | `maxStops: 0`                                                          |
| Specific airlines         | `airlines: ["DL", "AA"]`                                               |
| Canada storefront         | `locales: ["fr-ca"]`                                                   |

Every origin is searched against every destination (and every selected storefront). Each search has its own `maxItems` limit.

### Input fields

| Field                | Type    | Default            | Description                                                                                        |
| -------------------- | ------- | ------------------ | -------------------------------------------------------------------------------------------------- |
| `origins`            | array   | —                  | IATA codes of departure airports or cities, e.g. `JFK`, `NYC`.                                     |
| `destinations`       | array   | —                  | IATA codes of arrival airports or cities, e.g. `LAX`, `LON`.                                       |
| `locales`            | array   | `["en-us"]`        | Storefronts: `en-us` (US, English), `es-us` (US, Español), `fr-ca` (Canada, Français).             |
| `tripType`           | string  | `oneWay`           | `oneWay` or `roundTrip`.                                                                           |
| `departureDate`      | string  | 30 days from today | `YYYY-MM-DD` or a relative date such as `30 days`. Flights open about 11 months ahead.             |
| `returnDate`         | string  | —                  | Required for round trips.                                                                          |
| `adults`             | integer | `1`                | Adults (12+).                                                                                      |
| `children`           | integer | `0`                | Children (2–11).                                                                                   |
| `infants`            | integer | `0`                | Infants under 2, at most one per adult.                                                            |
| `cabinClass`         | string  | `economy`          | `economy`, `premiumEconomy`, `business` or `first`.                                                |
| `maxStops`           | integer | any                | Maximum stops per direction. `0` = nonstop only.                                                   |
| `airlines`           | array   | all                | Only these airlines (2-letter codes).                                                              |
| `sortBy`             | string  | `price`            | `price`, `duration`, `earliestDeparture` or `latestDeparture`. The limit is applied after sorting. |
| `maxItems`           | integer | `5`               | Maximum items saved per search.                                                                    |
| `proxyConfiguration` | object  | no proxy           | Apify proxy settings. A residential proxy is recommended if searches get blocked.                  |

### Example input

```json
{
  "origins": ["JFK"],
  "destinations": ["LAX"],
  "locales": ["en-us"],
  "tripType": "oneWay",
  "departureDate": "2026-11-20",
  "cabinClass": "economy",
  "maxStops": 0,
  "airlines": ["DL"],
  "sortBy": "price",
  "maxItems": 5,
  "proxyConfiguration": { "useApifyProxy": false }
}
```

### Output

Each flight offer is stored as one record in the default dataset. For round trips, every record pairs one outbound flight with its cheapest return flight, and `price` is the round-trip total for all passengers.

### Example output

```json
{
  "scrapedAt": "2026-10-10T14:52:56.854Z",
  "url": "https://www.priceline.com/m/fly/search/JFK-LAX-20261120/?cabin-class=ECO&num-adults=1",
  "title": "JFK → LAX · DL742 · 2026-11-20 07:00",
  "price": 268.4,
  "currency": "USD",
  "country": "United States",
  "market": "us",
  "language": "English",
  "locale": "en-us",
  "tripType": "oneWay",
  "searchOrigin": "JFK",
  "searchDestination": "LAX",
  "origin": "JFK",
  "destination": "LAX",
  "departureDate": "2026-11-20",
  "returnDate": null,
  "adults": 1,
  "children": 0,
  "infants": 0,
  "cabinClass": "economy",
  "pricePerAdult": 268.4,
  "fareName": "Delta Main Basic",
  "fareOptions": [
    {
      "name": "Delta Main Basic",
      "price": 268.4,
      "selected": true,
      "carryOnBag": "included",
      "checkedBag": "fee",
      "seatSelection": "unavailable",
      "changes": "fee",
      "cancellation": "unavailable"
    },
    {
      "name": "Delta Main Classic",
      "price": 323.4,
      "selected": false,
      "carryOnBag": "included",
      "checkedBag": "fee",
      "seatSelection": "included",
      "changes": "included",
      "cancellation": "unavailable"
    },
    {
      "name": "Delta Comfort Basic",
      "price": 358.4,
      "selected": false,
      "carryOnBag": "included",
      "checkedBag": "fee",
      "seatSelection": "unavailable",
      "changes": "fee",
      "cancellation": "unavailable"
    }
  ],
  "airlines": ["Delta Air Lines"],
  "airlineCodes": ["DL"],
  "stops": 0,
  "totalDurationMinutes": 375,
  "seatsAvailable": 9,
  "refundable": false,
  "outbound": {
    "origin": "JFK",
    "originName": "John F Kennedy Intl Airport",
    "destination": "LAX",
    "destinationName": "Los Angeles Intl Airport",
    "departureTime": "2026-11-20T07:00:00",
    "arrivalTime": "2026-11-20T10:15:00",
    "durationMinutes": 375,
    "stops": 0,
    "airlines": ["Delta Air Lines"],
    "layovers": [],
    "badges": ["Cheapest Nonstop"],
    "segments": [
      {
        "flightNumber": "DL742",
        "marketingCarrier": "DL",
        "marketingCarrierName": "Delta Air Lines",
        "operatingCarrier": "DL",
        "operatingCarrierName": "Delta Air Lines",
        "aircraft": "76W",
        "origin": "JFK",
        "originName": "John F Kennedy Intl Airport",
        "destination": "LAX",
        "destinationName": "Los Angeles Intl Airport",
        "departureTime": "2026-11-20T07:00:00",
        "arrivalTime": "2026-11-20T10:15:00",
        "durationMinutes": 375,
        "cabin": "ECO",
        "seatsAvailable": 9,
        "overnight": false
      }
    ]
  },
  "inbound": null
}
```

### Field reference

| Field                               | Type    | Description                                                                                                                                                                 |
| ----------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `scrapedAt`                         | string  | ISO 8601 timestamp of the scrape.                                                                                                                                           |
| `url`                               | string  | Priceline search page for this search.                                                                                                                                      |
| `title`                             | string  | Route, flight numbers and departure time.                                                                                                                                   |
| `price`                             | number  | Total price for all passengers (round-trip total for round trips).                                                                                                          |
| `currency`                          | string  | Currency of the price, as shown by Priceline.                                                                                                                               |
| `country`                           | string  | `United States` or `Canada`, from the selected storefront.                                                                                                                  |
| `market`                            | string  | `us` or `ca`.                                                                                                                                                               |
| `language`                          | string  | Storefront language.                                                                                                                                                        |
| `locale`                            | string  | Storefront code: `en-us`, `es-us` or `fr-ca`.                                                                                                                               |
| `tripType`                          | string  | `oneWay` or `roundTrip`.                                                                                                                                                    |
| `searchOrigin`, `searchDestination` | string  | The origin and destination codes you searched.                                                                                                                              |
| `origin`, `destination`             | string  | Airports of the itinerary.                                                                                                                                                  |
| `departureDate`, `returnDate`       | string  | Travel dates.                                                                                                                                                               |
| `adults`, `children`, `infants`     | integer | Passenger counts.                                                                                                                                                           |
| `cabinClass`                        | string  | Searched cabin.                                                                                                                                                             |
| `pricePerAdult`                     | number  | Price per adult.                                                                                                                                                            |
| `fareName`                          | string  | Name of the cheapest fare option, e.g. `Main Basic`.                                                                                                                        |
| `fareOptions`                       | array   | Every fare option with price and whether carry-on bag, checked bag, seat selection, changes and cancellation are `included`, `fee`, `unavailable` or `null` when not shown. |
| `airlines`, `airlineCodes`          | array   | Airlines on the itinerary.                                                                                                                                                  |
| `stops`                             | integer | Most stops in either direction.                                                                                                                                             |
| `totalDurationMinutes`              | integer | Total travel time of all flights.                                                                                                                                           |
| `seatsAvailable`                    | integer | Fewest seats left on any segment, when shown.                                                                                                                               |
| `refundable`                        | boolean | Whether the cheapest fare can be cancelled for a refund.                                                                                                                    |
| `outbound`                          | object  | Outbound flight with airports, times, duration, stops, layovers and a list of segments (flight number, carriers, aircraft, times, seats left).                              |
| `inbound`                           | object  | Return flight in the same format, `null` for one-way searches.                                                                                                              |

### ❓ FAQ

**Which airport codes can I use?**
Any 3-letter IATA airport or city code, such as `JFK`, `LAX` or `NYC`. Names are not matched, so use the code.

**What do the three storefronts change?**
`en-us`, `es-us` and `fr-ca` are the three Priceline storefronts. Each one is searched separately and tagged with its country, market and language in the output.

**How far ahead can I search?**
Priceline opens flights about 11 months ahead. Later dates return no items and the run logs a warning.

**How does round-trip pricing work?**
Each outbound flight is paired with its cheapest return flight, and `price` is the combined total for all passengers.

**Why do some searches return fewer items than `maxItems`?**
`maxItems` is a limit. If a route has fewer flights, or your stop and airline filters leave fewer, you get what exists.

**Are the prices final?**
Prices are the fares Priceline shows at the time of scraping. Fares, taxes and availability change often, so treat each record as a snapshot.

**What if my run gets blocked?**
Priceline uses bot protection. Failed searches are retried automatically in a fresh browser. If they keep failing, enable a residential proxy in `proxyConfiguration`.

### 🔗 Want More Data?

Explore more scrapers from the same author:

- [Cheapflightsfares Flights Scraper](https://apify.com/boring_internet_explorer/cheapflightsfares-scraper)
- [Wego Flights Scraper](https://apify.com/boring_internet_explorer/wego-flights-scraper)
- [Wingie Flights Scraper](https://apify.com/boring_internet_explorer/wingie-scraper)
- [Almosafer Flights Scraper](https://apify.com/boring_internet_explorer/almosafer-flights-scraper)
- [Rehlat Flights Scraper](https://apify.com/boring_internet_explorer/rehlat-flights-scraper)

### 🛠️ Need a custom scraper?

Need this scraper adapted to your use case — extra fields, additional filters, a different output format, or a new website? Reach out at boringinternetexplorer@gmail.com and we'll make it happen.

# Actor input Schema

## `origins` (type: `array`):

IATA codes of the departure airports or cities, e.g. JFK, EWR, NYC. "New York (JFK)" is accepted too.

## `destinations` (type: `array`):

IATA codes of the arrival airports or cities, e.g. LAX, SFO, LON. Each origin is searched against each destination.

## `locales` (type: `array`):

The Priceline storefronts to search: English (US), Español (US) and Français (CA). Each selected storefront is searched separately.

## `tripType` (type: `string`):

One-way or round-trip search. A round-trip item pairs each outbound flight with its cheapest return flight.

## `departureDate` (type: `string`):

Departure date (YYYY-MM-DD) or a relative date such as "30 days". Leave empty to search 30 days from today. Flights open about 11 months ahead.

## `returnDate` (type: `string`):

Required for round trips. Date (YYYY-MM-DD) or a relative date such as "37 days".

## `adults` (type: `integer`):

Number of adults (12+ years).

## `children` (type: `integer`):

Number of children (2-11 years).

## `infants` (type: `integer`):

Number of infants under 2 years. Cannot exceed the number of adults.

## `cabinClass` (type: `string`):

Cabin to search.

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

Only return itineraries with at most this many stops per direction. 0 = nonstop only. Leave empty for any.

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

Only return itineraries operated by these airlines (2-letter IATA codes, e.g. DL, AA, UA). Leave empty for all airlines.

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

Order of the items kept for each search. The item limit is applied after sorting.

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

Maximum number of flight offers saved for each origin, destination and storefront combination.

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

Your proxy configuration from Apify

## Actor input object example

```json
{
  "origins": [
    "JFK",
    "BOS"
  ],
  "destinations": [
    "LAX",
    "MIA"
  ],
  "locales": [
    "en-us"
  ],
  "tripType": "oneWay",
  "adults": 1,
  "children": 0,
  "infants": 0,
  "cabinClass": "economy",
  "sortBy": "price",
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "origins": [
        "JFK",
        "BOS"
    ],
    "destinations": [
        "LAX",
        "MIA"
    ],
    "locales": [
        "en-us"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("boring_internet_explorer/priceline-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 = {
    "origins": [
        "JFK",
        "BOS",
    ],
    "destinations": [
        "LAX",
        "MIA",
    ],
    "locales": ["en-us"],
}

# Run the Actor and wait for it to finish
run = client.actor("boring_internet_explorer/priceline-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 '{
  "origins": [
    "JFK",
    "BOS"
  ],
  "destinations": [
    "LAX",
    "MIA"
  ],
  "locales": [
    "en-us"
  ]
}' |
apify call boring_internet_explorer/priceline-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,boring_internet_explorer/priceline-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/lIQEpQOQ6FDs9iNa6/builds/Gap2LM4E79Yz5xDcN/openapi.json
