What You'll Learn from This Article
- You will learn the differences between THY NDC and Legacy XML APIs.
- You will understand Star Alliance code-share integration logic.
- You will learn OpenAPI usage for ancillary service sales.
Turkish Airlines API Integration
Turkish Airlines (THY) offers agency integration through modern APIs compliant with IATA NDC standard and traditional XML/SOAP services. The THY API enables global ticket sales with an extensive flight network and Star Alliance connections.
API Types
- NDC API: RESTful API in IATA New Distribution Capability standard with JSON communication.
- Legacy XML: Traditional SOAP/XML services for compatibility with existing systems.
- OpenAPI: Used for ancillary services like baggage, seat selection, and meals.
Integration Steps
- Agency Agreement: Obtain API access through an IATA agency contract with THY.
- API Portal Registration: Get sandbox access via the THY Developer Portal.
- Air Shopping: Flight availability and fare query service.
- Order Create: Create reservation and enter passenger details.
- Payment & Ticketing: Payment processing and automatic ticketing.
Conclusion
THY API integration provides the widest network access, especially for flights departing from Turkey. Transitioning to NDC standard offers richer content and dynamic pricing advantages.