Skip to content
Fourohtwo

chemeq.openverbs.com/v1/limiting

Given a reaction and the supplied amount of every reactant, identify the limiting reagent and compute leftover reactant and theoretical product yields.

BaseAnswering
POSThttps://chemeq.openverbs.com/v1/limiting

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://chemeq.openverbs.com/v1/limiting", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"amounts":[{"amount":1,"species":"N2","unit":"mol"},{"amount":2,"species":"H2","unit":"mol"}],"equation":"N2 + H2 -> NH3"}),
});
console.log(await res.json());

Example input

{
  "amounts": [
    {
      "amount": 1,
      "species": "N2",
      "unit": "mol"
    },
    {
      "amount": 2,
      "species": "H2",
      "unit": "mol"
    }
  ],
  "equation": "N2 + H2 -> NH3"
}