Lodol Docs

NASA

API actions for the NASA integration.

NASA

Explore NASA imagery, Mars rover photos, NEO feeds, and EPIC Earth images.


Astronomy Picture of the Day

Fetch the Astronomy Picture of the Day with title, explanation, and media URL.

Parameters

ParameterTypeRequiredDescription
datestringNoSpecific date in YYYY-MM-DD format. Defaults to today when omitted.
hdbooleanNoRequest the high-definition asset when available.

Response

{
  "status": "mock_value"
}

Recent EPIC natural color images

Retrieve natural color Earth images from NASA's EPIC instrument.

Parameters

ParameterTypeRequiredDescription
datestringNoDate to retrieve images for (YYYY-MM-DD). Defaults to the most recent set.
limitnumberNoMaximum number of images to return.

Response

{
  "status": "mock_value"
}

Search Mars rover photos

Retrieve photos captured by Mars rovers using sol or Earth date filters.

Parameters

ParameterTypeRequiredDescription
roverstringNoName of the rover (Curiosity, Opportunity, Spirit, Perseverance)
earth_datestringNoEarth date in YYYY-MM-DD format. Use sol instead if preferred.
solnumberNoMartian sol (solar day) to query.
camerastringNoOptional camera abbreviation to filter results (e.g., FHAZ, RHAZ, NAVCAM).
limitnumberNoMaximum number of photos to return.
pagenumberNoResult page to request from the NASA API.

Response

{
  "status": "mock_value"
}

Near-Earth object feed

List near-Earth objects for a date range with hazard and velocity details.

Parameters

ParameterTypeRequiredDescription
start_datestringYesStart date for the feed in YYYY-MM-DD format.
end_datestringNoOptional end date (YYYY-MM-DD). Defaults to a 7-day range when omitted.

Response

{
  "status": "mock_value"
}

On this page