/v1/balance
Solve the balancing arm
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/wheatstone-api/v1/balance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wheatstone-api/v1/balance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wheatstone-api/v1/balance");
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/wheatstone-api/v1/balance",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"known": {
"r1": 1000,
"r2": 2000,
"r3": 1500
},
"formula": "At balance R1·R4 = R2·R3, so the unknown arm follows from the other three.",
"unknown_arm": "r4",
"balanced_resistance_ohm": 3000
},
"meta": {
"timestamp": "2026-06-04T10:18:53.778Z",
"request_id": "24089ee0-faf9-46c4-acab-d6d6cc27ff16"
},
"status": "ok",
"message": "Solve the balancing arm",
"success": true
}