/v1/associations
Trait associations reported for a SNP
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/gwas-api/v1/associations" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gwas-api/v1/associations", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gwas-api/v1/associations");
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/associations",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 6,
"rs_id": "rs7329174",
"total": 6,
"associations": [
{
"beta": null,
"traits": [
"systemic lupus erythematosus"
],
"p_value": 1.0e-8,
"odds_ratio": 1.26,
"risk_alleles": [
"rs7329174-G"
],
"reported_genes": [
"ELF1"
],
"risk_frequency": "0.22"
},
{
"beta": null,
"traits": [
"Crohn disease"
],
"p_value": 8.0e-9,
"odds_ratio": 1.27,
"risk_alleles": [
"rs7329174-G"
],
"reported_genes": [
"WBP4",
"ELF1",
"microRNA2276",
"SLC25A15"
],
"risk_frequency": null
},
{
"beta": null,
"traits": [
"systemic lupus erythematosus"
],
"p_value": 6.0e-6,
"odds_ratio": 1.45,
"risk_alleles": [
"rs7329174-G"
],
"reported_genes": [
"ELF1"
],
"risk_frequency": "0.21"
},
{
"beta": null,
"traits": [
"systemic lupus erythematosus"
],
"p_value": 3.0e-6,
"odds_ratio": null,
"risk_alleles": [
"rs7329174-G"
],
"reported_genes": [],
"risk_frequency": null
},
{
"beta": null,
"traits": [
"systemic lupus erythematosus"
],
"p_value": 3.0e-6,
"odds_ratio": 1.27,
"risk_alleles": [
"rs7329174-?"
],
"reported_genes": [
"ELF1"
],
"risk_frequency": "0.211"
},
{
"beta": {
"unit": "unit",
"value": 0.0211,
"direction": "decrease"
},
"traits": [
"body height"
],
"p_value": 8.0e-26,
"odds_ratio": null,
"risk_alleles": [
"rs7329174-G"
],
"reported_genes": [],
"risk_frequency": "0.0304"
}
]
},
"meta": {
"timestamp": "2026-06-01T16:23:13.207Z",
"request_id": "2feafc72-d19b-4adc-bb51-19ec1bf0e9f3"
},
"
…