NASA Images

App · Images & Design · 5 actions

Search NASA's own library of photographs, video and audio: everything on images.nasa.gov, from the Apollo landings to this week's launch. Find material by subject, keyword, NASA center, photographer, place or date; get any item with a ready-to-use link at every size from thumbnail to full resolution; read what is in an album; pull a video's transcript as text; and see how a photograph was taken, down to the camera, lens and exposure. No account or API key is required.

Actions

ActionWhat it does
Get a video transcriptGet the words spoken in a NASA video as plain text, ready to summarise, search or subtitle, plus each line with the time it is said.
Get an image or videoGet everything the library holds about one photo, video or audio clip: its caption, when and where it was taken, who took it, and a link to the file itself at every size it was published in: a thumbnail for a list, a medium for an e-mail, the original for print.
Get camera and file detailsGet how the original file was made: the camera, lens, aperture, shutter speed and ISO for a photograph that records them, the duration and frame rate for a video, and the dimensions, format and file size for either.
Get items in an albumGet what is in one of the library's albums: the sets NASA groups a mission, an event or an anniversary into.
Search images and videosSearch NASA's library of photographs, video and audio: everything on images.nasa.gov.

Get a video transcript

Get the words spoken in a NASA video as plain text, ready to summarise, search or subtitle, plus each line with the time it is said. A video with no transcript comes back empty with a note saying so, rather than failing, so this is safe to run over a list of videos.

Inputs

Item IDnasa_idtextRequired
The library's ID for the photo, video or audio clip. Every search result carries it as 'nasa_id', and it is the last part of the item's images.nasa.gov address.

Outputs

caption_file_formattext
'SubRip (.srt)' or 'WebVTT (.vtt)'.
caption_file_urltext
cue_countnumber
cueslist
Each caption with the time it is said.
has_transcripttrue/false
False when this video has no captions.
nasa_idtext
notetext
Set only when there are no words, explaining why. Empty otherwise.
page_urltext
transcripttext
The whole transcript, one caption per line.
usage_noteobject
How NASA asks that this material be used, and where to read more.
word_countnumber
Example output
{
  "caption_file_format": "SubRip (.srt)",
  "caption_file_url": "https://images-assets.nasa.gov/video/NHQ_2019_0311_Go%20Forward%20to%20the%20Moon/NHQ_2019_0311_Go%20Forward%20to%20the%20Moon.srt",
  "cue_count": 12,
  "cues": [
    {
      "end": "00:00:05",
      "end_seconds": 5.372,
      "start": "00:00:01",
      "start_seconds": 1.0,
      "text": "We will go forward to the Moon."
    },
    {
      "end": "00:00:19",
      "end_seconds": 19.085,
      "start": "00:00:14",
      "start_seconds": 14.681,
      "text": "This is bold exploration."
    }
  ],
  "has_transcript": true,
  "nasa_id": "NHQ_2019_0311_Go Forward to the Moon",
  "note": null,
  "page_url": "https://images.nasa.gov/details/NHQ_2019_0311_Go%20Forward%20to%20the%20Moon",
  "transcript": "We will go forward to the Moon.\nThis is bold exploration.\nWe will land our astronauts on the Moon within the next decade.",
  "usage_note": {
    "text": "NASA material is generally not copyrighted and may be used for news, education and information, but NASA's name and insignia may not be used to imply an endorsement, and a photograph of an identifiable person is not a release to use their likeness commercially. A few items are credited to someone else -- check the credit before republishing.",
    "url": "https://www.nasa.gov/nasa-brand-center/images-and-media/"
  },
  "word_count": 95
}

Get an image or video

Get everything the library holds about one photo, video or audio clip: its caption, when and where it was taken, who took it, and a link to the file itself at every size it was published in: a thumbnail for a list, a medium for an e-mail, the original for print.

Inputs

Item IDnasa_idtextRequired
The library's ID for the photo, video or audio clip. Every search result carries it as 'nasa_id', and it is the last part of the item's images.nasa.gov address.

Outputs

