v1

latestOpenAPI 3.0.22026-07-26114338.4 KB
Lightning

Lightning

get/lightning

Query parameters

latnumber float

The latitude of the center point. Required when doing a center point and radius search.

lonnumber float

The longitude of the center point. Required when doing a center point and radius search.

radiusnumber
Example:5000

The search radius in meters. Required when doing a center point and radius search.

lat_minnumber float

The latitude of the Southwest corner of a bounding box. Required when doing a bounding box search.

lon_minnumber float

The longitude of the Southwest corner of a bounding box. Required when doing a bounding box search.

lat_maxnumber float

The latitude of the Northeast corner of a bounding box. Required when doing a bounding box search.

lon_maxnumber float

The longitude of the Northeast corner of a bounding box. Required when doing a bounding box search.

minutes_offsetinteger
Example:30

The time range to search for lightning (now - minutes_offset). Can be used in both center point and boudning box searches.

strike_type'cg' | 'ic' | 'all'
Example:cg

The type of lightning strikes to return. ic = Cloud to Cloud, cg = Cloud to Ground, all = Cloud to Cloud and Cloud to Ground

Response

search_lat_minnumber float

The latitude of the Southwest corner for the search results.

search_lat_maxnumber float

The latitude of the Northwest corner for the search results.

search_lon_minnumber float

The longitude of the Southwest corner for the search results.

search_lon_maxnumber float

The longitude of the Northwest corner for the search results.

search_radiusnumber

Search radius in meters.

search_minutes_offsetnumber

Time range of lightning strikes returned (now - search_minutes_offset).

Example response

{
  "search_lat_min": 37.28,
  "search_lat_max": 41.32,
  "search_lon_min": -101.76,
  "search_lon_max": -91,
  "search_radius": 5000,
  "search_minutes_offset": 30,
  "strikes": [
    {
      "time": 1656008011,
      "lat": 38.9981994,
      "lon": 99.3110134,
      "mag": 289,
      "distance": 10.5037,
      "strike_type": "cg"
    }
  ]
}