API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
GET
/flights-price-prediction/v1/forecastOtherGet price forecast for a specific flight search
https://fintech.staging.htsapis.com/flights-price-prediction/v1/forecast
Get a price forecast for a specific flight search
Parameters
filtersquery · array of TripFilter
originquery · string · {airport|city}/<code>
required
destinationquery · string · {airport|city}/<code>
required
departureDatequery · string · date
required
returnDatequery · string · date
forecastOnquery · string · date
currencyquery · string
required
Responses
200
Content-Typeresponse header
Exactly one of the following, selected by
outcome:Available (Available) Available
forecastOnstring · date-time
required
outcomestring
required
seriesForecastSeries
required
Show fields
futurearray of FutureDate
required
Show fields
Array of FutureDate
datestring · date
required
priceTarget90number
required
pastarray of PastDate
required
Show fields
Array of PastDate
datestring · date
required
pricenumber
required
shopsinteger · int32
required
valuesForecastValues
required
Show fields
goodPricenumber
required
targetPricenumber
required
dangerDatestring · date
dangerPricenumber
warningDatestring · date
warningPricenumber
priceTrendPriceTrend
Show fields
upwardsProbabilitynumber · double
required
Represent how likely the price will go up after forecast time. 0 = not likely, 1 = very likely.
buyNeutralThresholdnumber · double
Threshold use to create the low buy confidence.
lowBuyConfidenceboolean
Represent if this is a buy neutral recommendation.
lowWaitConfidenceboolean
Represent if this is a wait neutral recommendation.
waitNeutralThresholdnumber · double
Threshold use to create the low wait confidence.
Unavailable (Unavailable) Unavailable
forecastOnstring · date-time
required
outcomestring
required
reasonstring
required
400Invalid value for: query parameter filters, Invalid value for: query parameter origin, Invalid value for: query parameter destination, Invalid value for: query parameter departureDate, Invalid value for: query parameter returnDate, Invalid value for: query parameter forecastOn, Invalid value for: query parameter currency
No body.
default
Content-Typeresponse header
messagestring
required
Example
{
"message": "string"
}Request
curl -X GET "https://fintech.staging.htsapis.com/flights-price-prediction/v1/forecast"Response 200
{
"forecastOn": "2026-12-10T15:00:00Z",
"outcome": "string",
"priceTrend": {
"buyNeutralThreshold": 1,
"lowBuyConfidence": true,
"lowWaitConfidence": true,
"upwardsProbability": 1,
"waitNeutralThreshold": 1
},
"series": {
"future": [
{
"date": "2026-12-10",
"priceTarget90": 1
}
],
"past": [
{
"date": "2026-12-10",
"price": 1,
"shops": 1
}
]
},
"values": {
"dangerDate": "2026-12-10",
"dangerPrice": 1,
"goodPrice": 1,
"targetPrice": 1,
"warningDate": "2026-12-10",
"warningPrice": 1
}
}Examples are generated from the schema where the spec publishes none; field values are illustrative.
