Naar de inhoud
GET /v1/meta

Spec

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "notes": "Frequencies are 0–1. Genotypes are written as allele pairs (Aa, AaBb …); a capital letter is the dominant allele. Independent assortment is assumed.",
        "service": "genetics-api",
        "formulae": {
            "hardy_weinberg": "p² + 2pq + q² = 1",
            "carrier_frequency": "2pq, with q = √(affected frequency)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/carrier": "Carrier frequency and counts from a recessive-disease incidence.",
            "GET /v1/punnett": "Offspring genotype and phenotype ratios from two parent genotypes.",
            "GET /v1/hardy-weinberg": "Genotype frequencies from an allele frequency (or the recessive incidence)."
        },
        "description": "Population-genetics calculator: Hardy-Weinberg genotype and allele frequencies, Punnett-square crosses for one or more genes, and carrier frequency from a recessive-disease incidence."
    },
    "meta": {
        "timestamp": "2026-06-05T03:09:02.424Z",
        "request_id": "0c43b2ca-8442-4654-9ac4-cc8792e21a13"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}