Skip to content
GET /v1/meta

Spec

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/genetics-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}