# Sky Airline Flights Scraper: Fares, Brands & Schedules (`scrapers_lat/skyairline-flights-scraper`) Actor

Scrape every Sky Airline (Chile) flight between two airports by date. Get all fare brands (Basic, Light, Standard, Max, Max Flex, Full), price, cabin, times, duration, stops, seats left. Export JSON, CSV, Excel.

- **URL**: https://apify.com/scrapers\_lat/skyairline-flights-scraper.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** Travel, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $12.48 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![Sky Airline Flights Scraper: Fares, Brands & Schedules](https://scrapers.lat/banners/skyairline-flights-scraper.png)](https://console.apify.com/actors/vxx1irWem62T36z8E/input)

## Sky Airline Flights Scraper: Fares, Brands & Schedules

Here is one real result, with every field the actor returns:

```json
{
  "origin": "SCL",
  "originName": "SCL",
  "destination": "ANF",
  "destinationName": "ANF",
  "departureDateTime": "2026-09-15T06:00:00",
  "arrivalDateTime": "2026-09-15T08:02:00",
  "flightNumber": "H2 270",
  "fareType": "Standard",
  "cabin": "Economy",
  "price": 87524,
  "publishedPrice": null,
  "currency": "CLP",
  "baseFare": 79490,
  "taxes": 8034,
  "seatsLeft": 9,
  "lowAvailability": false,
  "duration": 122,
  "stops": 0,
  "operatedBy": "Sky Airline (H2)",
  "soldOut": false,
  "fareClass": "ED",
  "fareKey": "XED00000",
  "fareOptions": null,
  "equipment": "32Q",
  "segments": [
    {
      "flightNumber": "H2 270",
      "origin": "SCL",
      "destination": "ANF",
      "departureDateTime": "2026-09-15T06:00:00",
      "arrivalDateTime": "2026-09-15T08:02:00",
      "duration": 122,
      "cabinClass": "Economy",
      "bookingClass": "X",
      "fareBasis": "XZO00000",
      "equipment": "32Q"
    }
  ],
  "flightKey": -451655526,
  "direction": "outbound",
  "isLowestFareOfDay": false,
  "punctualityRate": null,
  "source": "availability",
  "deepLink": "https://initial-sale.skyairline.com/es/chile?o=SCL&d=ANF&date=2026-09-15&ADT=1",
  "observedAt": "2026-08-16T03:22:29.473Z",
  "error": null
}
```

The most complete Sky Airline (Chile) flight scraper available. It returns every flight of a route on each day you scan (not just the cheapest), one row per fare brand with its own price, cabin, taxes and seats left, plus derived fields for analysis, and gives you the filters to target exactly the departures you need.

