Skyscanner Flights API SDK — Live Airfare Search & Fare Watch (Python / Node.js / n8n)
Zero-dependency Python & Node.js (ESM) SDK + CLI Fare Watch + n8n flight deal alert workflow backed by jistudio/skyscanner-flights-scraper on Apify Cloud ($0 start fee, Pay-Per-Event from $0.56 / 1,000 results with Store discounts).
- Live multi-airline fares: Direct & connecting flights, airlines, durations, layovers, cabin classes (
economy, premium_economy, business, first), currencies, and booking provider links.
- One-way & round-trip support with flexible IATA airport codes (
SGN, HAN, SIN, NRT, LAX, LHR, JFK, etc.).
- Zero cookies, zero browser setup, zero pip/npm dependencies.
How It Works
Quickstart
1. Python SDK (Zero Dependencies)
export APIFY_TOKEN="YOUR_APIFY_API_TOKEN"
python examples/fare_watch.py SGN SIN 2026-12-20
from python.skyscanner_sdk import SkyscannerClient
client = SkyscannerClient(apify_token="YOUR_APIFY_API_TOKEN")
flights = client.search_flights(
origin="SGN",
destination="SIN",
depart_date="2026-12-20",
adults=1,
currency="USD",
max_results=10,
)
for f in flights[:3]:
print(f.get("airline"), "|", f.get("price"), f.get("currency"), "| Stops:", f.get("stops"))
2. Node.js 18+ (Zero Dependencies)
import { SkyscannerClient } from "./node/index.mjs";
const client = new SkyscannerClient(process.env.APIFY_TOKEN);
const flights = await client.searchFlights({ origin: "LAX", destination: "NRT", departDate: "2026-12-20", maxResults: 5 });
console.log(flights);
JiStudio Ecosystem