Worldticket API DOCUMENTATION

Low Fare Search (AirLowFareSearchRQ)

The purpose is to list all the fares and display them to the user. AirLowFareSearch is used to get flight availability with the lowest fare options for the whole journey, or separately per direction (outbound or inbound).

Table of Contents

Endpoint

Flight Search Workflow

sequenceDiagram
    autonumber
    participant Customer as End Customer
    participant Application as Airline Application
    participant OTA

    rect rgba(255, 221, 221, 0.3)
        Note over Application: 3rd party
    end
    rect rgba(173, 216, 230, 0.3)
        Note over OTA: Worldticket
    end

    Note over Customer, OTA: Flight Search Process
    Customer->>+Application: Search flights<br/>(origin, destination, date, passengers)
    Application->>+OTA: OTA_AirLowFareSearchRQ
    Note right of OTA: Search for available flights<br/>with lowest fares
    OTA-->>-Application: OTA_AirLowFareSearchRS
    Note right of Application: Flight options with pricing<br/>and availability
    Application-->>-Customer: Display flight results<br/>with fare breakdown

    alt Customer wants fare details
        Customer->>+Application: Select specific flight
        Application->>+OTA: OTA_AirPriceRQ
        Note right of OTA: Get detailed pricing<br/>and fare rules
        OTA-->>-Application: OTA_AirPriceRS
        Note right of Application: Detailed fare breakdown<br/>taxes, rules, restrictions
        Application-->>-Customer: Show fare details<br/>and booking conditions
    end

Basic Request Format

With JWT Authentication

curl -X POST \
    https://test-api.worldticket.net/ota/v2015b/OTA_AirLowFareSearchRQ \
    -H 'Authorization: Bearer {access_token}' \
    -H 'Content-Type: application/json' \
    -d @AirLowFareSearchRQ.json

With API Key Authentication

curl -X POST \
    https://test-api.worldticket.net/ota/v2015b/OTA_AirLowFareSearchRQ \
    -H 'X-API-Key: {api_key}' \
    -H 'Content-Type: application/json' \
    -d @AirLowFareSearchRQ.json

HTTP Headers

Header Description Example
Authorization Bearer token for JWT authentication Bearer {access_token}
X-API-Key API key for key-based authentication {api_key}
X-Realm Airline realm identifier {tenant-name}

Note: Use either Authorization (for JWT) OR X-API-Key (for API key authentication), not both.

AirLowFareSearchRQ for One-way Trip

📋 Request Template
{
  "version": "2.001",
  "pos": {
    "source": [
      {
        "isocurrency": "USD"
      }
    ]
  },
  "processingInfo": {
    "displayOrder": "BY_PRICE_LOW_TO_HIGH",
    "availabilityIndicator": true
  },
  "originDestinationInformation": [
    {
      "originLocation": {
        "locationCode": "{origin_code}"
      },
      "destinationLocation": {
        "locationCode": "{destination_code}"
      },
      "departureDateTime": {
        "value": "{departure_date}",
        "windowBefore": "P0D",
        "windowAfter": "P0D"
      }
    }
  ],
  "travelerInfoSummary": {
    "airTravelerAvail": [
      {
        "passengerTypeQuantity": [
          {
            "code": "ADT",
            "quantity": "{adult_count}"
          },
          {
            "code": "CHD",
            "quantity": "{child_count}"
          },
          {
            "code": "INF",
            "quantity": "{infant_count}"
          }
        ]
      }
    ]
  }
}
✅ Example
{
  "version": "2.001",
  "pos": {
    "source": [
      {
        "isocurrency": "USD"
      }
    ]
  },
  "processingInfo": {
    "displayOrder": "BY_PRICE_LOW_TO_HIGH",
    "availabilityIndicator": true
  },
  "originDestinationInformation": [
    {
      "originLocation": {
        "locationCode": "AAC"
      },
      "destinationLocation": {
        "locationCode": "AAL"
      },
      "departureDateTime": {
        "value": "2025-12-29",
        "windowBefore": "P0D",
        "windowAfter": "P0D"
      }
    }
  ],
  "travelerInfoSummary": {
    "airTravelerAvail": [
      {
        "passengerTypeQuantity": [
          {
            "code": "ADT",
            "quantity": "1"
          },
          {
            "code": "CHD",
            "quantity": "0"
          },
          {
            "code": "INF",
            "quantity": "0"
          }
        ]
      }
    ]
  }
}

