Reconstitution math for one vial and one target dose
api.doseplot.com/v1/recon/plan
Reconstitution math for one vial and one target dose: the strength to reconstitute to, the bacteriostatic water to add, what one dose reads on a U-100 syringe, whole doses per vial, residual mass and cost per dose. Deterministic arithmetic -- not medical advice, not a prescription, and for relay to a human decision-maker rather than autonomous administration.
POST
https://api.doseplot.com/v1/recon/planUptime100% 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://api.doseplot.com/v1/recon/plan", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"draw_ml":0.25,"frequency_days":1,"target_dose_mcg":250,"vial_mg":10}),
});
console.log(await res.json());Example input
{
"draw_ml": 0.25,
"frequency_days": 1,
"target_dose_mcg": 250,
"vial_mg": 10
}