Naar de inhoud
GET /v1/strong

pH of a strong acid or base

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/phcalc-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "pH": 2,
        "pOH": 12,
        "type": "acid",
        "formula": "strong acid: [H+] = c, pH = −log10(c).",
        "concentration": 0.01,
        "classification": "acidic",
        "hydronium_concentration": 0.01,
        "hydroxide_concentration": 1.0e-12
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:56.124Z",
        "request_id": "fe87ebc9-0ae0-4c6c-9025-b744fc8eeb37"
    },
    "status": "ok",
    "message": "pH of a strong acid or base",
    "success": true
}