AirLowFareSearchRQ for Round Trip

📋 Request Template
{
  "version": "2.001",
  "pos": {
    "source": [
      {
        "isocurrency": "USD"
      }
    ]
  },
  "processingInfo": {
    "displayOrder": "BY_PRICE_LOW_TO_HIGH",
    "availabilityIndicator": true
  },
  "originDestinationInformation": [
    {
      "originLocation": {
        "locationCode": "AAC"
      },
      "destinationLocation": {
        "locationCode": "AAL"
      },
      "departureDateTime": {
        "value": "2025-12-29",
        "windowBefore": "P0D",
        "windowAfter": "P0D"
      }
    },
    {
      "originLocation": {
        "locationCode": "AAL"
      },
      "destinationLocation": {
        "locationCode": "AAC"
      },
      "departureDateTime": {
        "value": "2025-12-31",
        "windowBefore": "P0D",
        "windowAfter": "P0D"
      }
    }
  ],
  "travelerInfoSummary": {
    "airTravelerAvail": [
      {
        "passengerTypeQuantity": [
          {
            "code": "ADT",
            "quantity": "1"
          },
          {
            "code": "CHD",
            "quantity": "1"
          },
          {
            "code": "INF",
            "quantity": "0"
          }
        ]
      }
    ]
  }
}
✅ Example
{
  "version": "2.001",
  "pos": {
    "source": [
      {
        "isocurrency": "USD"
      }
    ]
  },
  "processingInfo": {
    "displayOrder": "BY_PRICE_LOW_TO_HIGH",
    "availabilityIndicator": true
  },
  "originDestinationInformation": [
    {
      "originLocation": {
        "locationCode": "AAC"
      },
      "destinationLocation": {
        "locationCode": "AAL"
      },
      "departureDateTime": {
        "value": "2025-12-29",
        "windowBefore": "P0D",
        "windowAfter": "P0D"
      }
    },
    {
      "originLocation": {
        "locationCode": "AAL"
      },
      "destinationLocation": {
        "locationCode": "AAC"
      },
      "departureDateTime": {
        "value": "2025-12-31",
        "windowBefore": "P0D",
        "windowAfter": "P0D"
      }
    }
  ],
  "travelerInfoSummary": {
    "airTravelerAvail": [
      {
        "passengerTypeQuantity": [
          {
            "code": "ADT",
            "quantity": "1"
          },
          {
            "code": "CHD",
            "quantity": "1"
          },
          {
            "code": "INF",
            "quantity": "0"
          }
        ]
      }
    ]
  }
}

AirLowFareSearchRQ for Round Trip with Fare Restriction

To receive outbound and inbound fares separately, specify FareRestriction OUT or IN in the travelPreferences section before TravelerInfoSummary element.

