/v1/density
Seawater density and σt
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/seawater-api/v1/density" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/seawater-api/v1/density", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/seawater-api/v1/density");
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/density",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Seawater density from the UNESCO EOS-80 equation of state (at the surface). Around 1,025 kg/m³, it rises with salinity and falls with temperature — the two drivers of the ocean's density-driven circulation, where cold salty water sinks. Oceanographers quote σt = density − 1000. The salt adds roughly 0.8 kg/m³ per ppt; this surface form ignores the further increase with pressure at depth.",
"inputs": {
"temp_c": 25,
"salinity_ppt": 35
},
"sigma_t": 23.343,
"density_kg_m3": 1023.343,
"specific_gravity": 1.0235,
"pure_water_density_kg_m3": 997.048
},
"meta": {
"timestamp": "2026-06-07T08:18:07.753Z",
"request_id": "e1ab4ecd-7390-4932-9d29-a4d16b91791c"
},
"status": "ok",
"message": "Seawater density",
"success": true
}