/v1/ph
pH / pOH / [H+] / [OH−] conversion
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/phcalc-api/v1/ph" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/phcalc-api/v1/ph", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/phcalc-api/v1/ph");
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/phcalc-api/v1/ph",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"pH": 3,
"pKw": 14,
"pOH": 11,
"note": "pH = −log10[H+]; [OH−] = Kw/[H+]; pH + pOH = pKw (14 at 25 °C).",
"classification": "acidic",
"hydronium_concentration": 0.001,
"hydroxide_concentration": 1.0e-11
},
"meta": {
"timestamp": "2026-06-04T10:18:56.018Z",
"request_id": "573b8aef-f0e4-4f71-b132-06d27f37aa9e"
},
"status": "ok",
"message": "pH / pOH / [H+] / [OH-] conversion",
"success": true
}