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 Nov 25 2025, 12:51 am EST</observation_time>
<observation_time_rfc822>Tue, 25 Nov 2025 00:51:00 -0500</observation_time_rfc822>
<weather>Mostly Cloudy</weather>
<temperature_string>44.1 F (6.7 C)</temperature_string>
<temp_f>44.1</temp_f>
<temp_c>6.7</temp_c>
<relative_humidity>71</relative_humidity>
<wind_string>calm</wind_string>
<wind_dir>North</wind_dir>
<wind_degrees>0</wind_degrees>
<wind_mph>0.0</wind_mph>
<wind_kt>0</wind_kt>
<pressure_string>1025 mb</pressure_string>
<pressure_mb>1025</pressure_mb>
<pressure_in>30.27</pressure_in>
<dewpoint_string>35.1 F (1.7 C)</dewpoint_string>
<dewpoint_f>35.1</dewpoint_f>
<dewpoint_c>1.7</dewpoint_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>nbkn.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">2025-11-25T01:21:15-05: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="Overnight">2025-11-25T01:00:00-05:00</start-valid-time>
<start-valid-time period-name="Tuesday">2025-11-25T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Tuesday Night">2025-11-25T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Wednesday">2025-11-26T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Wednesday Night">2025-11-26T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Thanksgiving Day">2025-11-27T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Thursday Night">2025-11-27T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Friday">2025-11-28T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Friday Night">2025-11-28T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Saturday">2025-11-29T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Saturday Night">2025-11-29T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday">2025-11-30T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday Night">2025-11-30T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Monday">2025-12-01T06:00:00-05: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="Overnight">2025-11-25T01:00:00-05:00</start-valid-time>
<start-valid-time period-name="Tuesday Night">2025-11-25T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Wednesday Night">2025-11-26T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Thursday Night">2025-11-27T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Friday Night">2025-11-28T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Saturday Night">2025-11-29T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday Night">2025-11-30T18:00:00-05: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="Tuesday">2025-11-25T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Wednesday">2025-11-26T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Thanksgiving Day">2025-11-27T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Friday">2025-11-28T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Saturday">2025-11-29T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday">2025-11-30T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Monday">2025-12-01T06:00:00-05: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>39</value>
<value>52</value>
<value>39</value>
<value>32</value>
<value>32</value>
<value>34</value>
<value>39</value>
</temperature>
<temperature type="maximum" units="Fahrenheit" time-layout="k-p24h-n7-2">
<name>Daily Maximum Temperature</name>
<value>56</value>
<value>61</value>
<value>46</value>
<value>44</value>
<value>43</value>
<value>49</value>
<value>50</value>
</temperature>
<probability-of-precipitation type="12 hour" units="percent" time-layout="k-p12h-n14-1">
<name>12 Hourly Probability of Precipitation</name>
<value xsi:nil="true"/>
<value>80</value>
<value>100</value>
<value>70</value>
<value>20</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>40</value>
<value>30</value>
</probability-of-precipitation>
<weather time-layout="k-p12h-n14-1">
<name>Weather Type, Coverage, Intensity</name>
<weather-conditions weather-summary="Mostly Cloudy"/>
<weather-conditions weather-summary="Mostly Cloudy then Rain"/>
<weather-conditions weather-summary="Rain"/>
<weather-conditions weather-summary="Rain Likely"/>
<weather-conditions weather-summary="Slight Chance Rain"/>
<weather-conditions weather-summary="Mostly Sunny and Breezy"/>
<weather-conditions weather-summary="Mostly Clear and Breezy"/>
<weather-conditions weather-summary="Mostly Sunny and Breezy"/>
<weather-conditions weather-summary="Mostly Clear and Breezy then Mostly Clear"/>
<weather-conditions weather-summary="Sunny"/>
<weather-conditions weather-summary="Mostly Cloudy"/>
<weather-conditions weather-summary="Mostly Cloudy"/>
<weather-conditions weather-summary="Chance Rain"/>
<weather-conditions weather-summary="Chance Rain"/>
</weather>
<conditions-icon type="forecast-NWS" time-layout="k-p12h-n14-1">
<name>Conditions Icon</name>
<icon-link>https://forecast.weather.gov/newimages/medium/nbkn.png</icon-link>
<icon-link>https://forecast.weather.gov/DualImage.php?i=bkn&j=ra&jp=80</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nra100.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/ra70.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nra20.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/wind_sct.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nwind_few.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/wind_sct.png</icon-link>
<icon-link>https://forecast.weather.gov/DualImage.php?i=nwind_few&j=nfew</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/few.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nbkn.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/bkn.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/nra40.png</icon-link>
<icon-link>https://forecast.weather.gov/newimages/medium/ra30.png</icon-link>
</conditions-icon>
<wordedForecast time-layout="k-p12h-n14-1" dataSource="okxNetcdf" wordGenerator="markMitchell">
<name>Text Forecast</name>
<text>Mostly cloudy, with a low around 39. Southwest wind around 6 mph. </text>
<text>Rain, mainly after 1pm. High near 56. South wind 8 to 13 mph. Chance of precipitation is 80%. New precipitation amounts of less than a tenth of an inch possible. </text>
<text>Rain, mainly before 1am. Temperature rising to around 56 by 1am. South wind around 14 mph. Chance of precipitation is 100%. New precipitation amounts between a quarter and half of an inch possible. </text>
<text>Rain likely, mainly between 7am and 1pm. Cloudy, with a high near 61. South wind 10 to 13 mph. Chance of precipitation is 70%. New precipitation amounts of less than a tenth of an inch possible. </text>
<text>A 20 percent chance of rain before 1am. Mostly cloudy, then gradually becoming mostly clear, with a low around 39. West wind 11 to 18 mph, with gusts as high as 28 mph. </text>
<text>Mostly sunny, with a high near 46. Breezy. </text>
<text>Mostly clear, with a low around 32. Breezy. </text>
<text>Mostly sunny, with a high near 44. Breezy. </text>
<text>Mostly clear, with a low around 32. Breezy. </text>
<text>Sunny, with a high near 43.</text>
<text>Mostly cloudy, with a low around 34.</text>
<text>Mostly cloudy, with a high near 49.</text>
<text>A 40 percent chance of rain. Mostly cloudy, with a low around 39.</text>
<text>A 30 percent chance of rain. Mostly cloudy, with a high near 50.</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">2025-11-25T00:51:00-05:00</start-valid-time>
</time-layout>
<parameters applicable-location="point1">
<temperature type="apparent" units="Fahrenheit" time-layout="k-p1h-n1-1">
<value>44</value>
</temperature>
<temperature type="dew point" units="Fahrenheit" time-layout="k-p1h-n1-1">
<value>35</value>
</temperature>
<humidity type="relative" time-layout="k-p1h-n1-1">
<value>71</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>0</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>0</value>
</wind-speed>
<pressure type="barometer" units="inches of mercury" time-layout="k-p1h-n1-1">
<value>30.27</value>
</pressure>
</parameters>
</data>
</dwml>