{"openapi":"3.1.0","info":{"title":"AuroraOval Live Northern Lights & Space Weather API","version":"1.0.0","summary":"Read-only real-time NOAA SWPC solar wind, Kp forecast, and local clear-sky aurora scoring.","description":"Public read-only API and Remote MCP companion specification operated by Luli Labs Limited (UK Co. 16050221). Fuses 10 live NOAA SWPC feeds with Open-Meteo and MET Norway Locationforecast 2.0 cloud cover across 500+ dark-sky viewing hubs. Rate limit: 60 req/min per IP.","contact":{"name":"AuroraOval (Luli Labs Limited)","url":"https://auroraoval.com/docs","email":"hello@auroraoval.com"},"license":{"name":"Informational Read-Only Public API","url":"https://auroraoval.com/terms"}},"servers":[{"url":"https://auroraoval.com","description":"AuroraOval Production Edge"}],"paths":{"/api/lookup":{"get":{"operationId":"checkAuroraTonight","summary":"Check tonight’s aurora viewing score and cloud cover for any city, US ZIP, or GPS coordinates","description":"Resolves a location name, 5-digit US ZIP code, catalog slug, or decimal lat/lon coordinates and returns live Tonight Viewing Score (0-100), GO NOW/WATCH HORIZON/CLOUDY/LOW ACTIVITY verdict, hourly cloud cover, darkness window (< -12 deg sun), and SOLAR1/DSCOVR L1 telemetry.","parameters":[{"name":"q","in":"query","required":false,"description":"City name, US ZIP code, or slug (e.g. \"Tromso\", \"Fairbanks, AK\", \"Reykjavik\", \"Chicago\", \"99701\").","schema":{"type":"string"}},{"name":"lat","in":"query","required":false,"description":"Optional decimal latitude (-90 to 90). Must be paired with lon.","schema":{"type":"number","minimum":-90,"maximum":90}},{"name":"lon","in":"query","required":false,"description":"Optional decimal longitude (-180 to 180). Must be paired with lat.","schema":{"type":"number","minimum":-180,"maximum":180}}],"responses":{"200":{"description":"Live location aurora score, cloud timeline, and NOAA space weather snapshot.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"query":{"type":"string"},"location":{"type":"object"},"score":{"type":"object"},"cloud":{"type":"object"},"spaceWeather":{"type":"object"},"briefing":{"type":"object"}}}}}}}}},"/api/v1/solar-wind":{"get":{"operationId":"getLiveSolarWindBz","summary":"Get live 1-minute SOLAR1/DSCOVR L1 solar wind, IMF Bz, speed, ETA & Kp","description":"Cached 60s NOAA SWPC telemetry endpoint with zero Open-Meteo calls. Defaults to a compact (~450 B) payload suitable for lightweight badge polling; pass history=15 or full=1 for Bz history, GOES flares, and active NOAA warnings.","parameters":[{"name":"history","in":"query","required":false,"description":"Optional number of most recent 1-minute Bz/Bt telemetry samples to return (1..60). Omit or pass 0 for compact snapshot.","schema":{"type":"integer","minimum":0,"maximum":60,"default":0}},{"name":"full","in":"query","required":false,"description":"Set to 1 to return full telemetry including GOES flares, NOAA warnings, and recent Bz history.","schema":{"type":"integer","enum":[0,1],"default":0}}],"responses":{"200":{"description":"Live 1-minute active L1 spacecraft solar wind & NOAA space weather status.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"spacecraft":{"type":"string"},"active_l1_spacecraft":{"type":"string"},"bt_nt":{"type":"number"},"bz_gsm_nt":{"type":"number"},"proton_speed_km_s":{"type":"number"},"proton_density_p_cm3":{"type":"number"},"l1_transit_minutes":{"type":"integer"},"kp_current":{"type":"number"},"noaa_g_scale":{"type":"string"},"hemispheric_power_gw":{"type":["number","null"]},"canonical_url":{"type":"string","format":"uri"}}}}}}}}},"/api/v1/tonight":{"get":{"operationId":"getTopClearAuroraHubs","summary":"Get single-city tonight viewing score + 6-hour cloud-hole outlook OR regional clear-sky leaderboard","parameters":[{"name":"location","in":"query","required":false,"description":"City name, catalog slug, or 5-digit US ZIP (e.g. \"Fairbanks\", \"world-no-tromso\", \"99701\") for a single-city forecast with 6-hour cloud holes and darkness window.","schema":{"type":"string"}},{"name":"lat","in":"query","required":false,"description":"Optional decimal latitude (-90 to 90), paired with lon.","schema":{"type":"number","minimum":-90,"maximum":90}},{"name":"lon","in":"query","required":false,"description":"Optional decimal longitude (-180 to 180), paired with lat.","schema":{"type":"number","minimum":-180,"maximum":180}},{"name":"region","in":"query","required":false,"description":"Regional leaderboard filter when location is omitted: all, us, ca, uk, or world.","schema":{"type":"string","enum":["all","us","ca","uk","world"],"default":"all"}},{"name":"limit","in":"query","required":false,"description":"Maximum leaderboard hubs to return when location is omitted (1..10, default 8).","schema":{"type":"integer","minimum":1,"maximum":10,"default":8}}],"responses":{"200":{"description":"Single-city tonight viewing score + 6-hour cloud holes (when location/lat+lon supplied) or live ranked clear-sky corridors.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tonight_score":{"type":"number"},"verdict":{"type":"string"},"cloud_cover_pct":{"type":"number"},"hourly_cloud_outlook":{"type":"array","items":{"type":"object"}},"darkness_window":{"type":"object"},"canonical_url":{"type":"string","format":"uri"},"region":{"type":"string"},"global_kp_current":{"type":"number"},"global_bz_gsm_nt":{"type":"number"},"hubs":{"type":"array","items":{"type":"object"}},"leaderboard_url":{"type":"string","format":"uri"}}}}}}}}},"/api/v1/kp-forecast":{"get":{"operationId":"get3DayKpForecast","summary":"Get NOAA 3-day planetary Kp forecast blocks and 27-day Bartels outlook","parameters":[{"name":"include_27day","in":"query","required":false,"description":"Set to false to omit 27-day outlook highlights.","schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"NOAA 3-day synoptic Kp forecast and 27-day geomagnetic outlook.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"kp_current":{"type":"number"},"kp_max_next_24h":{"type":"number"},"forecast_3day_3h_blocks":{"type":"array","items":{"type":"object"}},"outlook_27day_storm_highlights":{"type":"array","items":{"type":"object"}},"canonical_url":{"type":"string","format":"uri"}}}}}}}}},"/mcp":{"get":{"operationId":"getMcpServerDiscovery","summary":"Discover AuroraOval hosted Remote MCP Server capabilities (Streamable HTTP 2025-03-26)","responses":{"200":{"description":"MCP Streamable HTTP discovery document.","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}