# Flight Tracker Actor live (`syntellect_ai/flight-tracker-actor`) Actor

with the Flight Tracker Actor live you can Track live flights, monitor airports, and gather aviation data using the AviationStack API.

- **URL**: https://apify.com/syntellect_ai/flight-tracker-actor.md
- **Developed by:** [christopher athans crow](https://apify.com/syntellect_ai) (community)
- **Categories:** Travel, Other, Developer tools
- **Security:** Limited permissions
- **Stats:** 4 total users, 0 monthly users, 58.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 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/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

## Flight Tracker Actor

Track live flights, monitor airports, and gather aviation data using the AviationStack API.

### Features

- **Track Specific Flights**: Monitor individual flights by flight number
- **Airport Monitoring**: Track all departures or arrivals from any airport
- **Route Search**: Find all flights on specific routes
- **Airport Information**: Get detailed airport data
- **Airline Information**: Retrieve airline details and fleet information
- **Route Information**: Query airline route networks

### Input Parameters

#### Required

- **apiKey** (string): Your AviationStack API key ([Get one here](https://aviationstack.com))
- **searchType** (string): Type of search to perform

#### Optional

- **flightIata** (string): Flight IATA code (e.g., "AA100")
- **airportIata** (string): Airport IATA code (e.g., "JFK")
- **depIata** (string): Departure airport code
- **arrIata** (string): Arrival airport code
- **airlineIata** (string): Airline IATA code (e.g., "AA")
- **flightDate** (string): Date in YYYY-MM-DD format
- **flightStatus** (string): Filter by status (scheduled, active, landed, cancelled, diverted)
- **limit** (integer): Maximum results (1-100, default: 10)

### Search Types

1. **flight**: Track a specific flight by flight number
2. **airport_departures**: Monitor all departures from an airport
3. **airport_arrivals**: Monitor all arrivals to an airport
4. **route**: Search flights on a specific route
5. **airport_info**: Get airport information
6. **airline_info**: Get airline information
7. **routes**: Get route information

### Example Usage

#### Track a Specific Flight

```json
{
  "apiKey": "your_api_key",
  "searchType": "flight",
  "flightIata": "AA100",
  "flightDate": "2025-11-14"
}
```

#### Monitor Airport Departures

```json
{
  "apiKey": "your_api_key",
  "searchType": "airport_departures",
  "airportIata": "JFK",
  "limit": 20
}
```

#### Search Route

```json
{
  "apiKey": "your_api_key",
  "searchType": "route",
  "depIata": "JFK",
  "arrIata": "LAX",
  "limit": 10
}
```

#### Get Airport Info

```json
{
  "apiKey": "your_api_key",
  "searchType": "airport_info",
  "airportIata": "LAX"
}
```

### Output

The actor stores results in the default dataset with the following information:

#### For Flights

- Flight number and airline
- Departure/arrival airports
- Scheduled, estimated, and actual times
- Flight status
- Terminal and gate information
- Live tracking data (when available):
  - Position (latitude/longitude)
  - Altitude
  - Speed
  - Heading
  - Ground status

#### For Airports/Airlines

- Complete airport/airline details
- Location and timezone information
- Contact details
- Fleet information (for airlines)

### API Limitations

- **Free Tier**: 500 requests/month, historical data only
- **Paid Plans**: Real-time tracking, higher limits
- Check [AviationStack pricing](https://aviationstack.com/product) for details

### Use Cases

- **Flight Tracking Applications**: Build real-time flight tracking dashboards
- **Airport Operations**: Monitor airport traffic and delays
- **Travel Planning**: Track flight schedules and status
- **Data Collection**: Gather aviation data for analysis
- **ATC Simulations**: Create air traffic control training tools

### Integration with MCP Server

This actor can be used alongside the Flight Tracker MCP Server for enhanced data collection. The MCP server provides real-time access through Claude Desktop, while this actor enables batch processing and scheduled data collection.

### Notes

- Results are stored in Apify dataset
- Rate limits apply based on your AviationStack plan
- Historical data is always available (free tier)
- Real-time tracking requires paid AviationStack plan

### Support

- **AviationStack API**: https://aviationstack.com/documentation
- **Apify Platform**: https://docs.apify.com

### Author

SYNTELLECT_AI

### License

MIT

# Actor input Schema

## `apiKey` (type: `string`):

Your AviationStack API key (get one at https://aviationstack.com)

## `searchType` (type: `string`):

Type of flight data to retrieve

## `flightIata` (type: `string`):

Flight number in IATA format (e.g., AA100). Required for 'flight' search type.

## `airportIata` (type: `string`):

Airport code (e.g., JFK, LAX). Required for airport searches.

## `depIata` (type: `string`):

Departure airport IATA code for route searches

## `arrIata` (type: `string`):

Arrival airport IATA code for route searches

## `airlineIata` (type: `string`):

Airline code (e.g., AA for American Airlines)

## `flightDate` (type: `string`):

Date in YYYY-MM-DD format (optional, defaults to today)

## `flightStatus` (type: `string`):

Filter by flight status

## `limit` (type: `integer`):

Maximum number of results to return (1-100)

## Actor input object example

```json
{
  "searchType": "flight",
  "flightIata": "AA100",
  "airportIata": "JFK",
  "depIata": "JFK",
  "arrIata": "LAX",
  "airlineIata": "AA",
  "flightDate": "2025-11-14",
  "limit": 10
}
```

# 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("syntellect_ai/flight-tracker-actor").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("syntellect_ai/flight-tracker-actor").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 '{}' |
apify call syntellect_ai/flight-tracker-actor --silent --output-dataset

```

## MCP server setup

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

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/9O8l9trJ49V17IFDY/builds/dblu62iORraWCiSsb/openapi.json
