{"uid":"cap_c90RuqJzjEzIFhCnmo4s-","slug":"halowerk-basic-reproduction-number-r0-calculator-5484f784","name":"Halowerk Basic Reproduction Number (R0) Calculator","description":"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.","url":"https://bio.halowerk.com/v1/pathogen-r0","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"susceptible_fraction":{"type":"number","maximum":1,"minimum":0},"infectious_duration_days":{"type":"number","maximum":100000,"minimum":0},"effective_contacts_per_day":{"type":"number","maximum":1000000,"minimum":0},"transmission_probability_per_contact":{"type":"number","maximum":1,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RMGChxTiBAVy3OEV34lw5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a basic reproduction number (R0) and effective reproduction number (Re) using a simple homogeneous-mixing formula from transmission probability, contact rate, and infectious duration.","exampleAgentPrompt":"Calculate the basic reproduction number for a pathogen with a 0.05 transmission probability per contact, 10 effective contacts per day, and a 7-day infectious duration — and also give me the effective R if only 60% of the population is susceptible.","exampleUseCases":[{"title":"Classroom SIR model parameter check","prompt":"I'm teaching an intro epidemiology class and want to show students the R0 for measles-like parameters: transmission probability 0.9 per contact, 8 contacts per day, infectious for 10 days, and everyone is susceptible — can you compute the R0?"},{"title":"Comparing pathogen transmissibility scenarios","prompt":"Compare two hypothetical pathogens for me: one with 0.1 transmission probability, 20 contacts per day, 14-day infectious period, and another with 0.3 probability, 8 contacts per day, 5-day infectious period — both with 80% susceptible population. What are their R0 and effective R values?"},{"title":"Vaccine coverage impact on effective R","prompt":"If a flu-like pathogen has R0 inputs of 0.05 transmission probability per contact, 15 contacts per day, and 5-day infectious duration, what does the effective reproduction number drop to if a vaccination campaign brings the susceptible fraction down to 0.3?"}],"resultDescription":"Returns the basic reproduction number R0 (product of transmission probability, effective contacts per day, and infectious duration) and the effective reproduction number Re (R0 multiplied by the susceptible fraction). These are scalar numeric values based on a simple homogeneous-mixing model, not a fitted epidemiological model or real-world outbreak forecast.","failureModes":["Input values out of allowed range (e.g. transmission probability or susceptible fraction outside [0,1], negative durations) return a validation error","Missing required fields may return an error or default to zero","Extremely large contact rates or durations (approaching their maximums) may produce unrealistically large R0 values without warning","The endpoint does not validate biological plausibility — callers must ensure inputs are epidemiologically meaningful"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic textbook R0 computation from first-principles parameters (transmission probability, contact rate, infectious duration) and optionally want Re given a susceptible fraction. It is ideal for educational tools, homework helpers, sensitivity analyses, or any agent workflow that needs a simple numeric reproduction number without fitting real case data or running a full simulation. Do not use it for real outbreak forecasting, fitted epidemiological models, or policy-grade public-health estimates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:37.143Z","isFirstParty":false}