Vai al contenuto
GET /v1/r-effective

Effective reproduction number

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/epidemic-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/epidemic-api/v1/r-effective" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/epidemic-api/v1/r-effective", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/epidemic-api/v1/r-effective");
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/r-effective",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Effective reproduction number Re = R0 · susceptible fraction. The epidemic grows while Re > 1 and declines once Re < 1.",
        "inputs": {
            "r0": 3,
            "susceptible_fraction": 0.5
        },
        "status": "growing",
        "r_effective": 1.5,
        "epidemic_growing": true
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:18.185Z",
        "request_id": "7b1416d6-b169-4c2f-84f6-80b3676d508f"
    },
    "status": "ok",
    "message": "Effective reproduction number",
    "success": true
}