/v1/strong
pH of a strong acid or base
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}