/v1/asset
Asset file URLs by nasa_id
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/nasa-api/v1/asset" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nasa-api/v1/asset", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nasa-api/v1/asset");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/nasa-api/v1/asset",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"files": [
"https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~orig.jpg",
"https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~large.jpg",
"https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~medium.jpg",
"https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~small.jpg",
"https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~thumb.jpg",
"https://images-assets.nasa.gov/image/jsc2007e034221/metadata.json"
],
"large": "https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~large.jpg",
"small": "https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~small.jpg",
"medium": "https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~medium.jpg",
"nasa_id": "jsc2007e034221",
"original": "https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~orig.jpg",
"thumbnail": "https://images-assets.nasa.gov/image/jsc2007e034221/jsc2007e034221~thumb.jpg"
},
"meta": {
"timestamp": "2026-05-30T05:19:44.285Z",
"request_id": "bd6af833-61b0-4abd-8f82-93dcee00262e"
},
"status": "ok",
"message": "Asset retrieved",
"success": true
}