• Installs:
  • Today: 123
  • All Time: 2590594
Developer:userdimas

NasaAPI API Package

Get NASA's collection of asteroids and space pictures.

List of Endpoints
This is the list of endpoints this API includes. To add any of the endpoints to your app, please click on “Connect to endpoint” text.
See All
Discussions
user thumbnail
ngengesenior: NasaApi dependency
2018-08-08
user thumbnail
crazycj96: Not JSON (JAVA Android)
2018-06-17
See All
Readme

NasaAPI

NasaAPI Package

Get NASA's collection of asteroids and space pictures.

  • Domain: nasa.gov
  • Credentials: apiKey

How to get credentials:

You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.

Custom datatypes:

DatatypeDescriptionExample
DatepickerString which includes date and time2016-05-28 00:00:00
MapString which includes latitude and longitude coma separated50.37, 26.56
ListSimple array["123", "sample"]
SelectString with predefined valuessample
ArrayArray of objects[{"Second name":"123","Age":"12","Photo":"sdf","Draft":"sdfsdf"},{"name":"adi","Second name":"bla","Age":"4","Photo":"asfserwe","Draft":"sdfsdf"}]

NasaAPI.getPictureOfTheDay

This endpoint structures the APOD imagery and associated metadata so that it can be repurposed for other applications. In addition, if the concept_tags parameter is set to True, then keywords derived from the image explanation are returned.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
dateDatepickerOptional: The date of the APOD image to retrieve. Format: YYYY-MM-DD. Default "today".
highResolutionStringOptional: Retrieve the URL for the high resolution image. Default false.

NasaAPI.getClosestAsteroids

Retrieve a list of Asteroids based on their closest approach date to Earth.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
startDateDatepickerOptional: Starting date for asteroid search. Format: YYYY-MM-DD. Default: "today"
endDateDatePickerOptional: Ending date for asteroid search. Format: YYYY-MM-DD. Default: 7 days after startDate.

NasaAPI.getSingleAsteroid

Lookup a specific Asteroid based on its NASA JPL small body (SPK-ID) ID.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
asteroidIdStringOptional: Asteroid SPK-ID correlates to the NASA JPL small body.

NasaAPI.getAsteroidStats

Get the Near Earth Object data set totals.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.

NasaAPI.getAsteroids

Retieve a paginated list of Near Earth Objects.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
pageStringOptional: The page number of the results. Default: 0
sizeStringOptional: The number of returned results per page. Default: 20

NasaAPI.getEPICEarthImagery

Retieve a paginated list of Near Earth Objects.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
dateDatepickerOptional: Retrieve matadata for all imagery available for a given date. Format: YYYY-MM-DD.
availableDatesStringOptional: Retrieve a listing of all dates with available imagery.

NasaAPI.getPatents

This endpoint provides structured, searchable developer access to NASA’s patents that have been curated to support technology transfer.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
queryStringOptional: Search text to filter results.
conceptTagsStringOptional: Return an ordered dictionary of concepts from the patent abstract.
limitStringOptional: number of patents to return.

NasaAPI.getSpaceSounds

This endpoint provides a series of space sounds via sound cloud.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
queryStringOptional: Search text to filter results.
limitStringOptional: number of patents to return.

NasaAPI.getEarthImagery

This endpoint retrieves the Landsat 8 image for the supplied location and date. The response will include the date and URL to the image that is closest to the supplied date.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
coordinateMapRequired: Latitude and longitude coma separated.
dimensionStringOptional: width and height of image in degrees.
dateDatepickerOptional: date of image; if not supplied, then the most recent image (i.e., closest to today) is returned. Format: YYYY-MM-DD.
cloudScoreStringOptional: calculate the percentage of the image covered by clouds. Default false.

NasaAPI.getEarthAssets

This endpoint retrieves the date-times and asset names for available imagery for a supplied location.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
coordinateMapRequired: Latitude and longitude coma separated.
beginDatepickerOptional: beginning of date range. Format: YYYY-MM-DD.
endDatepickerOptional: end of date range. Format: YYYY-MM-DD.

NasaAPI.getMarsRoverPhotos

This API is designed to collect image data gathered by NASA's Curiosity, Opportunity, and Spirit rovers on Mars and make it more easily available to other developers, educators, and citizen scientists.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
solStringOptional: sol (ranges from 0 to max found in endpoint).
cameraStringOptional: Abbreviation of the camera.
pageStringOptional: The page number. 25 items per page returned.

NasaAPI.getEONETEvents

This method returns most recent EONET (Earth Observatory Natural Event Tracker) events.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
sourceStringOptional: Filter the returned events by the Source. Multiple sources can be included in the parameter: comma separated, operates as a boolean OR.
statusStringOptional: Events that have ended are assigned a closed date and the existence of that date will allow you to filter for only-open or only-closed events. Omitting the status parameter will return only the currently open events.
daysStringOptional: Limit the number of prior days (including today) from which events will be returned.

NasaAPI.getEONETCategories

This method returns EONET (Earth Observatory Natural Event Tracker) categories.

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
categoryIdStringOptional: Filter the returned events by the Category.
sourceStringOptional: Filter the returned events by the Source. Multiple sources can be included in the parameter: comma separated, operates as a boolean OR.
statusStringOptional: Events that have ended are assigned a closed date and the existence of that date will allow you to filter for only-open or only-closed events. Omitting the status parameter will return only the currently open events.
limitStringOptional: Limits the number of events returned.
daysStringOptional: Limit the number of prior days (including today) from which events will be returned.

NasaAPI.getEONETLayers

This endpoint is a reference to a specific web service (e.g., WMS, WMTS) that can be used to produce imagery of a particular NASA data parameter. Layers are mapped to categories within EONET in order to provide a category-specific list of layers (e.g., the 'Volcanoes' category is mapped to layers that can provide imagery in true color, SO2, aerosols, etc.).

FieldTypeDescription
apiKeycredentialsOptional: Your ApiKey obtained from NASA for expanded usage. You do not need to authenticate in order to explore the NASA data. However, if you will be intensively using the APIs to, say, support a mobile application, then you should sign up for a NASA developer key.
categoryIdStringOptional: Filter the returned events by the Category.
x
circle
NasaAPI
$ / m
We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.
?

Oops, we are missing some details

Looks like there are a few missing details that you haven't filled in yet.
These details are important and will help us protect you and let you know about anything new.

x

Why sign up to RapidAPI?

  • integrate
    Integrate APIs into your app
    Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
  • keys
    Save all API keys in one place
  • notifications
    Get notifications about API changes
  • stats
    Get stats and monitor API connections
__SING_UP_WITH_GITHUB__
__SING_UP_WITH_FACEBOOK__
__SING_UP_WITH_GOOGLE__
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Authentication

    Authenticate
    esccloses this view