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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "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
}