WarPulse Lightning API
Short, working recipes rather than tours of the API. Every one runs against a Pay As You Go key, which is free to start.
JavaScript · beginner
Add a live lightning layer to a Leaflet map in about thirty lines. Fetch recent flashes for your map bounds, draw them as markers, and refresh on a timer.
Python · intermediate
Write a Python service that alerts when lightning enters a radius around a location. Start with a polling loop, then move to the WebSocket stream.
JavaScript · beginner
Point MapLibre GL at a radar tile URL and get live reflectivity over your base map. Covers token exchange, frames, palettes, and animating a loop.
Coverage areas
Lightning data provided as-is; not for safety-critical use. Commercial use is permitted on every current plan. Read the EULA →