/v1/field
Gravitational field strength
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}