NASA APIs API
Collect the Astronomy Picture of the Day and near-Earth objects
Pull the daily APOD image, near-Earth asteroid data, Mars rover photos, and space weather events. Build a space enthusiast's daily digest.
Free. 1,000 requests/hour with free API key.
How it works with Loony
Describe it.
Deploy it.
Query it.
Managed database.
Your NASA APIs data lives in its own Postgres instance. Zero config. Data accumulates over time.
Scheduled syncs.
Cron jobs run on Loony infra. Every minute on free. Your data stays fresh without you thinking about it.
REST + MCP endpoints.
Query from your agent, your dashboard, or connect BI tools directly. Full OpenAPI spec included.
$ "Pull NASA Astronomy Picture of the Day and near-Earth object data daily. Store APOD archive and build a close-approach tracker for asteroids." ✓ Schema validated ✓ Database provisioned ✓ Scripts deployed ✓ Schedules registered Done. # Your data is now at: REST /data/v1/nasa/query MCP /mcp/v1/nasa/mcp SQL psql $DATABASE_URL
What you get
NASA publishes amazing data daily but doesn't give you a feed. Loony syncs it into your database: every APOD, every close asteroid approach, every Mars rover photo — queryable forever.
mv_space_daily date date -- observation date apod_title text -- picture of the day apod_url text -- image URL neo_count integer -- near-Earth objects today closest_km numeric -- nearest approach distance closest_name text -- asteroid name
Even better together
Pair space data with USGS earthquake data for a 'Planet Earth daily' dashboard. Add weather for a complete environmental overview.