
NASA Media Scraper
hipersoft/nasa-media-scraper
Search NASA's Image and Video Library in bulk and export clean, structured metadata. Filter by keyword, media type (image, video, audio) and year range. One row per asset: title, description, date, center, keywords, thumbnail and best media link.
Total users
2Monthly users
1Total runs
62Per item scraped
$0.001Last rebuilt
Oct 26, 2026Overview
NASA Media Scraper searches NASA's Image and Video Library and returns clean, structured data for every matching asset — images, videos and audio with full metadata. Search by keyword, narrow by media type and year range, and export the results to JSON, CSV, Excel or XML. Built for researchers, educators, content teams, media libraries and automation workflows that need NASA imagery and metadata at scale.
What does this NASA scraper do?
Type a search term, set a couple of optional filters, and it returns one clean row per asset:
- Search across titles, descriptions and keywords — e.g.
apollo 11,mars rover,nebulaorearth from space. - Filter by media type — images, videos or audio, or leave it open to get all three.
- Filter by year range — restrict results to assets created between two years.
- Paginate automatically — the actor walks through result pages until it reaches your item limit.
What data can you get?
| Field | Description |
|---|---|
nasaId |
Unique NASA identifier for the asset. |
title |
Title of the image, video or audio clip. |
description |
Full caption / description text. |
mediaType |
image, video or audio. |
dateCreated |
When the asset was created. |
center |
The NASA center credited (e.g. JSC, KSC, JPL). |
keywords |
List of subject keywords. |
photographer |
Photographer or creator, when credited. |
thumbnailUrl |
Direct link to a preview thumbnail. |
assetUrl |
Best available media link (full-resolution image, video or audio file). |
url |
Public NASA library page for the asset. |
What you get
Each asset is one clean dataset record. Export the full table to JSON, CSV, Excel or XML, or pull it programmatically through the Apify API.
{
"nasaId": "jsc2007e034221",
"title": "Apollo 11 spacecraft pre-launch",
"description": "Personnel atop the 402-ft. Mobile Service Structure look back at the Apollo 11 spacecraft as the tower is moved away during a Countdown Demonstration Test.",
"mediaType": "image",
"dateCreated": "1969-07-11T00:00:00Z",
"center": "JSC",
"keywords": ["Apollo", "Apollo 11", "Launch"],
"photographer": null,
"thumbnailUrl": "https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~medium.jpg",
"assetUrl": "https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~orig.jpg",
"url": "https://images.nasa.gov/details/jsc2007e034221"
}
Use cases
- Build a searchable NASA image or video gallery for a website or app.
- Source high-resolution space imagery for articles, videos and presentations.
- Assemble teaching materials and datasets for classrooms and research.
- Feed NASA thumbnails and metadata into a media or asset dashboard.
- Automate space-content pipelines that pull fresh imagery on a schedule.
How to use the NASA Media Scraper
- Add the NASA Media Scraper to your Apify account and open its input.
- Enter a search query (the only required field).
- Optionally pick a media type and a year range.
- Set Max items to control how many assets you pull.
- Click Run, then export the results as JSON, CSV, Excel or XML — or fetch them via the Apify API.
Input
{
"query": "apollo 11",
"mediaType": "image",
"maxItems": 100
}
| Field | Description |
|---|---|
query |
Search term across titles, descriptions and keywords. Required. |
mediaType |
image, video, audio, or leave empty for all types. |
yearStart |
Only include assets created in or after this year. Optional. |
yearEnd |
Only include assets created in or before this year. Optional. |
maxItems |
Maximum number of assets to return. |
FAQ
What media does the library cover? Photos, videos and audio spanning decades of NASA missions, spacecraft, astronauts, planets and deep-space imagery, credited to centers such as JSC, KSC and JPL.
Can I get full-resolution files?
Yes. Each row includes a thumbnailUrl for previews and an assetUrl that points to the best available full-resolution image, video or audio file.
How do I narrow my results? Combine a keyword with a media type and a year range. Lower the Max items limit for quick, cheap test runs and raise it to pull a large set.
What export formats are supported? JSON, CSV, Excel and XML, plus programmatic access through the Apify API.
How does billing work? You pay per item you get, so cost scales with the number of assets you actually collect. See the Pricing tab for current rates.
Can I use this with n8n?
Yes. Run the NASA Media Scraper from n8n with the Apify node — trigger a run, pass your query and filters, and read the dataset items straight into your workflow. It also works with Make, Zapier and the Apify API.
Can I connect this to other tools? The NASA Media Scraper connects with almost any cloud service or web app thanks to integrations on the Apify platform. It works with Make, Zapier, Slack, Airbyte, GitHub, Google Drive and many more, plus the Apify API, JavaScript/Python clients and MCP. Or use webhooks to trigger an action whenever a run finishes.
Notes
Original clean-room implementation. Reads only publicly available media and metadata. Not affiliated with, endorsed by or connected to NASA. NASA content is generally free to use; review NASA's media usage guidelines before republishing.
Input
| Field | Type | Description |
|---|---|---|
query requiredSearch query | string | Free-text search across NASA's media library — titles, descriptions and keywords. For example "apollo 11", "mars rover", "nebula" or "earth from space". This is the only required field. |
mediaTypeMedia type | string · , image, video, audio | Restrict results to a single media type. Leave as "Any" to return images, videos and audio together. |
yearStartYear from | string | Optional. Only include assets created in or after this year, e.g. "1969". Leave empty for no lower bound. |
yearEndYear to | string | Optional. Only include assets created in or before this year, e.g. "1972". Leave empty for no upper bound. |
maxItemsMax items | integer | Maximum number of media assets to return. Keep it low for fast, cheap test runs; raise it to pull a large result set. Results are paged automatically until this limit is reached. Default: 100 |
API
curl -X POST "https://api.apify.com/v2/acts/hipersoft~nasa-media-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"query": "apollo 11",
"yearStart": "1969",
"yearEnd": "1972",
"maxItems": 100
}'from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hipersoft/nasa-media-scraper").call(run_input={
"query": "apollo 11",
"yearStart": "1969",
"yearEnd": "1972",
"maxItems": 100
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hipersoft/nasa-media-scraper').call({
"query": "apollo 11",
"yearStart": "1969",
"yearEnd": "1972",
"maxItems": 100
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Pricing
| Event | Price | Paid plans from |
|---|---|---|
| Item Scraped Charged per media item scraped. | $0.001 | $0.0005 |
You pay only for what the run returns. Set a maximum cost per run and it stops cleanly at that limit.
Related scrapers
Website Contact Scraper
Extract business emails, phone numbers and social media profiles from any list of websites. De-obfuscates emails, reads Organization schema, and optionally crawls contact/about pages. Bulk-ready.
1,576 runs · 69 users · $0.0024 / website scrapedThreads Downloader
Download Threads photos, videos and carousel posts by URL. Paste threads.net or threads.com links and get ready-to-use download links plus direct media URLs, a thumbnail, media type and count — one row per URL as JSON, CSV or Excel. Cheap, bulk, built for creators and n8n.
799 runs · 4 users · $0.003 / post downloadedTikTok Video Downloader
Download TikTok videos without watermark in bulk. Paste video or photo-slideshow URLs and get a clean HD MP4 download link plus full metadata: caption, author, play/like/comment/share counts, sound and cover — one row per post as JSON, CSV or Excel. For creators, research and n8n.
678 runs · 9 users · $0.0035 / video downloadedReddit Scraper
Scrape Reddit posts and comments by subreddit, keyword, author or thread URL. Get titles, self-text, scores, upvote ratio, comment counts, comment trees and permalinks — one clean row per post or comment. Export as JSON, CSV or Excel.
568 runs · 15 users · $0.0034 / post scrapedSpotify Scraper
Search Spotify and scrape public metadata for tracks, artists, albums and playlists: names, artists, popularity, followers, genres, release dates, duration, ISRC, preview URL and more. No Spotify login or API key required. For music research, catalogs and analytics.
478 runs · 9 users · $0.0034 / item scrapedReddit Video, Image & GIF Downloader
Download Reddit videos, images and GIFs by post URL. Paste reddit.com or redd.it links and get ready-to-use download links — videos as a single playable MP4 with audio, images and galleries as direct links — one row per URL as JSON, CSV or Excel. Cheap, bulk, built for creators and n8n.
453 runs · 16 users · $0.003 / item scrapedSend the site and the fields. We build it and you get it first.