Visuals/UPAs (Universal Product Attributes)
In addition to Ticket Attributes and Amenities, the Routehappy API provides access to Routehappy’s Visuals/Universal Product Attributes (UPAs). These use airline photography to bring unique fares, products, and services to life with messaging, images, videos and cabin tours. UPA content can be highly targeted by aircraft, cabin, route, fare, and more, giving travel agents and customers time sensitive and relevant content as they shop.
This content type will be referred to as Visuals moving forward, which is reflected in the Routehappy Hub and related marketing/documentation. However, the Routehappy API temporarily still refers to this content as UPAs.
Requesting Visuals/UPAs (API Controls)
To retrieve UPAs in your response, include them in the control object when calling the Routehappy API endpoint:
{
"control": {
"includes": [
"upa"
],
"upa_categories_filter": [
"seat",
"wi-fi",
"meals",
"lounge"
],
"upa_sources_filter": [
"atpco",
"airline"
],
"disable_upa_photo": false,
"disable_upa_tour": false,
"disable_upa_video": true,
"disable_upa_infographics": true,
"disable_upa_marketing_graphics": false
}
}Visuals/UPA Elements
Media Elements
Airlines may provide visual and textual content. Each Visual/UPA may include:
- Photos/Graphics
- Videos
- Virtual Tours
- Icons (legacy, not recommended)
Text elements returned include: headline, description, caption, and alt text.
Translations can be requested with the Accept-Language header (ISO 639-1).
Photos and Graphics
Each Visual (UPA) may include one or more photo or graphic assets. These are provided as Content Delivery Network (CDN)-hosted URLs in different sizes so you can display them appropriately across devices and layouts.
| Field | Size / Use Case |
|---|---|
PHOTO_THUMB_URL | 150x150 px, thumbnail |
PHOTO_MEDIUM_SQUARE_URL | 350x350 px, summary views |
PHOTO_LARGE_URL | 800x600 px max, detailed views |
PHOTO_URL | Original full-resolution |
Tip: Always scale images proportionally if you need to resize them. Do not crop images, as airlines design and frame these assets intentionally.
Photo Types:
- Marketing Graphic -- static service depiction
- Inforgraphic -- simplified information graphic
- Photo -- high-quality, airline-provided image
Sample response:
"photos": [
{
"caption": "Board and deplane more quickly with an aisle or window seat in the front of Main Cabin.",
"thumb_url": "https://upamedia.atpco.net/photos/ed2ceaae-3c84-4e67-b707-e0de2bf9ab82/square_thumb/t3d-b737-mc-a01-5044-v01-20220918.jpg?channel_id=ATPCO",
"medium_square_url": "https://upamedia.atpco.net/photos/ed2ceaae-3c84-4e67-b707-e0de2bf9ab82/large_square_thumb/t3d-b737-mc-a01-5044-v01-20220918.jpg?channel_id=ATPCO",
"large_url": "https://upamedia.atpco.net/photos/ed2ceaae-3c84-4e67-b707-e0de2bf9ab82/large/t3d-b737-mc-a01-5044-v01-20220918.jpg?channel_id=ATPCO",
"url": "https://upamedia.atpco.net/photos/ed2ceaae-3c84-4e67-b707-e0de2bf9ab82/t3d-b737-mc-a01-5044-v01-20220918.jpg?channel_id=ATPCO"
}
]Virtual Tours(360°)
Virtual Tours are immersive 360° experiences that allow flight shoppers to explore aircraft cabins. These tours are hosted by third parties, and the Routehappy API provides the links needed for embedding.
Requesting Virtual Tours
- Tours are included by default when requesting Visuals (Upas).
- You can control their inclusion using the
disable_upa_tourflag in the request payload. - When using
disable_upa_tour, Visuals will still be included in the response but the Virtual Tour URLs will be excluded
{
"control": {
"includes": ["upa"],
"disable_upa_tour": false // set to true to omit tours
}
}Tour Attributes:
| Field | Description |
|---|---|
caption | Short caption for the tour |
image_thumb_url | 150x150 px thumbnail preview |
image_medium_square_url | 350x350 px preview image |
embed_url | URL used to generate the embedded tour player |
Embedding Guidelines
- Embed tours using an HTML5
<object>element when possible, as it’s the preferred modern approach.<iframe>elements may be used for specific use cases - Tours are lightweight and responsive — suitable for desktop and mobile.
- Best displayed alongside seat maps or detailed cabin information.
- ATPCO can provide best practices and sample integrations on request.
Example:
"tours": [
{
"caption": "Step Inside Delta’s A330-900neo",
"thumb_url": "https://upamedia.atpco.net/tours/a09a2503-d3e9-4680-9989-64f6a00f00fa/large_square_thumb/text-thumbnail.jpg?channel_id=ATPCO",
"medium_square_url": "https://upamedia.atpco.net/tours/a09a2503-d3e9-4680-9989-64f6a00f00fa/square_thumb/text-thumbnail.jpg?channel_id=ATPCO",
"embed_url": "https://atpco.3dseatmapvr.com/clients/dl/a330_900_config1/economy/index.html?channel_id=ATPCO"
}
]Videos
Some Visuals (UPAs) include branded promotional videos, such as airline service overviews or previews of in-flight entertainment. The Routehappy API provides fields to support embedding and displaying these videos.
Requesting Videos
Videos are included by default when requesting Visuals (UPAs).
You can control their inclusion using the disable_upa_video flag in the request payload.
When using disable_upa_video, Visual will still be included in the response, but video URLs will be excluded.
Video Attributes
| Field | Description |
|---|---|
VIDEO_IMAGE_THUMB_URL | 150x150 px thumbnail, suitable for compact previews |
VIDEO_IMAGE_MEDIUM_SQUARE_URL | 350x350 px preview image, for summaries or listing views |
VIDEO_EMBED_URL | The URL of the airline-provided branded video. Use this value to embed or stream the video in your application |
Icons (Legacy)
Each Visual (UPA) may include two icon fields:
| Field | Description |
|---|---|
small_icon_url | URL for a 42x42 px icon (legacy) |
large_icon_url | URL for an 84x84 px icon (legacy) |
Sample response:
"small_icon_url": "https://upamedia.atpco.net/icons/9e51dec1-700b-4de2-89b1-4550735972ea/small/business-elite-seat.png?channel_id=ATPCO",
"large_icon_url": "https://upamedia.atpco.net/icons/9e51dec1-700b-4de2-89b1-4550735972ea/large/business-elite-seat.png?channel_id=ATPCO"Important: These icons are remnants of an earlier version of the UPA API.
ATPCO strongly recommends not relying on icons for new integrations. Instead, pair textual content (headline, description, caption) with rich media assets (photos, videos, tours) for a more rich and engaging experience.
The small_icon_url and large_icon_url fields are still returned in API responses. However, they should be ignored in modern integrations.
Text Elements
Each Visual (UPA) includes up to four text fields. These provide context and description to accompany photos, videos, or tours.
Headline
A short, attention-grabbing title. Best for highlighting the key feature at a glance.
Description
A fuller explanation of the feature or service. Recommended for use when only one text field can be shown.
Caption
A short line of text tied directly to a specific media asset (e.g., describing what is shown in each photo in a given Visual). This is the most descriptive text field offered. For instance, a Visual that contains 3 separate images will also contain 3 separate Captions).
Alt text
Accessibility text that describes the visual media for users who cannot see the image or video.
ATPCO recommends always displaying both headline and description/caption together. If only one is possible, use description/caption.
Text Field Character Limits
| Field | English Limit | Non-English Limit |
|---|---|---|
| Headline | 40 characters | 70 characters |
| Description | 140 characters | 220 characters |
| Caption | 140 characters | 220 characters |
| Alt text | 140 characters | 140 characters |
To include alt text in the response, enable the feature in the request:
"control": {
"features": ["upa_photo_alt_text"]
}Example response:
{
"headline": "Choose a Preferred seat",
"description": "Board and deplane more quickly with an aisle or window seat in the front of Main Cabin.",
"photos": [
{ "caption": "Board and deplane more quickly with an aisle or window seat in the front of Main Cabin." }
]
}Notes
- Description and Caption are separated fields in the data model, but in most cases today they contain the same text. This is due to content sourcing practices and helps ensure consistency across display contexts.
- Other text fields exist in the UPA response (e.g., attribute description, Call to Action (CTA) text, CTA URL), but these are most often empty in current data.
Markdown Text Fields
For airline direct channel use cases, the UPA response can optionally include Markdown-formatted text fields. These allow richer formatting than plain text and are useful for enhanced UI rendering.
Available Markdown Fields
description_md- Markdown-formatted version of the UPA description (up to 450 characters).caption_md- Markdown-formatted version of the UPA caption (up to 450 characters).
These fields support Markdown syntax such as bold, italics, headings, lists, and spacing.
Enabling Markdown Fields
To receive Markdown-formatted text in the response, enable the feature in your request:
"control": {
"features": ["markdown_text"]
}
}Sample Response:
{
"description": "Economy seats are best-in-class with the Recaro 3620 model...",
"description_md": "**Economy** seats are best-in-class with the Recaro 3620 model..."
}The description_md and caption_md fields contain Markdown-formatted text and must be rendered as formatted HTML in the sales channel frontend.
Language Support
By default, all text fields in Visuals (UPAs) are returned in English (en).
To request a different language, include the standard Accept-Language HTTP header in your request.
- Use an ISO 639-1 two-letter code or 2-alpha code language with region-specific code (for example,
en-UK). - If no translation is available for the requested language, the API will revert to English.
Example request with header:
--header "Accept-Language: fr"Targeting
UPA targeting is powered by Routehappy's flight product attribute database. This extensive database is continually and carefully updated with detailed information on routes, schedules, airline subfleets, cabins, branded fares and seat characteristics. It also includes data regarding the availability of meals, beverages, in-flight entertainment (IFE), Wi-Fi, power outlets and USB ports for specific subfleets.
This enables UPA content to be specifically targeted to aircraft, subfleet, cabin, route, fare, as well as other attributes, such as specific seat characteristics or optional services, which gives flight shoppers the most relevant and useful merchandising content possible while they shop for flights. For example, subfleet targeting allows you to display seat UPAs for flights equipped with the new lie-flat seats, while showing UPAs for the older seats only on flights where those are still in use.
Seat Characteristics
Seat Characteristics Visuals (UPAs) provide a more granular way to target content to specific seats within an airline seat map and cabin. Airlines are increasingly focused on optimizing ancillary revenue from seat sales, and these Visuals help sales channels match the quality of airline websites by showing exactly why certain seats carry added value.
Examples:
- Extra legroom seats highlighted with real photography and descriptions.
- Exit row seats explained with benefits and trade-offs.
- Preferred zone seats marketed for their location and convenience.
This level of targeting helps answer common traveler questions like “Why is seat 1A more expensive than seat 8A?” and reduces confusion by visually illustrating the differences between seat types.
Enabling Seat Characteristics
Seat Characteristics are an opt-in feature. To include them in your response, enable the feature in your request:
{
"control": {
"features": ["seat_characteristics"]
}
}Filtering by Seat Characteristics
You can filter the response to return only UPAs targeted to specific seat characteristic codes by using upa_seat_characteristics_filter.
Sample response:
{
"control": {
"includes": ["upa"],
"features": ["seat_characteristics"],
"upa_seat_characteristics_filter": [
["CH"], // bulkhead seat
["CH", "L"] // bulkhead seat with extra legroom
]
}
}Data Sources
- Seat characteristic codes are filed by airlines in ATPCO’s Optional Services, Table 191.
- Codes follow the IATA PADIS standard (e.g.,
L= Extra Legroom,CH= Chargeable,O= Preferential). - These codes are imported into the Routehappy Hub and linked with Visuals/UPAs to provide seat map specific targeting.
Implementation Notes
- Seat Characteristics Visuals should only be integrated when there is a clear call-to-action for seat selection, such as on a seat map or within a seat upgrade module.
- When doing the mapping on the sales channel side, a Seat Characteristics Visual (UPA) should only be used if ALL PADIS codes targeted to that Visual (UPA) are matched. Many seats are targeted with multiple PADIS codes, and it's important that Visuals reflect all seat characteristics elements targeted to that specific seat type.
- Unlike Branded Fares/Fare Families UPAs or UTAs, fare basis code is not required to request Seat Characteristics Visuals.
- Not all Airlines provide seat-specific Visuals; build integrations to gracefully fall back to broader cabin or subfleet Visuals when no seat-characteristic match exists.
Sample response 1:
{
"categories": ["seat"],
"headline": "Choose a Preferred seat",
"seat_characteristics": [
{
"codes": ["CH", "O"],
"commercial_name": "Preferred"
}
]
}Sample response 2:
{
"categories": ["seat"],
"headline": "Choose a Preferred seat",
"seat_characteristics": [
{
"codes": ["CH", "O"],
"commercial_name": "Preferred"
},
{
"codes": ["CH", "O", "W"],
"commercial_name": "Preferred Window"
},
{
"codes": ["CH", "O", "A"],
"commercial_name": "Preferred Aisle"
},
{
"codes": ["O", "W"],
"commercial_name": "Preferred Window"
},
{
"codes": ["O", "A"],
"commercial_name": "Preferred Aisle"
}
]
}Visuals/UPA Standard Categories
Each Visual (UPA) belongs to a single category. Categories help organize content for display, filtering, or comparison across offers.
Types of Categories
- Standard Categories - Defined and maintained by ATPCO. These are common across all channels and ensure consistency in interpretation.
- Custom Categories - Defined by individual airlines to support specific use cases or messaging needs. These may vary in naming and usage.
Common Standard Categories
Some of the standard categories include:
- Seat
- Entertainment
- Aircraft
- Wi-fi
- Power
- Check in
- Promotion
Common Custom Categories
Examples of airline-defined custom categories:
- Fare Informational.
- Codeshare: Overview.
Filtering by category
You can control which Visuals (UPAs) are returned by specifying category filters in your request:
{
"control": {
"includes": ["upa"],
"upa_categories_filter": ["seat", "aircraft", "wifi"]
}
}If no filter is applied, the API will return all available UPA categories.
Display Guidelines
To ensure a high-quality user experience and preserve the integrity of airline-provided content, follow these guidelines when integrating Visuals (UPAs) into your product display.
Non-Codeshare Visuals/UPAs
- Map Visuals to the Correct Flight Segment
Always ensure that Visuals are displayed on the correct segment of an itinerary. Incorrect mapping can confuse shoppers. - Support Special Characters
UPA text fields may include special characters (™, ®, accented letters). Your integration must display these correctly. - Preserve Media Composition
Scale images proportionally if resizing. Do not crop, as important branding elements may be lost. - Text Usage
Use both headline and description/caption together for the best shopper experience.
If you can only display one, prioritize the description/caption (more explanatory). - Honor Content Order
Airlines may deliver Visuals in a specific order. Displaying them as provided can help tell the intended story. - Translations
When available, display content in the traveler’s preferred language using the Accept-Language header. Fall back to English if no translation is found.
Codeshare Visuals/UPAs
Codeshare Visuals provide transparency for flights marketed by one carrier but operated by another. They highlight topics such as logos, mileage accrual, policies, and airport processes.
Mandatory Guidelines
- Display Both Headline and Description/Caption
Both fields must be shown to ensure the shopper fully understands the codeshare details. - Accurate Mapping
Codeshare UPAs must be mapped to the correct segment. - Category Order
Display the Overview UPA first, followed by connection or other joint codeshare UPAs. - Preserve Brand Elements
If resizing images, scale them proportionally. Do not crop - logos from both airlines must remain fully visible. - Quality Assurance
Access to your channel must be provided to ATPCO and all involved airlines for testing and approval of codeshare UPA integrations.
Notes
- Visuals are meant to enhance clarity, not replace fare/amenity details. Pair them with Attributes (UTAs and Amenities) for the most complete experience.
- Always test your display across desktop and mobile to ensure Visuals render consistently.
- Build your integration to handle updates (new images, translations, categories) without requiring code changes.
Branded Fare Visuals (UPAs)
Branded Fare Visuals (UPAs) allow airlines to present offers not only by cabin, but also by fare brand. These Visuals enhance the shopping experience by clarifying the differences between fare brands and encouraging upsell to fare brands. Branded Fare Visuals are typically found in the Fare Informational category.
Examples:
- Use-case 1: Branded Fare Visuals are used to communicate the currently selected fare brand. For example, the channel should call for Visuals in the Fare Informational category for Economy Classic, and show them once Economy Classic is selected.
- Use-case 2: Branded Fare Visuals are used to support upsell opportunities. For example, to attempt upselling a shopper from Economy Classic to Economy Flex, the channel should call for Visuals in the Fare Informational category for Economy Flex and display in an upsell module.
Accessing Branded Fare Visuals
To access Branded Fare Visuals/UPAs, your request must include:
- Visuals/UPA content
(upa)- Visuals for the branded fare (mandatory) - Fare basis code
(fbc)- Required to match against ATPCO fare filings and return the correct fare brand (mandatory). - Fare source
(src)- Highly recommended. Required for most airline ‘deals' as non-public data - UTA content
(uta)- Branded Fare Visuals are most effective when paired with Universal Ticket Attributes (UTAs) to explain fare restrictions and benefits.
Example request:
{
"control": {
"includes": ["upa", "uta"]
},
"data": {
"itineraries": [
{
"src": "1S", // recommended: fare source
"segments": [
{
"dep": "LHR",
"arr": "JFK",
"cxr": "VS",
"fltno": 9,
"date": "2025-01-15",
"cabin": 1,
"fbc": "A1234567" // required: fare basis code
}
]
}
]
}
}Response
When Branded Fare Visuals (UPAs) are returned, the response will contain:
Visuals/UPAs from Fare Informational or Fare Upsell
- Each UPA includes headline, description/caption, and media (photos, icons or videos).
Branded Fare information
brand_name- the airline-filed fare brand name (e.g., ECONOMY DELIGHT).brand_codes- the code used by the airline to represent the brand (e.g., DELIGHT).brand(ID) - a unique identifier in the API response.
Sample response:
{ "brand": [ { "brand_codes": ["DELIGHT"], "brand_name": "ECONOMY DELIGHT", "id": "6140003" } ], "upa": [ { "categories": ["fare-informational"], "headline": "Economy Delight", "description": "Extra legroom, priority check-in, and a 23kg checked bag.", "photos": [ { "caption": "Economy Delight with extra space and added benefits.", "large_url": "https://cdn.routehappy.com/photos/economy_delight_large.jpg" } ] } ] }
Note: Fare Source (src)
When airlines file branded fare information with ATPCO, they also indicate which fare sources should have access to the content. The source of the fare is provided by the airline rate desks.
If you do not include a src value in your request:
- Only data with no fare source restrictions will be returned.
- Branded Fare Visuals may be incomplete or missing.
srcshould be formatted as the 2-digit IATA code for your given fare source: Airline and Airport Code Search
Always include src in your UTA/UPA requests to ensure the API can return the full set of branded fare data.
Updates and caching
Caching rights are dictated by the terms of your Routehappy contract. Caching should never exceed 24 hours because it is common for either the Visual/UPA content or for the aircraft operating the flight to change, which may result in a change in matched UPA content.Your account or integrations manager can assist with this information.