{"uid":"cap_A9jNhDXf2r2R8xs5E6oxe","slug":"x402-forgemesh-io-mole-conversion-api-c2de3040","name":"x402.forgemesh.io Mole Conversion API","description":"Mole conversion API: convert grams↔moles↔molecules for any chemical formula, using its computed molar mass and Avogadro's number. The stoichiometry step chemistry agents need.","url":"https://x402.forgemesh.io/grams-to-moles","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"grams":{"type":"string"},"moles":{"type":"string"},"formula":{"type":"string"}}},"responseSchema":{"type":"json","example":{"moles":1,"molecules":6.02214076e+23,"molar_mass_g_per_mol":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_9hF5yNKJ98kKUAWoSmDuj","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":"Converts between grams, moles, and molecules for any chemical formula using computed molar mass and Avogadro's number.","exampleAgentPrompt":"How many moles are in 18 grams of H2O? Also tell me how many individual molecules that works out to.","exampleUseCases":null,"resultDescription":"Returns the converted quantity (grams, moles, and/or molecules) for the given chemical formula, along with the computed molar mass used in the calculation and Avogadro's number-based molecule count.","failureModes":["Invalid or unparseable chemical formula returns an error","Missing both grams and moles input with no basis for conversion","Formula contains unsupported or unknown elements","Negative or zero quantity input may produce an error or undefined result","Malformed request body returns a 400-level error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to perform stoichiometric unit conversions between grams, moles, and molecules for a specific chemical formula — particularly in chemistry tutoring, lab calculation automation, or reaction planning workflows where molar mass lookup and Avogadro's number arithmetic would otherwise need to be computed manually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:53:01.999Z","isFirstParty":false}