**📥 [Input](https://apify.com/scrapers_lat/skyairline-flights-scraper/input-schema) · 📤 [Output](https://apify.com/scrapers_lat/skyairline-flights-scraper/output-schema) · 💰 [Pricing](https://apify.com/scrapers_lat/skyairline-flights-scraper/pricing) · ▶️ [Examples](https://apify.com/scrapers_lat/skyairline-flights-scraper/examples)**

![Apify](https://img.shields.io/badge/Platform-Apify-1CE1CE?logo=apify\&logoColor=white)
![Coverage](https://img.shields.io/badge/Coverage-Sky%20Airline%20network-blue)
![Output](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-orange)
![Billing](https://img.shields.io/badge/Billing-Pay%20per%20result-brightgreen)

### Table of contents

- [What it does](#what-it-does)
- [Quickstart](#quickstart)
- [Input reference](#input-reference)
- [Output reference](#output-reference)
- [Example output record](#example-output-record)
- [Run via API and CLI](#run-via-api-and-cli)
- [Fetch results](#fetch-results)
- [Billing and limits](#billing-and-limits)
- [FAQ and troubleshooting](#faq-and-troubleshooting)

### What it does

The actor queries Sky Airline's live fare availability for a route and date range, reads every scheduled flight for each day, and writes one normalized record per fare to the run's dataset. Sky sells several fare brands on each flight (Basic, Light, Standard, Max, Max Flex, Full); by default each brand becomes its own row so you see the full price ladder, with `fareType` and `cabin` telling them apart. Prices come back in the currency of the point of sale (CLP for the Chile market), split into `baseFare` and `taxes`, along with real departure and arrival times, duration, aircraft type, stops, and seats left.

Set `collapseFares` to get one row per flight with every fare nested in `fareOptions`. Set `includeReturn` to also scan the return leg over a separate date range, tagged `direction: "inbound"`. Every flight of the day is returned, not only the cheapest.

This actor is independent and is not an official Sky Airline tool. It reads only data that is publicly available through Sky Airline's own retail booking site.

### Quickstart

Open the actor, paste this into the input, and press Run. It returns every fare of every Sky Airline flight from Santiago (SCL) to Antofagasta (ANF) on one day.

```json
{
  "origin": "SCL",
  "destination": "ANF",
  "departureDateFrom": "2026-09-15",
  "adults": 1,
  "maxFlights": 50
}
```

Add `departureDateTo` to scan a range of days. Set `includeReturn` to `true` with `returnDateFrom` to pull the return leg in the same run. Leave the dates empty and the actor defaults to a date about 30 days out.

### Input reference

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `origin` | string | yes | `SCL` | 3-letter IATA code of the departure airport, for example `SCL` (Santiago), `IQQ` (Iquique). |
| `destination` | string | yes | `ANF` | 3-letter IATA code of the arrival airport, for example `ANF` (Antofagasta). |
| `departureDateFrom` | string | no | ~30 days out | First outbound date to scan (`YYYY-MM-DD`). Defaults to about 30 days out if empty or in the past. |
| `departureDateTo` | string | no | = from | Last outbound date to scan, inclusive. Defaults to `departureDateFrom` for a single day. |
| `adults` | integer | no | `1` | Number of adult passengers (1 to 9). Affects fare availability. |
| `homemarket` | string | no | `CL` | Sky Airline point of sale that sets the default currency: `CL` (Chile, CLP), `PE` (Peru), or another market Sky sells in. |
| `collapseFares` | boolean | no | `false` | OFF: every fare brand of a flight is its own row. ON: one row per flight with all fares nested in `fareOptions` and `price` = lowest. |
| `includeReturn` | boolean | no | `false` | Also scan the return leg (destination to origin) tagged `direction: "inbound"`. |
| `returnDateFrom` | string | no | (empty) | First return date to scan (used only when `includeReturn` is on). |
| `returnDateTo` | string | no | (empty) | Last return date to scan, inclusive (used only when `includeReturn` is on). |
| `maxFlights` | integer | no | `100` | Maximum fare rows to return (billed results). Free Apify plans are capped at 10 per run. |
| `proxyConfiguration` | object | no | Residential CL | Standard Apify proxy configuration. Residential proxies with country `CL` are recommended. |

### Output reference

One dataset item per fare (or per flight when `collapseFares` is on). Types: `string`, `number`, `boolean`, `object[]`, or `null` when the source value is absent.

| Field | Type | Description |
|---|---|---|
| `origin` | string | Origin airport IATA code. |
| `originName` | string | Origin airport as returned by the source. |
| `destination` | string | Destination airport IATA code. |
| `destinationName` | string | Destination airport as returned by the source. |
| `departureDateTime` | string | Local departure date and time (ISO 8601, no offset). |
| `arrivalDateTime` | string | Local arrival date and time. |
| `flightNumber` | string | Flight number(s), for example `H2 270`. Joined with `/` for connections. |
| `fareType` | string | Fare brand name: `Basic`, `Light`, `Standard`, `Max`, `Max Flex`, or `Full`. `null` in collapsed mode. |
| `cabin` | string | Cabin class, for example `Economy`. |
| `price` | number | Total price for this fare including taxes, in `currency`. |
| `publishedPrice` | number | Price before discount when the source provides one, else `null`. |
| `currency` | string | ISO currency code of the point of sale, for example `CLP`. |
| `baseFare` | number | Fare amount before taxes. |
| `taxes` | number | Tax amount included in `price`. |
| `seatsLeft` | number | Seats remaining on the flight, or `null`. |
| `lowAvailability` | boolean | `true` when the source flags the flight as low availability. |
| `duration` | number | Total trip duration in minutes. |
| `stops` | number | Number of stops. `0` for a direct flight. |
| `operatedBy` | string | Operating carrier, for example `Sky Airline (H2)`. |
| `soldOut` | boolean | `true` when this fare is not currently sellable. |
| `fareClass` | string | Sky fare brand code, for example `ED` (Standard). |
| `fareKey` | string | Fare basis code, for example `XED00000`. |
| `fareOptions` | object\[] | In collapsed mode, all fare brands for the flight with their prices. `null` otherwise. |
| `segments` | object\[] | Per-segment detail: flight number, origin, destination, times, duration, cabin, booking class, fare basis, equipment. |
| `equipment` | string | Aircraft type code, for example `32Q`. |
| `flightKey` | number | Sky shopping-basket hash for this flight, useful as a stable key. |
| `direction` | string | `outbound` or `inbound`. |
| `isLowestFareOfDay` | boolean | `true` when this fare is the lowest sellable price across all flights that day. |
| `punctualityRate` | number | On-time performance rate when the source provides it, else `null`. |
| `source` | string | Always `availability` (live priced availability). |
| `deepLink` | string | Link to start a booking for this route and date on Sky Airline. |
| `observedAt` | string | ISO 8601 timestamp of when the record was collected. |
| `error` | string | `null` on success. On a failed day, a single item with a populated `error` field is written instead. |

### Example output record

Real record from a live run (input `{"origin":"SCL","destination":"ANF","departureDateFrom":"2026-09-22","includeReturn":true,"returnDateFrom":"2026-09-22"}`), showing an inbound fare:

```json
{
  "origin": "ANF",
  "originName": "ANF",
  "destination": "SCL",
  "destinationName": "SCL",
  "departureDateTime": "2026-09-22T08:50:00",
  "arrivalDateTime": "2026-09-22T10:43:00",
  "flightNumber": "H2 271",
  "fareType": "Basic",
  "cabin": "Economy",
  "price": 54024,
  "publishedPrice": null,
  "currency": "CLP",
  "baseFare": 45990,
  "taxes": 8034,
  "seatsLeft": 9,
  "lowAvailability": false,
  "duration": 113,
  "stops": 0,
  "operatedBy": "Sky Airline (H2)",
  "soldOut": false,
  "fareClass": "ZO",
  "fareKey": "XZO00000",
  "fareOptions": null,
  "equipment": "32Q",
  "flightKey": -451655526,
  "direction": "inbound",
  "isLowestFareOfDay": true,
  "source": "availability",
  "observedAt": "2026-08-16T03:22:31.000Z",
  "error": null
}
```

### Run via API and CLI

Start a run and wait for it to finish, then read the dataset. Replace `<TOKEN>` with your Apify API token.

Run synchronously and get dataset items in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~skyairline-flights-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"origin":"SCL","destination":"ANF","departureDateFrom":"2026-09-15","departureDateTo":"2026-09-17","maxFlights":100}'
```

Start a run asynchronously:

```bash
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~skyairline-flights-scraper/runs?token=<TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"origin":"SCL","destination":"IQQ","includeReturn":true,"returnDateFrom":"2026-09-22"}'
```

Apify CLI:

```bash
apify call scrapers_lat/skyairline-flights-scraper \
  --input '{"origin":"SCL","destination":"ANF","collapseFares":true}'
```

### Fetch results

Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing `format`:

```bash
## JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"

## CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"

## Paginate large datasets
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"
```

`<DATASET_ID>` is returned as `defaultDatasetId` in the run object. Use `offset` and `limit` to page through large result sets. `clean=true` drops empty and internal fields.

### Billing and limits

- **Pay per result.** You are charged per record returned (`result` event). See the [pricing tab](https://apify.com/scrapers_lat/skyairline-flights-scraper/pricing) for the current per-result price.
- **No charge on failure.** If a day errors, the actor writes a single item with a populated `error` field and does not charge for it. Empty runs cost nothing.
- **Spend cap respected.** Set `maxTotalChargeUsd` on the run; once reached, the actor stops emitting and charging further billable results.
- **Free Apify plans** are capped at 10 records per run. Upgrade for a higher `maxFlights`.
- **Date range ceiling.** Each leg scans up to 60 days per run. For longer windows, split the work across runs.

### FAQ and troubleshooting

**A run returned 0 records. Why?**
Sky may not operate that route on the requested day, or all flights were sold out. Try a different date or a route Sky flies. Zero-result runs are not charged.

**Why are there several rows for the same flight?**
By default each fare brand is its own row so you can compare the full price ladder (Basic, Light, Standard, Max, Max Flex, Full). Set `collapseFares` to `true` for one row per flight with the fares nested in `fareOptions`.

**How do I get the return leg?**
Set `includeReturn` to `true` and provide `returnDateFrom` (and optionally `returnDateTo`). Return flights come back tagged `direction: "inbound"`.

**What currency are prices in?**
The currency of the point of sale set by `homemarket`. `CL` returns Chilean pesos (CLP). Prices are split into `baseFare` and `taxes`, and `price` is the total.

**Does it return a seat map?**
No. Sky's seat map requires a committed booking session and is not exposed on the public availability step, so this actor does not attempt it.

**Is this an official Sky Airline tool?**
No. This actor is independent and has no affiliation with Sky Airline. It reads only data that is publicly available through Sky Airline's retail booking site.

### Related scrapers

- [Ryanair Flights Scraper](https://apify.com/scrapers_lat/ryanair-flights-scraper): every Ryanair flight, fare and schedule between two airports.
- [Frontier Flights Scraper](https://apify.com/scrapers_lat/frontier-flights-scraper): every Frontier Airlines flight and fare family by date.
- [Wizz Air Flights Scraper](https://apify.com/scrapers_lat/wizzair-flights-scraper): Wizz Air flights, fares and schedules.

### More scrapers at scrapers.lat

Built and maintained by [scrapers.lat](https://scrapers.lat), where we publish scrapers for US and Latin American public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at [scrapers.lat](https://scrapers.lat).

***

> Independent tool, not affiliated with Sky Airline. Accesses only publicly available Sky Airline retail data.

# Actor input Schema

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

3-letter IATA code of the departure airport, e.g. SCL (Santiago).

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

3-letter IATA code of the arrival airport, e.g. ANF (Antofagasta).

## `departureDateFrom` (type: `string`):

First outbound date to scan. Defaults to ~30 days out if empty or in the past.

## `departureDateTo` (type: `string`):

Last outbound date to scan (inclusive). Defaults to the 'from' date for a single day.

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

Number of adult passengers (1-9). Affects fare availability.

## `homemarket` (type: `string`):

Sky Airline point of sale that sets the default currency. CL (Chile, CLP), PE (Peru), or another market Sky sells in. Defaults to CL.

## `collapseFares` (type: `boolean`):

OFF (default): every fare brand of a flight is its own row (fareType + cabin differentiate). ON: one row per flight with all fares nested in fareOptions and price = lowest.

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

Also scan the return leg (destination -> origin) tagged direction 'inbound'.

## `returnDateFrom` (type: `string`):

First return date to scan (used only when Include return is on).

## `returnDateTo` (type: `string`):

Last return date to scan, inclusive (used only when Include return is on).

## `maxFlights` (type: `integer`):

Maximum number of fare rows to return (billed results). Free Apify plans are capped at 10 per run.

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

Proxy settings. Use Apify RESIDENTIAL proxies with country CL for best reliability.

## Actor input object example

```json
{
  "origin": "SCL",
  "destination": "ANF",
  "departureDateFrom": "2026-09-15",
  "departureDateTo": "2026-09-17",
  "adults": 1,
  "homemarket": "CL",
  "collapseFares": false,
  "includeReturn": false,
  "returnDateFrom": "2026-09-22",
  "returnDateTo": "2026-09-24",
  "maxFlights": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CL"
  }
}
```

# 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": "SCL",
    "destination": "ANF",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "CL"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/skyairline-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": "SCL",
    "destination": "ANF",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "CL",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/skyairline-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": "SCL",
  "destination": "ANF",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CL"
  }
}' |
apify call scrapers_lat/skyairline-flights-scraper --silent --output-dataset

```

## MCP server setup

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