Skip to main content

TUI Flight Price Cache API 1.1.0

Last updated: 10-Aug-2026
Recent changes: Merge branch 'feature/NSK-73561-rename-api-title' into 'main' fix: rename API title to Flight Price Cache API (NSK-73561) Closes NSK-73561 See merge request api-program/apigee/flight/newskies-apis/flight-newskies-pricecache-api!58

Get Started

This guide walks you through making your first request to the Flight Price Cache API.

Prerequisites

  1. An API key — Register on the TUI Developer Portal for the API product flight-newskies-pricecache-api.
  2. AgentName mapping — Contact yoda@tui.de with your app name to get your API key mapped to a NewSkies agent.

Step 1 — Obtain an Access Token

The API uses OAuth 2.0 client credentials flow. Use your consumer key and secret to obtain a token:

curl -X POST "https://test.api.tui/oauth2/token" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=client_credentials&client_id={your_client_id}&client_secret={your_client_secret}"

Response:

{
  "access_token": "eyJhbGciOiJSUzI1NiIs...",
  "token_type": "Bearer",
  "expires_in": 3600
}

Step 2 — Make Your First Request

Use the /cheapflights endpoint to search for the cheapest flights on a route:

curl -X GET "https://test.api.tui/flight/newskies/availability/cheapflights?Origin=BRU&Destination=ALC&Start=2025-06-01&End=2025-06-30&Duration=7&TripType=0&GroupBy=4&LimitGroups=10&LimitOffers=1" \
  -H "Authorization: Bearer {your_access_token}"

Parameters Explained

Parameter Value Description
Origin BRU Departure airport (IATA code)
Destination ALC Arrival airport (IATA code)
Start 2025-06-01 Search range start date
End 2025-06-30 Search range end date
Duration 7 Days between outbound and inbound
TripType 0 0 = Return, 1 = Oneway
GroupBy 4 Group by outbound date
LimitGroups 10 Max groups returned
LimitOffers 1 Max offers per group

Step 3 — Explore Other Endpoints

  • /connections — Discover available routes before searching
  • /search — Full availability search with detailed fare information
  • /calendardata — Calendar-style availability view
  • /dayleveloffers — Aggregated day-level pricing
  • /productclassproperties — Product class configuration

Step 4 — Move to Production

  1. Test your integration thoroughly in the Test environment
  2. Contact yoda@tui.de to confirm production readiness
  3. Switch your base URL to https://prod.api.tui/flight/newskies/availability

Need Help?

  • API access & AgentName mapping: yoda@tui.de

About us

TUI is one of the world’s leading tourism groups. The broad portfolio gathered under the Group umbrella consists of strong tour operators, 1,600 travel agencies and leading online portals, five airlines with around 150 aircraft, over 400 hotels, 16 cruise liners and many incoming agencies in all major holiday destinations around the globe.

 

TUI Group logo

Contact

Login to your account