Ticket Retrieve API Reference
POST |
ticket/tickets/getbylocator Base path: Use this base path if you have not yet received or not migrated to the new credentials from Travelport:
Use this base path after you have migrated to the new credentials from Travelport (using .net instead of .com):
|
Related Content: Ticketing Guide
The Ticket Retrieve request returns details for a single ticket for NDC, or for all tickets associated with a record locator for GDS.
The JSON Air APIs provide the following APIs to retrieve bookings and tickets:
-
To retrieve all booking details either by locator code or ticket number, use Reservation Retrieve.
-
To retrieve a list of all ticket numbers on a reservation, use Ticket List.
-
To retrieve details for all tickets associated with a record locator (GDS only), or for a single ticket for NDC, use Ticket Retrieve.
-
To return a list of documents on a booking, including tickets, invoices, MCOs, and EMDs, use Document List.
-
To return histories of up to six documents on with a booking, including tickets, invoices, MCOs, and EMDs, use Document History.
Request
As part of the request requirements, also see Authentication and Common Air Headers.
Query Parameters
None.
Request Body

Object |
Description |
Required/Optional |
---|---|---|
TicketQueryGetByLocator |
Top level object Includes Locator and TicketNumber. |
Required |
Locator |
Top level object for locator code. |
Required |
|
Send the reservation locator code. |
Required |
|
Send with the value Locator. |
Required |
TIcketNumber |
Top level object for ticket number. |
Required for NDC Do not send for GDS |
|
Send the ticket number. |
Required for NDC Do not send for GDS |
|
Send with the value NDC. |
Required for NDC Do not send for GDS |
Response
For each ticket returned, the response returns the reservation locator, traveler name, form of payment details, flight departure and arrival information, a price breakdown by PTC, and agency information. Not all details may be returned if not part of the booking record.

Object |
Description |
---|---|
TicketListResponse |
Top level object for response. Includes the Ticket object. |
Ticket |
Contains all ticketing details. May include the following:
Depending on the data available for the ticket, may include the Identifier, PersonName, ReservationLocator, FormOfPayment, TicketSegment, TicketPrice, PassengerTypeCode, ValidatingCarrier, PricingType, AgencyInfo, Restrictions, and FlightProduct objects. |
Identifier |
Contains the ticket number in the value attribute. |
PersonName |
Traveler name. Key value pairs:
|
ReservationLocator |
Reservation locator. Key value pairs:
|
FormOfPayment |
Top level object for the type of form of payment. Includes PaymentCard if payment was made by credit card. |
PaymentCard |
If payment was made by credit card, card details. Key value pairs:
Contains CardNumber object. |
CardNumber |
Returned if payment was made by credit card. Key value pairs:
|
TicketSegment |
Flight details for the flight or connecting flights making up one leg of the itinerary. Multiple instances are returned for itineraries with more than one leg, such as round-trip or multi-city. Key value pairs:
Includes Departure, Arrival, and TicketBaggage objects. |
Departure |
Key value pairs:
|
Arrival |
Key value pairs:
|
TicketBaggage |
Any baggage that is part of the ticket. |
TicketPrice |
Ticket price details. Key value pairs:
Includes CurrencyCode, Base, Taxes, and Total objects. |
CurrencyCode |
Indicates in the value attribute the code for the currency in which the amounts in TicketPrice are returned. |
Base |
The amount of the base fare. |
Taxes |
Top level object for individual Tax objects for each separate tax in the fare. |
Tax |
Each instance of Tax provides details on a specific tax:
|
Total |
Total of all taxes plus base fare. |
PassengerTypeCode |
PTC for the passenger on this ticket. |
ValidatingCarrier |
The IATA code for the validating carrier. |
PricingType |
This value is usually Auto Priced but could be Manual if back-end processing was required to issue the ticket. |
Restrictions |
Any fare restriction information returned by the carrier. |
AgencyInfo |
Details about the ticketing agency. Key value pairs:
|
FlightProduct |
Class of service and fare code details for each flight in the itinerary. Key value pairs:
|
Example Request

