# Planefinder Flight Info Scraper (`romy/planefinder-flight-info-scraper`) Actor

Planefinder Flight Info Scraper looks up scheduled flight details from Planefinder's mobile API by IATA flight number — departure/arrival airports, seat count, freight capacity, service type, codeshares, and passenger cabin classes.

- **URL**: https://apify.com/romy/planefinder-flight-info-scraper.md
- **Developed by:** [Romy](https://apify.com/romy) (community)
- **Categories:** Travel, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 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.

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

### What does Planefinder Flight Info Scraper do?

**Planefinder Flight Info Scraper** looks up scheduled flight details from [Planefinder's](https://planefinder.net) mobile API by IATA flight number — departure/arrival airports, seat count, freight capacity, service type, codeshares, and passenger cabin classes.

Results are pushed directly to an Apify dataset.

### Why use Planefinder Flight Info Scraper?

- **Route/schedule research** — get structured details about a scheduled flight without scraping a booking site.
- **Codeshare mapping** — see every codeshare flight number operating the same physical flight.
- **Capacity analysis** — compare seat counts and freight capacity across routes/aircraft.

### How to use Planefinder Flight Info Scraper

1. Open the Actor and click **Try for free**.
2. In the **Input** tab, enter one or more IATA flight numbers.
3. Click **Start** and wait for the run to finish.
4. Download results from the **Output** tab in JSON, CSV, or Excel format.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `flight_numbers` | array | IATA flight numbers (e.g. `["GA401"]`) |

```json
{
    "flight_numbers": ["GA401"]
}
```

### Output

Each item represents one flight.

```json
{
    "flightNumber": { "carrier": "GA", "flightNumber": 401 },
    "departureAirportIATA": "DPS",
    "arrivalAirportIATA": "CGK",
    "freightCapacity": 62.8,
    "freightClass": null,
    "serviceType": "Passenger",
    "seats": 162,
    "daysOfOperation": "1",
    "codeshares": [
        { "carrier": "EY", "flightNumber": 7104 },
        { "carrier": "KE", "flightNumber": 5636 }
    ],
    "passengerClasses": ["economy", "business", "shuttle", "premium-economy"],
    "query_flight_number": "GA401"
}
```

### Data table

| Field | Description |
|-------|-------------|
| `query_flight_number` | The flight number you queried |
| `flightNumber` | `{carrier, flightNumber}` — the operating carrier's own flight number |
| `departureAirportIATA` / `arrivalAirportIATA` | Route airports |
| `freightCapacity` | Cargo capacity (tonnes) |
| `serviceType` | e.g. `Passenger`, `Cargo` |
| `seats` | Total passenger seat count |
| `daysOfOperation` | Days of the week this flight number operates (`1`=Monday...`7`=Sunday, digits concatenated) |
| `codeshares` | Array of `{carrier, flightNumber}` for every codeshare on this physical flight |
| `passengerClasses` | Cabin classes offered |

### Tips

- Flight numbers not found return no output item and a warning in the log, rather than failing the run.
- Combine with the Planefinder Flight Scraper (historical timeline) for actual-vs-scheduled comparison.

### Pricing

This Actor uses the **Pay Per Event** model: **$0.03 per result** (one flight looked up) in the dataset, plus a negligible one-time actor-start fee. Flight numbers that return no match are not charged.

### FAQ and support

This Actor uses Planefinder's public mobile API for informational purposes only. Do not use the data for commercial redistribution without verifying Planefinder's terms of service.

For bugs or feature requests, open an issue on the Actor's Issues tab. Custom scraping solutions are available on request.

# Actor input Schema

## `flight_numbers` (type: `array`):

IATA flight numbers to look up (e.g. \["GA401"])

## Actor input object example

```json
{
  "flight_numbers": [
    "GA401"
  ]
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("romy/planefinder-flight-info-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("romy/planefinder-flight-info-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call romy/planefinder-flight-info-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=romy/planefinder-flight-info-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/uRzQdWF7t9W5EROm9/builds/rkOULoqbDVxIjGvaN/openapi.json
