Weather Warnings
Point warnings
get/api/v1/warning/{location}
Request
- Base URL: https://weatherapi.foreca.net
- URL: https://weatherapi.foreca.net/api/v1/warning/{location}
- Auth: HTTP bearer
Path parameters
locationstring required
"Longitude,latitude" or location identifier (id) from the location endpoint
Query parameters
futurestring
Whether to return warnings starting more than 24 hours from now (boolean: default 0)
datasetstring
Variable set: "standard" or "full" (default "standard")
Response
Success
Example response
{
"warnings": [
{
"type": "FO",
"significance": "Y",
"validFrom": "2021-01-08T10:17:00Z",
"validUntil": "2021-01-08T17:00:00Z",
"description": [
{
"lang": "en",
"text": "Dense Fog Advisory issued January 08 at 4:17AM CST until January 08 at 11:00AM CST by NWS Minneapolis&10;&10;Anoka; Benton; Blue Earth; Brown; Carver; Chippewa; Chisago; Douglas; Hennepin; Isanti; Kanabec; Kandiyohi; Lac Qui Parle; Le Sueur; Martin; McLeod; Meeker; Mille Lacs; Morrison; Nicollet; Pope; Ramsey; Redwood; Renville; Scott; Sherburne; Sibley; Stearns; Stevens; Swift; Todd; Watonwan; Wright; Yellow Medicine&10;&10;...DENSE FOG ADVISORY REMAINS IN EFFECT UNTIL 11 AM CST THIS&10;MORNING...&10;* WHAT...Visibility one quarter mile or less in dense fog.&10;* WHERE...Portions of central, east central, south central,&10;southwest and west central Minnesota.&10;* WHEN...Until 11 AM CST Friday.&10;* IMPACTS...Hazardous driving conditions due to low visibility.&10;* ADDITIONAL DETAILS...Slick spots on roads, overpasses, and&10;sidewalks are also possible as the fog freezes on exposed&10;surfaces.&10;&10;If driving, slow down, use your headlights, and leave plenty of&10;distance ahead of you."
}
],
"link": "https://alerts.weather.gov/cap/wwacapget.php?x=MN126188507444.DenseFogAdvisory.126188517F10MN.MPXNPWMPX.6f0fa4bac3937d8409b5648ff85e9eea",
"sent": "2021-01-08T10:17:00Z",
"name": "Fog",
"significanceDescription": "Potentially dangerous"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.