albumslist
Albums this item belongs to, for 'Get items in an album'.
captions_urltext
The video's caption file, when it has one.
centertext
The NASA center it came from, by its initials.
center_nametext
That center's full name, e.g. 'Kennedy Space Center'.
date_createdtext
The day it was taken or published, as YYYY-MM-DD.
descriptiontext
NASA's own caption, which usually names what is pictured.
download_urlsobject
The item itself at each size it was published in. Empty for a size this item was not published in.
file_countnumber
fileslist
Every published file, including stills and captions.
has_transcripttrue/false
True when 'Get a video transcript' can return words for this item.
keywordslist
locationtext
Where it was taken, when the record says.
media_typetext
'image', 'video' or 'audio'.
nasa_idtext
The library's ID for this item, for the other actions.
page_urltext
The item's page on images.nasa.gov.
photographertext
preview_image_urltext
A picture of the item, ready to show. For a video or an audio clip this is its poster image.
titletext
usage_noteobject
How NASA asks that this material be used, and where to read more.
Example output
{
  "albums": [
    "Apollo"
  ],
  "captions_url": null,
  "center": "JSC",
  "center_name": "Johnson Space Center",
  "date_created": "1969-07-20",
  "description": "Astronaut Edwin E. Aldrin Jr., lunar module pilot, poses for a photograph beside the deployed United States flag during Apollo 11 extravehicular activity on the lunar surface.",
  "download_urls": {
    "large": "https://images-assets.nasa.gov/image/as11-40-5878/as11-40-5878~large.jpg",
    "medium": "https://images-assets.nasa.gov/image/as11-40-5878/as11-40-5878~medium.jpg",
    "original": "https://images-assets.nasa.gov/image/as11-40-5878/as11-40-5878~orig.jpg",
    "small": "https://images-assets.nasa.gov/image/as11-40-5878/as11-40-5878~small.jpg",
    "thumbnail": "https://images-assets.nasa.gov/image/as11-40-5878/as11-40-5878~thumb.jpg"
  },
  "file_count": 5,
  "files": [
    {
      "format": "JPG",
      "kind": "image",
      "label": "Original",
      "size": "orig",
      "url": "https://images-assets.nasa.gov/image/as11-40-5878/as11-40-5878~orig.jpg"
    },
    {
      "format": "JPG",
      "kind": "image",
      "label": "Medium",
      "size": "medium",
      "url": "https://images-assets.nasa.gov/image/as11-40-5878/as11-40-5878~medium.jpg"
    }
  ],
  "has_transcript": false,
  "keywords": [
    "Apollo 11",
    "Moon",
    "Astronaut",
    "Flag"
  ],
  "location": "Moon",
  "media_type": "image",
  "nasa_id": "as11-40-5878",
  "page_url": "https://images.nasa.gov/details/as11-40-5878",
  "photographer": "NASA/Neil A. Armstrong",
  "preview_image_url": "https://images-assets.nasa.gov/image/as11-40-5878/as11-40-5878~thumb.jpg",
  "title": "Apollo 11 Mission image - Astronaut Edwin Aldrin poses beside U.S. flag",
  "usage_note": {
    "text": "NASA material is generally not copyrighted and may be used for news, education and information, but NASA's name and insignia may not be used to imply an endorsement, and a photograph of an identifiable person is not a release to use their likeness commercially. A few items are credited to someone else -- check the credit before republishing.",
    "url": "https://www.nasa.gov/nasa-brand-center/images-and-media/"
  }
}

Get camera and file details

Get how the original file was made: the camera, lens, aperture, shutter speed and ISO for a photograph that records them, the duration and frame rate for a video, and the dimensions, format and file size for either. Older scans and mission renderings carry no camera settings, and come back with those fields empty.

Inputs

Item IDnasa_idtextRequired
The library's ID for the photo, video or audio clip. Every search result carries it as 'nasa_id', and it is the last part of the item's images.nasa.gov address.

Outputs

all_detailsobject
Everything the file records, for anything not listed above.
aperturetext
cameratext
centertext
center_nametext
credittext
Who to credit, as the file records it.
date_takentext
When the file was made, to the second where the camera recorded it.
durationtext
How long a video or audio clip runs.
file_sizetext
file_typetext
focal_lengthtext
frame_ratenumber
has_camera_detailstrue/false
False for a file that records no camera settings.
heightnumber
In pixels.
isonumber
lenstext
media_typetext
megapixelsnumber
nasa_idtext
page_urltext
shutter_speedtext
titletext
usage_noteobject
How NASA asks that this material be used, and where to read more.
widthnumber
In pixels.
Example output
{
  "all_details": {
    "AVAIL:Title": "Apollo 11 50th Anniversary Celebration",
    "Composite:ImageSize": "5182x3712",
    "EXIF:ISO": 100,
    "EXIF:Make": "NIKON CORPORATION",
    "EXIF:Model": "NIKON D5"
  },
  "aperture": "f/2.8",
  "camera": "NIKON D5",
  "center": "HQ",
  "center_name": "NASA Headquarters",
  "credit": "NASA/Aubrey Gemignani",
  "date_taken": "2019-07-19 10:59:28",
  "duration": null,
  "file_size": "19 MB",
  "file_type": "TIFF",
  "focal_length": "70.0 mm",
  "frame_rate": null,
  "has_camera_details": true,
  "height": 3712,
  "iso": 100,
  "lens": "70.0-200.0 mm f/2.8",
  "media_type": "image",
  "megapixels": 19.2,
  "nasa_id": "NHQ201907190146",
  "page_url": "https://images.nasa.gov/details/NHQ201907190146",
  "shutter_speed": "1/800",
  "title": "Apollo 11 50th Anniversary Celebration",
  "usage_note": {
    "text": "NASA material is generally not copyrighted and may be used for news, education and information, but NASA's name and insignia may not be used to imply an endorsement, and a photograph of an identifiable person is not a release to use their likeness commercially. A few items are credited to someone else -- check the credit before republishing.",
    "url": "https://www.nasa.gov/nasa-brand-center/images-and-media/"
  },
  "width": 5182
}

Get items in an album

Get what is in one of the library's albums: the sets NASA groups a mission, an event or an anniversary into. Album names come back on every search result under 'albums'.

Inputs

Albumalbum_nametextRequired
The album's name, exactly as the library spells it. Every search result lists the albums its item belongs to, which is where a name to use here comes from.
Number of resultslimitnumber
How many items to return, from 1 to 100. Defaults to 10. Each item comes back with its full caption, so ask for what you will use.From 1 to 100. Default: 10.

Outputs

album_nametext
has_moretrue/false
True when the library holds more than was returned. Narrow the search or ask for more results.
itemslist
The items in the album.
page_urltext
The album's page on images.nasa.gov.
result_countnumber
How many items came back.
total_matchesnumber
How many items the library holds for this search. Empty when a 'Taken on or after'/'Taken on or before' date was used, because the library counts its matches by year rather than by day.
usage_noteobject
How NASA asks that this material be used, and where to read more.
Example output
{
  "album_name": "Apollo",
  "has_more": true,
  "items": [
    {
      "albums": [
        "Apollo"
      ],
      "center": "JSC",
      "center_name": "Johnson Space Center",
      "date_created": "1969-07-20",
      "description": "Astronaut Edwin E. Aldrin Jr., lunar module pilot, poses for a photograph beside the deployed United States flag during Apollo 11 extravehicular activity on the lunar surface.",
      "keywords": [
        "Apollo 11",
        "Moon",
        "Astronaut",
        "Flag"
      ],
      "location": "Moon",
      "media_type": "image",
      "nasa_id": "as11-40-5878",
      "page_url": "https://images.nasa.gov/details/as11-40-5878",
      "photographer": "NASA/Neil A. Armstrong",
      "preview_image_url": "https://images-assets.nasa.gov/image/as11-40-5878/as11-40-5878~thumb.jpg",
      "title": "Apollo 11 Mission image - Astronaut Edwin Aldrin poses beside U.S. flag"
    }
  ],
  "page_url": "https://images.nasa.gov/album/Apollo",
  "result_count": 1,
  "total_matches": 40,
  "usage_note": {
    "text": "NASA material is generally not copyrighted and may be used for news, education and information, but NASA's name and insignia may not be used to imply an endorsement, and a photograph of an identifiable person is not a release to use their likeness commercially. A few items are credited to someone else -- check the credit before republishing.",
    "url": "https://www.nasa.gov/nasa-brand-center/images-and-media/"
  }
}

Search images and videos

Search NASA's library of photographs, video and audio: everything on images.nasa.gov. Match on words in the title and caption, and narrow by kind of media, keyword, NASA center, photographer, place and the dates it was taken. Each result comes back with its caption, its ID and a picture ready to show.

Inputs

