Shopping IQ: Fare Insight Mock Server
An AI-powered service that interprets ATPCO Category 16 (Penalties) records.
Shopping IQ: Fare Insight leverages AI to parse and interpret complex ATPCO Category 16 (Penalties) records. This service allows developers to extract structured data from fare notes, enabling clearer communication of fare rules and penalty conditions to end-users in travel applications.
Use cases:
Use this sandbox to validate the extraction of penalty conditions, change fees, and refundability logic from raw fare text. Developers can test how the API maps unstructured ATPCO data into machine-readable formats, ensuring consistent display of fare rules across booking engines and itinerary management tools.
Fare Insight(2 operations)
{
"textInput": "The ticket is permitted to change. Charge USD 100 per fare for Reissue/Revalidation before departure. No penalty charge for infant without seat.",
"itemTypes": [
"Flexibility"
],
"languageCode": "en"
}{
"extractedContent": {
"flexibility": {
"flexibilityItems": [
{
"id": 1,
"isChangeable": true,
"sourceType": "AI Interpreted Text",
"application": "Before Departure",
"conditions": [
"Reissue",
"Revalidation"
],
"penalty": {
"amount": "100.00",
"currencyCode": "USD",
"travelPortion": "Per Fare Component"
},
"discounts": [
{
"passengerType": "INS",
"discountType": "Free Of Charge",
"summary": "Infant without seat free of charge."
}
],
"summary": [
"The ticket is permitted to change. Charge USD 100 per fare for Reissue/Revalidation before departure. No penalty charge for infant without seat."
]
}
]
}
}
}{
"fareInput": {
"departureAirportCode": "KRK",
"arrivalAirportCode": "YVR",
"bookingAirlineCode": "AA",
"departureDate": "2026-07-20",
"fareBasisCode": "ABCD6"
},
"itemTypes": [
"Flexibility"
],
"returnText": true,
"languageCode": "en"
}{
"extractedContent": {
"flexibility": {
"flexibilityItems": [
{
"id": 1,
"isChangeable": true,
"sourceType": "AI Interpreted Text",
"application": "Before Departure",
"conditions": [
"Reissue",
"Revalidation"
],
"penalty": {
"amount": "100.00",
"currencyCode": "USD",
"travelPortion": "Per Fare Component"
},
"discounts": [
{
"passengerType": "INS",
"discountType": "Free Of Charge",
"summary": "Infant without seat free of charge."
}
],
"summary": [
"The ticket is permitted to change. Charge USD 100 per fare for Reissue/Revalidation before departure. No penalty charge for infant without seat."
]
}
],
"text": {
"textItems": [
{
"id": 1,
"text": "The ticket is permitted to change. Charge USD 100 per fare for Reissue/Revalidation before departure. No penalty charge for infant without seat."
}
]
}
}
}
}