# Jetstar Fares Scraper — Daily Cheapest Fares & Sales (`he_work/jetstar-fares-scraper`) Actor

Cheapest Jetstar fare for every day on any route (fare calendar: price, times, stops, sold-out), or all current Jetstar sale fares with Club Jetstar prices and travel windows.

- **URL**: https://apify.com/he_work/jetstar-fares-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.43 / 1,000 fare rows

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

## Jetstar Fares Scraper — Daily Cheapest Fares & Sales

> ✅ **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.

Track **Jetstar airfares** two ways:

1. **Fare calendar:** the cheapest Jetstar fare for **every day** on any route, for up to ~11 months ahead, with departure and arrival times, stops and sold-out flags. Ideal for price tracking, fare alerts and "cheapest day to fly" tools.
2. **Sale deals:** every current Jetstar sale fare, with the Club Jetstar price, travel window, sale end date and seat availability.

Data comes from the same fare feeds Jetstar's own website uses, so runs are fast (seconds) and cheap.

### Calendar output (one row per route per day)

| Field | Example |
|---|---|
| `origin`, `destination`, `date` | `BNE`, `SYD`, `2026-11-26` |
| `price`, `currency`, `fees_included` | `175`, `AUD`, `false` |
| `departure_time`, `arrival_time`, `stops` | `2026-11-26T06:10:00`, `2026-11-26T08:50:00`, `0` |
| `sold_out`, `member_fare`, `fare_class`, `flight_id` | |
| `booking_url` | link to that day's Jetstar search |

### Deals output (one row per sale fare)

`origin`, `destination`, `via`, `deal_price`, `club_jetstar_price`, `currency`, `travel_from`, `travel_to`, `days_available`, `sale_type`, `sale_start`, `sale_end`, `seats_left`, `is_free_return`, `fare_class`, `booking_url`.

### Input

| Field | Default | Description |
|---|---|---|
| `mode` | `calendar` | `calendar` or `deals` |
| `routes` | – | Calendar: IATA pairs like `BNE-SYD`, `MEL-OOL`, `SYD-AKL` |
| `includeReturn` | `false` | Also fetch the reverse direction |
| `startDate`, `days` | tomorrow, `60` | Calendar window (up to 330 days) |
| `dealOrigins` | – | Deals: keep only these departure airports |
| `maxResults` | `2000` | Hard cap for the run |

### Example input

```json
{
  "mode": "calendar",
  "routes": [
    "BNE-SYD",
    "MEL-OOL",
    "SYD-AKL"
  ],
  "includeReturn": true,
  "days": 90,
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

### Example output

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

```json
{
  "airline": "Jetstar",
  "origin": "BNE",
  "destination": "SYD",
  "date": "2026-11-06",
  "price": 359,
  "currency": "AUD",
  "fees_included": false,
  "sold_out": false,
  "member_fare": false,
  "departure_time": "2026-11-06T19:40:00",
  "arrival_time": "2026-11-06T22:15:00",
  "stops": 0,
  "flight_id": 84719090,
  "fare_class": "R",
  "booking_url": "https://booking.jetstar.com/au/en/booking/search-flights?origin1=BNE&destination1=SYD&departuredate1=2026-11-06&adults=1&currency=AUD",
  "scraped_at": "2026-11-05T10:18:49.527702+00:00"
}
```

### How it compares

| | This Actor | Typical alternative |
|---|---|---|
| Fields per result | 19 (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 | $0.50 per 1,000 fare rows | $0.20–$2.50 per 1,000 results (comparable Actors on the Apify Store, 6 Nov 2026) |

### Pricing

Pay per result, no monthly fee:

- **$0.50 per 1,000 fare rows**: One route-day fare or sale 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 fare rows = $0.50; 10,000 = $5.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

- Jetstar only. Prices are one-way, per adult, in the currency Jetstar returns (AUD for Australian points of sale), and may exclude booking fees (`fees_included`).

# Actor input Schema

## `mode` (type: `string`):

What to collect.

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

Calendar mode: airport pairs like BNE-SYD (IATA codes).

## `includeReturn` (type: `boolean`):

Also fetch SYD-BNE for BNE-SYD, etc.

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

Calendar mode, YYYY-MM-DD. Default: tomorrow.

## `days` (type: `integer`):

Calendar mode: how many days from the start date.

## `dealOrigins` (type: `array`):

Deals mode: keep only deals departing these airports (empty = all).

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

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

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

Not needed normally; used only to retry blocked requests.

## Actor input object example

```json
{
  "mode": "calendar",
  "routes": [
    "BNE-SYD",
    "MEL-OOL",
    "SYD-AKL"
  ],
  "includeReturn": true,
  "days": 90,
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `fares` (type: `string`):

One row per route-day (calendar) or deal.

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

Per-route status.

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

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,he_work/jetstar-fares-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/SuqXqeiEDjmzVOSUg/builds/UuKitswVRmagtzaK9/openapi.json
