Discover/api.nasa.gov API
live

api.nasa.gov APIapi.nasa.gov

Access NASA's APOD, Near Earth Objects, DONKI space weather, EPIC Earth imagery, Exoplanet Archive, EONET natural events, and more via a single API.

Endpoints
11
Updated
10d ago
Try it
Date of the APOD image in YYYY-MM-DD format. Cannot be used with start_date/end_date or co
Return a specified number of random APOD images. Cannot be used with date or start_date/en
Return URL of video thumbnail if media_type is video.
End date for a range of APODs in YYYY-MM-DD format. Used with start_date.
Start date for a range of APODs in YYYY-MM-DD format. Used with end_date.
api.parse.bot/scraper/6db36254-5228-41a6-82a1-a7102cd098e8/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/6db36254-5228-41a6-82a1-a7102cd098e8/get_apod?date=2026-02-25' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 11 totalclick to expand

Get the Astronomy Picture of the Day (APOD) metadata. Returns a single APOD object when date is specified, or an array when start_date/end_date or count is used.

Input
ParamTypeDescription
datestringDate of the APOD image in YYYY-MM-DD format. Cannot be used with start_date/end_date or count.
countintegerReturn a specified number of random APOD images. Cannot be used with date or start_date/end_date.
thumbsbooleanReturn URL of video thumbnail if media_type is video.
end_datestringEnd date for a range of APODs in YYYY-MM-DD format. Used with start_date.
start_datestringStart date for a range of APODs in YYYY-MM-DD format. Used with end_date.
Response
{
  "type": "object",
  "fields": {
    "url": "string — URL of the image or video",
    "date": "string — date of the APOD in YYYY-MM-DD format",
    "hdurl": "string — high-definition image URL (absent for videos)",
    "title": "string — title of the APOD",
    "media_type": "string — 'image' or 'video'",
    "explanation": "string — description of the image"
  },
  "sample": {
    "data": {
      "url": "https://apod.nasa.gov/apod/image/2602/Egg_Hubble_960.jpg",
      "date": "2026-02-25",
      "hdurl": "https://apod.nasa.gov/apod/image/2602/Egg_Hubble_2048.jpg",
      "title": "The Egg Nebula from the Hubble Telescope",
      "copyright": "ESA/Hubble & NASA",
      "media_type": "image",
      "explanation": "Ever wonder what it would look like to crack open the Sun?...",
      "service_version": "v1"
    },
    "status": "success"
  }
}

About the api.nasa.gov API

This API exposes 11 endpoints covering NASA's major open datasets — from the Astronomy Picture of the Day (get_apod) to near-Earth asteroid tracking, DONKI space weather events, EPIC Earth imagery, and the Exoplanet Archive. Each endpoint returns structured metadata including orbital parameters, geolocation coordinates, solar event timestamps, and discovery details, so you can integrate NASA science data directly into your applications without managing multiple upstream sources.

Astronomy, Asteroids, and Space Weather

get_apod returns the daily APOD record including url, hdurl, title, explanation, and media_type ('image' or 'video'). You can request a single date with the date parameter, a date range with start_date/end_date, or a random sample with count. The NEO endpoints cover asteroid tracking: get_neo_feed returns near-Earth objects grouped by close-approach date over up to 7 days, get_neo_lookup returns full orbital and diameter data for a single asteroid by SPK-ID (e.g. '2000433' for Eros), and get_neo_browse pages through the entire asteroid dataset. DONKI endpoints (get_donki_cme, get_donki_notifications) expose coronal mass ejection records with activityID, startTime, sourceLocation, and instrument data, plus typed space weather notifications filterable by event type ('FLR', 'CME', 'GST', and others).

Earth Imagery and Mars Weather

get_epic_images returns metadata for images captured by the DSCOVR spacecraft's EPIC camera, including image filenames, caption, identifier timestamps, and centroid_coordinates (lat/lon of Earth's centroid). The category parameter switches between 'natural' and 'enhanced' color processing. get_insight_mars_weather returns the last available sols of InSight lander weather data via sol_keys; note that the InSight mission ended in November 2022, so all returned data is historical (sols 675–681, October 2020).

