/v1/ph
pH / pOH / [H+] / [OH−] conversion
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/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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}