Naar de inhoud
GET /v1/meta

Endpoint catalogue & notes

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/gwas-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/gwas-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gwas-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gwas-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "The GWAS Catalog is the NHGRI-EBI curated collection of published human genome-wide association studies — which genetic variants are statistically associated with which traits and diseases. /v1/snp?id=rs7329174 = a SNP's annotation: functional class, genomic location(s) (chromosome, position), mapped genes and how many associations reference it; /v1/associations?id=rs7329174 = every trait association reported for that SNP — the trait(s), p-value, effect size (odds ratio or beta), risk allele and frequency and author-reported genes; /v1/study?id=GCST000028 = a study's metadata: trait, sample sizes, SNP count, ancestries, genotyping technologies and the publication (PubMed id, author, title, journal, date). rsIDs look like rs7329174; study accessions like GCST000028 (get one from /v1/associations). Data from the NHGRI-EBI GWAS Catalog (EMBL-EBI, public). A published genetic-association evidence base — distinct from population allele frequencies (gnomAD), clinical variant interpretation (ClinVar) and genome annotation (Ensembl). Ideal for genomics, bioinformatics, statistical-genetics and research tooling.",
        "source": "NHGRI-EBI GWAS Catalog (ebi.ac.uk/gwas)",
        "endpoints": [
            "/v1/snp",
            "/v1/associations",
            "/v1/study",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T16:23:13.809Z",
        "request_id": "e21ca895-f312-4e8b-8083-e69dc5521035"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}