/v1/search
Search targets, diseases & drugs
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/opentargets-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/opentargets-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/opentargets-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/opentargets-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"count": 25,
"query": "BRCA1",
"results": [
{
"id": "ENSG00000012048",
"name": "BRCA1",
"entity": "target",
"description": "BRCA1 DNA repair associated"
},
{
"id": "MONDO_0700268",
"name": "BRCA1-related cancer predisposition",
"entity": "disease",
"description": "Hereditary cancer predisposition due to variation(s) in the BRCA1 gene. Germline pathogenic or likely pathogenic variants in the BRCA1 gene confer an autosomal dominant predisposition to hereditary br"
},
{
"id": "MONDO_0013685",
"name": "pancreatic cancer, susceptibility to, 4",
"entity": "disease",
"description": "Any familial pancreatic carcinoma in which the cause of the disease is a mutation in the BRCA1 gene."
},
{
"id": "MONDO_0003582",
"name": "hereditary breast ovarian cancer syndrome",
"entity": "disease",
"description": "An autosomal dominant inherited syndrome caused by mutations in the BRCA1 or BRCA2 genes. Patients are at high risk of developing breast cancer, particularly before the age of fifty, high risk of deve"
},
{
"id": "Orphanet_145",
"name": "Hereditary breast and ovarian cancer syndrome",
"entity": "disease",
"description": "An autosomal dominant inherited syndrome caused by mutations in the BRCA1 or BRCA2 genes. Patients are at high risk of developing breast cancer, particularly before the age of fifty, high risk of deve"
},
{
"id": "MONDO_0011450",
"name": "breast-ovarian cancer, familial, susceptibility to, 1",
"entity": "disease",
"description": "Any hereditary breast ovarian cancer syndrome in which the cause of the disease is a mutation in the BRCA1 gene."
},
{
"id": "EFO_0011021",
"name": "BRCA1 mutation carier status",
"entity": "disease",
"description": "Determination of the presence or absence of known harmful mutation(s) in the BRAC1 gene. BRCA1/BRCA2 genes play a central role in DNA repair and their mutations increase sensitivity to DNA-damaging ag"
},
{
"id": "MONDO_0004992",
"name": "cancer",
"entity": "disease",
"description": "A tumor composed of atypical neoplastic, often pleomorphic cells that invade other tissues. Malignant neoplasms often metastasize to distant anatomic sites and may recur after excision. The most commo"
},
{
"id": "ENSG00000267595",
"name": "BRCA1P1",
…