Sofar API
  • Authentication
  • Wave Spectra
  • Spotter & Smart Mooring
    • Devices
    • Spotter Data
      • Latest Data
      • Historical Data
      • Search (Beta)
    • Smart Mooring Sensor Data
    • POST Forwarding of Data
Powered by GitBook
On this page

Was this helpful?

  1. Spotter & Smart Mooring

Devices

The /devices url returns a list of your Spotters, including the Spotter ID and name for each.

Available Devices

GET https://api.sofarocean.com/api/devices

Retrieve a list of Spotters you have API access to, including Spotter ID and nickname.

Query Parameters

Name
Type
Description

excludeSharedDevices

boolean

default: false Set true to only return devices you own.

{
  "message": "2 devices",
  "data": {
    "devices": [
      {
        "spotterId": "SPOT-0017",
        "name": "Mavericks 1"
      },
      {
        "spotterId": "SPOT-0018",
        "name": "Golden Gate"
      }
    ]
  }
}

Example Request

curl "https://api.sofarocean.com/api/devices" -H 'token: YOUR_API_TOKEN'
PreviousSpotter & Smart MooringNextSpotter Data

Last updated 1 year ago

Was this helpful?