Search wordsquerytext
Words to look for in an item's title, caption and keywords. Leave empty to browse by the filters below alone.
Kind of mediamedia_typeslist
Only return these kinds. Choosing several returns any of them. Leave empty for everything.One or more of: image (Photos), video (Videos), audio.
NASA centercenterslist
Only return material from these NASA centers -- Kennedy for launches, the Jet Propulsion Laboratory for robotic missions, Johnson for human spaceflight. Leave empty for all of NASA.One or more of: AFRC (Armstrong Flight Research Center), ARC (Ames Research Center), GRC (Glenn Research Center), GSFC (Goddard Space Flight Center), HQ (NASA Headquarters), JPL (Jet Propulsion Laboratory), JSC (Johnson Space Center), KSC (Kennedy Space Center), LARC (Langley Research Center), MAF (Michoud Assembly Facility), and 3 more.
Keywordskeywordslist
Only return items tagged with these keywords. An item matching any of them is returned. The keywords on an item come back with every search result.
Photographerphotographertext
Only return work credited to this photographer, as the library spells it.
Placelocationtext
Only return items taken at this place, as the library records it.
Taken on or aftertaken_fromdate
Only return items taken on or after this day. Use this with 'Taken on or before' to cover a launch week, a mission or a year.
Taken on or beforetaken_untildate
Only return items taken on or before this day.
Number of resultslimitnumber
How many items to return, from 1 to 100. Defaults to 10. Each item comes back with its full caption, so ask for what you will use.From 1 to 100. Default: 10.

Outputs

has_moretrue/false
True when the library holds more than was returned. Narrow the search or ask for more results.
itemslist
The matching items, best match first.
querytext
result_countnumber
How many items came back.
total_matchesnumber
How many items the library holds for this search. Empty when a 'Taken on or after'/'Taken on or before' date was used, because the library counts its matches by year rather than by day.
usage_noteobject
How NASA asks that this material be used, and where to read more.
Example output
{
  "has_more": true,
  "items": [
    {
      "albums": [
        "Apollo"
      ],
      "center": "JSC",
      "center_name": "Johnson Space Center",
      "date_created": "1969-07-20",
      "description": "Astronaut Edwin E. Aldrin Jr., lunar module pilot, poses for a photograph beside the deployed United States flag during Apollo 11 extravehicular activity on the lunar surface.",
      "keywords": [
        "Apollo 11",
        "Moon",
        "Astronaut",
        "Flag"
      ],
      "location": "Moon",
      "media_type": "image",
      "nasa_id": "as11-40-5878",
      "page_url": "https://images.nasa.gov/details/as11-40-5878",
      "photographer": "NASA/Neil A. Armstrong",
      "preview_image_url": "https://images-assets.nasa.gov/image/as11-40-5878/as11-40-5878~thumb.jpg",
      "title": "Apollo 11 Mission image - Astronaut Edwin Aldrin poses beside U.S. flag"
    },
    {
      "albums": [],
      "center": "HQ",
      "center_name": "NASA Headquarters",
      "date_created": "2019-03-11",
      "description": "NASA is going to the Moon and on to Mars, in a measured, sustainable way.",
      "keywords": [
        "Moon",
        "Mars",
        "Forward to the Moon"
      ],
      "location": null,
      "media_type": "video",
      "nasa_id": "NHQ_2019_0311_Go Forward to the Moon",
      "page_url": "https://images.nasa.gov/details/NHQ_2019_0311_Go%20Forward%20to%20the%20Moon",
      "photographer": null,
      "preview_image_url": "https://images-assets.nasa.gov/video/NHQ_2019_0311_Go%20Forward%20to%20the%20Moon/NHQ_2019_0311_Go%20Forward%20to%20the%20Moon~thumb.jpg",
      "title": "Go Forward to the Moon"
    }
  ],
  "query": "apollo 11 moon landing",
  "result_count": 2,
  "total_matches": 827,
  "usage_note": {
    "text": "NASA material is generally not copyrighted and may be used for news, education and information, but NASA's name and insignia may not be used to imply an endorsement, and a photograph of an identifiable person is not a release to use their likeness commercially. A few items are credited to someone else -- check the credit before republishing.",
    "url": "https://www.nasa.gov/nasa-brand-center/images-and-media/"
  }
}

On this page