{
"TicketQueryGetByLocator": {
"Locator": {
"value": "7KPPBF",
"locatorType": "Locator"
},
"TicketNumber": [
{
"value": "0572317564374",
"contentSource": "NDC"
}
]
}
}
Example Response

{
"TicketListResponse": {
"@type": "TicketListResponse",
"Ticket": [
{
"@type": "Ticket",
"numberOfTicketsIssued": 1,
"Identifier": {
"value": "0572317692477"
},
"PersonName": {
"@type": "PersonName",
"Prefix": "MR",
"Given": "PX ADTTWO",
"Surname": "SRNMONE"
},
"ReservationLocator": {
"supplierCode": "1G",
"value": "7KTHMC"
},
"FormOfPayment": [
{
"value": "Cash"
}
],
"TicketSegment": [
{
"@type": "TicketSegment",
"sequence": 1,
"ClassOfService": "T",
"FareBasisCode": "TYS0BALA",
"Status": "OpenForUse",
"Carrier": "AF",
"Number": "1437",
"Departure": {
"@type": "Departure",
"location": "AMS",
"date": "2024-07-16",
"time": "15:45:00"
},
"Arrival": {
"@type": "Arrival",
"location": "CDG",
"date": "2024-07-16",
"time": "17:05:00"
},
"TicketBaggage": {
"@type": "TicketBaggage",
"quantity": 0
}
}
],
"TicketPrice": {
"@type": "TicketPrice",
"fareCalculation": "G",
"CurrencyCode": {
"value": "EUR"
},
"Base": 61,
"Taxes": {
"@type": "TaxesDetail",
"TotalTaxes": 72.28,
"Tax": [
{
"currencyCode": "EUR",
"taxCode": "YR",
"value": 2
},
{
"currencyCode": "EUR",
"taxCode": "CJ",
"value": 17.08
},
{
"currencyCode": "EUR",
"taxCode": "RN",
"value": 24.15
},
{
"currencyCode": "EUR",
"taxCode": "VV",
"value": 29.05
}
]
},
"Total": 133.28
},
"PassengerTypeCode": "ADT",
"ValidatingCarrier": "057",
"PricingType": "Auto Priced",
"AgencyInfo": {
"ticketedDate": "2024-06-26",
"name": "MARCO ET VASCO",
"ticketingPCC": "680I",
"code": "2026159",
"ticketingCountry": "FR",
"ticketingCity": "PAR"
}
}
]
}
}

