Sofar Ocean Wave Spectra API

Sofar Operational WaveWatch III wave spectra forecast

Operations 2

GET /api/op-wave-spectra List operational wave spectra locations #
GET /api/op-wave-spectra/{lat}/{lon} Get operational wave spectra forecast (NetCDF) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sofar-ocean-wave-spectra-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sofar-ocean-wave-spectra-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sofar Ocean Spotter & Smart Mooring Devices Wave Spectra API
  version: '1.0'
  description: The Spotter & Smart Mooring API gives you access to data transmitted by your Spotter buoys and any attached Smart Mooring sensors via telemetry, plus the Sofar Operational Wave Spectra forecast. Data covers waves, wind, surface temperature, barometric pressure, wave frequency/partition spectra, track position, and subsurface Smart Mooring sensor readings. Transcribed by the API Evangelist enrichment pipeline from the public GitBook documentation; not an official Sofar Ocean specification.
  contact:
    name: Sofar Ocean Support
    url: https://www.sofarocean.com/support
  termsOfService: https://www.sofarocean.com/legal/terms-of-use
servers:
- url: https://api.sofarocean.com
  description: Production
security:
- tokenHeader: []
- tokenQuery: []
tags:
- name: Wave Spectra
  description: Sofar Operational WaveWatch III wave spectra forecast
paths:
  /api/op-wave-spectra:
    get:
      tags:
      - Wave Spectra
      operationId: listWaveSpectraLocations
      summary: List operational wave spectra locations
      description: Returns a list of grid-point locations you have access to for the Sofar Operational Wave Spectra forecast.
      responses:
        '200':
          description: A list of accessible wave spectra grid locations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WaveSpectraLocationsResponse'
        '401':
          description: Authentication failed or no token provided.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
  /api/op-wave-spectra/{lat}/{lon}:
    get:
      tags:
      - Wave Spectra
      operationId: getWaveSpectra
      summary: Get operational wave spectra forecast (NetCDF)
      description: Retrieves NetCDF data containing the variance density spectrum at a single grid point of the Sofar global wave model at hourly resolution for the duration of the forecast.
      parameters:
      - name: lat
        in: path
        required: true
        schema:
          type: number
        description: Latitude in decimal degrees (0.5 resolution).
      - name: lon
        in: path
        required: true
        schema:
          type: number
        description: Longitude in decimal degrees (0.5 resolution).
      responses:
        '200':
          description: NetCDF spectral data file.
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Authentication failed or no token provided.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
components:
  schemas:
    AuthError:
      type: object
      description: Authentication error envelope.
      properties:
        message:
          type: string
          enum:
          - Authentication Failed
          - No token provided
    WaveSpectraLocation:
      type: object
      properties:
        latitude:
          type: number
        longitude:
          type: number
        url:
          type: string
    WaveSpectraLocationsResponse:
      type: object
      properties:
        status:
          type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/WaveSpectraLocation'
  securitySchemes:
    tokenHeader:
      type: apiKey
      in: header
      name: token
      description: API token tied to your Sofar account, generated at spotter.sofarocean.com/api.
    tokenQuery:
      type: apiKey
      in: query
      name: token
      description: API token passed as a query parameter.
externalDocs:
  description: Sofar API documentation
  url: https://docs.sofarocean.com