NASA Library, Exoplanets, and Natural Events

search_nasa_library queries the NASA Image and Video Library with a free-text q parameter and optional media_type filter ('image', 'video', or 'audio'), returning paginated collection objects with item arrays and metadata links. get_exoplanet_data queries the NASA Exoplanet Archive using ADQL syntax — fields returned include pl_name, hostname, disc_year, pl_orbper, and discoverymethod. Note that SQL LIMIT is not supported; use ADQL TOP syntax (e.g. select top 10 pl_name from ps). get_eonet_events returns natural event records — wildfires, storms, volcanic eruptions — with GeoJSON geometry, categories, and source links, filterable by status ('open' or 'closed') and limit.

Common use cases
  • Display the daily Astronomy Picture of the Day with title and explanation in a science dashboard or mobile app.
  • Monitor near-Earth asteroid close approaches over a date range using get_neo_feed, with miss distances and velocity data.
  • Alert users to coronal mass ejections and geomagnetic storms by polling get_donki_cme and get_donki_notifications.
  • Embed DSCOVR Earth imagery on a map by retrieving EPIC image metadata with centroid coordinates from get_epic_images.
  • Build an exoplanet explorer filtered by discovery method or orbital period using ADQL queries against the Exoplanet Archive.
  • Track active wildfires or storm events globally with GeoJSON geometry from get_eonet_events.
  • Search and surface NASA archival images and videos programmatically using the search_nasa_library media type filter.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does NASA provide an official developer API?+
Yes. NASA maintains an official open API portal at https://api.nasa.gov, which documents keys and endpoints including APOD, NeoWs, DONKI, EPIC, and others. This Parse API wraps those same datasets in a consistent interface.
What does get_neo_lookup return versus get_neo_feed?+
get_neo_feed returns a date-keyed list of asteroid close approaches within a window of up to 7 days, useful for bulk monitoring. get_neo_lookup takes a single SPK-ID (e.g. '2000433') and returns full detail for that asteroid: estimated diameter in four units, absolute magnitude, and a complete historical close_approach_data array with dates, velocities, and miss distances.
Is InSight Mars weather data current?+
No. The InSight lander mission ended in November 2022. get_insight_mars_weather returns historical data from sols 675–681, corresponding to October 2020. The endpoint is useful for educational or archival applications but will not update with new readings.
Does the API expose APOD image copyright or photographer credit fields?+
Not currently. The get_apod response covers url, hdurl, title, explanation, date, and media_type, but does not include a copyright field. You can fork this API on Parse and revise it to surface that field if it becomes available upstream.
Can I retrieve EONET events filtered by event category (e.g. only wildfires)?+
Not currently. get_eonet_events supports filtering by status ('open' or 'closed') and a result limit, but category-level filtering (wildfires, volcanoes, storms) is not exposed as a parameter. You can fork this API on Parse and revise it to add a category filter against the EONET dataset.
Page content last updated . Spec covers 11 endpoints from api.nasa.gov.
Related APIs in Government PublicSee all →
identify.plantnet.org API
Identify and explore plant species by searching through Pl@ntNet's comprehensive botanical database to access detailed information like taxonomic families, genera, species descriptions, photos, and community observations. Track plant distributions, view contribution trends, and discover expert contributors within the platform's collaborative plant identification community.
data.lime.bike API
Access real-time availability data for Lime bikes and scooters, including station locations, vehicle status, system alerts, and geofencing zones across multiple cities. Monitor micromobility inventory and service information to find nearby vehicles or plan your trips effectively.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
mahatenders.gov.in API
Access Maharashtra government tenders from mahatenders.gov.in, browsing them by closing date or by organization with full tender details and pagination support. Find and review procurement opportunities across different government departments in one place.
nseindia.com API
Track live NSE stock prices, monitor indices, analyze option chains, and access corporate announcements with real-time market data from India's National Stock Exchange. View equity quotes with full order books, identify top gainers/losers, analyze 52-week highs/lows, and explore historical price trends all in structured JSON format.