Skip to main content
POST
Accept a flight with its current price for price advice
This endpoint is in preview. Contact support to request access. It accepts a flight with its current price, validates the request, and returns statistics_not_ready with fixed 1-day and 3-day horizons; the user does not select a wait duration. It requires a verified jnk_ API key and does not search flights, load statistics, create monitoring, make a buy/wait recommendation, or book anything.

Authorizations

X-API-Key
string
header
required

Body

application/json

DEV contract preview input. Structural trip type, stop count, and cabin values are validated; this preview does not imply statistics coverage.

origin
string
required
Pattern: ^[A-Z]{3}$
Example:

"NYC"

destination
string
required
Pattern: ^[A-Z]{3}$
Example:

"LAX"

departure_date
string
required
Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-10-20"

trip_type
enum<string>
required
Available options:
oneway,
roundtrip
max_stops
required
Available options:
0
cabin_class
enum<string>
required
Available options:
economy,
premium_economy,
business,
first
current_price
object
required

One adult total fare for the supplied trip, including tax and excluding optional paid extras. Value 32000, USD, decimal_places 2 means USD 320.00.

Response

Validated request; flight price statistics are not ready

Current DEV preview response. Statistics are unavailable and every statistical result is null.

schema_version
enum<string>
required
Available options:
2.0
status
enum<string>
required
Available options:
not_ready
reason
enum<string>
required
Available options:
statistics_not_ready
summary
enum<string>
required
Available options:
Price statistics are not ready. This development preview validates the request only; it cannot assess this price or recommend when to book.
context
object
required
price_assessment
object
required
wait_assessment
object
required
recommendation
object
required
live_quotes_used
enum<boolean>
required
Available options:
false