/v1/snp
A SNP: function, location, mapped genes
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/gwas-api/v1/snp" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gwas-api/v1/snp", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gwas-api/v1/snp");
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/gwas-api/v1/snp",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"snp": {
"url": "https://www.ebi.ac.uk/gwas/variants/rs7329174",
"rs_id": "rs7329174",
"merged": 0,
"locations": [
{
"region": "13q14.11",
"position": 40983974,
"chromosome": "13"
}
],
"last_update": "2025-10-05",
"mapped_genes": [
"ELF1",
"SUGT1P3",
"RGS17P1",
"WBP4",
"TRE-TTC1-2",
"TPTE2P5"
],
"functional_class": "intron_variant",
"association_count": 6
}
},
"meta": {
"timestamp": "2026-06-01T16:23:13.593Z",
"request_id": "939f2814-e5c5-41cd-b827-b8599d1518c5"
},
"status": "ok",
"message": "SNP retrieved",
"success": true
}