API
Sign-in and access
Your app asks the pilot to sign in with their Foley Charts account through OAuth 2, and their Foley Charts licence unlocks the data. Integrating costs your app nothing. A pilot without a licence gets 402 Payment Required, with a link to the licences.
Register your app under Settings, Apps. Desktop apps and aircraft in the simulator use the device flow: the pilot types a short code on this site, so nobody types a password into your app. Web and mobile apps use the authorization code flow with PKCE. For your own scripts, create a personal token.
Every lookup takes ?cycle= and otherwise answers from the cycle in effect. Requests are limited to 240 a minute per pilot.
Endpoints
| GET |
/
Cycles with their dates, counts and files. No sign-in needed.
|
Cycles with their dates, counts and files. No sign-in needed. |
| GET |
/
A cycle's file: xplane12, msfs2024, msfs2020, arinc424, sqlite, avionics or geojson, made for the signed-in pilot.
|
A cycle's file: xplane12, msfs2024, msfs2020, arinc424, sqlite, avionics or geojson, made for the signed-in pilot. |
| GET |
/
An airport with its runways, ILS and the names of its procedures.
|
An airport with its runways, ILS and the names of its procedures. |
| GET |
/
Its procedures, one per transition, with ids.
|
Its procedures, one per transition, with ids. |
| GET |
/
A procedure's legs as ARINC 424 path terminators, with positions.
|
A procedure's legs as ARINC 424 path terminators, with positions. |
| GET |
/
Navaids and waypoints with an ident, nearest first.
|
Navaids and waypoints with an ident, nearest first. |
| GET |
/
An airway's fixes, levels, courses and altitudes.
|
An airway's fixes, levels, courses and altitudes. |
| GET |
/
A route string checked and expanded into points, with its distance.
|
A route string checked and expanded into points, with its distance. |
| GET |
/
The shortest route over the airways, with its SID and STAR. Add &format=fms, pln or txt for a file.
|
The shortest route over the airways, with its SID and STAR. Add &format=fms, pln or txt for a file. |
| POST |
/
The same, planned to your own limits, as JSON: from_at and to_at ([lat, lon]) for airports not in the cycle; sid, star, tracks and airways on or off; navaids to fly navaid to navaid where airways leave gaps; avoid_areas ({ring, holes, corridors with points and width_nm}) to keep out of; alternates ([lat, lon]) and alternate_nm to stay within reach of; points to turn at and via_points to pass; navaid_factor for how much longer than they are links off the airways count (1.15); closures false to leave out today's closed FIRs when you bring your own areas.
|
The same, planned to your own limits, as JSON: from_at and to_at ([lat, lon]) for airports not in the cycle; sid, star, tracks and airways on or off; navaids to fly navaid to navaid where airways leave gaps; avoid_areas ({ring, holes, corridors with points and width_nm}) to keep out of; alternates ([lat, lon]) and alternate_nm to stay within reach of; points to turn at and via_points to pass; navaid_factor for how much longer than they are links off the airways count (1.15); closures false to leave out today's closed FIRs when you bring your own areas. |
| POST |
/
Up to 50 plans at once, as {plans: [...]}, each as POST /routes/plan takes it, answered in order.
|
Up to 50 plans at once, as {plans: [...]}, each as POST /routes/plan takes it, answered in order. |
| GET |
/
Routes flown between two airports: FAA preferred and coded departure routes, and routes pilots planned here, each checked against the cycle.
|
Routes flown between two airports: FAA preferred and coded departure routes, and routes pilots planned here, each checked against the cycle. |
| POST |
/
Plan a flight: orig, dest, type (or airframe), and optionally route, level, cruise (CI30, LRC, M78), pax, cargo, eobt, altn, contingency, reserve, layout (standard, compact or release). Returns the full operational flight plan.
|
Plan a flight: orig, dest, type (or airframe), and optionally route, level, cruise (CI30, LRC, M78), pax, cargo, eobt, altn, contingency, reserve, layout (standard, compact or release). Returns the full operational flight plan. |
| GET |
/
The pilot's flights, newest first.
|
The pilot's flights, newest first. |
| GET |
/
A flight's plan: summary, fuel, weights, times, navigation log, winds aloft, ATC flight plan and weather.
|
A flight's plan: summary, fuel, weights, times, navigation log, winds aloft, ATC flight plan and weather. |
| GET |
/
ofp.pdf or ofp.txt (layout=standard, compact or release), plan.fms (X-Plane), plan.pln (MSFS), route.gpx, route.kml, route.txt or route.svg.
|
ofp.pdf or ofp.txt (layout=standard, compact or release), plan.fms (X-Plane), plan.pln (MSFS), route.gpx, route.kml, route.txt or route.svg. |
| POST |
/
Plan it again with the latest winds and weather, as a new release.
|
Plan it again with the latest winds and weather, as a new release. |
| GET |
/
Aircraft types with performance, and their weight limits.
|
Aircraft types with performance, and their weight limits. |
| GET |
/
Takeoff speeds, assumed temperature and limiting weights, or landing distances, for each runway in the current weather (or oat, qnh, wind, wet you give).
|
Takeoff speeds, assumed temperature and limiting weights, or landing distances, for each runway in the current weather (or oat, qnh, wind, wet you give). |
| GET |
/
Latest METAR and TAF for airports.
|
Latest METAR and TAF for airports. |
| GET |
/
Wind, temperature and tropopause from the latest GFS run.
|
Wind, temperature and tropopause from the latest GFS run. |
| GET |
/
Airports, navaids and waypoints by ident or name.
|
Airports, navaids and waypoints by ident or name. |
| GET |
/
Everything a map needs inside a box.
|
Everything a map needs inside a box. |
| GET |
/
Aerodrome chart (ICAO Annex 4, chapter 13). ?page=2 on for its data sheets; ?format=pdf for every sheet as an A5 PDF; ?theme=dark for night. Parts too crowded to number are outlined as ground movement charts A, B and on.
|
Aerodrome chart (ICAO Annex 4, chapter 13). ?page=2 on for its data sheets; ?format=pdf for every sheet as an A5 PDF; ?theme=dark for night. Parts too crowded to number are outlined as ground movement charts A, B and on. |
| GET |
/
Aerodrome ground movement chart (chapter 14): a crowded part of the field drawn larger, every stand numbered, with the stands' and holding positions' coordinates on its data sheets.
|
Aerodrome ground movement chart (chapter 14): a crowded part of the field drawn larger, every stand numbered, with the stands' and holding positions' coordinates on its data sheets. |
| GET |
/
Aircraft parking/docking chart (chapter 15): a part of a ground movement chart still too crowded, drawn larger again.
|
Aircraft parking/docking chart (chapter 15): a part of a ground movement chart still too crowded, drawn larger again. |
| GET |
/
A departure, arrival or approach chart, with insets where its plan is crowded.
|
A departure, arrival or approach chart, with insets where its plan is crowded. |
| GET |
/
Enroute chart (chapter 7) of any area, in a Lambert conformal conic projection, numbered by its middle and size (N376W1224-18X28-HL), its neighbours named at its edges; ?sheet= that number draws a sheet again; ?format=pdf prints it as A4. Add &view=x,y,width,height (in the page's pixels) and &width= to draw that part of the page again closer, to lay over it.
|
Enroute chart (chapter 7) of any area, in a Lambert conformal conic projection, numbered by its middle and size (N376W1224-18X28-HL), its neighbours named at its edges; ?sheet= that number draws a sheet again; ?format=pdf prints it as A4. Add &view=x,y,width,height (in the page's pixels) and &width= to draw that part of the page again closer, to lay over it. |
| GET |
/
Area chart (chapter 8): the SIDs, STARs and their holding patterns from their coded legs, with the airways, airspace, radio aids and points about them. Where both do not fit on one, area-arrival.svg and area-departure.svg.
|
Area chart (chapter 8): the SIDs, STARs and their holding patterns from their coded legs, with the airways, airspace, radio aids and points about them. Where both do not fit on one, area-arrival.svg and area-departure.svg. |
| GET |
/
ATC surveillance minimum altitude chart (chapter 21): the minimum vectoring altitude sectors from the FAA's charts, for US aerodromes.
|
ATC surveillance minimum altitude chart (chapter 21): the minimum vectoring altitude sectors from the FAA's charts, for US aerodromes. |
| GET |
/
Wind and temperature chart at a level from the latest GFS run, or for any bbox.
|
Wind and temperature chart at a level from the latest GFS run, or for any bbox. |
| GET |
/
Upper significant weather from the GFS forecast: jet streams, clear air turbulence, tropopause and SIGMETs.
|
Upper significant weather from the GFS forecast: jet streams, clear air turbulence, tropopause and SIGMETs. |
| GET |
/
The signed-in pilot.
|
The signed-in pilot. |
Scopes: navdata for data and files, charts for charts. Procedure and airway ids belong to one cycle.
Formats
X-Plane 12
The Custom Data folder: earth_fix, earth_nav, earth_awy, earth_hold, earth_msa, earth_mora and CIFP per airport.
MSFS 2020 / 2024
A Community folder package of BGL files: VOR, ILS and NDB stations, waypoints carrying their airways, and each airport's approaches, departures, arrivals and frequencies.
Avionics SQLite
The ARINC 424 table layout that add-on aircraft for Microsoft Flight Simulator read for their flight management computers.
ARINC 424
One ARINC 424-18 file with every record, the format flight management systems are built around.
SQLite
Every table of the cycle in one file, described below. The easiest way to ship data inside an app.
GeoJSON
Airports, runways, navaids, waypoints, airways and airspace as features, ready for any web map.
SQLite tables
Positions are decimal degrees, altitudes and elevations feet, frequencies kHz, bearings magnetic degrees. Procedure legs keep their ARINC 424 fields as published.