Vai al contenuto
GET /v1/chlorinity

Salinity ↔ chlorinity

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/seawater-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}