{"uid":"cap_m3g2SB-Si_i1kSVuPP2ZU","slug":"maha-chemistry-fingerprint-similarity-09222cdf","name":"Maha Chemistry Fingerprint Similarity","description":"Compare supplied molecules using a declared fingerprint and similarity metric. For dataset analysis; chemical similarity does not establish equivalent function or safety.","url":"https://www.mahastrategies.com/api/v1/micro/chemistry-fingerprint-similarity?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","left","right"],"properties":{"left":{"type":"string","maxLength":512,"minLength":1},"right":{"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-fingerprint-similarity"],"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":["28001"],"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.028001","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.028001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.028001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.028001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CE-kvyMQfXPl23N4-i_hf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.028001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two molecules using a declared fingerprint and similarity metric, returning a computed similarity score for cheminformatics analysis.","exampleAgentPrompt":"Can you compare these two molecules for me — left: 'CC(=O)Oc1ccccc1C(=O)O' and right: 'CC(=O)Nc1ccc(O)cc1' — using the public data class and give me their fingerprint similarity score?","exampleUseCases":[{"title":"Drug candidate structural comparison","prompt":"I have two candidate drug molecules — 'CC(=O)Oc1ccccc1C(=O)O' and 'CC(=O)Nc1ccc(O)cc1' — can you compute their chemical fingerprint similarity using the public data class to see how structurally close they are?"},{"title":"Synthetic compound similarity screening","prompt":"Compare these two synthetic molecules for me: 'C1CCCCC1' and 'C1CCNCC1' — use the synthetic data class and tell me their fingerprint similarity score."},{"title":"Lead optimization structural check","prompt":"During lead optimization, I want to check how similar my modified compound 'CCc1ccc(NC(=O)c2ccc(Cl)cc2)cc1' is to the original scaffold 'CCc1ccc(NC(=O)c2ccccc2)cc1' — can you run a public-class fingerprint similarity comparison?"}],"resultDescription":"Returns a structured receipt containing a similarity result object, a version identifier (maha-microproducts/0.1), an offer ID (chemistry-fingerprint-similarity), the amount charged in base units (28001), an input digest, a receipt digest, and a boundaries array — the core similarity score is inside the result object.","failureModes":["Invalid or unparseable molecule string — returns an error if left or right strings cannot be interpreted as valid molecular representations","Missing required fields (left, right, dataClass) — returns a validation error","dataClass enum mismatch — only 'public' or 'synthetic' are accepted","Molecule string exceeds 512 character limit — rejected with a length error","Payment failure — x402 payment not accepted or insufficient funds"],"whenToPreferThis":"Choose this endpoint when you need a fast, auditable, per-call paid computation of molecular fingerprint similarity between exactly two molecules, particularly when working with public or synthetic chemical datasets. Prefer it over full cheminformatics suites when you want a lightweight, reproducible, receipt-backed pairwise comparison without standing up local tooling. It is not a substitute for pharmacological equivalence or safety assessment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T06:50:46.102Z","isFirstParty":false,"canonicalSlug":"maha-chemistry-fingerprint-similarity-09222cdf"}