false
Set true
to only return devices you own.{"message": "1 devices","data": {"devices": [{"spotterId": "SPOT-0222","name": ""}]}}
curl "https://api.sofarocean.com/api/devices" -H 'token: YOUR_API_TOKEN'
spotterId
The past 72-hour realtime wave data will be retrieved in a single request. Frequency data is only available for samples collected from Spotters in Full Waves Mode.false
Include derived wind speed and direction in response.false
Include spectrally binned directional moments.
Only applies if Spotter is in Full Waves Mode.false
Include spectrally binned surface variance, direction, and directional spreading.
Only applies for samples collected in Full Waves Mode.{"data": {"spotterId": "SPOT-0222","waves": [{"significantWaveHeight": 1.91,"peakPeriod": 10.24,"meanPeriod": 7.72,"peakDirection": 302.735,"peakDirectionalSpread": 55.142,"meanDirection": 279.846,"meanDirectionalSpread": 70.635,"timestamp": "2020-01-08T00:24:31.000Z","latitude": 34.64697,"longitude": -159.877},{...}]}}
curl "https://api.sofarocean.com/api/wave-data?spotterId=SPOT-0222" -H 'token: YOUR_API_TOKEN'