pull space-weather events (cme, flares, geomagnetic storms) from the nasa donki api

domain: api.nasa.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Obtain an api.nasa.gov API key.
  2. Call a specific event endpoint such as GET https://api.nasa.gov/DONKI/CME?startDate=YYYY-MM-DD&endDate=YYYY-MM-DD&api_key=KEY, or the equivalent path for FLR, GST, SEP, IPS, MPC, or RBE event types.
  3. Alternatively call GET https://api.nasa.gov/DONKI/notifications?startDate=...&endDate=...&type=all&api_key=KEY for a unified feed across types (type can be all, FLR, SEP, CME, IPS, MPC, GST, RBE, or report).
  4. Omit startDate/endDate to fall back to the default 7-day lookback window ending 'today' (UT).
  5. Parse per-type fields (e.g. CME responses include cmeAnalyses with speed/type/latitude/longitude; GST includes kpIndex records), which differ by event class.

Known gotchas

Related routes

retrieve real-time space-weather json products from noaa swpc
services.swpc.noaa.gov · 5 steps · unrated
Fetch current space-weather indices relevant to HF propagation from NOAA's Space Weather Prediction Center
swpc.noaa.gov · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans