NASA Data Scraper — APOD, Asteroids & Image Search
Pricing
$5.00 / 1,000 result items
Go to Apify Store

NASA Data Scraper — APOD, Asteroids & Image Search
Fetch data from free NASA public APIs: Astronomy Picture of the Day, Near Earth Objects (asteroids), and Image/Video Library search. No API key required.
Pricing
$5.00 / 1,000 result items
Rating
0.0
(0)
Developer
Thrifty Kiwi
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Share
NASA Data Scraper 🚀
Fetch data from free NASA public APIs — no API key required.
What it does
This Actor queries three different NASA APIs and outputs structured JSON with images, descriptions, dates, and more.
Modes
| Mode | API | What you get |
|---|---|---|
| APOD | Astronomy Picture of the Day | Daily astronomy image, title, explanation, HD URL |
| NEO | Near Earth Objects | Asteroids/comets approaching Earth — diameter, velocity, miss distance, hazard status |
| Image Search | NASA Image/Video Library | Search across NASA's entire media library |
Input
| Field | Type | Default | Description |
|---|---|---|---|
mode | enum | apod | One of: apod, neo, image_search |
api_key | string | DEMO_KEY | NASA API key. DEMO_KEY works but rate-limited (30 req/hr). Get free key at https://api.nasa.gov for 1000 req/hr. |
date | string | (today) | Date for APOD in YYYY-MM-DD (apod mode only) |
neoMode | enum | feed | feed (date-range approach data) or browse (full catalog) |
startDate | string | (today) | Start date for NEO feed YYYY-MM-DD (neo mode, feed) |
endDate | string | (+7 days) | End date for NEO feed (max 7 days, neo mode, feed) |
query | string | mars | Search term for NASA Image/Video Library |
media_type | enum | image | Media type: image, video, audio |
maxPages | integer | 1 | Max pages to fetch (neo browse / image_search) |
Output examples
APOD
{"source": "apod","title": "NGC 1232: A Grand Design Spiral Galaxy","date": "2024-01-01","explanation": "Galaxies are fascinating...","url": "https://apod.nasa.gov/apod/image/2401/ngc1232b_vlt_960.jpg","hdurl": "https://apod.nasa.gov/apod/image/2401/ngc1232b_vlt_3969.jpg","media_type": "image","copyright": ""}
NEO (Near Earth Objects)
{"source": "neo","id": "2001620","name": "1620 Geographos (1951 RA)","is_potentially_hazardous": true,"estimated_diameter_km_min": 2.35,"estimated_diameter_km_max": 5.25,"close_approach_date": "2026-08-12","orbiting_body": "Earth","relative_velocity_kph": "30101.53","miss_distance_km": "25497054.40","miss_distance_lunar": "66.30","nasa_jpl_url": "https://ssd.jpl.nasa.gov/tools/sbdb_lookup.html#/?sstr=2001620"}
Image/Video Library
{"source": "image_search","nasa_id": "PIA12235","title": "Mars Panorama","description": "A panoramic view of...","date_created": "2009-01-01T00:00:00Z","media_type": "image","keywords": ["Mars", "Panorama"],"center": "JPL","links": ["https://images-assets.nasa.gov/image/PIA12235/PIA12235~orig.jpg"]}
Rate Limits
- DEMO_KEY: 30 requests per hour, ~50 per day. Good for testing.
- Free API key (register at https://api.nasa.gov): 1000 requests per hour. Recommended for production.
Use cases
- Build a space image gallery or screensaver app
- Feed astronomy content to social media bots
- Enrich educational apps with real NASA imagery
- Track near-Earth asteroids for science projects
- Search and catalog NASA's media archive
Pricing
This Actor uses Pay-Per-Event pricing. You only pay for results you get.