Skip to content
Fourohtwo

bio.halowerk.com/v1/pathogen-r0

Multiplies per-contact transmission probability, effective contacts per day and infectious duration to obtain a simple basic reproduction number, then applies a susceptible fraction for an effective number. It is a classroom homogeneous-mixing calculation, not an outbreak estimate, fitted epidemiological model or public-health forecast.

BaseAnswering
POSThttps://bio.halowerk.com/v1/pathogen-r0

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://bio.halowerk.com/v1/pathogen-r0", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"effective_contacts_per_day":9,"infectious_duration_days":6,"susceptible_fraction":0.72,"transmission_probability_per_contact":0.035}),
});
console.log(await res.json());

Example input

{
  "effective_contacts_per_day": 9,
  "infectious_duration_days": 6,
  "susceptible_fraction": 0.72,
  "transmission_probability_per_contact": 0.035
}