For Agents
Predict whether a flight itinerary is for business or leisure travel by sending origin, destination, and date pairs to a single classification endpoint that returns a labelled probability score.
Get started with Trip Purpose Prediction in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"predict whether a trip is business or leisure"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with Trip Purpose Prediction API.
Classify a round-trip flight itinerary as business or leisure based on city pair and dates
Return a probability score so agents can apply confidence thresholds before acting on the prediction
Use the search-date input to factor advance-purchase patterns into the trip-purpose decision
Tailor downstream offers, ancillary recommendations, or marketing copy to the predicted traveller intent
GET STARTED
Use for: I want to predict whether this flight booking is business or leisure, Classify a round-trip itinerary by trip purpose, Get the probability that a Madrid to London trip is for business, Check whether a customer's flight search looks like a leisure trip
Not supported: Does not handle flight search, booking, ticketing, or pricing — use for predicting whether an itinerary is business or leisure travel only.
Jentic publishes the only available OpenAPI document for Trip Purpose Prediction, keeping it validated and agent-ready.
The Amadeus Trip Purpose Prediction API classifies a flight itinerary as either business or leisure travel. It analyses origin, destination, departure and return dates, and the search timestamp to return a prediction with a probability score. This is a single-endpoint inference service designed for travel platforms, airline marketing teams, and travel agents that need to tailor offers, content, or upsell flows based on the inferred motivation behind a trip.
Filter or segment large flight-search logs into business and leisure cohorts for analytics
Patterns agents use Trip Purpose Prediction API for, with concrete tasks.
★ Business or Leisure Segmentation for Marketing
Travel platforms use the Trip Purpose Prediction API to classify each flight search as business or leisure before rendering merchandising. The single /travel/predictions/trip-purpose endpoint accepts an origin, destination, departure date, return date, and search date, and returns a result label with a probability. Marketing teams use the score to decide whether to show flexible-fare upsells and lounge passes versus holiday hotel bundles, with classification typically completing in well under a second per request.
Call /travel/predictions/trip-purpose with originLocationCode=NYC, destinationLocationCode=MAD, departureDate=2026-08-01, returnDate=2026-08-08, searchDate=2026-06-09 and surface the predicted label and probability
Personalised Itinerary Content
Online travel agencies enrich each search result with a trip-purpose label and use it to choose images, copy, and ancillary upsells. Leisure-classified itineraries surface tours and excursions, while business-classified ones surface fast-track security and chauffeur transfer offers. The probability score lets the application fall back to a neutral layout when confidence is low rather than showing the wrong content.
For each itinerary in a search results array, call the trip purpose endpoint and tag the result with label business or leisure and the probability value
Travel Analytics Cohort Building
Analytics teams replay historical flight-search logs through the Trip Purpose Prediction API to build business and leisure cohorts for retention reporting, conversion analysis, and demand forecasting. Because the API requires only city pair, dates, and the original search date, it can be applied retroactively to any logged search without needing personal traveller data.
Iterate over a CSV of historical flight searches and call the trip purpose endpoint for each row, writing the predicted label and probability back to the dataset
AI Agent Trip Triage
An AI travel-planning agent invoked through Jentic uses the Trip Purpose Prediction API as a triage step before calling downstream Amadeus search and booking endpoints. The agent searches Jentic for the trip-purpose operation, loads its schema, executes a single call with the candidate itinerary, then routes business-classified trips to corporate-rate workflows and leisure-classified trips to package-deal workflows.
Search Jentic for predict trip purpose, load the trip purpose operation schema, execute it for the user's candidate itinerary, and branch to corporate or leisure workflow based on the returned label
1 endpoints — the amadeus trip purpose prediction api classifies a flight itinerary as either business or leisure travel.
METHOD
PATH
DESCRIPTION
/travel/predictions/trip-purpose
Predict whether a trip is business or leisure for a given city pair and date range
/travel/predictions/trip-purpose
Predict whether a trip is business or leisure for a given city pair and date range
Three things that make agents converge on Jentic-routed access.
Credential isolation
Amadeus client_id and client_secret are stored encrypted in the Jentic vault. Jentic performs the OAuth 2.0 token exchange server side and supplies a scoped bearer token to the request, so the agent never sees the raw Amadeus secret.
Intent-based discovery
Agents search Jentic with phrases like predict trip purpose or classify business or leisure flight, and Jentic returns the trip-purpose operation with its input schema, so the agent can call it without browsing Amadeus Self-Service docs.
Time to first call
Direct integration: 1 to 2 days for OAuth setup, error handling, and quota management. Through Jentic: under 30 minutes — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Amadeus Flight Offers Search
Search live flight offers; pair with Trip Purpose Prediction to triage search results before pricing
Choose Flight Offers Search when the agent needs actual fares and itineraries; chain Trip Purpose Prediction first to route the request to the right merchandising flow.
Booking.com
Hotel and accommodation inventory that pairs with leisure-classified trips for package upsell
Choose Booking.com when the trip-purpose label is leisure and the agent needs to attach accommodation to the flight.
Google Cloud Translation
General-purpose ML inference API for text classification; not travel-specific
Choose Google Translation only if the agent needs broad text classification or translation; it does not understand itinerary semantics like trip purpose.
Specific to using Trip Purpose Prediction API through Jentic.
What authentication does the Trip Purpose Prediction API use?
The API is part of the Amadeus Self-Service catalogue and uses OAuth 2.0 client-credentials. You exchange a client_id and client_secret for a short-lived bearer token at the Amadeus auth endpoint, then send it on the trip purpose request. Through Jentic the client_id and client_secret are stored encrypted in the Jentic vault and the token exchange happens server side, so the agent never sees the raw secret.
Can I classify multi-city itineraries with the Trip Purpose Prediction API?
No. The /travel/predictions/trip-purpose endpoint accepts a single origin, destination, departure date, and return date, so it is designed for round-trip city pairs. For multi-leg itineraries, classify each leg separately or use the longest leg as a proxy.
What are the rate limits for the Trip Purpose Prediction API?
The Amadeus Self-Service tier limits this endpoint to 10 transactions per second per application in the test environment, with separate per-month transaction caps. Production quotas are negotiated per Amadeus contract. Treat any 429 response as a signal to back off and retry.
How do I predict trip purpose with the Trip Purpose Prediction API through Jentic?
Install the SDK with pip install jentic, then run a Jentic search for predict trip purpose, load the resulting operation schema, and execute it with originLocationCode, destinationLocationCode, departureDate, returnDate, and searchDate. Jentic returns the label and probability without you handling the OAuth token directly.
Is the Trip Purpose Prediction API free?
The Amadeus Self-Service free tier includes a monthly quota for trip purpose predictions in the test environment, suitable for prototyping. Production access is on the standard Amadeus commercial pricing and requires moving the application to the production environment.
What inputs does the Trip Purpose Prediction API actually require?
Five fields: originLocationCode and destinationLocationCode as IATA city or airport codes, departureDate and returnDate as ISO dates, and searchDate as the date the user performed the search. The model uses the gap between searchDate and departureDate as a key signal, so do not substitute the current date.