Skip to content
Integration

NASA integrations and automation

Say what should happen in NASA, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.

Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.

No credit card needed.

NASA on Whenever

About NASA

NASA offers a suite of APIs providing access to a wide range of data, including Earth science, planetary imagery, and technology transfer information.

How Whenever connects

Through its API, with the provider’s credentials and permissions.

Build it from your AI client

Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the NASA workflow. It then runs on Whenever, with the chat closed.

Set up the Whenever MCP server

Plan your NASA workflow

api.nasa.gov is a gateway to a set of public data services rather than one product: Astronomy Picture of the Day (APOD), Near Earth Object Web Service (NeoWs), the space weather database DONKI, the Earth Observatory natural events tracker EONET, EPIC imagery of the whole Earth, and the Techport and technology transfer catalogues, among others. Most people who automate it want a recurring digest or a watch on a particular kind of event, not a one-off lookup.

Access is free. A personal API key from the signup form on api.nasa.gov raises the limit well above the shared DEMO_KEY, which is meant for quick exploration and is throttled per IP address. The published default for a registered key is 1,000 requests per hour, and responses carry headers showing how many requests remain. A daily or hourly schedule reading a handful of endpoints stays far inside that, so a brief rarely needs to think about limits unless it backfills years of data.

Each service has its own shape and update rhythm. APOD has one entry per date, sometimes a video instead of an image, so a brief should handle a media type other than "image". NeoWs returns approaches grouped by date, each object flagged as potentially hazardous or not, with miss distance in several units. DONKI separates solar flares, coronal mass ejections and geomagnetic storms into different endpoints. EONET events stay open until closed and can gain new geometry over time, which matters if you only want to post an event once.

Decide what counts as new before the first run. Storing the APOD date, the NeoWs object ID with its approach date, or the DONKI activity ID lets a scheduled check skip what it has already reported. Remember that a schedule runs whether or not NASA has published anything since the last check.

NASA workflow examples

Starter briefs to set up with your accounts, not finished workflows.

Astronomy Picture of the Day in a team channel

A daily post with the title, explanation and image, handling days when the entry is a video.

Build this workflow

Weekly close-approach summary

Read NeoWs for the coming week and list only objects flagged as potentially hazardous.

Build this workflow

Alert on strong solar flares

Check DONKI for flares above a class threshold and notify once per flare.

Build this workflow

Related apps for your workflows

All integrations

NASA FAQs

Do I need a NASA API key, or is DEMO_KEY enough?

DEMO_KEY works for trying endpoints but has tight hourly and daily limits shared per IP address. A scheduled workflow should use a free personal key from api.nasa.gov.

What is the NASA API rate limit?

The documented default for a registered key is 1,000 requests per hour. Check the X-RateLimit-Remaining header on responses if a workflow makes many calls in one run.

Why does APOD sometimes return no image?

Some APOD entries are videos. The response has a media_type field; a video entry gives a video URL instead of an image, so your workflow should branch on it.

Does NASA push events, or do I have to poll?

These are request-and-response APIs without webhooks. A workflow checks on a schedule and compares against what it stored last time.

Which NASA service covers wildfires, storms and volcanoes?

EONET, the Earth Observatory Natural Event Tracker, lists natural events by category with their locations and whether they are still open.

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.