Skip to content

← API reference

Lightning strikes around the address

lightning_activity7 fields7 of these fields open in the demo
Source
MET Norway Frost lightning archive
Geography
The address point
Reported stale after
7 days
Access
Requires an API key granted this section
Contract version
1
In packages
hazard_screen

What this does not say

Quoted verbatim from the section’s warnings field, exactly as the API returns it. They are not translated: a translation would show something other than what your response actually contains.

  • Cloud-to-ground strikes located by the national sensor network with a typical accuracy of a few hundred metres. Counts are only meaningful for the archive window archive_from..archive_to; when the archive is shorter than 365 days the 365-day counts are lower bounds, and an empty archive returns nulls, not zeros.

Fields

2 of 7 fields are value fields — the ones that decide whether a record actually says anything. The rest are context: identifiers, codes and timestamps. Fields marked “open” return values to anonymous callers; the rest require a key.

FieldTypeRoleDemo
strikes_within_1km_365dinteger | nullcontextopen
strikes_within_5km_365dinteger | nullvalueopen
strikes_within_5km_archiveinteger | nullcontextopen
nearest_strike_minteger | nullvalueopen
nearest_strike_timestring | nullcontextopen
archive_fromstring | nullcontextopen
archive_tostring | nullcontextopen

Fetch this section

curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643?include=lightning_activity"

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/lightning_activity?limit=25"

Try it now

This is a real call against the public demo, from here. What appears below is what the API returned — not a sample.