NOAA CO-OPS Data API — Observations

NOAA CO-OPS Data API — Observations. 1 operations. Lead operation: Retrieve CO-OPS station observations and predictions. Self-contained Naftiko capability covering one National Oceanic And Atmospheric Administration business surface.

Run with Naftiko National Oceanic And Atmospheric AdministrationObservations

What You Can Do

GET
Getdata — Retrieve CO-OPS station observations and predictions
/v1/datagetter

MCP Tools

retrieve-co-ops-station-observations

Retrieve CO-OPS station observations and predictions

read-only idempotent

Capability Spec

national-oceanic-and-atmospheric-administration-observations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NOAA CO-OPS Data API — Observations
  description: 'NOAA CO-OPS Data API — Observations. 1 operations. Lead operation: Retrieve CO-OPS station observations and
    predictions. Self-contained Naftiko capability covering one National Oceanic And Atmospheric Administration business surface.'
  tags:
  - National Oceanic And Atmospheric Administration
  - Observations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NATIONAL_OCEANIC_AND_ATMOSPHERIC_ADMINISTRATION_API_KEY: NATIONAL_OCEANIC_AND_ATMOSPHERIC_ADMINISTRATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: national-oceanic-and-atmospheric-administration-observations
    baseUri: https://api.tidesandcurrents.noaa.gov/api/prod
    description: NOAA CO-OPS Data API — Observations business capability. Self-contained, no shared references.
    resources:
    - name: datagetter
      path: /datagetter
      operations:
      - name: getdata
        method: GET
        description: Retrieve CO-OPS station observations and predictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: station
          in: query
          type: string
          description: 7-character CO-OPS station ID, or currents identifier.
          required: true
        - name: product
          in: query
          type: string
          description: Data product to retrieve.
          required: true
        - name: begin_date
          in: query
          type: string
          description: Start of the time window (yyyyMMdd, yyyyMMdd HH:mm, MM/dd/yyyy, or MM/dd/yyyy HH:mm).
        - name: end_date
          in: query
          type: string
          description: End of the time window.
        - name: range
          in: query
          type: integer
          description: Hours of data to retrieve relative to begin_date, end_date, or now.
        - name: date
          in: query
          type: string
          description: Convenience selector (today, latest, recent).
        - name: datum
          in: query
          type: string
          description: Vertical datum reference for water level products.
        - name: units
          in: query
          type: string
          description: Unit system for returned values.
        - name: time_zone
          in: query
          type: string
          description: Time zone for timestamps.
        - name: format
          in: query
          type: string
          description: Response format.
        - name: interval
          in: query
          type: string
          description: Sampling interval for predictions and meteorological data.
        - name: bin
          in: query
          type: integer
          description: Bin number for currents requests.
        - name: vel_type
          in: query
          type: string
          description: Velocity reporting style for currents (speed_dir or default).
        - name: application
          in: query
          type: string
          description: Application identifier for the requesting client (recommended).
  exposes:
  - type: rest
    namespace: national-oceanic-and-atmospheric-administration-observations-rest
    port: 8080
    description: REST adapter for NOAA CO-OPS Data API — Observations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/datagetter
      name: datagetter
      description: REST surface for datagetter.
      operations:
      - method: GET
        name: getdata
        description: Retrieve CO-OPS station observations and predictions
        call: national-oceanic-and-atmospheric-administration-observations.getdata
        with:
          station: rest.station
          product: rest.product
          begin_date: rest.begin_date
          end_date: rest.end_date
          range: rest.range
          date: rest.date
          datum: rest.datum
          units: rest.units
          time_zone: rest.time_zone
          format: rest.format
          interval: rest.interval
          bin: rest.bin
          vel_type: rest.vel_type
          application: rest.application
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: national-oceanic-and-atmospheric-administration-observations-mcp
    port: 9090
    transport: http
    description: MCP adapter for NOAA CO-OPS Data API — Observations. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: retrieve-co-ops-station-observations
      description: Retrieve CO-OPS station observations and predictions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: national-oceanic-and-atmospheric-administration-observations.getdata
      with:
        station: tools.station
        product: tools.product
        begin_date: tools.begin_date
        end_date: tools.end_date
        range: tools.range
        date: tools.date
        datum: tools.datum
        units: tools.units
        time_zone: tools.time_zone
        format: tools.format
        interval: tools.interval
        bin: tools.bin
        vel_type: tools.vel_type
        application: tools.application
      outputParameters:
      - type: object
        mapping: $.