Broad Institute NIH API

The NIH API from Broad Institute — 3 operation(s) for nih.

Operations 3

GET /api/nih/status Retrieves info about a user's NIH link #
GET /api/nih/resources Retrieves info about a user's NIH Resources #

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/broad-institute:broad-institute-nih-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

broad-institute-nih-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Terra NIH API
  description: Terra API
  termsOfService: https://app.terra.bio/#terms-of-service
  license:
    name: BSD
    url: http://opensource.org/licenses/BSD-3-Clause
  version: '0.1'
servers:
- url: /
security:
- oidc: []
tags:
- name: NIH
paths:
  /api/nih/status:
    get:
      tags:
      - NIH
      summary: Retrieves info about a user's NIH link
      operationId: NIHStatus
      responses:
        200:
          description: Successfully retrieved NIH status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NihStatus'
        404:
          description: linkedNihUsername key missing from status
          content: {}
        500:
          description: Internal server error retrieving NIH status
          content: {}
      x-passthrough: false
  /api/nih/account:
    delete:
      tags:
      - NIH
      summary: Unlinks a user's NIH account from their Terra account
      operationId: NIHUnlink
      responses:
        204:
          description: Successfully unlinked NIH account
        404:
          description: NIH account link not found
          content: {}
        500:
          description: Internal server error unlinking NIH account
          content: {}
      x-passthrough: false
  /api/nih/resources:
    get:
      tags:
      - NIH
      summary: Retrieves info about a user's NIH Resources
      operationId: NIHResources
      responses:
        200:
          description: Successfully retrieved NIH Resources
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NihResources'
      x-passthrough: false
components:
  schemas:
    NihStatus:
      allOf:
      - $ref: '#/components/schemas/NihResources'
      - required:
        - linkedNihUsername
        type: object
        properties:
          linkedNihUsername:
            type: string
          linkExpireTime:
            type: integer
            format: int64
            default: 0
    DatasetPermission:
      type: object
      properties:
        name:
          type: string
          description: the name of the NIH dataset
        authorized:
          type: boolean
          description: true if you have access to the dataset, false otherwise
    NihResources:
      type: object
      properties:
        datasetPermissions:
          type: array
          items:
            $ref: '#/components/schemas/DatasetPermission'
  securitySchemes:
    oidc:
      type: oauth2
      x-tokenName: id_token
      flows:
        authorizationCode:
          authorizationUrl: OAUTH_AUTHORIZATION_URL
          scopes: {}
          tokenUrl: OAUTH_TOKEN_URL
    oidc_google_billing_scope:
      type: oauth2
      x-tokenName: id_token
      flows:
        authorizationCode:
          authorizationUrl: OAUTH_AUTHORIZATION_URL_WITH_GOOGLE_BILLING_SCOPE
          scopes: {}
          tokenUrl: OAUTH_TOKEN_URL_WITH_GOOGLE_BILLING_SCOPE