API Reference & SDK Quickstart
Build high-throughput flight applications with our REST API. Average response latency is under 15ms.
Pass your secret token in HTTP headers as x-api-key: pnr_live_.... You can copy or rotate your key anytime in your Dashboard.
Test requests instantly using the public playground or pass x-api-key: DEMO_SANDBOX_KEY for automated staging tests.
Generate enriched JSON payloads with geo-coordinates, high-res airline vector logos, RFC 5545 iCalendar (.ics), and printable PDF itineraries.
Comprehensive REST API Reference
Inject your live API key to customize ready-to-execute cURL, Node.js, Python, PHP, and Go snippets in real time.
https://pnr-api.appzone.inConverts raw cryptic GDS text (Amadeus, Sabre, Galileo) into enriched JSON itineraries with airport metadata, carrier logos, spherical Haversine distances, and passenger lists in <15ms.
curl -X POST "https://pnr-api.appzone.in/api/v1/pnr/convert" \
-H "Content-Type: application/json" \
-H "x-api-key: pnr_live_sandbox_key" \
-d '{
"pnr": "1.1DOE/JOHN MR\n1 AI 101 Y 15DEC DELBOM HK1 0700 0915 E*\n2 6E 404 K 16DEC BOMBLR HK1 1430 1615 E*"
}'{
"status": true,
"flightData": {
"names": [
"DOE/JOHN MR"
],
"flights": [
{
"flt": {
"flightNo": "AI 101",
"iatacode": "AI",
"name": "Air India",
"cabin": "Economy",
"class": "Y",
"departure": {
"string": "2026-12-15 07:00",
"time12": "07:00 AM",
"day": "Tue"
},
"arrival": {
"string": "2026-12-15 09:15",
"time12": "09:15 AM",
"day": "Tue"
},
"duration": {
"hours": 2,
"minutes": 15,
"text": "2h 15m"
},
"distance": {
"km": 1148,
"miles": 713
}
},
"from": {
"city": "New Delhi",
"airport": "Indira Gandhi International Airport",
"airport_code": "DEL",
"country": "India"
},
"to": {
"city": "Mumbai",
"airport": "Chhatrapati Shivaji Maharaj International Airport",
"airport_code": "BOM",
"country": "India"
}
}
],
"meta": {
"pnr": "6ABCDE"
},
"total": 1
}
}