/v1/field
Gravitational field strength
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}