Developer Documentation
Comprehensive airline reference for travelers, aviation enthusiasts, and industry professionals. Covers airlines worldwide with fleet data, route networks, flight corridors, cabin products, loyalty programs, hub profiles, alliances, rankings, industry briefs, interactive tools, glossary, and in-depth guides. 15 languages supported.
- Airlines with fleet size, founding year, alliance membership, IATA/ICAO codes
- Airports and countries with airline presence data
- Flights with route, duration, distance, and aircraft assignment
- Airline alliances (Star Alliance, oneworld, SkyTeam) with member lists
- Cabin products — business class, first class, premium economy reviews per airline
- Loyalty programs — earn/burn rates, elite tiers, partner airlines
- Hub profiles — connecting traffic, runway data, airline dominance
- Flight corridors — busiest routes with traffic volume and competition
- Industry briefs — structured analysis series on aviation topics
- Airline rankings by fleet size, passenger volume, on-time performance
- Side-by-side airline comparisons
- Interactive tools for travelers and analysts
- Aviation glossary with cross-references
- In-depth guides organized by series
Quick Start
curl -s "https://airlinefyi.com/api/v1/airlines/"
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/airlines/ | List all airlines |
| GET | /api/v1/airlines/{slug}/ | Airline detail with fleet |
| GET | /api/v1/countries/ | Countries with airline data |
| GET | /api/v1/airports/ | Airports |
| GET | /api/v1/flights/ | Flight records |
| GET | /api/v1/glossary/ | Aviation glossary terms |
| GET | /api/v1/guide-series/ | Guide series |
| GET | /api/v1/guides/ | Guide articles |
| GET | /api/v1/tools/ | Interactive tools |
| GET | /api/v1/cabin-products/ | Cabin product reviews |
| GET | /api/v1/loyalty-programs/ | Loyalty programs |
| GET | /api/v1/hub-profiles/ | Airline hub profiles |
| GET | /api/v1/flight-corridors/ | Flight corridors |
| GET | /api/v1/brief-series/ | Industry brief series |
| GET | /api/v1/industry-briefs/ | Industry brief articles |
| GET | /api/v1/faqs/ | FAQs |
| GET | /api/v1/stats/ | Site statistics |
| GET | /api/v1/search/?q={query} | Search across all content |
URL Patterns
Use these patterns to construct URLs programmatically:
/airlines/
Browse all airlines (e.g. /airlines/)
/airline/{slug}/
Airline detail with fleet and routes (e.g. /airline/korean-air/)
/airline/{slug}/routes/
Airline route network (e.g. /airline/korean-air/routes/)
/flight/{slug}/
Flight detail (e.g. /flight/ke-001/)
/countries/
Browse countries (e.g. /countries/)
/country/{code}/
Country airline presence (e.g. /country/us/)
/alliances/
Airline alliances (e.g. /alliances/)
/alliance/{slug}/
Alliance detail (e.g. /alliance/star-alliance/)
/rankings/
Airline rankings (e.g. /rankings/)
/ranking/{slug}/
Ranking detail (e.g. /ranking/largest-by-fleet/)
/cabins/
Cabin product reviews (e.g. /cabins/)
/cabin/{slug}/
Cabin product detail (e.g. /cabin/korean-air-prestige-class/)
/loyalty/
Loyalty programs (e.g. /loyalty/)
/loyalty/{slug}/
Loyalty program detail (e.g. /loyalty/skypass/)
/hubs/
Airline hub profiles (e.g. /hubs/)
/hub/{slug}/
Hub detail (e.g. /hub/incheon/)
/corridors/
Flight corridors (e.g. /corridors/)
/corridor/{slug}/
Corridor detail (e.g. /corridor/london-new-york/)
/briefs/
Industry briefs (e.g. /briefs/)
/compare/
Airline comparisons (e.g. /compare/)
/compare/{slug1}-vs-{slug2}/
Side-by-side comparison (e.g. /compare/korean-air-vs-asiana/)
/glossary/
Aviation glossary (e.g. /glossary/)
/glossary/{slug}/
Glossary term detail (e.g. /glossary/codeshare/)
/guides/
In-depth guides (e.g. /guides/)
/tools/
Interactive tools (e.g. /tools/)
/tool/{slug}/
Tool detail (e.g. /tool/fleet-tracker/)
/search/
Search airlines, routes, glossary (e.g. /search/?q=korean)
Response Format
All endpoints return JSON with pagination:
Example JSON response
{
"count": 636,
"next": "https://example.com/api/v1/items/?page=2",
"previous": null,
"results": [
{"slug": "example", "name": "Example Item", "...": "..."}
]
}
OpenAPI Specification
Full API schema available as OpenAPI 3.1.0 JSON. Import into Swagger UI, Postman, or any OpenAPI-compatible tool.
SDK Packages
PyPI
pip install airlinefyi
Airlines, fleets and route data API client
Embed Widget
Embed data cards on your site:
https://widget.airlinefyi.com
npm install airlinefyi-embed
Format Support
- Markdown endpoints: Append
.mdto any page URL for LLM-friendly markdown output. - Internationalization: Content available in 14 languages: ko, ja, zh-hans, es, fr, de, pt, ru, vi, tr, ar, hi, th, id.