[{"data":1,"prerenderedAt":483},["ShallowReactive",2],{"guide-amadeus-encode-decode":3,"mdc-p48u1g-key":30,"related-\u002Fblog\u002Famadeus-training-with-ai":475},{"id":4,"slug":5,"question":6,"answer":7,"title":8,"level":9,"entries":10,"verified":18,"body":19,"related":20},"basics.encode-decode","encode-decode","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\u002FS lists a city's airports. DNA decodes airlines (DNA 057 is Air France's ticket prefix), DNE aircraft and DC countries.","Encode and decode cities, airports, airlines, aircraft and countries","basic",[11,12,13,14,15,16,17],"DAN","DAC","DNA","DNE","DC","DNS","DB",true,"## When\nA client says \"Frankfurt\" and you need the code, or a display shows a code you do not recognise\n(an airline `LF`, an aircraft `E90`, a country `IE`).\n\n## Steps\n| # | Entry | What it does | Why |\n|---|---|---|---|\n| 1 | `DAN FRANKFURT` · `DAN CIN*` | Finds the code for a place (full name · beginning of a name). | Encode a city or airport before searching. |\n| 2 | `DAN PARIS\u002FS` | Shows the airports that belong to a city. | Paris = CDG + ORY (+ BVA): pick the right one or search the city. |\n| 3 | `DAC CHI` · `DAC CHI\u002FALL` | Decodes a code to its place · with every associated location. | What is behind a code on a display. |\n| 4 | `DNA LF` · `DNA DELTA` · `DNA 057` | Decodes 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. |\n| 5 | `DNE M54` · `DNE AIRBUS` | Decodes · encodes an aircraft type. | Know what the client will fly. |\n| 6 | `DC GB` · `DC FRANCE` · `DC NOR` | Decodes a country · encodes a country · decodes a nationality code. | Passport and APIS data use country codes. |\n| 7 | `DNS USFL` · `DNS US` | Decodes a state · lists the states of a country. | US and Canadian addresses (APIS). |\n| 8 | `DB LON` | Lists the boarding points of a city. | Which airports and stations serve it. |\n\n## Check it worked\nThe answer lists the name and code; for a city, all its airports.\n\n## Traps\n- **City code vs airport code.** `LON` is the city (all London airports); `LHR` is Heathrow. Search\n  and price with what the client can accept; a ticket shows airports.\n- Similar codes differ by one letter (`LJU` Ljubljana, `LUZ` Lublin) — decode when in doubt, before\n  you sell.\n- Codeshare flights show the marketing airline; the operating airline is on the flight line (see\n  [Flight information — times, stops, aircraft, operating carrier (DO)](\u002Famadeus-guide\u002Fflight-information)).",[21,24,27],{"slug":22,"question":23},"date-time-calculator","How do I calculate dates and times in Amadeus?",{"slug":25,"question":26},"flight-information","How do I see flight details in Amadeus (DO)?",{"slug":28,"question":29},"help-pages","How do I find help pages in Amadeus (HE and GG)?",{"data":31,"body":32},{},{"type":33,"children":34},"root",[35,44,75,81,392,398,403,409],{"type":36,"tag":37,"props":38,"children":40},"element","h2",{"id":39},"when",[41],{"type":42,"value":43},"text","When",{"type":36,"tag":45,"props":46,"children":47},"p",{},[48,50,57,59,65,67,73],{"type":42,"value":49},"A client says \"Frankfurt\" and you need the code, or a display shows a code you do not recognise\n(an airline ",{"type":36,"tag":51,"props":52,"children":54},"code",{"className":53},[],[55],{"type":42,"value":56},"LF",{"type":42,"value":58},", an aircraft ",{"type":36,"tag":51,"props":60,"children":62},{"className":61},[],[63],{"type":42,"value":64},"E90",{"type":42,"value":66},", a country ",{"type":36,"tag":51,"props":68,"children":70},{"className":69},[],[71],{"type":42,"value":72},"IE",{"type":42,"value":74},").",{"type":36,"tag":37,"props":76,"children":78},{"id":77},"steps",[79],{"type":42,"value":80},"Steps",{"type":36,"tag":82,"props":83,"children":84},"table",{},[85,114],{"type":36,"tag":86,"props":87,"children":88},"thead",{},[89],{"type":36,"tag":90,"props":91,"children":92},"tr",{},[93,99,104,109],{"type":36,"tag":94,"props":95,"children":96},"th",{},[97],{"type":42,"value":98},"#",{"type":36,"tag":94,"props":100,"children":101},{},[102],{"type":42,"value":103},"Entry",{"type":36,"tag":94,"props":105,"children":106},{},[107],{"type":42,"value":108},"What it does",{"type":36,"tag":94,"props":110,"children":111},{},[112],{"type":42,"value":113},"Why",{"type":36,"tag":115,"props":116,"children":117},"tbody",{},[118,154,181,215,256,290,331,365],{"type":36,"tag":90,"props":119,"children":120},{},[121,127,144,149],{"type":36,"tag":122,"props":123,"children":124},"td",{},[125],{"type":42,"value":126},"1",{"type":36,"tag":122,"props":128,"children":129},{},[130,136,138],{"type":36,"tag":51,"props":131,"children":133},{"className":132},[],[134],{"type":42,"value":135},"DAN FRANKFURT",{"type":42,"value":137}," · ",{"type":36,"tag":51,"props":139,"children":141},{"className":140},[],[142],{"type":42,"value":143},"DAN CIN*",{"type":36,"tag":122,"props":145,"children":146},{},[147],{"type":42,"value":148},"Finds the code for a place (full name · beginning of a name).",{"type":36,"tag":122,"props":150,"children":151},{},[152],{"type":42,"value":153},"Encode a city or airport before searching.",{"type":36,"tag":90,"props":155,"children":156},{},[157,162,171,176],{"type":36,"tag":122,"props":158,"children":159},{},[160],{"type":42,"value":161},"2",{"type":36,"tag":122,"props":163,"children":164},{},[165],{"type":36,"tag":51,"props":166,"children":168},{"className":167},[],[169],{"type":42,"value":170},"DAN PARIS\u002FS",{"type":36,"tag":122,"props":172,"children":173},{},[174],{"type":42,"value":175},"Shows the airports that belong to a city.",{"type":36,"tag":122,"props":177,"children":178},{},[179],{"type":42,"value":180},"Paris = CDG + ORY (+ BVA): pick the right one or search the city.",{"type":36,"tag":90,"props":182,"children":183},{},[184,189,205,210],{"type":36,"tag":122,"props":185,"children":186},{},[187],{"type":42,"value":188},"3",{"type":36,"tag":122,"props":190,"children":191},{},[192,198,199],{"type":36,"tag":51,"props":193,"children":195},{"className":194},[],[196],{"type":42,"value":197},"DAC CHI",{"type":42,"value":137},{"type":36,"tag":51,"props":200,"children":202},{"className":201},[],[203],{"type":42,"value":204},"DAC CHI\u002FALL",{"type":36,"tag":122,"props":206,"children":207},{},[208],{"type":42,"value":209},"Decodes a code to its place · with every associated location.",{"type":36,"tag":122,"props":211,"children":212},{},[213],{"type":42,"value":214},"What is behind a code on a display.",{"type":36,"tag":90,"props":216,"children":217},{},[218,223,246,251],{"type":36,"tag":122,"props":219,"children":220},{},[221],{"type":42,"value":222},"4",{"type":36,"tag":122,"props":224,"children":225},{},[226,232,233,239,240],{"type":36,"tag":51,"props":227,"children":229},{"className":228},[],[230],{"type":42,"value":231},"DNA LF",{"type":42,"value":137},{"type":36,"tag":51,"props":234,"children":236},{"className":235},[],[237],{"type":42,"value":238},"DNA DELTA",{"type":42,"value":137},{"type":36,"tag":51,"props":241,"children":243},{"className":242},[],[244],{"type":42,"value":245},"DNA 057",{"type":36,"tag":122,"props":247,"children":248},{},[249],{"type":42,"value":250},"Decodes an airline code · encodes an airline name · decodes a ticket prefix (057 = Air France).",{"type":36,"tag":122,"props":252,"children":253},{},[254],{"type":42,"value":255},"The 3-digit prefix of a ticket tells you the validating airline.",{"type":36,"tag":90,"props":257,"children":258},{},[259,264,280,285],{"type":36,"tag":122,"props":260,"children":261},{},[262],{"type":42,"value":263},"5",{"type":36,"tag":122,"props":265,"children":266},{},[267,273,274],{"type":36,"tag":51,"props":268,"children":270},{"className":269},[],[271],{"type":42,"value":272},"DNE M54",{"type":42,"value":137},{"type":36,"tag":51,"props":275,"children":277},{"className":276},[],[278],{"type":42,"value":279},"DNE AIRBUS",{"type":36,"tag":122,"props":281,"children":282},{},[283],{"type":42,"value":284},"Decodes · encodes an aircraft type.",{"type":36,"tag":122,"props":286,"children":287},{},[288],{"type":42,"value":289},"Know what the client will fly.",{"type":36,"tag":90,"props":291,"children":292},{},[293,298,321,326],{"type":36,"tag":122,"props":294,"children":295},{},[296],{"type":42,"value":297},"6",{"type":36,"tag":122,"props":299,"children":300},{},[301,307,308,314,315],{"type":36,"tag":51,"props":302,"children":304},{"className":303},[],[305],{"type":42,"value":306},"DC GB",{"type":42,"value":137},{"type":36,"tag":51,"props":309,"children":311},{"className":310},[],[312],{"type":42,"value":313},"DC FRANCE",{"type":42,"value":137},{"type":36,"tag":51,"props":316,"children":318},{"className":317},[],[319],{"type":42,"value":320},"DC NOR",{"type":36,"tag":122,"props":322,"children":323},{},[324],{"type":42,"value":325},"Decodes a country · encodes a country · decodes a nationality code.",{"type":36,"tag":122,"props":327,"children":328},{},[329],{"type":42,"value":330},"Passport and APIS data use country codes.",{"type":36,"tag":90,"props":332,"children":333},{},[334,339,355,360],{"type":36,"tag":122,"props":335,"children":336},{},[337],{"type":42,"value":338},"7",{"type":36,"tag":122,"props":340,"children":341},{},[342,348,349],{"type":36,"tag":51,"props":343,"children":345},{"className":344},[],[346],{"type":42,"value":347},"DNS USFL",{"type":42,"value":137},{"type":36,"tag":51,"props":350,"children":352},{"className":351},[],[353],{"type":42,"value":354},"DNS US",{"type":36,"tag":122,"props":356,"children":357},{},[358],{"type":42,"value":359},"Decodes a state · lists the states of a country.",{"type":36,"tag":122,"props":361,"children":362},{},[363],{"type":42,"value":364},"US and Canadian addresses (APIS).",{"type":36,"tag":90,"props":366,"children":367},{},[368,373,382,387],{"type":36,"tag":122,"props":369,"children":370},{},[371],{"type":42,"value":372},"8",{"type":36,"tag":122,"props":374,"children":375},{},[376],{"type":36,"tag":51,"props":377,"children":379},{"className":378},[],[380],{"type":42,"value":381},"DB LON",{"type":36,"tag":122,"props":383,"children":384},{},[385],{"type":42,"value":386},"Lists the boarding points of a city.",{"type":36,"tag":122,"props":388,"children":389},{},[390],{"type":42,"value":391},"Which airports and stations serve it.",{"type":36,"tag":37,"props":393,"children":395},{"id":394},"check-it-worked",[396],{"type":42,"value":397},"Check it worked",{"type":36,"tag":45,"props":399,"children":400},{},[401],{"type":42,"value":402},"The answer lists the name and code; for a city, all its airports.",{"type":36,"tag":37,"props":404,"children":406},{"id":405},"traps",[407],{"type":42,"value":408},"Traps",{"type":36,"tag":410,"props":411,"children":412},"ul",{},[413,441,462],{"type":36,"tag":414,"props":415,"children":416},"li",{},[417,423,425,431,433,439],{"type":36,"tag":418,"props":419,"children":420},"strong",{},[421],{"type":42,"value":422},"City code vs airport code.",{"type":42,"value":424}," ",{"type":36,"tag":51,"props":426,"children":428},{"className":427},[],[429],{"type":42,"value":430},"LON",{"type":42,"value":432}," is the city (all London airports); ",{"type":36,"tag":51,"props":434,"children":436},{"className":435},[],[437],{"type":42,"value":438},"LHR",{"type":42,"value":440}," is Heathrow. Search\nand price with what the client can accept; a ticket shows airports.",{"type":36,"tag":414,"props":442,"children":443},{},[444,446,452,454,460],{"type":42,"value":445},"Similar codes differ by one letter (",{"type":36,"tag":51,"props":447,"children":449},{"className":448},[],[450],{"type":42,"value":451},"LJU",{"type":42,"value":453}," Ljubljana, ",{"type":36,"tag":51,"props":455,"children":457},{"className":456},[],[458],{"type":42,"value":459},"LUZ",{"type":42,"value":461}," Lublin) — decode when in doubt, before\nyou sell.",{"type":36,"tag":414,"props":463,"children":464},{},[465,467,474],{"type":42,"value":466},"Codeshare flights show the marketing airline; the operating airline is on the flight line (see\n",{"type":36,"tag":468,"props":469,"children":471},"a",{"href":470},"\u002Famadeus-guide\u002Fflight-information",[472],{"type":42,"value":473},"Flight information — times, stops, aircraft, operating carrier (DO)",{"type":42,"value":74},[476],{"path":477,"title":478,"description":479,"date":480,"image":481,"imageAlt":481,"draft":482},"\u002Fblog\u002Famadeus-training-with-ai","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.","2026-09-27",null,false,1792308301313]