/v1/chlorinity
Salinity ↔ chlorinity
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/seawater-api/v1/chlorinity" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/seawater-api/v1/chlorinity", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/seawater-api/v1/chlorinity");
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/seawater-api/v1/chlorinity",
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": {
"note": "Chlorinity is the classic measure of the halide (mostly chloride) content of seawater, tied to salinity by the Knudsen relation S = 1.80655 × Cl. Before conductivity meters, salinity was found by titrating chlorinity — and because the major-ion ratios of seawater are nearly constant the world over (the principle of constant proportions), one number fixes the other.",
"inputs": {
"salinity_ppt": 35,
"chlorinity_ppt": null
},
"salinity_ppt": 35,
"chlorinity_ppt": 19.3739
},
"meta": {
"timestamp": "2026-06-07T08:18:07.650Z",
"request_id": "6878494a-11f3-456e-97e5-9ca18b93a8ce"
},
"status": "ok",
"message": "Chlorinity",
"success": true
}