GnistAI GnistAI
Log in

Space Weather

Space weather — solar flares, geomagnetic storms, ISS position tracking.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Science

Data source: NASA DONKI, Open Notify

REST Bridge Endpoint https://context.gnist.ai/rest/space-weather/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

get_solar_flares

Get recent solar flare events from NASA.

Returns flare class (A/B/C/M/X), timing, source location, and active region.

Args:
days: Number of days to look back (1-30, default 7).

ParameterTypeRequiredDescription
daysintegeroptional (default: 7)
Request Body
{
  "query": "example"
}
get_geomagnetic_storms

Get recent geomagnetic storm events from NASA.

Returns storm timing and maximum Kp index (planetary K-index, 0-9 scale).
Kp >= 5 indicates a geomagnetic storm; Kp >= 7 is severe.

Args:
days: Number of days to look back (1-60, default 30).

ParameterTypeRequiredDescription
daysintegeroptional (default: 30)
Request Body
{
  "query": "example"
}
get_iss_position

Get the current position of the International Space Station.

Returns latitude, longitude, and timestamp.

Request Body
{
  "query": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/space-weather/report_feedback" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"feedback": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/space-weather/report_feedback",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "feedback": "example"
},
)
print(resp.json())

Related Toolkits (Science)

Resources