# flynas Flight Fares Scraper – Flights Tracker (`boring_internet_explorer/flynas-scraper`) Actor

Extract live flynas flight fares and prices in SAR from Saudi Arabia, UAE, Kuwait, Bahrain, Qatar, Oman, Egypt and more. Search by origin and destination airport, journey type, cabin class, departure dates and max price. Get routes, dates, price and last-seen age.

- **URL**: https://apify.com/boring_internet_explorer/flynas-scraper.md
- **Developed by:** [Boring Internet Explorer](https://apify.com/boring_internet_explorer) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% 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

## ✈️ flynas فلاي ناس Flight Fares Scraper — Saudi Arabia, GCC, Middle East, Africa & Asia

### ❓ What is this scraper?

This scraper extracts live flight fares from **flynas (فلاي ناس)** — Saudi Arabia's low-cost carrier operating domestic routes plus international routes across the GCC, Middle East, Africa, Asia and Europe. Fares are returned in SAR.

Every record is a priced fare for a specific route and departure date, with journey type, cabin class and how recently the price was seen — ready for price monitoring, route analysis and travel data products.

***

### ⚡ Why use this scraper?

- 📉 **Fare monitoring** — track flynas prices on any route over time
- 🗺️ **Route intelligence** — see which destinations flynas serves from each Saudi and regional airport
- 💸 **Deal hunting** — sort by price and cap the budget to find the cheapest flights
- 🧳 **Travel apps & aggregators** — feed fresh fare data into your product
- 📊 **Market research** — compare low-cost carrier pricing across Saudi Arabia, UAE, Egypt and beyond
- 🗓️ **Seasonal analysis** — filter by departure date range to study peak and off-peak pricing

***

### 🧭 Input

Search with dedicated fields — no URLs needed.

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `origins` | array | `["RUH"]` | 3-letter IATA codes of departure airports (required). |
| `destinations` | array | `["JED"]` | 3-letter IATA codes of arrival airports. Leave empty for fares to any destination. |
| `journeyType` | string | — | `ONE_WAY` or `ROUND_TRIP`. |
| `travelClass` | string | — | `ECONOMY` or `BUSINESS`. |
| `departureDateFrom` | string | — | Earliest departure date (`YYYY-MM-DD`). |
| `departureDateTo` | string | — | Latest departure date (`YYYY-MM-DD`). |
| `maxPrice` | integer | — | Only fares at or below this price (SAR). |
| `sorting` | string | `DEFAULT` | `DEFAULT`, `PRICE_ASC` or `PRICE_DESC`. |
| `maxItems` | integer | `50` | Maximum fares per origin/destination pair (up to 200 per pair). With no destination set, it applies to each origin across all destinations. |
| `proxyConfiguration` | object | residential (prefilled) | Proxy settings from Apify. A residential proxy is recommended. |

Every origin is combined with every destination, so `origins: ["RUH", "JED"]` with `destinations: ["DMM", "CAI"]` runs four searches.

### Example input

```json
{
  "origins": ["RUH"],
  "destinations": ["JED"],
  "maxItems": 50,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

### 📦 Output

Each fare is stored as one record in the default dataset.

### Example output

```json
[
  {
    "scrapedAt": "2026-10-07T14:07:36.462Z",
    "url": "https://booking.flynas.com/#/booking/search-redirect?promoCode=&origin=RUH&origin1=undefined&destination=JED&destination1=0&currency=SAR&departureDate=2026-12-08&adultCount=1&childCount=0&infantCount=0&culture=en-US&specialDiscount=NONE&naSmiles=false&flightMode=oneway",
    "title": "Riyadh (RUH) to Jeddah (JED)",
    "price": 239,
    "currency": "SAR",
    "country": "Saudi Arabia",
    "market": "sa",
    "priceFormatted": "SAR239.00",
    "priceUsd": 63.74251,
    "originAirportCode": "RUH",
    "originCity": "Riyadh",
    "destinationAirportCode": "JED",
    "destinationCity": "Jeddah",
    "departureDate": "2026-12-08",
    "returnDate": null,
    "departureTime": null,
    "returnTime": null,
    "journeyType": "ONE_WAY",
    "travelClass": "ECONOMY",
    "brandedFareClass": null,
    "stops": null,
    "layovers": null,
    "flightDurationMinutes": null,
    "promoCode": null,
    "priceLastSeen": "7 hours",
    "destinationImage": "https://assets.airtrfx.com/media-em/xy/cities/hero-image-Jeddah.jpg"
  }
]
```

### Field reference

| Field | Type | Description |
| --- | --- | --- |
| `scrapedAt` | string | ISO 8601 timestamp of the scrape. |
| `url` | string | Booking link for this exact fare (route, date and journey type). |
| `title` | string | Route, e.g. "Riyadh (RUH) to Jeddah (JED)". |
| `price` | number | Fare total as a number. |
| `currency` | string | Currency code (SAR). |
| `country` | string | Market country (Saudi Arabia). |
| `market` | string | Market code (sa). |
| `priceFormatted` | string | Price as displayed on the site. |
| `priceUsd` | number | Fare converted to USD. |
| `originAirportCode` / `originCity` | string | Departure airport and city. |
| `destinationAirportCode` / `destinationCity` | string | Arrival airport and city. |
| `departureDate` / `returnDate` | string | Dates in `YYYY-MM-DD`. |
| `departureTime` / `returnTime` | string | Times when available. |
| `journeyType` | string | `ONE_WAY` or `ROUND_TRIP`. |
| `travelClass` | string | Cabin class. |
| `brandedFareClass` | string | Branded fare family when available. |
| `stops` | number | Number of stops when available. |
| `layovers` | array | Layover airport codes when available. |
| `flightDurationMinutes` | number | Duration when available. |
| `promoCode` | string | Promo code attached to the fare. |
| `priceLastSeen` | string | How long ago the fare was observed, e.g. "7 hours". |
| `destinationImage` | string | Destination image URL. |

### ❓ FAQ

**Do I need flynas URLs?** No. Use the origin and destination airport fields.

**Which airports are supported?** Any airport flynas operates from. Unknown codes are skipped with a warning.

**How fresh are the prices?** Fares are observed searches collected within roughly the last 48 hours; `priceLastSeen` shows the age of each one. They are indicative and may differ at booking time.

**How many fares can I get?** Up to 200 per origin/destination search.

**Does it support Arabic?** Output is English-language.

**Does it need a proxy?** A residential proxy is recommended.

**Can I get round-trip fares?** Yes — set `journeyType` to `ROUND_TRIP`.

### 🔗 Want More Data?

- [flyadeal Flight Fares Scraper](https://apify.com/boring_internet_explorer/flyadeal-scraper) — Saudi low-cost carrier fares
- [Riyadh Air Flights Scraper](https://apify.com/boring_internet_explorer/riyadh-air-scraper) — fares for all Riyadh Air routes
- [flydubai Fare Radar](https://apify.com/boring_internet_explorer/flydubai-flights-scraper) — compare and track flydubai prices
- [All scrapers by boring_internet_explorer](https://apify.com/boring_internet_explorer)

### 🛠️ 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`):

