DONKI

Number of APIs: 11

DONKI - Space Weather Database Of Notifications, Knowledge, Information

The Space Weather Database Of Notifications, Knowledge, Information (DONKI) is a comprehensive on-line tool for space weather forecasters, scientists, and the general space science community. DONKI provides chronicles the daily interpretations of space weather observations, analysis, models, forecasts, and notifications provided by the Space Weather Research Center (SWRC), comprehensive knowledge-base search functionality to support anomaly resolution and space science research, intelligent linkages, relationships, cause-and-effects between space weather activities and comprehensive webservice API access to information stored in DONKI.This API consists of the following component services:

Coronal Mass Ejection (CME)

startDate: default to 30 days prior to current UTC date
endDate: default to current UTC date

Example:
https://api.nasa.gov/DONKI/CME?startDate=yyyy-MM-dd&endDate=yyyy-MM-dd&api_key=DEMO_KEY

Coronal Mass Ejection (CME) Analysis

startDate: default 30 days prior to current UTC time
endDate: default to current UTC time
mostAccurateOnly: default is set to true
completeEntryOnly: default is set to true
speed (lower limit): default is set to 0
halfAngle (lower limit): default is set to 0
catalog: default is set to ALL (choices: ALL, SWRCCATALOG, JANGETALCATALOG)
keyword: default is set to NONE (example choices: swpcannex)

Example:
<a href="https://api.nasa.gov/DONKI/CMEAnalysis?startDate=2016-09-01&endDate=2016-09-30&mostAccurateOnly=true&speed=500&halfAngle=30&catalog=ALL&api
key=DEMOKEY"> https://api.nasa.gov/DONKI/CMEAnalysis?startDate=2016-09-01&endDate=2016-09-30&mostAccurateOnly=true&speed=500&halfAngle=30&catalog=ALL&apikey=DEMO_KEY

Geomagnetic Storm (GST)

startDate: default to 30 days prior to current UTC date
endDate: default to current UTC date

Example:
https://api.nasa.gov/DONKI/GST?startDate=yyyy-MM-dd&endDate=yyyy-MM-dd&api_key=DEMO_KEY

Interplanetary Shock (IPS)

startDate: default to 30 days prior to current UTC date
endDate: default to current UTC date
location: default to ALL (choices: Earth, MESSENGER, STEREO A, STEREO B)
catalog: default to ALL (choices: SWRCCATALOG, WINSLOWMESSENGERICMECATALOG)

Example:
https://api.nasa.gov/DONKI/IPS?startDate=yyyy-MM-dd&endDate=yyyy-MM-dd&location=LOCATION&catalog=CATALOG&api_key=DEMO_KEY

Solar Flare (FLR)

startDate: default to 30 days prior to current UTC date
endDate: default to current UTC date

Example:
https://api.nasa.gov/DONKI/FLR?startDate=yyyy-MM-dd&endDate=yyyy-MM-dd&api_key=DEMO_KEY

Solar Energetic Particle (SEP)

startDate: default to 30 days prior to current UTC date
endDate: default to current UTC date

Example:
https://api.nasa.gov/DONKI/SEP?startDate=yyyy-MM-dd&endDate=yyyy-MM-dd&api_key=DEMO_KEY

Magnetopause Crossing (MPC)

startDate: default to 30 days prior to current UTC date
endDate: default to current UTC date

Example:
https://api.nasa.gov/DONKI/MPC?startDate=yyyy-MM-dd&endDate=yyyy-MM-dd&api_key=DEMO_KEY

Radiation Belt Enhancement (RBE)

startDate: default to 30 days prior to current UTC date
endDate: default to current UTC date

Example:
https://api.nasa.gov/DONKI/RBE?startDate=yyyy-MM-dd&endDate=yyyy-MM-dd&api_key=DEMO_KEY

Hight Speed Stream (HSS)

startDate: default to 30 days prior to current UTC date
endDate: default to current UTC date

Example:
https://api.nasa.gov/DONKI/HSS?startDate=yyyy-MM-dd&endDate=yyyy-MM-dd&api_key=DEMO_KEY

WSA+EnlilSimulation

startDate: default to 7 days prior to current UTC date
endDate: default to current UTC date

Example:
https://api.nasa.gov/DONKI/WSAEnlilSimulations?startDate=2011-09-19&endDate=2011-09-20&api_key=DEMO_KEY

Notifications

parameters:
'startDate' and 'endDate' are in format 'yyyy-MM-dd' UT
'type' could be: all, FLR, SEP, CME, IPS, MPC, GST, RBE, report

Note:
'startDate' if left out would default to 7 days prior to the current UT date
'endDate' if left out would default to current UT date
'type' if left out would default to 'all'
The request date range is limit to 30 days. If the request range is greater than 30 days, it would limit your request range to (endDate-30) to endDate.

Example:
https://api.nasa.gov/DONKI/notifications?startDate=2014-05-01&endDate=2014-05-08&type=all&api_key=DEMO_KEY

  1. Notifications GET https://api.nasa.gov/DONKI/notifications?startDate=2014-05-01&amp;endDate=2014-05-08&amp;type=all

  2. Hight Speed Stream (HSS) GET https://api.nasa.gov/DONKI/HSS?startDate=2020-01-01&amp;endDate=2021-02-01

  3. CME GET https://api.nasa.gov/DONKI/CME?startDate=&amp;endDate=

  4. CME Analysis GET https://api.nasa.gov/DONKI/CMEAnalysis?startDate=&amp;endDate=&amp;mostAccurateOnly=&amp;speed=&amp;halfAngle=&amp;catalog=

  5. Geomagnetic Storm (GST) GET https://api.nasa.gov/DONKI/GST?startDate=2020-01-01&amp;endDate=2021-02-01

  6. Interplanetary Shock (IPS) GET https://api.nasa.gov/DONKI/IPS?startDate=&amp;endDate=&amp;location=&amp;catalog=

  7. Solar Flare (FLR) GET https://api.nasa.gov/DONKI/FLR?startDate=&amp;endDate=

  8. Magnetopause Crossing (MPC) GET https://api.nasa.gov/DONKI/MPC?startDate=2020-01-01&amp;endDate=2021-02-01

  9. Radiation Belt Enhancement (RBE) GET https://api.nasa.gov/DONKI/RBE?startDate=2020-01-01&amp;endDate=2021-02-01

  10. WSA+EnlilSimulation GET https://api.nasa.gov/DONKI/WSAEnlilSimulation?startDate=2020-01-01&amp;endDate=2021-02-01