# Returning MeSH Value for Study from API

**URL:** <https://community.opentargets.org/t/returning-mesh-value-for-study-from-api/1187>\
**Category:** Data Access\
**Created:** [27 August 2023 19:09 UTC](https://community.opentargets.org/t/returning-mesh-value-for-study-from-api/1187 "2023-08-27T19:09:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CS\_G](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/cs_g/32/462_2.png) [@CS\_G](https://community.opentargets.org/u/CS_G)\
**Post date:** [27 August 2023 19:09 UTC](https://community.opentargets.org/t/returning-mesh-value-for-study-from-api/1187/1 "2023-08-27T19:09:57Z")

</div>

I was curious to know if there is anyone to get the MeSH values to be returned alongside the EFO values that we get from study.traitEfos in the API?

---

<div class="post-metadata">

**Author:** ![CS\_G](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/cs_g/32/462_2.png) [@CS\_G](https://community.opentargets.org/u/CS_G)\
**Post date:** [28 August 2023 19:46 UTC](https://community.opentargets.org/t/returning-mesh-value-for-study-from-api/1187/2 "2023-08-28T19:46:51Z")

</div>

oops tiny little typo there…meant to say anyway\*

---

<div class="post-metadata">

**Author:** ![dsuveges](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/dsuveges/32/30_2.png) [@dsuveges](https://community.opentargets.org/u/dsuveges)\
**Post date:** [29 August 2023 07:46 UTC](https://community.opentargets.org/t/returning-mesh-value-for-study-from-api/1187/3 "2023-08-29T07:46:26Z")

</div>

Unfortunately, the API of the Genetics Portal doesn’t have any disease related metadata, so the `traitEfos` object cannot be further resolved. However, you can extract this from the Platform API, which provides rich annotation on diseases including cross refereces to MeSH when available. [example here](https://api.platform.opentargets.org/api/v4/graphql/browser?operationName=assocs&query=query%20assocs%20%7B%0A%20%20disease%28efoId%3A%20%22EFO_0000612%22%29%20%7B%0A%20%20%20%20id%0A%20%20%20%20name%0A%20%20%20%20dbXRefs%0A%20%20%7D%0A%7D%0A) I hope this helps.
