# NASA API

> 5 public methods for NASA (nasa.gov), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by NASA.

- Page: https://fous.com/methods/nasa.gov

## Methods

### [Get astronomy picture of the day](https://fous.com/methods/nasa.gov/get-astronomy-picture-of-the-day.md)

`nasa.gov/get_astronomy_picture_of_the_day`, read. Returns NASA's Astronomy Picture of the Day for a date: title, explanation, featured media link, optional high-resolution link, and credit.

Returns: date, title, explanation, media type and link, high-resolution link, credit, copyright, APOD page link

### [Search media](https://fous.com/methods/nasa.gov/search-images.md)

`nasa.gov/search_images`, read. Searches NASA public photos, videos or audio by words and creation year, returning matches in relevance order with thumbnails and full-size file links.

Returns: title, description, date created, NASA center, credit, keywords, thumbnail link, full-size link, page link, media id

### [List near-Earth asteroids](https://fous.com/methods/nasa.gov/list-near-earth-asteroids.md)

`nasa.gov/list_near_earth_asteroids`, read. Lists near-Earth asteroids that pass Earth between two UTC dates within a chosen distance, with approach times, size ranges, speed and hazard status.

Returns: asteroid name, closest approach time (UTC), miss distance, size range, speed, hazard status, JPL link

### [Get ISS sightings](https://fous.com/methods/nasa.gov/get-iss-sightings.md)

`nasa.gov/get_iss_sightings`, read. Finds upcoming International Space Station sightings for a city in NASA's city list, with local start times, visibility and sky directions. Cities without scheduled passes return an empty list.

Returns: matched city, and for each sighting its date, local start time, visible duration, maximum height, and where it appears and disappears

### [List natural events](https://fous.com/methods/nasa.gov/list-natural-events.md)

`nasa.gov/list_natural_events`, read. List EONET natural events with latest observations in the past number of days, most recent first. A country or region filter matches reported event locations against mapped boundaries; locations and ongoing status are approximate, and not all events have a reported size or strength.

Returns: event name, type, latest observation date, ongoing, size or strength, source links, page link, coordinates, EONET id
