# Flight Fare Comparison: Every Seller, Fare and Booking Link (`bowmark-ai/flight-fare-comparison`) Actor

Give a route and date (and optionally the airline and departure time) and get every seller offering that flight: airline and travel agencies, each fare type with its price and a direct booking link, cheapest first.

- **URL**: https://apify.com/bowmark-ai/flight-fare-comparison.md
- **Developed by:** [Bowmark AI](https://apify.com/bowmark-ai) (community)
- **Categories:** Travel, MCP servers, Agents
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $175.00 / 1,000 flight compareds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### What does Flight Fare Comparison do?

Flight Fare Comparison takes **one flight** (a route and date, and if you like the airline and departure time) and lists **every seller offering it**: the airline itself and the online travel agencies, each fare type they sell (basic, saver, main, flex), its price and a direct link to book that exact fare. Cheapest first.

A normal flight search tells you the cheapest price for a flight. This tells you who is selling it, for how much, and what the cheaper fare actually is.

It never books, buys or signs in anywhere. It only reads public fare listings.

### Why use it?

- **You already picked the flight.** Now you want to know whether the airline or an agency sells it for less, and which fare type that price is.
- **Fare spread at a glance.** Each row has the cheapest and highest fare for the flight and how many sellers carry it, so you can see in one table where the spread is wide.
- **AI agents.** Connect it as an MCP server so an agent planning a trip can hand the traveller a real booking link for the cheapest seller.

### How it works

For each flight:

1. It searches the route and date on **Google Flights, Kayak, Momondo and Cheapflights** and finds the flight you described. With no airline or time, it takes the cheapest flight with the fewest stops.
2. It opens that flight's full fare list on the site that showed it and returns every seller and fare type, cheapest first.

If the same flight is also listed on another site, or a site did not answer in time, the row's `warnings` says so, so a partial list never looks complete.

### Input

| Field | Required | Description |
|---|---|---|
| `flights` | Yes | One entry per flight. Each needs `from` and `to` airport codes (like `JFK`) and a `depart` date (`YYYY-MM-DD`, or `"+30"` for 30 days from today). Optional: `return` for a round trip, `airline` (like `"Alaska"`), `departTime` (like `"7:00 AM"` or `"19:05"`, matched within 30 minutes), `cabin` (`economy`, `business`, `first`). A line like `"JFK LAX 2026-12-10"` works too. |
| `maxConcurrency` | No | Flights compared at once, 1 to 8. Default `4`. |

Example input:

```json
{
  "flights": [
    { "from": "SEA", "to": "DEN", "depart": "2026-12-03", "airline": "Alaska" },
    { "from": "JFK", "to": "LAX", "depart": "+30", "departTime": "9:00 AM" },
    "ORD MIA 2026-11-27"
  ]
}
```

### Output

One dataset row per flight. Download it as JSON, CSV, Excel or HTML, or read it through the Apify API.

```json
{
  "from": "SEA",
  "to": "DEN",
  "depart": "2026-12-03",
  "airline": "Alaska",
  "status": "found",
  "airlines": ["Alaska"],
  "stops": 1,
  "departTime": "9:12 AM",
  "arriveTime": "7:26 PM",
  "durationMinutes": 554,
  "comparedOn": "Momondo",
  "cheapestSeller": "JustAirTicket",
  "cheapestFareType": "Saver",
  "cheapestPrice": 145,
  "highestPrice": 779,
  "currency": "USD",
  "cheapestBookingUrl": "https://www.momondo.com/book/flight?code=...",
  "sellerCount": 14,
  "optionCount": 34,
  "options": [
    { "seller": "JustAirTicket", "fareType": "Saver", "price": 145, "currency": "USD", "bookingUrl": "https://www.momondo.com/book/flight?code=..." },
    { "seller": "Expedia", "fareType": "Saver", "price": 169, "currency": "USD", "bookingUrl": "https://www.momondo.com/book/flight?code=..." }
  ],
  "flightUrl": "https://www.momondo.com/flight-search/SEA-DEN/2026-12-03?sort=price_a",
  "warnings": [],
  "error": null
}
```

`status` is `found`, `not_found` or `error`. `not_found` means no priced flight on that route and date matched what you gave (for example an airline that does not fly it that day), which is a real answer. For a round trip, times describe the outbound flight.

### Pricing

**$0.175 per flight**, with no monthly fee. One charge covers the search and the full seller list.

- A flight that comes back `not_found` is charged, because the route was still searched on all four sites.
- A flight that fails with an error is not charged.
- Set a spending limit on the run and the Actor stops cleanly when it reaches it.
- On Apify's free plan, each run processes the first 10 flights (10 tool calls per MCP session). Any paid Apify plan removes the limit.

### Use it as an MCP server

This Actor also runs as an MCP server with one tool, `compare_flight_fares`. Point any MCP client (Claude, Cursor, ChatGPT, your own agent) at:

```
https://bowmark-ai--flight-fare-comparison.apify.actor/mcp
```

with your Apify API token as a bearer token. Each tool call is billed like one flight in a normal run.

### Limits and good practice

- It reads only **public** fare listings. It never signs in anywhere and never changes anything.
- The seller list comes from the one site that showed the flight. Sellers listed only on another site are not included, and the row says which other sites carry it.
- Baggage allowances are not included yet. Check the fare on the booking page before you buy.
- Premium economy is not supported yet. Flights asking for it are skipped rather than charged.
- Each flight takes about 40 to 60 seconds. Use airport codes rather than city names, and dates in the future.

### Questions or a wrong result?

Open an issue on the **Issues** tab with the input you used and what you expected. We read every one.

# Actor input Schema

## `flights` (type: `array`):

One entry per flight: from and to airport codes and a depart date, plus an optional return date, airline, departTime and cabin (economy, business or first). Dates can be "+30" for 30 days from today. Give the airline and departure time to compare one specific flight; leave them out to compare the cheapest flight that day. Up to 500 per run (10 on Apify's free plan).

## `maxConcurrency` (type: `integer`):

How many flights are compared in parallel.

## Actor input object example

```json
{
  "flights": [
    {
      "from": "JFK",
      "to": "LAX",
      "depart": "+30"
    }
  ],
  "maxConcurrency": 4
}
```

# Actor output Schema

## `results` (type: `string`):

One row per flight: every seller and fare type with its price and booking link, cheapest first.

# 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 = {
    "flights": [
        {
            "from": "JFK",
            "to": "LAX",
            "depart": "+30"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bowmark-ai/flight-fare-comparison").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 = { "flights": [{
            "from": "JFK",
            "to": "LAX",
            "depart": "+30",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("bowmark-ai/flight-fare-comparison").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 '{
  "flights": [
    {
      "from": "JFK",
      "to": "LAX",
      "depart": "+30"
    }
  ]
}' |
apify call bowmark-ai/flight-fare-comparison --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bowmark-ai/flight-fare-comparison"
        }
    }
}
```

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/N9b3Utuo6HdZfqGbM/builds/hLMUmbctWmrmrNYtx/openapi.json
