/v1/field
Gravitational field strength
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/gravitation-api/v1/field" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gravitation-api/v1/field", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gravitation-api/v1/field");
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/gravitation-api/v1/field",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"formula": "g = G·M/r²; weight W = m·g.",
"g_force": 1.001359,
"field_source": "G·M/r²",
"gravitational_field_ms2": 9.81997343
},
"meta": {
"timestamp": "2026-06-04T10:18:41.129Z",
"request_id": "1ca5770b-de00-4b44-9386-ff0b53986b18"
},
"status": "ok",
"message": "Gravitational field strength",
"success": true
}