Skip to content
onelayer.
All tools

Tool detail

pathogen-r0

Computes a basic and effective reproduction number from supplied transmission probability, contact rate, infectious duration and susceptible fraction.

Categories: Science health

Use when

  • calculate a textbook R0 from transmission and contact parameters
  • estimate an effective reproduction number given a susceptible fraction

Not for

  • not a fitted outbreak model or public-health forecast
  • classroom homogeneous-mixing calculation only

Inputs

POST JSON body: { transmission_probability_per_contact, effective_contacts_per_day, infectious_duration_days, susceptible_fraction } (all required numbers)

Admitted input schema

{
  "type": "object",
  "properties": {
    "effective_contacts_per_day": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000
    },
    "infectious_duration_days": {
      "type": "number",
      "minimum": 0,
      "maximum": 100000
    },
    "susceptible_fraction": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "transmission_probability_per_contact": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    }
  },
  "required": [
    "transmission_probability_per_contact",
    "effective_contacts_per_day",
    "infectious_duration_days",
    "susceptible_fraction"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://bio.halowerk.com/v1/pathogen-r0

Payment

Protocol
x402
Listed price
0.003 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://bio.halowerk.com/v1/pathogen-r0
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z