Display real-time METAR and TAF reports on your website
John F Kennedy International Airport
KJFK METAR 081351Z 31019G26KT 10SM FEW045 FEW250 08/01 A3017 RMK AO2 PK WND 32026/1342 SLP217 FROPA T00780011
London Heathrow Airport
EGLL TAF 081056Z 0812/0918 VRB02KT CAVOK PROB30 0812/0813 8000 BECMG 0820/0823 8000 PROB30 TEMPO 0900/0904 4000 BR MIFG TEMPO 0906/0911 -RADZ BKN007 BECMG 0910/0912 9999
METAR and TAF reports with just a few simple lines of HTML code
Always 100% FREE
Free to use on any website, FBO display, apps and more. There is no obligation and no credit card required.
Free API Limits
Free service allows 3,000 weather requests per day! Additional daily limits are subject to approval.
Need A Full Weather API?
Get decoded METARs, TAFs, and AIR/SIGMETs with query options. See our full aviation weather API.
Follow these four easy steps to get started today
Get a Free API Key
You must register for a Free API key at www.checkwxapi.com
You will instantly be granted a unique API key for your website which you will use in Step 2.
Registration is Free and does not require a credit card or obligation.
Using API keys allows us to ensure the service is receiving your request and is responding correctly.
Add Our Script Tag
Copy and paste this script tag near the bottom of your page right above the closing</body> tag. See examples.
Be sure to replace YOUR_API_KEY with the API key you received from Step 1.
Add Your HTML Tags
Copy-and-paste this element tag anywhere on your page where you want the METAR or TAF to appear.
You can create one or more of these element tags. See examples
You do not have to use a <div> tag. You could use a <p> tag or <span> tag or any other block level tag.
Edit the Data Attributes
Edit the data-type and data-station attributes of the element you created in Step 3:
Attribute | Description |
---|---|
data-type |
The type of data feed you are requesting. Options are either METAR or TAF |
data-station |
The aviation weather locations you are requesting. Options are either:
An ICAO code is a four-character alphanumeric code like KJFK or EGLL You can search for a list of ICAO codes on www.checkwxapi.com |
Here are some examples of adding the widget to your site
Display the current METAR at Los Angeles International Airport
Los Angeles International Airport
Display the current METARs at KLAX, KBOS and KMIA
Current METARS
Display the current METARs at EGLL and EDDF at different positions on page
Heathrow Airport
Frankfurt Airport
Display the current TAF at Indira Gandhi International Airport
Indira Gandhi International Airport
Display both the current METAR and TAF at Shijiazhuang Zhengding International Airport
Shijiazhuang Zhengding International Airport
When our Widget returns data, it is inserted inside of the tags you created, wrapped in a paragraph tag <p>...</p>
As shown below, there are two checkwx- classes in the response paragraph which allow you to customize the style. The checkwx-item class is the outter container and checkwx-link class is the link for additional weather services.
The following example shows how you can customize the CSS classes:
Customized CSS Results
If you are using our widget on a website, it will always show the latest MATER and TAF each time someone vists your page.
However for static displays, like a monitor in an FBO or for Home Automation, you can have our widget automatically update the METAR and TAF on a schedule.
Add the &refresh= setting to the script tag as shown below to automatically update all feeds every 5 to 60 minutes.
The value is number of minutes. Valid values are 5 - 60. We suggest &refresh=15 when using this option, which will pull the latest data from our API every 15 minutes and refresh your display.