/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}