---
title: "Query to get the Normalized Google Distance between two MeSH terms based on co-occurrence in all PubMed article annotations"
method: GET
path: "/PubmedMeshNgd/{term1}/{term2}"
tags: ["PubmedMeshNgd"]
---

# Query to get the Normalized Google Distance between two MeSH terms based on co-occurrence in all PubMed article annotations

`GET /PubmedMeshNgd/{term1}/{term2}`

## Path parameters

- `term1` string, required
- `term2` string, required

## Response `200`

successful operation

- MeshNgdResponse
  - `result_code` string — Set to OK for success, or some other short string to indicate and error (e.g., TermNotFound, etc.)
  - `message` string — Extended message denoting the success or mode of failure for request
  - `value` number, float — Calculated Normalized Google Distance for the two supplied terms

## Other responses

- `400` — Invalid terms

---

[API](https://skmtc.net/rtxteam/apis/arax-translator-reasoner-trapi-1-6-0.md) · [All operations](https://skmtc.net/rtxteam/apis/arax-translator-reasoner-trapi-1-6-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rtxteam/arax-translator-reasoner-trapi-1-6-0/revisions/d34f07f69837/schema)
