Lightning

Bounding Box


🔒 Lightning strikes by time interval and bounding box

GET
https://dataservice.accuweather.com
/lightning/v1/{timeInterval}min/geoposition/points.geojson

Get lightning strike data within a rectangular bounding box over a custom time interval. The response is in GeoJSON format.

🔒 Lightning strikes by time interval and bounding box › path Parameters

timeInterval
​integer · int32 · pattern: ^(5|15|30|60|120)$

The total amount of time, in minutes, for which lightning strike data will be returned. Available timespans are 5, 15, 30, 60, and 120.

Default: 15

🔒 Lightning strikes by time interval and bounding box › query Parameters

upperLeft
​string · required

The northwestern-most corner of the bounding box. Provide the coordinates as latitude,longitude in decimal format.

Example: 40.72,-80.01
lowerRight
​string · required

The southeastern-most corner of the bounding box. Provide the coordinates as latitude,longitude in decimal format.

Example: 40.71,-70.99
offset
​integer · int32

A numerical value representing the first result to return. Results will be returned in sets of 5000. Offset=0 will return the first 5000 results, Offset=1 will return the second 5000 results, etc.

Default: -1

🔒 Lightning strikes by time interval and bounding box › Headers

Authorization
​string · required

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

🔒 Lightning strikes by time interval and bounding box › Responses

OK

type
​string | null

A string that describes the array following.

​array | null

An array that contains all lightning strike data for the specified time and location.