Developers

Embed a code lookup widget

Give your visitors an instant airport and airline code lookup without building one. Paste a single snippet and you are done. It is free, responsive, and works on any site.

Option 1: one-line script

Paste this where you want the lookup to appear. The script injects a responsive iframe with a "Powered by FlyCodes" link.

<div id="flycodes-widget"></div>
<script src="https://flycodes.net/embed.js" async></script>

Live preview

This is the actual widget, running right here:

Option 2: plain iframe

Prefer no JavaScript? Drop the iframe in directly. Adjust the width and height to taste.

<iframe
  src="https://flycodes.net/widget.html"
  title="FlyCodes airport code lookup"
  width="420" height="320"
  style="border:1px solid #e0e5f0;border-radius:14px;max-width:100%"
  loading="lazy"></iframe>

What visitors can look up

The widget searches the same database as the rest of FlyCodes: any airport by IATA or ICAO code, city or name, and any airline by code or name. Results link through to the full page on FlyCodes.

Licensing

The widget is free to embed on any site, personal or commercial. It keeps a small "Powered by FlyCodes" link, which is how people find the tool. Data credits are on the data page. Developers who want the raw data should use the JSON API instead.