For the complete documentation index, see llms.txt. This page is also available as Markdown.

NASA

Explore NASA astronomy, near-Earth objects, space weather, public media, and EPIC Earth imagery.

Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

Connector
Authentication

NASA

API Key

NASA

Connect with a NASA API key to explore astronomy, near-Earth objects, space weather, public media, and EPIC Earth imagery.

Set up in NASA

  1. Prepare the NASA account or service that the workflow will access. Grant access to the required resources and operations.

  2. API Key: Create a personal key on NASA's API portal. Do not use the shared DEMO_KEY.

Set up in StackAI

  1. Open Settings → Connections, add a connection, and select NASA.

  2. Enter the credentials and connection details in the fields below.

  3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

Connection fields

StackAI field
Required
What to enter

API Key

Yes

Create a personal key on NASA's API portal. Do not use the shared DEMO_KEY. Provider instructions.

Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

Use an action

  1. Add the required NASA action to the workflow.

  2. Select a connection when the action requests one.

  3. Complete the required fields. Use the reference picker when a value comes from another workflow step.

  4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

Actions

Get Astronomy Picture of the Day

Get NASA's astronomy picture and explanation for one date.

Inputs

Field
Type
Required
Description

Date

date

No

Choose a historical APOD date, or omit for today.

Include Video Thumbnail

boolean

No

Ask NASA for a thumbnail when the APOD entry is a video. Default: false.

Outputs

Field
Type
Description

Picture

object

The Astronomy Picture of the Day and its explanation.

List Near-Earth Objects

List near-Earth objects approaching Earth in a date range.

Inputs

Field
Type
Required
Description

Start Date

date

Yes

First date in the near-Earth-object window.

End Date

date

No

Last date in the window; keep the range within seven days.

Outputs

Field
Type
Description

Near-Earth Objects

object_array

Near-Earth objects approaching during the requested window.

Count

integer

Number of returned near-Earth objects.

Get Space Weather Notifications

Get NASA space-weather notifications by date and event type.

Inputs

Field
Type
Required
Description

Start Date

date

No

First notification date; provide both dates or omit both.

End Date

date

No

Last notification date; provide both dates within 30 days.

Notification Type

select (string)

No

Limit results to one DONKI notification type. Available values: All, Solar Flare (FLR), Solar Energetic Particle (SEP), Coronal Mass Ejection (CME), Interplanetary Shock (IPS), Magnetopause Crossing (MPC), Geomagnetic Storm (GST), Radiation Belt Enhancement (RBE), Report. Default: all.

Outputs

Field
Type
Description

Notifications

object_array

NASA DONKI space-weather notifications.

Count

integer

Number of notifications returned.

Search NASA Image and Video Library

Search NASA's public image, video, and audio library.

Inputs

Field
Type
Required
Description

Search Query

string

Yes

Words to find in NASA media metadata.

Media Type

select (string)

No

Limit results to images, videos, or audio. Available values: Image, Video, Audio.

Start Year

integer

No

Only include media created in or after this year. Minimum: 1900.

End Year

integer

No

Only include media created in or before this year. Minimum: 1900.

Page

integer

No

Continue from a page returned by an earlier call. Minimum: 1.

Outputs

Field
Type
Description

Media Items

object_array

Matching NASA image, video, or audio records.

Total Hits

integer

Total number of records matching the search.

Next Page

integer

Pass this back as Page to continue, if present.

Get EPIC Earth Imagery

Get latest or date-specific NASA EPIC Earth images.

Inputs

Field
Type
Required
Description

Image Date

select (string)

No

Select an available EPIC date or omit for latest images. Options load from the selected connection.

Outputs

Field
Type
Description

Earth Images

object_array

EPIC Earth image metadata and public PNG URLs.

Count

integer

Number of returned EPIC images.

Important behavior

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.

Last updated

Was this helpful?