NASA Astronomy Picture of the Day Scraper avatar

NASA Astronomy Picture of the Day Scraper

Pricing

from $24.75 / 1,000 results

Go to Apify Store
NASA Astronomy Picture of the Day Scraper

NASA Astronomy Picture of the Day Scraper

Scrapes NASA's Astronomy Picture of the Day archive by date, range, or random sample. Returns each entry as a flat row with the image URL, explanation, copyright, and media type.

Pricing

from $24.75 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

14 days ago

Last modified

Share

ParseForge

NASA Astronomy Picture of the Day Scraper

Scrape NASA's Astronomy Picture of the Day by date, range, or random sample, up to a million per run. Each record includes the full explanation, image and HD URLs, media type, copyright, and date. No API key required. Export to JSON, CSV, Excel, or XML.

The NASA APOD API rate-limits and requires a key for heavy use. This scraper reads the archive directly, fetching the title, explanation, image URL, and metadata for any date from June 16, 1995 to today. Pull a single day, a date range, or a random sample of cosmic imagery in one fixed schema.

Who uses itWhat they scrape NASA APOD for
Space educatorsBuild a classroom archive of daily astronomy images with explanations.
Content creatorsSource high-resolution space images for videos, blogs, or social media.
Data scientistsAnalyze trends in astronomical imaging and descriptive text over decades.
App developersPopulate a space-themed app or wallpaper service with fresh daily content.

What it does

This Actor collects NASA Astronomy Picture of the Day entries by date, range, or random sample and returns each one as a flat row with the image URL, explanation, and metadata.

  • ๐Ÿ“… Date range mode: pull every picture between two dates, defaulting to the last 10 days if no dates are given.
  • ๐ŸŽฒ Random sample mode: request up to 100 random pictures per run for variety or testing.
  • ๐ŸŽฌ Video thumbnails: when the day's media is a video, automatically include its thumbnail URL alongside the playable link.
  • ๐Ÿ“† Single date mode: target one specific day, from the archive start in 1995 through today.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with NASA APOD data

๐Ÿ“š Build a teaching archive.

A science teacher pulls the last 365 APOD entries to create a daily astronomy bell-ringer activity with images and explanations.

๐ŸŽฅ Source daily space content.

A YouTube creator runs the scraper each morning to grab today's image and explanation for a short-form astronomy video script.

๐Ÿ“Š Analyze image trends.

A researcher fetches the full APOD archive to study how the topics and media types chosen by NASA editors have shifted since 1995.

๐Ÿ“ฑ Feed a wallpaper app.

A mobile developer schedules a daily run to pull the latest high-resolution space image and push it to app users as their wallpaper of the day.

Why choose this scraper

What you get
No API keyBypass the official API key requirement and rate limits for bulk pulls.
Full archive accessReach every picture back to June 16, 1995, the first APOD.
Fixed flat schemaEvery record lands with the same columns, ready for analysis or a database.
Video handlingGet thumbnail URLs for video days so you always have a preview image.

How it compares

This Actor focuses exclusively on the APOD archive with bulk date-range and random-sample modes, while other NASA scrapers bundle additional endpoints or offer simpler single-date fetching.

FeatureParseForgeNASA Space Data ScraperNASA APOD Scraper - Astronomy Picture of DayNASA APOD Scraper
Date range modeYes, with configurable start and end datesNot listedYesYes
Random sample modeYes, up to 100 per runNot listedYesNot listed
Video thumbnail URLsYes, optionalNot listedNot listedNot listed
No API key requiredYesYesNot listedNot listed
Mars Rover photosNot listedYesNot listedNot listed
Near Earth Objects dataNot listedYesNot listedNot listed

Configure the run

Drive the Actor with a single date, a start and end date, or a random count. The max items cap stops the run once you have enough records. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10
}

A larger pull:

{
"maxItems": 200
}

Pricing

Pay-per-result: $0.033 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$3.30
1,000 results$33.00
10,000 results$330.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the NASA Astronomy Picture of the Day Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to NASA APOD through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/apod-nasa-images-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results for a date before 1995?

The APOD archive begins on June 16, 1995. Any date earlier than that will return no picture. Adjust your start date to 1995-06-16 or later.

Why does my random sample have fewer pictures than I requested?

The upstream random endpoint caps at 100 pictures per call. If you requested more, the Actor returns whatever the endpoint provides. Run it again for a fresh batch.

I got a video URL but no thumbnail. What happened?

Check that the 'Thumbnails for Videos' option is set to true in your input. If it is off, the thumbnail field will be empty for video entries.

My date range run stopped early.

The max items setting caps the total records collected. If your range spans more days than the cap, the run stops once it hits that number. Raise the max items limit.

Why is the HD URL field empty for some older pictures?

High-definition URLs were not always provided in the early years of the archive. The field will be blank when NASA did not supply an HD version for that date.

FAQ

QuestionAnswer
Do I need a NASA API key to use this scraper?No. This Actor reads the public APOD archive directly, so you do not need to register for a key or worry about rate limits.
How far back can I scrape pictures?The archive starts on June 16, 1995. You can request any date from then through the current day.
What happens when the picture of the day is a video?The record includes the video URL and its media type. If you enable the thumbnails option, it also returns a still thumbnail image URL.
Can I get a random set of pictures instead of a date range?Yes. Set the mode to Random sample and choose how many pictures you want, up to 100 per run.
What output formats are supported?You can export your dataset to JSON, CSV, Excel, or XML from the Apify run console.
How do I pull more than 100 random pictures?Run the Actor multiple times with the random mode. Each run draws a fresh random sample from the archive.
Does this scraper return the HD image URL?Yes. Each record includes the standard image URL and, when available, the high-definition version.
Is the copyright field included?Yes. The copyright attribution for each image is returned as part of the flat record.
Can I schedule this to run every day?Yes. Use Apify's scheduler to run the Actor daily in Latest mode and collect each new picture automatically.
What is the maximum number of images I can collect in one run?The max items setting lets you cap a run at up to 1,000,000 records, though the archive itself contains far fewer entries.

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by NASA. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.