NOAA CO-OPS Data API

The NOAA Center for Operational Oceanographic Products and Services (CO-OPS) Data API provides observations and predictions from CO-OPS stations including water levels, tides, currents, meteorological data, and derived products. Operated by the National Oceanic and Atmospheric Administration (NOAA), U.S. Department of Commerce.

Run with Naftiko NationalOceanicAndAtmosphericAdministrationAPI

What You Can Do

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

MCP Tools

getdata

Retrieve CO-OPS station observations and predictions

read-only idempotent

Capability Spec

national-oceanic-and-atmospheric-administration-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NOAA CO-OPS Data API
  description: The NOAA Center for Operational Oceanographic Products and Services (CO-OPS) Data API provides observations
    and predictions from CO-OPS stations including water levels, tides, currents, meteorological data, and derived products.
    Operated by the National Oceanic and Atmospheric Administration (NOAA), U.S. Department of Commerce.
  tags:
  - National
  - Oceanic
  - And
  - Atmospheric
  - Administration
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: national-oceanic-and-atmospheric-administration
    baseUri: https://api.tidesandcurrents.noaa.gov/api/prod
    description: NOAA CO-OPS Data API HTTP API.
    resources:
    - name: datagetter
      path: /datagetter
      operations:
      - name: getdata
        method: GET
        description: Retrieve CO-OPS station observations and predictions
        inputParameters:
        - name: station
          in: query
          type: string
          required: true
          description: 7-character CO-OPS station ID, or currents identifier.
        - name: product
          in: query
          type: string
          required: true
          description: Data product to retrieve.
        - 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).
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: national-oceanic-and-atmospheric-administration-rest
    description: REST adapter for NOAA CO-OPS Data API.
    resources:
    - path: /datagetter
      name: getdata
      operations:
      - method: GET
        name: getdata
        description: Retrieve CO-OPS station observations and predictions
        call: national-oceanic-and-atmospheric-administration.getdata
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    port: 9090
    namespace: national-oceanic-and-atmospheric-administration-mcp
    transport: http
    description: MCP adapter for NOAA CO-OPS Data API for AI agent use.
    tools:
    - name: getdata
      description: Retrieve CO-OPS station observations and predictions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: national-oceanic-and-atmospheric-administration.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
      inputParameters:
      - name: station
        type: string
        description: 7-character CO-OPS station ID, or currents identifier.
        required: true
      - name: product
        type: string
        description: Data product to retrieve.
        required: true
      - name: begin_date
        type: string
        description: Start of the time window (yyyyMMdd, yyyyMMdd HH:mm, MM/dd/yyyy, or MM/dd/yyyy HH:mm).
      - name: end_date
        type: string
        description: End of the time window.
      - name: range
        type: integer
        description: Hours of data to retrieve relative to begin_date, end_date, or now.
      - name: date
        type: string
        description: Convenience selector (today, latest, recent).
      - name: datum
        type: string
        description: Vertical datum reference for water level products.
      - name: units
        type: string
        description: Unit system for returned values.
      - name: time_zone
        type: string
        description: Time zone for timestamps.
      - name: format
        type: string
        description: Response format.
      - name: interval
        type: string
        description: Sampling interval for predictions and meteorological data.
      - name: bin
        type: integer
        description: Bin number for currents requests.
      - name: vel_type
        type: string
        description: Velocity reporting style for currents (speed_dir or default).
      - name: application
        type: string
        description: Application identifier for the requesting client (recommended).
      outputParameters:
      - type: object
        mapping: $.