{
"TicketListResponse": {
"@type": "TicketListResponse",
"TicketID": [
{
"@type": "TicketSummary",
"numberOfTicketsIssued": 1,
"Identifier": {
"value": "0019905359181"
},
"PersonName": {
"@type": "PersonName",
"Given": "NAVNEET SINGH MR",
"Surname": "NEGI ADT"
},
"ReservationLocator": {
"supplierCode": "1G",
"value": "CMT80R"
},
"FormOfPayment": [
{
"value": "Cash"
}
],
"TicketSegment": [
{
"@type": "TicketSegment",
"sequence": 1,
"ClassOfService": "S",
"FareBasisCode": "SLN0D4M5",
"Status": "OpenForUse",
"Carrier": "AA",
"Number": "6969",
"Departure": {
"@type": "Departure",
"location": "DEN",
"date": "2025-08-15",
"time": "18:35:00"
},
"Arrival": {
"@type": "Arrival",
"location": "LHR"
},
"FlightStatusCode": "OK",
"TicketBaggage": {
"@type": "TicketBaggage",
"quantity": 1,
"soldByPieceInd": true
}
}
],
"TicketPrice": {
"@type": "TicketPrice",
"fareCalculation": "G",
"fareBreakdown": "DEN AA LON 285.00 NUC285.00END ROE1.0",
"CurrencyCode": {
"decimalPlace": 2,
"value": "AUD"
},
"Base": 443.00,
"Taxes": {
"@type": "TaxesDetail",
"TaxInfo": [
{
"@type": "TaxInfo",
"TaxCode": "XF",
"Amount": 4.50,
"TaxBreakdown": [
{
"@type": "TaxBreakdown",
"AirportCode": "DEN",
"Amount": 4.50
}
]
}
],
"Tax": [
{
"currencyCode": "AUD",
"taxCode": "AY",
"decimalPlace": 2,
"value": 8.70
},
{
"currencyCode": "AUD",
"taxCode": "US",
"decimalPlace": 2,
"value": 35.60
},
{
"currencyCode": "AUD",
"taxCode": "YR",
"decimalPlace": 2,
"value": 279.30
},
{
"currencyCode": "AUD",
"taxCode": "XF",
"decimalPlace": 2,
"value": 7.00
}
]
},
"Total": 773.60,
"Commission": {
"@type": "CommissionPercent",
"Percent": 0.05
},
"FiledAmount": {
"currencyCode": "USD",
"decimalPlace": 2,
"value": 285.00
}
},
"PassengerTypeCode": "ADT",
"ValidatingCarrier": "001",
"PricingType": "Auto Priced",
"Restrictions": [
"[NONREF/RESTRICTIONS APPLY]"
],
"AgencyInfo": {
"ticketedDate": "2025-07-15",
"name": "GALILEO SOUTHERN CROSS",
"ticketingPCC": "XB7",
"code": "02345243",
"ticketingCountry": "AU",
"ticketingCity": "SYD"
}
},
{
"@type": "TicketSummary",
"numberOfTicketsIssued": 1,
"Identifier": {
"value": "0019905359182"
},
"PersonName": {
"@type": "PersonName",
"Given": "NAVNEET KUMAR MR",
"Surname": "SHARMA ADT"
},
"ReservationLocator": {
"supplierCode": "1G",
"value": "CMT80R"
},
"FormOfPayment": [
{
"value": "Cash"
}
],
"TicketSegment": [
{
"@type": "TicketSegment",
"sequence": 1,
"ClassOfService": "S",
"FareBasisCode": "SLN0D4M5",
"Status": "OpenForUse",
"Carrier": "AA",
"Number": "6969",
"Departure": {
"@type": "Departure",
"location": "DEN",
"date": "2025-08-15",
"time": "18:35:00"
},
"Arrival": {
"@type": "Arrival",
"location": "LHR"
},
"FlightStatusCode": "OK",
"TicketBaggage": {
"@type": "TicketBaggage",
"quantity": 1,
"soldByPieceInd": true
}
}
],
"TicketPrice": {
"@type": "TicketPrice",
"fareCalculation": "G",
"fareBreakdown": "DEN AA LON 285.00 NUC285.00END ROE1.0",
"CurrencyCode": {
"decimalPlace": 2,
"value": "AUD"
},
"Base": 443.00,
"Taxes": {
"@type": "TaxesDetail",
"TaxInfo": [
{
"@type": "TaxInfo",
"TaxCode": "XF",
"Amount": 4.50,
"TaxBreakdown": [
{
"@type": "TaxBreakdown",
"AirportCode": "DEN",
"Amount": 4.50
}
]
}
],
"Tax": [
{
"currencyCode": "AUD",
"taxCode": "AY",
"decimalPlace": 2,
"value": 8.70
},
{
"currencyCode": "AUD",
"taxCode": "US",
"decimalPlace": 2,
"value": 35.60
},
{
"currencyCode": "AUD",
"taxCode": "YR",
"decimalPlace": 2,
"value": 279.30
},
{
"currencyCode": "AUD",
"taxCode": "XF",
"decimalPlace": 2,
"value": 7.00
}
]
},
"Total": 773.60,
"Commission": {
"@type": "CommissionPercent",
"Percent": 0.05
},
"FiledAmount": {
"currencyCode": "USD",
"decimalPlace": 2,
"value": 285.00
}
},
"PassengerTypeCode": "ADT",
"ValidatingCarrier": "001",
"PricingType": "Auto Priced",
"Restrictions": [
"[NONREF/RESTRICTIONS APPLY]"
],
"AgencyInfo": {
"ticketedDate": "2025-07-15",
"name": "GALILEO SOUTHERN",
"ticketingPCC": "XB7",
"code": "02345243",
"ticketingCountry": "AU",
"ticketingCity": "SYD"
}
}
]
}
}