Mars basemaps as WMTS tiles with open CORS, including the global 5 m CTX mosaic (CTX_beta01_uncontrolled_5m_Caltech) and MOLA color hillshade (Mars_MGS_MOLA_ClrShade_merge_global_463m). Stack them to plan a route and read terrain.
Mars Reconnaissance Orbiter images at roughly 25 to 50 cm per pixel, sharp enough to see boulders, rover tracks and landers. The PDS archive holds full-resolution RDR products and digital terrain models (DTM).
Mineral maps of the Martian surface from the CRISM spectrometer, showing clays, sulfates and other minerals. Useful for science stops on a Mars route and for matching Mars terrain to Earth sites.
Reference runs of the NASA Ames Mars climate model: temperature, pressure, wind and dust through the Martian year. Gives a planner expected conditions anywhere on a route, with Python tools to read them.
Radiation measured on the surface of Mars by Curiosity's Radiation Assessment Detector since 2012. The real dose numbers behind radiation-shielding decisions for crews.
Search API over NASA's public photos, videos and audio, with no key and open CORS. Good for mission artwork, historical hardware photos and game assets.
endpoint https://images-api.nasa.gov/search
Starter code
Search NASA photos in the browserJavaScript
// No key, CORS enabled: works directly in the browser
const q = encodeURIComponent("Apollo 15 lunar roving vehicle");
const res = await fetch(`https://images-api.nasa.gov/search?q=${q}&media_type=image`);
const { collection } = await res.json();
console.log("hits:", collection.metadata.total_hits);
for (const item of collection.items.slice(0, 5)) {
const meta = item.data[0];
const thumb = item.links?.[0]?.href;
console.log(meta.nasa_id, "|", meta.title, "|", thumb);
}
Fetch a Mars CTX mosaic tileJavaScript
// Read the WMTS capabilities for the Mars CTX mosaic, then fetch one tile.
// The capabilities point at the tile server, which sends CORS headers.
const base = "https://trek.nasa.gov/tiles/Mars/EQ/CTX_beta01_uncontrolled_5m_Caltech/1.0.0";
const xml = await fetch(`${base}/WMTSCapabilities.xml`).then((r) => r.text());
const template = xml.match(/template="([^"]+)"/)[1];
console.log("tile template:", template);
const tileUrl = template
.replace("{TileMatrix}", "0").replace("{TileRow}", "0").replace("{TileCol}", "0");
const tile = await fetch(tileUrl);
console.log(tile.status, tile.headers.get("content-type"), tileUrl);
Find HiRISE images of Jezero CraterPythonOpen in Colab
import requests
# Orbital Data Explorer search: HiRISE map-projected images in a lat/lon box
r = requests.get("https://oderest.rsl.wustl.edu/live2/", params={
"query": "product", "results": "fp", "output": "JSON", "limit": 5,
"target": "mars", "ihid": "MRO", "iid": "HIRISE", "pt": "RDRV11",
"westlon": 77.3, "eastlon": 77.6, "minlat": 18.3, "maxlat": 18.6, # Jezero Crater
}, timeout=60)
r.raise_for_status()
for p in r.json()["ODEResults"]["Products"]["Product"]:
files = p["Product_files"]["Product_file"]
thumb = next((f["URL"] for f in files if f["FileName"].endswith(".THUMB.JPG")), None)
print(p["pdsid"], "|", thumb)
Find CRISM mineral cubes near JezeroPythonOpen in Colab
import requests
# Orbital Data Explorer search: CRISM map-projected targeted cubes (MTRDR)
r = requests.get("https://oderest.rsl.wustl.edu/live2/", params={
"query": "product", "results": "fp", "output": "JSON", "limit": 5,
"target": "mars", "ihid": "MRO", "iid": "CRISM", "pt": "MTRDR",
"westlon": 77, "eastlon": 78, "minlat": 18, "maxlat": 19, # Jezero Crater area
}, timeout=60)
r.raise_for_status()
for p in r.json()["ODEResults"]["Products"]["Product"]:
files = p["Product_files"]["Product_file"]
img = [f["URL"] for f in files if f["URL"].endswith(".img")]
print(p["pdsid"], "|", len(img), "image cubes")
Read the Curiosity RAD file indexPythonOpen in Colab
import requests
# The PDS index lists every RAD radiation file, one per row
base = "https://pds-ppi.igpp.ucla.edu/data/MSL-M-RAD-3-RDR-V1.0/"
rows = requests.get(base + "INDEX/INDEX.TAB", timeout=60).text.splitlines()
print(len(rows), "files in the index")
for row in rows[:5]:
print(row[:120])
# Each row has the file path; prefix it with the base URL to download it