Lightning

Geoposition


πŸ”’ Lightning forecasts by latitude/longitude

GET
https://dataservice.accuweather.com
/lightning/v1/forecasts/geoposition

Geographic coverage: Lightning forecasts are available within a defined North American coverage area. Supported coordinates must fall within latitude: 20.0 to 55.0 longitude: -130.0 to -60.0

πŸ”’ Lightning forecasts by latitude/longitude β€Ί query Parameters

q
​stringΒ Β·Β required

A string that identifies the central location from which to search. Provide the coordinates as latitude,longitude in decimal format.

Example: 40.779,-73.969

πŸ”’ Lightning forecasts by latitude/longitude β€Ί Headers

Authorization
​stringΒ Β·Β required

The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

πŸ”’ Lightning forecasts by latitude/longitude β€Ί Responses

OK

latitude
​numberΒ Β·Β float

The latitude of the location for which the lightning forecast is being provided.

longitude
​numberΒ Β·Β float

The longitude of the location for which the lightning forecast is being provided.

initDateTime
​string | nullΒ Β·Β date-time

The date and time when the lightning forecast was initialized.

A list of lightning forecast data points, each containing a date and the probability of lightning occurring at that time.