Zum Inhalt springen
GET /v1/bridge

Bridge output voltage

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/wheatstone-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/wheatstone-api/v1/bridge" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wheatstone-api/v1/bridge", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wheatstone-api/v1/bridge");
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/bridge",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "r1": 1000,
        "r2": 1000,
        "r3": 1000,
        "r4": 1010,
        "formula": "Vout = Vin·(R2/(R1+R2) − R4/(R3+R4)); balanced when R1·R4 = R2·R3.",
        "balanced": false,
        "v_left_v": 5,
        "v_right_v": 5.02487562,
        "excitation_v": 10,
        "output_voltage_v": -0.0248756219,
        "output_voltage_mv": -24.87562189,
        "balance_product_left": 1010000,
        "balance_product_right": 1000000
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:53.864Z",
        "request_id": "0457c01d-6c91-4536-a7da-7c4091b37417"
    },
    "status": "ok",
    "message": "Bridge output voltage",
    "success": true
}