How to get all airports from msfs?

Is there a way to get all airports that are in MSFS (in a file or API) ?
I would like to map all airports that are available on a map.
I’m currently using OpenAIP data but that’s note accurate (missing airports in both sides…)


Little Navmap does it. It’s open source, so you might be able to figure out how he does it. BGL-parser would be my guess.

Somebody posted a few Excel files with real-world & MSFS airports here.

Thank you so much !