# Qantas Flight Deals Scraper — Sale Fares from Every Airport (`he_work/qantas-flight-deals-scraper`) Actor

Every current Qantas flight deal: city pair, cabin, one-way or return, 'from' price, travel window and sale name, from any or all Australian departure airports.

- **URL**: https://apify.com/he_work/qantas-flight-deals-scraper.md
- **Developed by:** [HE Work](https://apify.com/he_work) (community)
- **Categories:** Travel, Automation, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.85 / 1,000 deals

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

## Qantas Flight Deals Scraper — Sale Fares from Every Airport

> ✅ **Checked daily.** An automated test runs this Actor on the Apify cloud every day and checks that it still returns real data, so if the website changes and something breaks, it's caught the same day and fixed.

Get **every current Qantas flight deal** as clean, structured data: the city pair, cabin, one-way or return, the "from" price, the travel window and the sale it belongs to (Red e-Deal, Global Deal, city sales and more).

Pick one or more departure airports, or leave the list empty to sweep **all 66 Australian airports Qantas sells deals from**. Collect Economy, Premium Economy, Business and First.

Data comes from the same pricing service the Qantas flight-deals pages use, so runs are fast (about half a second per airport and cabin) and cheap. No browser or proxy is needed.

### Use cases

- Fare alerts and deal newsletters ("Brisbane to Tokyo in Business under $4,000").
- Travel-deal websites and apps that list current airline sales.
- Price monitoring and competitor analysis for travel agents and OTAs.
- Research on Qantas pricing by route, season and cabin.

### Output (one row per deal)

| Field | Example |
|---|---|
| `origin`, `origin_name` | `BNE`, `Brisbane` |
| `destination`, `destination_name` | `SYD`, `Sydney (Kingsford Smith)` |
| `cabin`, `trip_type` | `Economy`, `One way` |
| `price`, `currency` | `159`, `AUD` |
| `travel_from`, `travel_to` | `2027-01-05`, `2027-03-17` |
| `sale_name`, `sale_starts`, `sale_ends`, `ongoing_sale` | `Sydney Deal`, `2026-11-05T00:00:00.000+11:00`, `2026-11-08T23:59:59.000+11:00`, `false` |
| `fare_family`, `offer_id`, `conditions` | Qantas fare family code, deal ID, any deal-specific notes |
| `deal_url` | link to the deal on qantas.com |

One route often has several rows: Qantas prices each travel window separately (for example $159 for January–March, $165 for March–May).

### Input

| Field | Default | Description |
|---|---|---|
| `departureAirports` | – (all) | IATA codes like `SYD`, `MEL`, `BNE`; empty = every Australian departure airport |
| `cabins` | `ECONOMY` | Any of `ECONOMY`, `PREMIUM_ECONOMY`, `BUSINESS`, `FIRST` |
| `destinationType` | `all` | `all`, `domestic` or `international` |
| `destinations` | – | Only these destination airports, e.g. `LAX`, `NRT` |
| `tripType` | `all` | `all`, `one_way` or `return` |
| `maxPrice` | – | Drop deals above this price (AUD) |
| `travelMonth` | – | `YYYY-MM`: keep deals whose travel window covers that month |
| `saleNameContains` | – | e.g. `Red e-Deal` |
| `maxResults` | `5000` | Hard cap on rows (and cost) for the run |

A run report (deals per airport and cabin) is saved to the key-value store record `OUTPUT`.

#### Example: Business-class deals from Sydney and Melbourne to the USA

```json
{
  "departureAirports": ["SYD", "MEL"],
  "cabins": ["BUSINESS"],
  "destinations": ["LAX", "SFO", "JFK", "DFW", "HNL"]
}
```

### Example output

One item from a real run (long texts shortened):

```json
{
  "airline": "Qantas",
  "origin": "ADL",
  "origin_name": "Adelaide",
  "destination": "SYD",
  "destination_name": "Sydney (Kingsford Smith)",
  "cabin": "Business",
  "trip_type": "One way",
  "price": 459,
  "currency": "AUD",
  "travel_from": "2026-11-23",
  "travel_to": "2026-12-25",
  "sale_name": "Sydney Deal",
  "sale_starts": "2026-11-06T00:00:00.000+11:00",
  "sale_ends": "2027-01-30T23:59:59.000+11:00",
  "ongoing_sale": false,
  "fare_family": "AUAUBUS",
  "conditions": "",
  "offer_id": "404471650",
  "deal_url": "https://www.qantas.com/en-au/book/flight-deals?departure=ADL&destination=SYD&cabin=business",
  "scraped_at": "2026-11-06T00:28:08+00:00"
}
```

### How it compares

| | This Actor | Typical alternative |
|---|---|---|
| Fields per result | 20 (see *Example output*) | Varies by actor |
| Freshness | Read live from the source when the run starts | Varies |
| Reliability | Tested daily by an automated run on the Apify cloud (see the top of this page) | — |
| Price | $1.00 per 1,000 deals | $0.20–$2.50 per 1,000 results (comparable Actors on the Apify Store, 6 Nov 2026) |

### Pricing

Pay per result, no monthly fee:

- **$1.00 per 1,000 deals**: One Qantas flight deal delivered to your dataset.
- $0.0005 per run (start).

Bronze plans pay 5% less, Silver 10% less, Gold and above 15% less.

**Examples:** 1,000 deals = $1.00; 10,000 = $10.00.

### FAQ

**How do I run it on a schedule?** Create a task with your input and add a schedule in Apify Console (e.g. daily at 6 am). Each run writes a fresh dataset.

**How do I get the data?** Download the dataset as JSON, CSV, Excel, XML or HTML from the run page, or read it with the Apify API / Python and JavaScript clients. Integrations (Google Sheets, Make, Zapier, n8n, webhooks) work out of the box.

**Do I need proxies or an account on the site?** No. Proxies are handled inside the Actor and included in the price; no login is needed.

**What if a run returns fewer results than expected?** Check the run's key-value store `OUTPUT` record (when present) for a per-request report, then open an issue on the Issues tab with the run link and we'll look into it.

**Is it legal?** The Actor only collects publicly available data. You are responsible for using it in line with the website's terms, copyright and data-protection rules (GDPR, CCPA) — don't collect personal data you have no legal basis for.

### Notes

- Prices are what Qantas advertises for each deal: "from" fares per adult in AUD, one-way or return as labelled. Availability is limited and can change at any time.
- This actor collects published deals, not live seat-by-seat search results.
- Not affiliated with Qantas Airways.

# Actor input Schema

## `departureAirports` (type: `array`):

IATA codes like SYD, MEL, BNE. Leave empty to collect deals from every Australian airport Qantas lists.

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

Travel classes to collect (one request per airport and cabin).

## `destinationType` (type: `string`):

Limit deals to domestic or international destinations.

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

Optional: only these destination airports (IATA codes, e.g. LAX, NRT). Overrides 'Destinations'.

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

Keep one-way deals, return deals, or both.

## `maxPrice` (type: `integer`):

Optional: drop deals above this price.

## `travelMonth` (type: `string`):

Optional, YYYY-MM: keep deals whose travel window covers this month.

## `saleNameContains` (type: `string`):

Optional: e.g. 'Red e-Deal' or 'Global'.

## `maxResults` (type: `integer`):

Hard cap on rows (and cost) for the run.

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

Not needed normally; used only if Qantas blocks the request.

## Actor input object example

```json
{
  "departureAirports": [
    "BNE",
    "SYD"
  ],
  "cabins": [
    "ECONOMY",
    "PREMIUM_ECONOMY",
    "BUSINESS",
    "FIRST"
  ],
  "destinationType": "all",
  "destinations": [
    "SYD"
  ],
  "tripType": "all",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `deals` (type: `string`):

One row per deal (city pair, cabin, trip type, travel window).

## `report` (type: `string`):

Deals per departure airport and cabin.

# 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 = {
    "departureAirports": [
        "BNE",
        "SYD"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("he_work/qantas-flight-deals-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 = { "departureAirports": [
        "BNE",
        "SYD",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("he_work/qantas-flight-deals-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 '{
  "departureAirports": [
    "BNE",
    "SYD"
  ]
}' |
apify call he_work/qantas-flight-deals-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,he_work/qantas-flight-deals-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/m9XlvduYiLeulnfZR/builds/07TlxeB0zfovFLYGM/openapi.json
