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/pgs-api

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/pgs-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pgs-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pgs-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/pgs-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 PGS Catalog is the open database of published polygenic scores (PGS) — weighted sets of genetic variants used to estimate a person's genetic predisposition to a trait or disease. /v1/search?q=breast cancer = find traits by free text, returning matching ontology trait ids (e.g. MONDO_0004989), labels and how many scores exist for each; /v1/trait?id=MONDO_0004989 = a trait's details and the list of polygenic score ids developed for it; /v1/score?id=PGS000001 = a single score's metadata — its name, the reported and mapped (EFO/MONDO) traits, the number of variants, the development method, genome build, ancestry distribution of the samples, the publication behind it (title, journal, date, PubMed id), release date, license and a link to the scoring file. PGS ids look like PGS000001; trait ids are EFO/MONDO/HP/Orphanet identifiers (get them from /v1/search). Data from the NHGRI-EBI PGS Catalog (CC BY 4.0). A polygenic-score / genetic-risk-prediction resource — distinct from single-variant association (GWAS Catalog), population allele frequencies (gnomAD) and clinical variant interpretation (ClinVar). Ideal for statistical genetics, genomics, risk-prediction research and bioinformatics tools.",
        "source": "PGS Catalog — Polygenic Score Catalog, EMBL-EBI (pgscatalog.org)",
        "endpoints": [
            "/v1/search",
            "/v1/trait",
            "/v1/score",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T16:22:55.268Z",
        "request_id": "d167fd86-6af1-4483-a808-aef7d3d7a3fe"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}