Weather API 1.9.0
| Parameter Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| test | icao | current | format | dtformata | dtformatb | dtformatc | labela | labelb | labelc | forecast | options |
| true | kjfk | l,s:,s,a,c44,s,tdl,c44,s,wr,s@,il,c44,s,hdl | f | ||||||||
https://forecast.weather.gov/xml/current_obs/KJFK.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="latest_ob.xsl" type="text/xsl"?>
<current_observation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:noNamespaceSchemaLocation="http://www.weather.gov/view/current_observation.xsd">
<credit>NOAA's National Weather Service</credit>
<credit_URL>https://weather.gov/</credit_URL>
<image>
<url>http://forecast.weather.gov/images/xml_badge.png</url>
<title>NOAA's National Weather Service</title>
<link>https://www.weather.gov</link>
</image>
<suggested_pickup>15 minutes after the hour</suggested_pickup>
<suggested_pickup_period>60</suggested_pickup_period>
<location>New York, Kennedy International Airport, NY</location>
<station_id>KJFK</station_id>
<latitude>40.63915</latitude>
<longitude>-73.76393</longitude>
<observation_time>Last Update on Oct 2 2026, 6:51 pm EDT</observation_time>
<observation_time_rfc822>Fri, 02 Oct 2026 18:51:00 -0400</observation_time_rfc822>
<weather>Mostly Cloudy</weather>
<temperature_string>75.9 F (24.4 C)</temperature_string>
<temp_f>75.9</temp_f>
<temp_c>24.4</temp_c>
<relative_humidity>79</relative_humidity>
<wind_string>Northwest at 8.1 MPH (7 KT)</wind_string>
<wind_dir>Northwest</wind_dir>
<wind_degrees>330</wind_degrees>
<wind_mph>8.1</wind_mph>
<wind_kt>7</wind_kt>
<pressure_string>1012.5 mb</pressure_string>
<pressure_mb>1012.5</pressure_mb>
<pressure_in>29.9</pressure_in>
<dewpoint_string>69.1 F (20.6 C)</dewpoint_string>
<dewpoint_f>69.1</dewpoint_f>
<dewpoint_c>20.6</dewpoint_c>
<heat_index_string>77 F (25 C)</heat_index_string>
<heat_index_f>77</heat_index_f>
<heat_index_c>25</heat_index_c>
<visibility_mi>10.00</visibility_mi>
<icon_url_base>http://forecast.weather.gov/images/wtf/small/</icon_url_base>
<two_day_history_url>http://forecast.weather.gov/data/obhistory/KJFK.html</two_day_history_url>
<icon_url_name>bkn.png</icon_url_name>
<ob_url>http://forecast.weather.gov/data/METAR/KJFK.1.txt</ob_url>
<disclaimer_url>https://www.weather.gov/disclaimer.html</disclaimer_url>
<copyright_url>https://www.weather.gov/disclaimer.html</copyright_url>
<privacy_policy_url>https://www.weather.gov/notice.html</privacy_policy_url>
</current_observation>
https://forecast.weather.gov/MapClick.php?lat=40.63915&lon=-73.76393&FcstType=dwml&unit=0
<?xml version="1.0" encoding="ISO-8859-1"?>
<dwml xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:noNamespaceSchemaLocation="https://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd">
<head>
<product concise-name="dwmlByDay" operational-mode="developmental" srsName="WGS 1984">
<creation-date refresh-frequency="PT1H">2026-10-02T14:54:17-04:00</creation-date>
<category>current observations and forecast</category>
</product>
<source>
<production-center>New York, NY</production-center>
<credit>https://www.weather.gov/okx/</credit>
<more-information>https://www.nws.noaa.gov/forecasts/xml/</more-information>
</source>
</head>
<data type="forecast">
<location>
<location-key>point1</location-key>
<description>Inwood, NY</description>
<point latitude="40.64" longitude="-73.76"/>
<city state="NY">Inwood</city>
<height datum="mean sea level">23</height>
</location>
<moreWeatherInformation applicable-location="point1">https://forecast.weather.gov/MapClick.php?lat=40.64&lon=-73.76</moreWeatherInformation>
<time-layout time-coordinate="local" summarization="12hourly">
<layout-key>k-p12h-n14-1</layout-key>
<start-valid-time period-name="Tonight">2026-10-02T19:00:00-04:00</start-valid-time>
<start-valid-time period-name="Saturday">2026-10-03T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Saturday Night">2026-10-03T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Sunday">2026-10-04T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Sunday Night">2026-10-04T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Monday">2026-10-05T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Monday Night">2026-10-05T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Tuesday">2026-10-06T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Tuesday Night">2026-10-06T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Wednesday">2026-10-07T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Wednesday Night">2026-10-07T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Thursday">2026-10-08T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Thursday Night">2026-10-08T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Friday">2026-10-09T06:00:00-04:00</start-valid-time>
</time-layout>
<time-layout time-coordinate="local" summarization="12hourly">
<layout-key>k-p24h-n7-1</layout-key>
<start-valid-time period-name="Tonight">2026-10-02T19:00:00-04:00</start-valid-time>
<start-valid-time period-name="Saturday Night">2026-10-03T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Sunday Night">2026-10-04T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Monday Night">2026-10-05T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Tuesday Night">2026-10-06T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Wednesday Night">2026-10-07T18:00:00-04:00</start-valid-time>
<start-valid-time period-name="Thursday Night">2026-10-08T18:00:00-04:00</start-valid-time>
</time-layout>
<time-layout time-coordinate="local" summarization="12hourly">
<layout-key>k-p24h-n7-2</layout-key>
<start-valid-time period-name="Saturday">2026-10-03T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Sunday">2026-10-04T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Monday">2026-10-05T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Tuesday">2026-10-06T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Wednesday">2026-10-07T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Thursday">2026-10-08T06:00:00-04:00</start-valid-time>
<start-valid-time period-name="Friday">2026-10-09T06:00:00-04:00</start-valid-time>
</time-layout>
<parameters applicable-location="point1">
<temperature type="minimum" units="Fahrenheit" time-layout="k-p24h-n7-1">
<name>Daily Minimum Temperature</name>
<value>61</value>
<value>57</value>
<value>58</value>
<value>51</value>
<value>50</value>
<value>54</value>
<value>56</value>
</temperature>
<temperature type="maximum" units="Fahrenheit" time-layout="k-p24h-n7-2">
<name>Daily Maximum Temperature</name>
<value>72</value>
<value>66</value>
<value>71</value>
<value>62</value>
<value>63</value>
<value>67</value>
<value>68</value>
</temperature>
<probability-of-precipitation type="12 hour" units="percent" time-layout="k-p12h-n14-1">
<name>12 Hourly Probability of Precipitation</name>
<value>60</value>
<value xsi:nil="true"/>
<value xsi:nil="true"/>
<value>50</value>
<value>40</value>
<value xsi:nil="true"/>
<value xsi:nil="true"/>
<value xsi:nil="true"/>
<value xsi:nil="true"/>
<value xsi:nil="true"/>
<value xsi:nil="true"/>
<value xsi:nil="true"/>
<value xsi:nil="true"/>
<value xsi:nil="true"/>
</probability-of-precipitation>
<weather time-layout="k-p12h-n14-1">
<name>Weather Type, Coverage, Intensity</name>
<weather-conditions weather-summary="Showers Likely"/>
<weather-conditions weather-summary="Sunny"/>
<weather-conditions weather-summary="Mostly Clear"/>
<weather-conditions weather-summary="Mostly Sunny then Chance Showers"/>
<weather-conditions weather-summary="Chance Showers"/>
<weather-conditions weather-summary="Decreasing Clouds"/>
<weather-conditions weather-summary="Mostly Clear"/>
<weather-conditions weather-summary="Sunny"/>
<weather-conditions weather-summary="Clear"/>
<weather-conditions weather-summary="Sunny"/>
<weather-conditions weather-summary="Mostly Clear"/>
<weather-conditions weather-summary="Sunny"/>
<weather-conditions weather-summary="Mostly Clear"/>
<weather-conditions weather-summary="Mostly Sunny"/>
</weather>
<conditions-icon type="forecast-NWS" time-layout="k-p12h-n14-1">
<name>Conditions Icon</name>
<icon-link>https://forecast.weather.gov/newimages/medium/nshra60.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/few.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nfew.png</icon-link>
<icon-link>https://forecast.weather.gov/DualImage.php?i=sct&j=shra&jp=50</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nshra40.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/bkn.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nfew.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/skc.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nskc.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/few.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nfew.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/few.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nfew.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/sct.png</icon-link>
</conditions-icon>
<wordedForecast time-layout="k-p12h-n14-1" dataSource="okxNetcdf" wordGenerator="markMitchell">
<name>Text Forecast</name>
<text>Showers and thunderstorms likely before 9pm, then a chance of showers between 9pm and 2am. Mostly cloudy, with a low around 61. West wind 10 to 13 mph becoming north after midnight. Chance of precipitation is 60%. New precipitation amounts of less than a tenth of an inch, except higher amounts possible in thunderstorms. </text>
<text>Sunny, with a high near 72. North wind 11 to 13 mph. </text>
<text>Mostly clear, with a low around 57. East wind 7 to 9 mph. </text>
<text>A 50 percent chance of showers after 2pm. Increasing clouds, with a high near 66. East wind 14 to 17 mph. </text>
<text>A 40 percent chance of showers before 2am. Cloudy, with a low around 58. East wind 7 to 10 mph. </text>
<text>Mostly cloudy, then gradually becoming sunny, with a high near 71.</text>
<text>Mostly clear, with a low around 51.</text>
<text>Sunny, with a high near 62.</text>
<text>Clear, with a low around 50.</text>
<text>Sunny, with a high near 63.</text>
<text>Mostly clear, with a low around 54.</text>
<text>Sunny, with a high near 67.</text>
<text>Mostly clear, with a low around 56.</text>
<text>Mostly sunny, with a high near 68.</text>
</wordedForecast>
</parameters>
</data>
<data type="current observations">
<location>
<location-key>point1</location-key>
<point latitude="40.64" longitude="-73.76"/>
<area-description>New York, Kennedy International Airport, NY</area-description>
<height datum="mean sea level" height-units="feet">10</height>
</location>
<moreWeatherInformation applicable-location="point1">https://www.nws.noaa.gov/data/obhistory/KJFK.html</moreWeatherInformation>
<time-layout time-coordinate="local">
<layout-key>k-p1h-n1-1</layout-key>
<start-valid-time period-name="current">2026-10-02T18:51:00-04:00</start-valid-time>
</time-layout>
<parameters applicable-location="point1">
<temperature type="apparent" units="Fahrenheit" time-layout="k-p1h-n1-1">
<value>76</value>
</temperature>
<temperature type="dew point" units="Fahrenheit" time-layout="k-p1h-n1-1">
<value>69</value>
</temperature>
<humidity type="relative" time-layout="k-p1h-n1-1">
<value>79</value>
</humidity>
<weather time-layout="k-p1h-n1-1">
<name>Weather Type, Coverage, Intensity</name>
<weather-conditions weather-summary="Mostly Cloudy"/>
<weather-conditions>
<value>
<visibility units="statute miles">10.00</visibility>
</value>
</weather-conditions>
</weather>
<conditions-icon type="forecast-NWS" time-layout="k-p1h-n1-1">
<name>Conditions Icon</name>
<icon-link>https://forecast.weather.gov/newimages/medium/nbkn.png</icon-link>
</conditions-icon>
<direction type="wind" units="degrees true" time-layout="k-p1h-n1-1">
<value>330</value>
</direction>
<wind-speed type="gust" units="knots" time-layout="k-p1h-n1-1">
<value>NA</value>
</wind-speed>
<wind-speed type="sustained" units="knots" time-layout="k-p1h-n1-1">
<value>7</value>
</wind-speed>
<pressure type="barometer" units="inches of mercury" time-layout="k-p1h-n1-1">
<value>29.90</value>
</pressure>
</parameters>
</data>
</dwml>