{"uid":"cap_4xDV0hiRSIPZWGCoLMMsa","slug":"agentshield-molar-mass-calculator-05da81ba","name":"AgentShield Molar Mass Calculator","description":"Call when an agent needs the molar mass of a simple formula from CIAAW abridged standard atomic weights. Elements with no standard weight return 404. Not a measured sample mass.","url":"https://agentshield.live/molar?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["formula"],"properties":{"formula":{"type":"string","description":"Simple formula, such as H2O or Ca(OH)2."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"unit":"g/mol","known":true,"formula":"H2O","molar_mass":"18.015"}},"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_-mBgU0-gw5JxCekqqMNHB","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":"Returns the molar mass (in g/mol) of a chemical formula using CIAAW abridged standard atomic weights.","exampleAgentPrompt":"What is the molar mass of Ca(OH)2 using standard atomic weights?","exampleUseCases":[{"title":"Stoichiometry calculation for lab","prompt":"I need the molar mass of H2SO4 so I can figure out how many grams to weigh out for my titration."},{"title":"Chemistry homework helper","prompt":"What is the molar mass of glucose, C6H12O6? I need it in grams per mole for my homework."},{"title":"Industrial formulation check","prompt":"Can you look up the molar mass of NaHCO3? I'm scaling up a recipe and need it for the concentration math."}],"resultDescription":"A JSON object containing the chemical formula, its molar mass as a string (e.g. '18.015'), the unit ('g/mol'), and a boolean 'known' flag indicating whether the formula resolved successfully. Returns 404 if any element in the formula has no CIAAW standard atomic weight.","failureModes":["404 returned for formulas containing elements with no CIAAW standard atomic weight (e.g. radioactive elements like Tc or Fm)","Malformed or unrecognized formula strings may return an error","Isotope-specific or bracket-heavy notation may not be parsed correctly","Payment failure (402) if the x402 payment is not completed"],"whenToPreferThis":"Use this endpoint when you need a quick, standards-based molar mass for a simple chemical formula using CIAAW abridged atomic weights. Prefer this over manual calculation or general-purpose chemistry APIs when you want a single authoritative numeric result per formula without needing measured sample data or isotopic distributions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:39:48.511Z","isFirstParty":false,"canonicalSlug":"agentshield-molar-mass-calculator-05da81ba"}