/v1/body
Single solar-system body
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/planets-api/v1/body" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/planets-api/v1/body", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/planets-api/v1/body");
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/planets-api/v1/body",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"name": "Jupiter",
"type": "planet",
"moons": 95,
"parent": "Sun",
"mass_kg": 1.898e+27,
"has_rings": true,
"radius_km": 69911,
"discovered": null,
"gravity_ms2": 24.79,
"mean_temp_c": -110,
"density_gcm3": 1.326,
"semi_major_axis_au": 5.203,
"escape_velocity_kms": 59.5,
"orbital_period_days": 4332.589,
"rotation_period_hours": 9.925
},
"meta": {
"timestamp": "2026-05-30T22:48:32.628Z",
"request_id": "961b8758-79fa-4610-8b7f-e4c074d5d08a"
},
"status": "ok",
"message": "Body retrieved",
"success": true
}