National Institutes of Health (NIH) Version API

Version info

Operations 1

GET /version Version #

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/nih-version-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

nih-version-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nih Version API
  version: '1.0'
  description: 'Operations tagged Version across 2 of this provider''s published API definitions: clinicaltrials-v2.json, ncbi-datasets-v2.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://clinicaltrials.gov/api/v2
  description: This server
- url: https://api.ncbi.nlm.nih.gov/datasets/v2
tags:
- name: Version
  description: Version info
paths:
  /version:
    get:
      summary: Version
      description: 'API and data versions.


        API version follows [Semantic Versioning 2.0.0 Schema](https://semver.org/spec/v2.0.0.html).

        Data version is UTC timestamp in `yyyy-MM-dd''T''HH:mm:ss` format.'
      tags:
      - Version
      operationId: version
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Version'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/errorMessage'
    servers:
    - url: https://clinicaltrials.gov/api/v2
      description: This server
components:
  schemas:
    errorMessage:
      type: string
      description: A text message describing an error
    Version:
      type: object
      properties:
        apiVersion:
          type: string
        dataTimestamp:
          type: string
      additionalProperties: false
      required:
      - apiVersion
    protobufAny:
      type: object
      properties:
        type_url:
          type: string
        value:
          type: string
          format: byte
    rpcStatus:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/protobufAny'
    v2VersionReply:
      type: object
      properties:
        version:
          type: string
        major_ver:
          type: integer
        minor_ver:
          type: integer
        patch_ver:
          type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: api_key
    ApiKeyAuthHeader:
      type: apiKey
      in: header
      name: api-key
x-refined-from:
- clinicaltrials-v2.json
- ncbi-datasets-v2.yaml