Worldticket API DOCUMENTATION

Price Check (AirPriceRQ)

The Air-Price Request message requests pricing information for specific flights on certain dates for a specific number and type of passengers. The purpose is to verify the price prior to making a reservation and get an additional fare breakdown that might not be included in LowFareSearchRS.

Table of Contents

Base URLs

Environment URL
Production https://api.worldticket.net
Test https://test-api.worldticket.net

Endpoints

Basic Request Format

With JWT Authentication

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

With API Key Authentication

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

HTTP Headers

Attach the following headers to OTA requests.

Header Description Example
Authorization Bearer token for JWT authentication Bearer {access_token}
X-API-Key API key for key-based authentication {api_key}
Content-Type Request content type application/json

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

Pricing Qualifier Code

Put pricing qualifier code in OTA requests inside node named “pricingPref”.

Type Description Value
COPY Copy 1
MANUAL Manual 2
REMOVE Remove 3
QUOTE Quote 4
PRICE Price 5
REBOOK Rebook 6
DIRECT_ACCESS Direct access 7
SEAMLESS Seamless 8
CORE Core 9

Note: Use same value for “type” and “qualifier”.

JSON Request

📋 JSON Request Template
{
  "version": "2.001",
  "pos": {
    "source": [
      {
        "bookingChannel": {
          "type": "{booking_channel_type}"
        },
        "isocurrency": "{currency_code}"
      }
    ]
  },
  "airItinerary": {
    "originDestinationOptions": {
      "originDestinationOption": [
        {
          "flightSegment": [
            {
              "departureAirport": {
                "locationCode": "{origin_code}"
              },
              "arrivalAirport": {
                "locationCode": "{destination_code}"
              },
              "operatingAirline": {
                "code": "{airline_code}",
                "flightNumber": "{flight_number}"
              },
              "equipment": [],
              "departureDateTime": "{departure_datetime}",
              "arrivalDateTime": "{arrival_datetime}",
              "rph": "{segment_rph}",
              "marketingAirline": {
                "code": "{airline_code}"
              },
              "flightNumber": "{flight_number}",
              "resBookDesigCode": "{booking_class}"
            }
          ]
        }
      ]
    }
  },
  "travelerInfoSummary": {
    "pricingPref": [
      {
        "type":"{pricing_type}",
        "qualifier": "{pricing_qualifier}"
      }
    ],
    "airTravelerAvail": [
      {
        "passengerTypeQuantity": [
          {
            "code": "ADT",
            "quantity": "{adult_count}"
          },
          {
            "code": "CHD",
            "quantity": "{child_count}"
          },
          {
            "code": "INF",
            "quantity": "{infant_count}"
          }
        ]
      }
    ]
  }
}
✅ Example
{
  "version": "2.001",
  "pos": {
    "source": [
      {
        "bookingChannel": {
          "type": "OTA"
        },
        "isocurrency": "USD"
      }
    ]
  },
  "airItinerary": {
    "originDestinationOptions": {
      "originDestinationOption": [
        {
          "flightSegment": [
            {
              "departureAirport": {
                "locationCode": "AAC"
              },
              "arrivalAirport": {
                "locationCode": "AAL"
              },
              "operatingAirline": {
                "code": "DX",
                "flightNumber": "9901"
              },
              "equipment": [],
              "departureDateTime": "2025-12-29T10:00:00.000+02:00",
              "arrivalDateTime": "2025-12-29T12:00:00.000+01:00",
              "rph": "1",
              "marketingAirline": {
                "code": "DX"
              },
              "flightNumber": "7878",
              "resBookDesigCode": "Y"
            }
          ]
        }
      ]
    }
  },
  "travelerInfoSummary": {
    "pricingPref": [
      {
        "type": "5",
        "qualifier": "5"
      }
    ],
    "airTravelerAvail": [
      {
        "passengerTypeQuantity": [
          {
            "code": "ADT",
            "quantity": "1"
          },
          {
            "code": "CHD",
            "quantity": "0"
          },
          {
            "code": "INF",
            "quantity": "1"
          }
        ]
      }
    ]
  }
}

JSON Response

✅ Example
{
  "pricedItineraries": {
    "pricedItinerary": [
      {
        "airItinerary": {
          "originDestinationOptions": {
            "originDestinationOption": [
              {
                "flightSegment": [
                  {
                    "departureAirport": {
                      "locationCode": "AAC"
                    },
                    "arrivalAirport": {
                      "locationCode": "AAL"
                    },
                    "operatingAirline": {
                      "value": "",
                      "code": "DX",
                      "flightNumber": "9901"
                    },
                    "equipment": [],
                    "departureDateTime": "2025-12-29T10:00:00.000+02:00",
                    "arrivalDateTime": "2025-12-29T12:00:00.000+01:00",
                    "rph": "1",
                    "marketingAirline": {
                      "value": "",
                      "code": "DX"
                    },
                    "flightNumber": "7878",
                    "resBookDesigCode": "Y",
                    "bookingClassAvails": [],
                    "comment": [],
                    "stopLocation": [],
                    "tpaextensions": {
                      "fareBasis": "YID",
                      "fareRule": {
                        "code": "ID",
                        "name": "${[en]:pricing.farerules.general.name.ID}",
                        "value": "Test ID fare"
                      }
                    }
                  }
                ]
              }
            ]
          }
        },
        "airItineraryPricingInfo": {
          "itinTotalFare": [
            {
              "baseFare": {
                "currencyCode": "USD",
                "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",
                "amount": 5.24
              },
              "fareBaggageAllowance": [],
              "remark": []
            }
          ],
          "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": "INF",
                  "quantity": 1
                },
                "fareBasisCodes": {
                  "fareBasisCode": [
                    {
                      "value": "ECOMSenior"
                    }
                  ]
                },
                "passengerFare": [
                  {
                    "baseFare": {
                      "currencyCode": "USD",
                      "decimalPlaces": 2,
                      "amount": 0.00
                    },
                    "equivFare": [],
                    "totalFare": {
                      "currencyCode": "USD",
                      "decimalPlaces": 2,
                      "amount": 0.00
                    },
                    "fareBaggageAllowance": [],
                    "remark": []
                  }
                ],
                "travelerRefNumber": [
                  {
                    "rph": "2"
                  }
                ],
                "ticketDesignators": {
                  "ticketDesignator": [
                    {
                      "flightRefRPH": "1"
                    }
                  ]
                },
                "fareInfo": [],
                "pricingUnit": [],
                "flightRefNumberRPHList": [
                  "1"
                ]
              }
            ]
          }
        },
        "notes": [],
        "sequenceNumber": 1
      }
    ]
  },
  "success": {},
  "pricingOverview": {
    "fareInfo": {
      "equivFare": [],
      "fareBaggageAllowance": [],
      "remark": [],
      "tpaextensions": {
        "taxInfo": [
          {
            "taxCode": "MI",
            "taxName": "CCAA tax",
            "taxType": "Surcharge"
          }
        ]
      }
    },
    "notes": [],
    "account": [],
    "pricingIndicator": []
  },
  "timeStamp": "2025-11-27T07:25:39.066Z",
  "version": 2.001,
  "retransmissionIndicator": false
}