Ir al contenido
GET /v1/meta

Spec

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/epidemic-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/epidemic-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/epidemic-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/epidemic-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/epidemic-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": "R0 is the basic reproduction number; fractions are 0–1, percentages are derived. Simple compartmental (SIR) relations for education and planning, not a substitute for epidemiological modelling.",
        "service": "epidemic-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/final-size": "Final epidemic size (attack rate) from R0.",
            "GET /v1/r-effective": "Effective reproduction number from R0 and the susceptible fraction.",
            "GET /v1/doubling-time": "Doubling time from a growth rate, or from R0 and the serial interval.",
            "GET /v1/herd-immunity": "Herd-immunity threshold from R0 (with optional vaccine efficacy)."
        },
        "description": "Epidemiology basics: herd-immunity threshold, effective reproduction number, final epidemic size and doubling time."
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:18.266Z",
        "request_id": "9678453c-1691-4950-b6de-712ffac37389"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}