Zum Inhalt springen
GET /v1/sound-speed

Speed of sound in seawater

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/sonar-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

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