/v1/gene
A gene's constraint & location
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/gnomad-api/v1/gene" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gnomad-api/v1/gene", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gnomad-api/v1/gene");
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/gnomad-api/v1/gene",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"gene": {
"name": "BRCA1 DNA repair associated",
"stop": 43170245,
"chrom": "17",
"flags": [],
"start": 43044295,
"strand": "-",
"symbol": "BRCA1",
"gene_id": "ENSG00000012048",
"constraint": {
"pli": 5.517117679826164e-38,
"loeuf": 0.927589724465447,
"mis_z": 1.73357180717296,
"syn_z": 2.040732980468744,
"oe_lof": 0.8061824760986327,
"oe_mis": 0.9127915412080277,
"expected_lof": 173.65795480634046,
"observed_lof": 140,
"oe_lof_lower": 0.7028371223870614,
"oe_lof_upper": 0.927589724465447
},
"canonical_transcript": "ENST00000357654"
}
},
"meta": {
"timestamp": "2026-06-01T08:13:53.981Z",
"request_id": "015d71f6-ce78-40d4-8018-3ab420bcf99c"
},
"status": "ok",
"message": "Gene retrieved",
"success": true
}