/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}