MedAPI
A collection of medical calculators, scores and algorithms. This API is currently under development and should only be used for development and testing purposes. Please get in touch at [email protected] for more information.
MedAPI endpoints
| Method | Endpoint | Description |
|---|---|---|
| Unit Conversion | ||
| POST |
Convert Different Units of Time /calculators/convert-time |
### Description This endpoint will convert time expressed in one or more common unit types to several other common unit types. A 'day' is 24 hours. A 'week' is 7 days. A 'month'… |
| POST |
Convert Different Units of Volume /calculators/convert-volume |
### Description This endpoint will convert volume expressed in one or more common unit types to several other common unit types. ### JSON Bodies ## Request At least one… |
| POST |
Convert Different Units of Length /calculators/convert-length |
### Description This endpoint will convert length expressed in one or more common unit types to several other common unit types. ### JSON Bodies #### Request body At least one… |
| POST |
Convert Different Units of Mass /calculators/convert-mass |
### Description This endpoint will convert mass expressed in one or more common unit types to several other common unit types. Pound and ounce are avoirdupois. ### JSON Bodies ##… |
| POST |
Convert Different Mass and Molar Units of Concentration /calculators/convert-concentration |
### Description This endpoint will convert a given mass and given volume to a concentration expressed in several unit types. If the optional molar mass is added, molarity will… |
| General | ||
| POST |
Ideal Body Weight (IBW) /calculators/ideal-body-weight |
### Description This endpoint will return the Ideal Body Weight of an individual based on their body length (**length**) and sex (**sex**). ### Evidence 1. [PMID:… |
| POST |
Body Mass Index (BMI) /calculators/body-mass-index |
### Description This endpoint will calculate the Body Mass Index (BMI) and the CDC weight status of an individual based on their body mass and height. ### Evidence 1. [CDC… |
| POST |
Adjusted Body Weight (ABW) /calculators/adjusted-body-weight |
### Description This endpoint will return the Adjusted Body Weight based on length , body mass and sex. ### Evidence 1. [PMID: 6873144](https://pubmed.ncbi.nlm.nih.gov/6873144/)… |
| POST |
Total Body Water Using the Watson Equation /calculators/total-body-water |
### Description This endpoint will calculate the Total Body Water for adults using the Watson et al. equation. Calculation uses sex, age, body mass and body length. ### Evidence… |
| Nephrology | ||
| POST |
Urine Anion Gap /calculators/urine-anion-gap |
### Description This endpoint will return the Urine Anion Gap when provided with urine sodium concentration [Na+], urine potassium concentration [K-], urine chlorine… |
| POST |
American Academy of Pediatrics (AAP) Paediatric Hypertension Categories /calculators/aap-paediatric-htn-guidelines |
### Description This endpoint will provide the paediatric hypertension category from the American Academy of Pediatrics' guidelines when provided with sex, age, body length,… |
| POST |
Serum Osmolarity /calculators/serum-osmolarity |
### Description This endpoint will calculate the serum osmolarity and optionally the osmolarity gap using serum sodium concentration, serum urea concentration and serum urea… |
| POST |
Sheiner-Tozer Corrected Blood Phenytoin Concentration /calculators/sheiner-tozer |
### Description This endpoint will calculate the corrected blood phenytoin concentration using the Shiner-Tozer formula based on an individual's measured serum phenytoin… |
| POST |
Expected Metabolic Acidosis Compensation (Winters' Formula) /calculators/winters-metabolic-acidosis |
### Description This endpoint will return the the Expected Metabolic Acidosis (pCO₂) Compensation as calculated by Winters' Formula when provided serum bicarbonate [HCO₃-]. ###… |
| POST |
Recommended Fluid Rate to Correct Hyponatraemia or Hypernatraemia /calculators/sodium-correction-dysnatraemia |
### Description This endpoint will calculates the recommended fluid rate to correct hyponatraemia or hypernatraemia using the individual's sex, age category, body mass, current… |
| POST |
STONE Score for Uncomplicated Ureteral Stone /calculators/stone-score |
### Description This endpoint will provide the STONE Score for Uncomplicated Ureteral Stone, including risk group, estimated risk of having a ureteral stone and additional notes… |
| POST |
RENAL Nephrometry Score /calculators/renal-nephrometry-score |
### Description This endpoint will calculate the RENAL Nephrometry Score to categorise renal masses by complexity for surgical decision-making. The RENAL nephrometry score,… |
| POST |
Acute Kidney Injury According to RIFLE Criteria /calculators/rifle-criteria |
### Description This endpoint will return the RIFLE classification for Acute Kidney Injury (AKI) when provided with the following criteria: - 'End stage renal disease (On… |
| POST |
Glomerular Filtration Rate Using the Modification of Diet in Renal Disease (MDRD) Study Equation /calculators/mdrd-gfr |
### Description This endpoint will calculate the Glomerular Filtration Rate of an individual according to the Modification of Diet in Renal Disease (MDRD) Study equation.… |
| POST |
UCLA Integrated Staging System (UISS) 5-year Prognosis for Localised and Metastatic Renal Cell Carcinoma /calculators/uiss |
### Description This endpoint will return the UCLA Integrated Staging System (UISS) classification and 5-year survival for renal cell carcinoma when provided with the following… |
| POST |
Estimated Urinary Protein Excretion /calculators/urinary-protein-excretion |
### Description This endpoint will calculate the Estimated urinary protein excretion and urinary protein/creatinine ratio from the urine protein concentration and urine… |
| POST |
Model for End-Stage Liver Disease (MELD) Score for 12 and older /calculators/meld-score-2016 |
### Description This endpoint will calculate the Model For End-Stage Liver Disease (MELD 2016) Score individual (12 years and older) including estimated 3-month mortality rate.… |
| POST |
Pediatric Ins and Outs /calculators/paediatric-ins-outs |
### Description This endpoint will calculate the Paediatric Ins and Outs (fluid status in volume per weight & volume per weight per time, for a paediatric individual based on the… |
| POST |
Risk of Kidney Failure in Patients with Chronic Kidney Disease /calculators/kidney-failure-risk |
### Description This endpoint will calculate the 5-year risk of kidney failure in patients with chronic kidney disease (CKD) from the following criteria: - Biological sex - Age… |
| POST |
Mehran Score for Post-PCI Contrast Nephropathy /calculators/mehran-score |
### Description This endpoint will calculate the Mehran Risk Score for contrast-induced nephropathy (CIN) after percutaneous coronary intervention (PCI) including the risk of any… |
| POST |
International Metastatic RCC Database Consortium (IMDC) Risk for Metastatic Renal Cell Carcinoma /calculators/imdc-risk-renal-cell-carcinoma |
### Description This endpoint will calculate the International Metastatic RCC Database Consortium (IMDC) risk score, risk group and median survival for patients with metastatic… |
| POST |
Estimated Glomerular Filtration Rate (CKD-EPI 2021 Equations) /calculators/ckd-epi-gfr |
### Description This endpoint will calculate the Estimated Glomerular Filtration Rate of an individual according to the 2021 CKD-EPI equations. Calculations are based on the… |
| POST |
Stage, Size, Grade and Necrosis (SSIGN) Score for Renal Cell Carcinoma /calculators/ssign-score |
### Description This endpoint will calculate the Stage, Size, Grade and Necrosis (SSIGN) Score for Renal Cell Carcinoma and 1, 3, 5, 7 and 10-year survival rates. The SSIGN score… |
| POST |
Fractional Excretion of Sodium (FENa) /calculators/fractional-excretion-sodium |
### Description This endpoint will calculate the Fractional Excretion of Sodium (FENa) of an individual from the individual's serum sodium concentration, serum creatinine… |
| POST |
Motzer Score for Prediction of Metastatic Renal Cell Carcinoma Survival /calculators/motzer-score |
### Description This endpoint will calculate the Motzer Score and will provide the associated risk group and metastatic renal cell carcinoma survival prediction. Calculations are… |
| POST |
Anion Gap /calculators/anion-gap |
### Description This endpoint will return an individual's anion gap, delta gap and delta ratio when provided with blood sodium concentration [Na+] (sodium), blood chlorine… |
| POST |
Fractional Excretion of Urea (FEUrea) /calculators/fractional-excretion-urea |
### Description This endpoint will calculate the Fractional Excretion of Urea (FEUrea) of an individual from the individual's serum urea concentration, serum creatinine… |
| POST |
Free Water Deficit (Hypternatraemia) and Sodium Deficit (Hyponatraemia) /calculators/sodium-deficit-free-water-deficit |
### Description This endpoint will calculate the Free Water Deficit for an individual with hypernatraemia and the Sodium Deficit for an individual with hyponatraemia.… |
| POST |
Bicarbonate Deficit /calculators/bicarbonate-deficit |
### Description This endpoint will return an individual's bicarbonate deficit, calculated using several different volume of distribution. Calculated using body mass and measured… |
| POST |
Transtubular Potassium Gradient /calculators/transtubular-potassium-gradient |
### Description This endpoint will calculate the Transtubular Potassium Gradient from serum potassium concentration, urine potassium concentration, serum osmolarity and urine… |
| POST |
Creatinine Clearance (Cocroft-Gault (1976) Formula) /calculators/creatinine-clearance |
### Description This endpoint will calculate the Creatinine Clearance of an individual using the Cocroft-Gault (1976) formula, Calculations are based on body weight, sex, age and… |
| POST |
Body Fluid Balance /calculators/body-fluid-balance |
### Description This endpoint will calculate the Body Fluid Balance by fluids lost and gained. The net 0.9% saline and free water gain and loss will be calculated from the… |
| POST |
Child-Pugh Score for Cirrhosis Mortality /calculators/child-pugh-score |
### Description This endpoint will return a Child-Pugh Score for Cirrhosis Mortality when provided with the following criteria: Total Serum Bilirubin, Serum Albumin,… |
| POST |
Licurse Score for Renal Ultrasound /calculators/licurse-score |
### Description This endpoint will calculate the Licurse Score for Renal Ultrasound and will provide the associated risk group, risk of hydronephrosis requiring stent or… |
| POST |
Nutrition Risk Index /calculators/nutrition-risk-index |
### Description This endpoint will calculate the Nutrition Risk Index for an individual based on the individual's serum albumin concentration, present body mass and usual body… |
| POST |
Mekhail Extension of the Motzer Score for Prediction of Metastatic Renal Cell Carcinoma Survival /calculators/mekhail-motzer-score |
### Description This endpoint will calculate the Mekhail Extension of the Motzer Score and will provide the associated risk group and metastatic renal cell carcinoma survival… |
| POST |
Kinetic Estimated Glomerular Filtration Rate (kinetic eGFR) /calculators/kinetic-egfr |
### Description This endpoint will calculate the Kinetic Estimated Glomerular Filtration Rate of an individual. Calculations are based on the individual's age, sex, whether the… |
| POST |
Model For End-Stage Liver Disease (MELD) Score (Original, pre-2016) /calculators/meld-score-original |
### Description This endpoint will calculate the Model For End-Stage Liver Disease (MELD) Score individual (Original, pre-2016 model) including estimated 3-month mortality rate.… |
| POST |
McMahon Score for Rhabdomyolysis /calculators/mcmahon-score |
### Description This endpoint will calculate the McMahon Risk Score for Rhabdomyolysis to predict mortality or acute kidney injury (AKI) in patients with rhabdomyolysis. The risk… |
| POST |
Maintenance Fluid Requirements by Body Mass /calculators/maintenance-fluids |
### Description This endpoint will calculate the Maintenance Fluid Requirments by Weight for an individual based on the individual's body mass. ### Evidence 1. [PMID:… |
| POST |
Chronic Kidney Disease Prediction in HIV Positive Patients /calculators/ckd-prediction-hiv-patients |
### Description This endpoint will return a Score and probability for Chronic Kidney Disease (CKD) in HIV positive patients using the following criteria: - 'Age… |
| POST |
Nephritis Grade for Immune Checkpoint Inhibitor Nephrotoxicity /calculators/icpi-related-nephritis |
### Description This endpoint will provide the American Society of Clinical Oncology Clinical Practice Guideline Nephritis Grade and Management Plan for for Immune Checkpoint… |
| POST |
Estimated Glomerular Filtration Rate (eGFR) with the Revised Schwartz Equation (2009) /calculators/revised-schwartz-egfr |
### Description This endpoint will calculate the Estimated Glomerular Filtration Rate for paediatric individuals based on the revised Schwartz Equation (2009). Calculations are… |
| POST |
Acute Kidney Injury According to AKIN Criteria /calculators/akin |
### Description This endpoint will return the AKIN classification for Acute Kidney Injury (AKI) when provided with a serum creatinine criterion and/or a urine output criterion.… |
| Other endpoints | ||
| POST |
Anion Gap /calculators/anion-gap |
### Description This endpoint will return an individual's anion gap, delta gap and delta ratio when provided with blood sodium concentration [Na+] (sodium), blood chlorine… |
MedAPI pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|