✅ Outbound Fare Restriction (OUT)
{
  "version": "2.001",
  "pos": {
    "source": [
      {
        "isocurrency": "USD"
      }
    ]
  },
  "processingInfo": {
    "displayOrder": "BY_PRICE_LOW_TO_HIGH",
    "availabilityIndicator": true
  },
  "originDestinationInformation": [
    {
      "originLocation": {
        "locationCode": "AAC"
      },
      "destinationLocation": {
        "locationCode": "AAL"
      },
      "departureDateTime": {
        "value": "2025-12-29",
        "windowBefore": "P0D",
        "windowAfter": "P0D"
      }
    },
    {
      "originLocation": {
        "locationCode": "AAL"
      },
      "destinationLocation": {
        "locationCode": "AAC"
      },
      "departureDateTime": {
        "value": "2025-12-30",
        "windowBefore": "P0D",
        "windowAfter": "P0D"
      }
    }
  ],
  "travelPreferences": {
    "fareRestrictPref": {
      "fareRestriction": "OUT"
    }
  },
  "travelerInfoSummary": {
    "airTravelerAvail": [
      {
        "passengerTypeQuantity": [
          {
            "code": "ADT",
            "quantity": 1
          }
        ]
      }
    ]
  }
}
✅ Inbound Fare Restriction (IN)
{
  "version": "2.001",
  "pos": {
    "source": [
      {
        "isocurrency": "USD"
      }
    ]
  },
  "processingInfo": {
    "displayOrder": "BY_PRICE_LOW_TO_HIGH",
    "availabilityIndicator": true
  },
  "originDestinationInformation": [
    {
      "originLocation": {
        "locationCode": "AAC"
      },
      "destinationLocation": {
        "locationCode": "AAL"
      },
      "departureDateTime": {
        "value": "2025-12-29",
        "windowBefore": "P0D",
        "windowAfter": "P0D"
      }
    },
    {
      "originLocation": {
        "locationCode": "AAL"
      },
      "destinationLocation": {
        "locationCode": "AAC"
      },
      "departureDateTime": {
        "value": "2025-12-30",
        "windowBefore": "P0D",
        "windowAfter": "P0D"
      }
    }
  ],
  "travelPreferences": {
    "fareRestrictPref": {
      "fareRestriction": "IN"
    }
  },
  "travelerInfoSummary": {
    "airTravelerAvail": [
      {
        "passengerTypeQuantity": [
          {
            "code": "ADT",
            "quantity": 1
          }
        ]
      }
    ]
  }
}

JSON Response

