/v1/sound-speed
Speed of sound in seawater
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/sonar-api/v1/sound-speed" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sonar-api/v1/sound-speed", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sonar-api/v1/sound-speed");
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/sonar-api/v1/sound-speed",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "The speed of sound in seawater from the Mackenzie equation — about 1,500 m/s, far faster than in air, and it rises with temperature, salinity and depth (pressure). Because those vary with depth the speed forms a profile that bends sound rays, creating the SOFAR channel that carries whale song and submarine signals for thousands of kilometres. Valid roughly 2–30 °C, 25–40 ppt and to 8,000 m.",
"inputs": {
"temp_c": 25,
"depth_m": 1000,
"salinity_ppt": 35
},
"sound_speed_m_s": 1550.74
},
"meta": {
"timestamp": "2026-06-06T23:53:52.176Z",
"request_id": "083e2663-493c-47a0-a067-b929433bc7ff"
},
"status": "ok",
"message": "Sound speed",
"success": true
}