GnistAI GnistAI
Log in

Astronomy

Solar system planets and notable stars — mass, radius, orbital parameters, spectral data.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 8 tools tools 8 8 type: open dataset type type open dataset open dataset lifecycle: maintained lifecycle lifecycle maintained maintained Science

Data source: NASA Planetary Fact Sheet / IAU

REST Bridge Endpoint https://context.gnist.ai/rest/astronomy/
Authentication

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

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

Tools (8)

get_planet

Get detailed information about a solar system planet.

Returns mass, radius, orbital parameters, atmosphere composition, and more.
Includes the 8 major planets plus Pluto (dwarf planet).

ParameterTypeRequiredDescription
namestringrequiredPlanet name (e.g. Earth, Mars, Jupiter, Pluto).
Request Body
{
  "name": "example"
}
list_planets

List planets in the solar system.

Optionally filter by type: terrestrial (rocky), gas_giant, ice_giant, or dwarf.

ParameterTypeRequiredDescription
planet_typeanyoptionalFilter: terrestrial, gas_giant, ice_giant, dwarf.
Request Body
{
  "query": "example"
}
get_star

Get detailed information about a notable star.

Returns spectral type, magnitude, distance, mass, radius, temperature, and luminosity.

ParameterTypeRequiredDescription
namestringrequiredStar name (e.g. Sirius, Betelgeuse, Polaris, Sun).
Request Body
{
  "name": "example"
}
search_stars

Search the star database by name or constellation.

ParameterTypeRequiredDescription
querystringrequiredSearch by star name, constellation, or designation.
limitintegeroptional (default: 10)
Request Body
{
  "query": "example"
}
list_brightest_stars

List the brightest stars visible from Earth, sorted by apparent magnitude.

ParameterTypeRequiredDescription
limitintegeroptional (default: 10)
Request Body
{
  "query": "example"
}
list_nearest_stars

List the nearest stars to Earth, sorted by distance in light-years.

ParameterTypeRequiredDescription
limitintegeroptional (default: 10)
Request Body
{
  "query": "example"
}
get_constellations

List all constellations represented in the star database.

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/astronomy/get_planet" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"name": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/astronomy/get_planet",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "name": "example"
},
)
print(resp.json())

Related Toolkits (Science)

Resources