✅ Example
{
  "success": {},
  "pricedItineraries": {
    "pricedItinerary": [
      {
        "airItinerary": {
          "originDestinationOptions": {
            "originDestinationOption": [
              {
                "flightSegment": [
                  {
                    "departureAirport": {
                      "locationCode": "AAC"
                    },
                    "arrivalAirport": {
                      "locationCode": "AAL"
                    },
                    "operatingAirline": {
                      "value": "",
                      "code": "DX",
                      "flightNumber": "7878"
                    },
                    "equipment": [],
                    "departureDateTime": "2025-12-29T10:00:00.000+02:00",
                    "arrivalDateTime": "2025-12-29T12:00:00.000+01:00",
                    "stopQuantity": 0,
                    "rph": "1",
                    "marketingAirline": {
                      "value": "",
                      "code": "DX"
                    },
                    "flightNumber": "7878",
                    "resBookDesigCode": "Y",
                    "bookingClassAvails": [
                      {
                        "bookingClassAvail": [
                          {
                            "resBookDesigCode": "Y",
                            "resBookDesigQuantity": "37"
                          }
                        ],
                        "cabinType": "ECONOMY"
                      }
                    ],
                    "comment": [],
                    "stopLocation": [],
                    "status": "34",
                    "tpaextensions": {
                      "airEquipType": "AT4"
                    }
                  }
                ]
              },
              {
                "flightSegment": [
                  {
                    "departureAirport": {
                      "locationCode": "AAL"
                    },
                    "arrivalAirport": {
                      "locationCode": "AAC"
                    },
                    "operatingAirline": {
                      "value": "",
                      "code": "DX",
                      "flightNumber": "7879"
                    },
                    "equipment": [],
                    "departureDateTime": "2025-12-31T12:30:00.000+01:00",
                    "arrivalDateTime": "2025-12-31T14:30:00.000+02:00",
                    "stopQuantity": 0,
                    "rph": "2",
                    "marketingAirline": {
                      "value": "",
                      "code": "DX"
                    },
                    "flightNumber": "7879",
                    "resBookDesigCode": "Y",
                    "bookingClassAvails": [
                      {
                        "bookingClassAvail": [
                          {
                            "resBookDesigCode": "Y",
                            "resBookDesigQuantity": "42"
                          }
                        ],
                        "cabinType": "ECONOMY"
                      }
                    ],
                    "comment": [],
                    "stopLocation": [],
                    "status": "34",
                    "tpaextensions": {
                      "airEquipType": "AT4"
                    }
                  }
                ]
              }
            ]
          }
        },
        "airItineraryPricingInfo": {
          "itinTotalFare": [
            {
              "baseFare": {
                "currencyCode": "USD",
                "amount": 0.00
              },
              "equivFare": [],
              "taxes": {
                "tax": [
                  {
                    "value": "",
                    "taxCode": "ZO",
                    "taxName": "tax",
                    "currencyCode": "USD",
                    "amount": 14.05
                  },
                  {
                    "value": "",
                    "taxCode": "MI",
                    "taxName": "surcharge",
                    "currencyCode": "USD",
                    "amount": 3.04
                  }
                ]
              },
              "fees": {
                "fee": [
                  {
                    "value": "",
                    "feeCode": "RES_FEE",
                    "currencyCode": "USD",
                    "amount": 17.92
                  }
                ]
              },
              "totalFare": {
                "currencyCode": "USD",
                "amount": 35.01
              },
              "fareBaggageAllowance": [],
              "remark": []
            }
          ],
          "fareInfos": {
            "fareInfo": [
              {
                "fareReference": [
                  {
                    "value": "YID"
                  }
                ],
                "filingAirline": {
                  "value": "DX"
                },
                "marketingAirline": [],
                "departureAirport": {
                  "value": "",
                  "locationCode": "AAC"
                },
                "arrivalAirport": {
                  "value": "",
                  "locationCode": "AAL"
                },
                "date": [],
                "fareInfo": [],
                "city": [],
                "airport": []
              },
              {
                "fareReference": [
                  {
                    "value": "YID"
                  }
                ],
                "filingAirline": {
                  "value": "DX"
                },
                "marketingAirline": [],
                "departureAirport": {
                  "value": "",
                  "locationCode": "AAL"
                },
                "arrivalAirport": {
                  "value": "",
                  "locationCode": "AAC"
                },
                "date": [],
                "fareInfo": [],
                "city": [],
                "airport": []
              }
            ]
          },
          "ptcfareBreakdowns": {
            "ptcfareBreakdown": [
              {
                "passengerTypeQuantity": {
                  "code": "ADT",
                  "quantity": 1
                },
                "fareBasisCodes": {
                  "fareBasisCode": [
                    {
                      "value": "YID"
                    }
                  ]
                },
                "passengerFare": [
                  {
                    "baseFare": {
                      "currencyCode": "USD",
                      "decimalPlaces": 2,
                      "amount": 0.00
                    },
                    "equivFare": [],
                    "taxes": {
                      "tax": [
                        {
                          "value": "",
                          "taxCode": "MI",
                          "currencyCode": "USD",
                          "decimalPlaces": 2,
                          "amount": 0.76
                        }
                      ]
                    },
                    "fees": {
                      "fee": [
                        {
                          "value": "",
                          "feeCode": "reservation",
                          "currencyCode": "USD",
                          "decimalPlaces": 2,
                          "amount": 4.48
                        }
                      ]
                    },
                    "totalFare": {
                      "currencyCode": "USD",
                      "decimalPlaces": 2,
                      "amount": 5.24
                    },
                    "fareBaggageAllowance": [],
                    "remark": []
                  }
                ],
                "travelerRefNumber": [
                  {
                    "rph": "1"
                  }
                ],
                "ticketDesignators": {
                  "ticketDesignator": [
                    {
                      "flightRefRPH": "1"
                    }
                  ]
                },
                "fareInfo": [],
                "pricingUnit": [],
                "flightRefNumberRPHList": [
                  "1"
                ]
              },
              {
                "passengerTypeQuantity": {
                  "code": "ADT",
                  "quantity": 1
                },
                "fareBasisCodes": {
                  "fareBasisCode": [
                    {
                      "value": "YID"
                    }
                  ]
                },
                "passengerFare": [
                  {
                    "baseFare": {
                      "currencyCode": "USD",
                      "decimalPlaces": 2,
                      "amount": 0.00
                    },
                    "equivFare": [],
                    "taxes": {
                      "tax": [
                        {
                          "value": "",
                          "taxCode": "MI",
                          "currencyCode": "USD",
                          "decimalPlaces": 2,
                          "amount": 0.76
                        }
                      ]
                    },
                    "fees": {
                      "fee": [
                        {
                          "value": "",
                          "feeCode": "reservation",
                          "currencyCode": "USD",
                          "decimalPlaces": 2,
                          "amount": 4.48
                        }
                      ]
                    },
                    "totalFare": {
                      "currencyCode": "USD",
                      "decimalPlaces": 2,
                      "amount": 5.24
                    },
                    "fareBaggageAllowance": [],
                    "remark": []
                  }
                ],
                "travelerRefNumber": [
                  {
                    "rph": "1"
                  }
                ],
                "ticketDesignators": {
                  "ticketDesignator": [
                    {
                      "flightRefRPH": "2"
                    }
                  ]
                },
                "fareInfo": [],
                "pricingUnit": [],
                "flightRefNumberRPHList": [
                  "2"
                ]
              },
              {
                "passengerTypeQuantity": {
                  "code": "CHD",
                  "quantity": 1
                },
                "fareBasisCodes": {
                  "fareBasisCode": [
                    {
                      "value": "YID"
                    }
                  ]
                },
                "passengerFare": [
                  {
                    "baseFare": {
                      "currencyCode": "USD",
                      "decimalPlaces": 2,
                      "amount": 0.00
                    },
                    "equivFare": [],
                    "taxes": {
                      "tax": [
                        {
                          "value": "",
                          "taxCode": "MI",
                          "currencyCode": "USD",
                          "decimalPlaces": 2,
                          "amount": 0.76
                        }
                      ]
                    },
                    "fees": {
                      "fee": [
                        {
                          "value": "",
                          "feeCode": "reservation",
                          "currencyCode": "USD",
                          "decimalPlaces": 2,
                          "amount": 4.48
                        }
                      ]
                    },
                    "totalFare": {
                      "currencyCode": "USD",
                      "decimalPlaces": 2,
                      "amount": 5.24
                    },
                    "fareBaggageAllowance": [],
                    "remark": []
                  }
                ],
                "travelerRefNumber": [
                  {
                    "rph": "2"
                  }
                ],
                "ticketDesignators": {
                  "ticketDesignator": [
                    {
                      "flightRefRPH": "1"
                    }
                  ]
                },
                "fareInfo": [],
                "pricingUnit": [],
                "flightRefNumberRPHList": [
                  "1"
                ]
              },
              {
                "passengerTypeQuantity": {
                  "code": "CHD",
                  "quantity": 1
                },
                "fareBasisCodes": {
                  "fareBasisCode": [
                    {
                      "value": "YID"
                    }
                  ]
                },
                "passengerFare": [
                  {
                    "baseFare": {
                      "currencyCode": "USD",
                      "decimalPlaces": 2,
                      "amount": 0.00
                    },
                    "equivFare": [],
                    "taxes": {
                      "tax": [
                        {
                          "value": "",
                          "taxCode": "MI",
                          "currencyCode": "USD",
                          "decimalPlaces": 2,
                          "amount": 0.76
                        },
                        {
                          "value": "",
                          "taxCode": "ZO",
                          "currencyCode": "USD",
                          "decimalPlaces": 2,
                          "amount": 14.05
                        }
                      ]
                    },
                    "fees": {
                      "fee": [
                        {
                          "value": "",
                          "feeCode": "reservation",
                          "currencyCode": "USD",
                          "decimalPlaces": 2,
                          "amount": 4.48
                        }
                      ]
                    },
                    "totalFare": {
                      "currencyCode": "USD",
                      "decimalPlaces": 2,
                      "amount": 19.29
                    },
                    "fareBaggageAllowance": [],
                    "remark": []
                  }
                ],
                "travelerRefNumber": [
                  {
                    "rph": "2"
                  }
                ],
                "ticketDesignators": {
                  "ticketDesignator": [
                    {
                      "flightRefRPH": "2"
                    }
                  ]
                },
                "fareInfo": [],
                "pricingUnit": [],
                "flightRefNumberRPHList": [
                  "2"
                ]
              }
            ]
          }
        },
        "notes": [],
        "sequenceNumber": 1
      }
    ]
  },
  "timeStamp": "2025-11-27T06:56:23.222Z",
  "version": 2.001,
  "retransmissionIndicator": false
}