× API

sim.tools API is free to use for all. An API key is required and may be obtained using a form under the examples. By default, quota for all new keys is 500 GET requests per day, but I will be happy to increase it for good use if you get in touch.

API responds in JSON format to GET requests, as seen in examples below. If a request produces erroneous output, a single error element will be returned, explaining the error.

Airport information

key=[API_key]

a=ap

icao=[ICAO]

https://sim.tools/api/?key=[your_key]&a=ap&icao=EGLL

{

"ap": {

"icao": "EGLL",

"iata": "LHR",

"lat": 51.4706,

"lon": 0.461941,

"name": "London Heathrow Airport",

"elev": 83,

"city": "London",

"country": "GB",

"lt": "09JUL17 14:49",

"timezone": "BST",

"sunrise": {

"utc": "03:56",

"lt": "04:56"

},

"sunset": {

"utc": "20:17",

"lt": "21:17"

},

"magdec": -0.74,

"runways": {

"09L/27R": {

"length": {

"ft": 12802,

"m": 3902

}

},

"09R/27L": {

"length": {

"ft": 12008,

"m": 3660

}

}

}

}

}

Great circle distance

key=[API_key]

a=gc

from=[ICAO]

to=[ICAO]

https://sim.tools/api/?key=[your_key]&a=gc&from=EGLL&to=EDDB

{

"gc": {

"nm": 520,

"km": 963,

"sm": 598

}

}

Route DB

key=[API_key]

a=routedb

from=[ICAO]

to=[ICAO]

https://sim.tools/api/?key=[your_key]&a=routedb&from=KATL&to=KATW

{

"routedb": [

{

"route": "VARNM2 RESPE IIU VHP DELHI OBK BAE",

"dist": 687

},

{

"route": "PENCL2 JAACE BNA J45 STL IJX BDF J105 BAE",

"dist": 802

},

{

"route": "VARNM2 RESPE IIU J89 BAE",

"dist": 686

}

]

}

Route plotter

key=[API_key]

a=route

from=[ICAO]

to=[ICAO]

route=[route]

https://sim.tools/api/?key=[your_key]&a=route&from=KORD&to=KLGA&route=DUFEE ELX CRL J34 DJB J60 PSB MIP4

{

"route": {

"navlog": [

...

{

"id": "CRL",

"airway": "J34",

"freq": "115.70",

"name": "CARLETON",

"lat": "42.048025",

"lon": "83.457581",

"tc": 91.89645,

"mc": 97.18359,

"leg": {

"nm": 118.9,

"km": 220.1

},

"dbo": {

"nm": 199.2,

"km": 368.9

},

"dtg": {

"nm": 465,

"km": 861.2

}

},

...

]

}

}

{

"error": "AIRAC 1707: UNABLE TO CONNECT TENSO TO REMSI VIA UL603"

}

METAR

key=[API_key]

a=metar

icao=[ICAO]

src=[noaa|vatsim|ivao]

https://sim.tools/api/?key=[your_key]&a=metar&icao=LEMD&src=noaa

{

"metar": "LEMD 091430Z 17003KT CAVOK 31/13 Q1015 NOSIG"

}

TAF

key=[API_key]

a=taf

icao=[ICAO]

https://sim.tools/api/?key=[your_key]&a=taf&icao=LEMD

{

"taf": "TAF LEMD 091100Z 0912/1018 VRB05KT 9999 FEW040



TEMPO 0914/0919 23008G18KT PROB30



TEMPO 0912/0919 FEW045TCU



TEMPO 1012/1018 23008G18KT"

}

API key request Submit × Please specify which website/application you intend to use the API for, thanks!

Example:Output: [...] Example:Output: [...] Example:Output: [...] Example:Output: [...] If a route is not valid, an error will specify erroneous parts: [...] Example:Output: [...] Example:Output: [...]