Skip to main content
All providers

datadiscovery.nlm.nih.gov

Open data portalsUS

datadiscovery.nlm.nih.gov

Socrata open data portal at datadiscovery.nlm.nih.gov, publishing 147 public datasets from the publishing organisation, led by the Terminology category.

Capabilities (5)

GET /v1/data/datadiscovery-nlm-nih-gov/catalog-search1 credit

Keyword search over the datasets published on datadiscovery.nlm.nih.gov: each hit carries the dataset id, name, description, attribution, category, tags, column names and last update time, plus the total match count.

q?offset?order?only?categories?tags?domain_category?
GET /v1/data/datadiscovery-nlm-nih-gov/dataset1 credit

The complete metadata document for one dataset: name, description, attribution, licence, category, tags, all column definitions with data types, and the table id used for queries.

id
GET /v1/data/datadiscovery-nlm-nih-gov/datasets1 credit

A page of the portal's own dataset records (id, name, description, category, attribution, creation and update timestamps, view count) without the full column metadata.

offset?order?category?
GET /v1/data/datadiscovery-nlm-nih-gov/row-count1 credit

One number: how many rows the dataset currently holds, as a SoQL count aggregate.

id
GET /v1/data/datadiscovery-nlm-nih-gov/rows1 credit

The first 100 rows of a dataset as JSON objects keyed by field name. Column names are the API field names, so they can be used directly in a later SoQL query.

id

Response example

The shape of data from datadiscovery-nlm-nih-gov/catalog-search (Catalogue search). A sample, not live data.

Example truncated, full shape in JSON from the API.

JSON
{
  "results": [
    {
      "resource": {
        "name": "MEDLINE/PubMed Baseline Statistics: Min/Max Report",
        "id": "xtvu-8j6w",
        "resource_name": null,
        "parent_fxf": [],
        "description": "*A file containing all Min/Max Baseline Reports for 2005-2023 in their original format is available in the <b>Attachments</b> section below. A second file includes a separate set of reports, made available from 2002-2017, that did not include OLDMEDLINE records.* \n\nMEDLINE/PubMed annual statistical reports are based upon the data elements in the baseline versions of MEDLINE®/PubMed are available. For each year covered the reports include: total citations containing each element; total occurrences of each element; minimum/average/maximum occurrences of each element in a record; minimum/average/maximum length of a single element occurrence; average record size; and other statistical data describing the content and size of the elements.",
        "attribution": null,
        "attribution_link": null,
        "contact_email": "custserv@nlm.nih.gov",
        "type": "dataset",
        "updatedAt": "2025-06-18T21:08:40.000Z",
        "createdAt": "2023-03-21T17:13:13.000Z",
        "metadata_updated_at": "2025-06-18T21:08:40.000Z",
        "data_updated_at": "2023-03-22T13:11:33.000Z",
        "page_views": {
          "page_views_last_week": 7899,
          "page_views_last_month": 19183,
          "page_views_total": 100381,
          "page_views_last_week_log": 12.947636937951827,
          "page_views_last_month_log": 14.227615943414225,
          "page_views_total_log": 16.615141070031584
        },
        "columns_name": [
          "Occurrences",
          "Min Len",
          "Max Occurs",
          "Avg Occurs",
          "Avg Len",
          "Max Len",
          "Min Occurs",
          "Element Name",
          "Citations"
        ],
        "columns_field_name": [
          "occurrences",
          "min_len",
          "max_occurs",
          "avg_occurs",
          "avg_len",
          "max_len",
          "min_occurs",
          "element_name",
          "citations"
        ],
        "columns_datatype": [
          "Number",
          "Number",
          "Number",
          "Number",
          "Number",
          "Number",
          "Number",
          "Text",
          "Number"
        ],
        "columns_description": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ],
        "columns_format": [
          {
            "decimalSeparator": ".",
            "groupSeparator": ","
          },
          {
            "decimalSeparator": ".",
            "groupSeparator": ","
          },
          {
            "decimalSeparator": ".",
            "groupSeparator": ","
          },
          {
            "decimalSeparator": ".",
            "groupSeparator": ","
          },
          {
            "decimalSeparator": ".",
            "groupSeparator": ","
          },
          {
            "decimalSeparator": ".",
            "groupSeparator": ","
          },
          {
            "decimalSeparator": ".",
            "groupSeparator": ","
          },
          {},
          {
            "decimalSeparator": ".",
            "groupSeparator": ","
          }
        ],
        "download_count": 1732,
        "provenance": "official",
        "lens_view_type": "tabular",
        "lens_display_type": "table",
        "locked": false,
        "backend": "nbe",
        "blob_mime_type": null,
        "hide_from_data_json": false,
        "publication_date": "2023-03-21T17:21:18.000Z"
      },
      "classification": {
        "categories": [],
        "tags": [],
        "domain_category": "Information Management",
        "domain_tags": [
          "pubmed",
          "tables",
          "statistics",
          "medline"
        ],
        "domain_metadata": [
          {
            "key": "Common-Core_Contact-

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Catalogue search

    Use datadiscovery.nlm.nih.gov (datadiscovery-nlm-nih-gov) from fastCRW Pergamon, capability "Catalogue search" (catalog-search). You want to find a dataset on this portal by keyword and do not know its four-by-four id. Example options: q=taxi, offset=0, order=page_views_total DESC. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datadiscovery-nlm-nih-gov" and capability "catalog-search". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Dataset metadata

    Use datadiscovery.nlm.nih.gov (datadiscovery-nlm-nih-gov) from fastCRW Pergamon, capability "Dataset metadata" (dataset). You already hold a dataset id and need its columns, licence or description before querying rows. Example options: id=naqc-j4tg. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datadiscovery-nlm-nih-gov" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Dataset inventory

    Use datadiscovery.nlm.nih.gov (datadiscovery-nlm-nih-gov) from fastCRW Pergamon, capability "Dataset inventory" (datasets). You need to enumerate what this portal publishes, or page through its newest datasets. Example options: offset=0, order=createdAt, category=Transportation. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datadiscovery-nlm-nih-gov" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Row count

    Use datadiscovery.nlm.nih.gov (datadiscovery-nlm-nih-gov) from fastCRW Pergamon, capability "Row count" (row-count). You need to know how large a dataset is before downloading it, or want a cheap liveness check. Example options: id=naqc-j4tg. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datadiscovery-nlm-nih-gov" and capability "row-count". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

Licence

Datasets on this portal declare the licence "Public Domain U.S. Government" in their Socrata metadata; the portal publishes no separate API licence and different datasets may carry different terms. Quoted as found in the portal's own catalogue.

https://datadiscovery.nlm.nih.gov/

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: datadiscovery.nlm.nih.gov. Dataset attribution as stated by each publishing agency.

Cache: up to 3600s