NOAA ERDDAP Metadata API

Inspect variable and attribute metadata for a specific dataset.

Operations 1

GET /info/{datasetID}/index.{fileType} Get variable and attribute metadata for a dataset #

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/noaa-erddap-metadata-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

noaa-erddap-metadata-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ERDDAP REST Metadata API
  version: '2.23'
  description: 'OpenAPI specification for ERDDAP (Environmental Research Division''s Data

    Access Program), a scientific data server providing simple, consistent

    access to gridded and tabular scientific datasets.'
  contact:
    name: ERDDAP Project
    url: https://github.com/ERDDAP/erddap
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://coastwatch.pfeg.noaa.gov/erddap
  description: NOAA CoastWatch West Coast Node (reference server)
- url: https://erddap.ioos.us/erddap
  description: US IOOS ERDDAP
- url: '{baseUrl}'
  description: Any ERDDAP server — replace with the instance base URL
  variables:
    baseUrl:
      default: https://coastwatch.pfeg.noaa.gov/erddap
      description: 'Base URL of any ERDDAP server, including the /erddap path segment

        if present (e.g. https://example.org/erddap).

        '
tags:
- name: Metadata
  description: Inspect variable and attribute metadata for a specific dataset.
paths:
  /info/{datasetID}/index.{fileType}:
    get:
      summary: Get variable and attribute metadata for a dataset
      operationId: getDatasetInfo
      tags:
      - Metadata
      description: 'Returns a table describing every variable and global attribute in the

        dataset. Each row is one of:


        | Row Type | Variable Name | Attribute Name | Data Type | Value |

        |-----------|--------------|----------------|-----------|-------|

        | attribute | NC_GLOBAL | title | String | ... |

        | variable | time | | double | |

        | attribute | time | units | String | seconds since 1970-01-01T00:00:00Z |


        Use this response to discover variable names, units, `standard_name`,

        and the actual coordinate ranges (`actual_range` attributes) before

        constructing a data request.'
      parameters:
      - name: datasetID
        in: path
        required: true
        description: Unique dataset identifier (visible in search results as the `ID` column).
        schema:
          type: string
        example: erdMBsstd1day
      - $ref: '#/components/parameters/metadataFileType'
      responses:
        '200':
          description: Dataset metadata table.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetInfo'
            text/csv:
              schema:
                type: string
        '404':
          description: Dataset not found on this server.
components:
  schemas:
    DatasetInfo:
      type: object
      description: 'Variable and attribute metadata for a single dataset, returned as an

        ERDDAP table with five columns.

        '
      properties:
        table:
          type: object
          required:
          - columnNames
          - columnTypes
          - rows
          properties:
            columnNames:
              type: array
              items:
                type: string
              example:
              - Row Type
              - Variable Name
              - Attribute Name
              - Data Type
              - Value
            columnTypes:
              type: array
              items:
                type: string
              example:
              - String
              - String
              - String
              - String
              - String
            rows:
              type: array
              description: 'Row types:

                - `attribute` + `NC_GLOBAL` — dataset-level (global) attribute.

                - `variable` — declares a variable (Attribute Name and Value are empty).

                - `attribute` + variable name — attribute of that variable.

                '
              items:
                type: array
                minItems: 5
                maxItems: 5
                items: {}
                prefixItems:
                - description: 'Row Type: ''attribute'' or ''variable'''
                  type: string
                - description: Variable Name or 'NC_GLOBAL'
                  type: string
                - description: Attribute Name (empty for variable rows)
                  type: string
                - description: Data Type (String, double, float, int, …)
                  type: string
                - description: Value
                  type: string
              example:
              - - attribute
                - NC_GLOBAL
                - title
                - String
                - NDBC Standard Meteorological Buoy Data
              - - attribute
                - NC_GLOBAL
                - institution
                - String
                - NOAA NDBC
              - - variable
                - time
                - ''
                - double
                - ''
              - - attribute
                - time
                - units
                - String
                - seconds since 1970-01-01T00:00:00Z
              - - attribute
                - time
                - actual_range
                - double
                - 1.0E9, 1.7E9
              - - variable
                - wtmp
                - ''
                - float
                - ''
              - - attribute
                - wtmp
                - long_name
                - String
                - SST
              - - attribute
                - wtmp
                - units
                - String
                - degree_C
    MetadataFileType:
      type: string
      description: Response format for discovery and metadata endpoints.
      enum:
      - html
      - csv
      - csvp
      - csv0
      - json
      - jsonlCSV1
      - jsonlCSV
      - jsonlKVP
      - tsv
      - tsvp
      - tsv0
      - xhtml
  parameters:
    metadataFileType:
      name: fileType
      in: path
      required: true
      schema:
        $ref: '#/components/schemas/MetadataFileType'