/v1/meta
Source & units
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/closeapproach-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/closeapproach-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/closeapproach-api/v1/meta");
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/closeapproach-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Live close approaches of near-Earth asteroids and comets. dist_max in AU (default 0.05 ≈ 19.5 lunar distances). Diameter estimated from absolute magnitude.",
"units": {
"au": "astronomical units",
"km": "kilometres",
"lunar": "lunar distances (1 LD = 384,400 km)",
"velocity": "km/s relative to Earth"
},
"source": "NASA/JPL CAD — Close-Approach Data API",
"endpoints": [
"/v1/approaches",
"/v1/object",
"/v1/meta"
]
},
"meta": {
"timestamp": "2026-05-31T06:28:02.554Z",
"request_id": "6c7a585a-d2e7-4d64-8c3d-c9e9c31a03e1"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}