I’m looking for some support regarding how to retrieve known drugs via the GraphQL API.
For example, when querying CCR5 (ENSG00000160791) using the knownDrugs field, I can no longer find Maraviroc in the results.
The issue is as follows:
If I search for “MARAVIROC” on the Open Targets website, it correctly identifies CCR5 as a target. However, the target-based API query does not return it.
This exact workflow worked perfectly for me in November 2025 (Maraviroc was successfully returned for CCR5).
I’ve noticed several new releases since then, and it seems that the behavior of this endpoint has changed.
We have been working on a complete rewrite of the drug pipelines due to inconsistencies between different endpoints, such as the one you mention. If you would like more information about the root cause of these issues, please refer to this GitHub issue.
Our plan for the next Open Targets release in March is to include the drug data update. Good news: I have manually checked that the Maraviroc/CCR5 relationship is captured in the new dataset! Please note that this update will result in changes to the structure of the drug API endpoints. Hopefully, the migration process will be straightforward, and the improvements will be worthwhile