{"uid":"cap_tGzu5bExK5qjNiWBPYy9u","slug":"smiles-chemistry-validation-19680e2d","name":"SMILES Chemistry Validation","description":"Parse supplied SMILES and report valence, stereochemistry and representation problems before molecular-data processing. Structural parsing does not establish safety.","url":"https://www.mahastrategies.com/api/v1/micro/chemistry-smiles-validation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["dataClass","smiles"],"properties":{"smiles":{"type":"string","maxLength":512,"minLength":1},"dataClass":{"enum":["public","synthetic"],"type":"string"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","offerId","amountBaseUnits","inputDigest","result","boundaries","receiptDigest"],"properties":{"result":{"type":"object"},"offerId":{"enum":["chemistry-smiles-validation"],"type":"string"},"version":{"enum":["maha-microproducts/0.1"],"type":"string"},"boundaries":{"type":"array","maxItems":128,"minItems":0},"inputDigest":{"type":"string","maxLength":71},"receiptDigest":{"type":"string","maxLength":71},"amountBaseUnits":{"enum":["11001"],"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.011001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.011001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.011001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.011001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0VLd8JqxvEjoYWfd52OLP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.011001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a SMILES string and reports valence errors, stereochemistry issues, and representation problems before downstream molecular data processing.","exampleAgentPrompt":"Can you validate this SMILES string for me — 'CC(=O)Oc1ccccc1C(=O)O' — and tell me if there are any valence, stereochemistry, or representation problems? This is public data.","exampleUseCases":[{"title":"Pre-pipeline SMILES sanity check","prompt":"Before I run this molecule through my docking pipeline, can you check if the SMILES 'C1CC(=O)NC(=O)[C@@H]1N2C(=O)c3ccccc3C2=O' has any valence or stereochemistry issues? Treat it as public data."},{"title":"Validate synthetic compound SMILES","prompt":"I've generated a synthetic SMILES string 'O=C1OCC[C@@H]2CC[C@H](C1)N2' from a generative model — can you parse and validate it for structural problems like valence errors or bad stereochemistry? Mark it as synthetic data."},{"title":"Catch bad SMILES before database ingestion","prompt":"I'm about to add 'C(C)(C)(C)C(=O)O[NH3+]' to my molecular database — can you validate the SMILES first and flag any representation or valence issues so I don't store broken structures? This is public data."}],"resultDescription":"Returns a structured result object containing detected valence errors, stereochemistry problems, and representation issues found in the submitted SMILES string, along with metadata including the offer ID, version, input digest, receipt digest, and the amount charged in base units.","failureModes":["SMILES string is empty or exceeds 512 characters — rejected by schema validation","Invalid or malformed SMILES syntax that cannot be parsed at all — may return parse error in result","Unknown or unsupported chemical element in SMILES — may trigger representation error","dataClass field missing or not one of 'public'/'synthetic' — schema validation failure","Network or service unavailability — HTTP error response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, per-call structural validation of a SMILES string before feeding it into a cheminformatics pipeline, molecular database, or simulation tool. It is purpose-built for catching valence, stereochemistry, and representation errors early, and is suitable for both public and synthetic compound data. It does not perform safety or toxicity assessment, so pair it with appropriate downstream checks for those concerns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:54:10.044Z","isFirstParty":false,"canonicalSlug":"smiles-chemistry-validation-19680e2d"}