3-letter IATA codes of the departure airports, e.g. RUH, JED, DMM.

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

3-letter IATA codes of the arrival airports. Leave empty to get fares to any destination.

## `journeyType` (type: `string`):

One-way or round-trip fares. Leave empty for the default fares.

## `travelClass` (type: `string`):

Filter fares by cabin class. Leave empty for the default fares.

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

Earliest departure date, format YYYY-MM-DD.

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

Latest departure date, format YYYY-MM-DD.

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

Only return fares at or below this price.

## `sorting` (type: `string`):

Order of the returned fares.

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

Maximum number of fares per origin/destination search. The source returns at most 200 fares per search.

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

Residential proxy recommended: the site is protected by a bot check that blocks datacenter IPs when the session is refreshed (about once every 2 days).

## Actor input object example

```json
{
  "origins": [
    "RUH"
  ],
  "destinations": [
    "JED"
  ],
  "sorting": "DEFAULT",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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": [
        "RUH"
    ],
    "destinations": [
        "JED"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("boring_internet_explorer/flynas-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": ["RUH"],
    "destinations": ["JED"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("boring_internet_explorer/flynas-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": [
    "RUH"
  ],
  "destinations": [
    "JED"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call boring_internet_explorer/flynas-scraper --silent --output-dataset

```

## MCP server setup

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