How do I encode and decode codes in Amadeus?

DAN FRANKFURT finds the code of a city or airport, DAC CHI decodes one, and DAN PARIS/S lists a city's airports. DNA decodes airlines (DNA 057 is Air France's ticket prefix), DNE aircraft and DC countries.
Unofficial guide, written with AI
GateRoam's own guide, written in our own words with the help of AI tools. It is not official Amadeus documentation and has not been reviewed or approved by Amadeus. It can contain mistakes: try every entry in the Amadeus training office first, or check Amadeus's own help, before you use it on a live booking.

When

A client says "Frankfurt" and you need the code, or a display shows a code you do not recognise (an airline LF, an aircraft E90, a country IE).

Steps

#EntryWhat it doesWhy
1DAN FRANKFURT · DAN CIN*Finds the code for a place (full name · beginning of a name).Encode a city or airport before searching.
2DAN PARIS/SShows the airports that belong to a city.Paris = CDG + ORY (+ BVA): pick the right one or search the city.
3DAC CHI · DAC CHI/ALLDecodes a code to its place · with every associated location.What is behind a code on a display.
4DNA LF · DNA DELTA · DNA 057Decodes an airline code · encodes an airline name · decodes a ticket prefix (057 = Air France).The 3-digit prefix of a ticket tells you the validating airline.
5DNE M54 · DNE AIRBUSDecodes · encodes an aircraft type.Know what the client will fly.
6DC GB · DC FRANCE · DC NORDecodes a country · encodes a country · decodes a nationality code.Passport and APIS data use country codes.
7DNS USFL · DNS USDecodes a state · lists the states of a country.US and Canadian addresses (APIS).
8DB LONLists the boarding points of a city.Which airports and stations serve it.

Check it worked

The answer lists the name and code; for a city, all its airports.

Traps

  • City code vs airport code. LON is the city (all London airports); LHR is Heathrow. Search and price with what the client can accept; a ticket shows airports.
  • Similar codes differ by one letter (LJU Ljubljana, LUZ Lublin) — decode when in doubt, before you sell.
  • Codeshare flights show the marketing airline; the operating airline is on the flight line (see Flight information — times, stops, aircraft, operating carrier (DO)).

Related

Free tool: airline codes and ticket prefixes
Every airline's IATA and ICAO code and 3-digit ticket prefix, searchable.

Read next

Amadeus training with AI: onboarding and support for agents

GateRoam has an Amadeus guide your AI assistant can search: learn Amadeus step by step and get answers on tickets, voids and refunds. No API needed.

Ask your AI assistant instead

This answer is one card of GateRoam's Amadeus guide. Inside GateRoam your AI assistant reads the whole guide and answers in your own words, step by step. Connect Claude or ChatGPT. Free during early access, no Amadeus keys needed.