{"uid":"cap_x2YP8-xmukLceqT_moyCC","slug":"chemistry-spectrum-peak-comparison-ae86e8d6","name":"Chemistry Spectrum Peak Comparison","description":"Match supplied reference and sample peak lists under declared tolerances. For spectrum-data comparison; no unique compound identification from peaks alone.","url":"https://www.mahastrategies.com/api/v1/micro/chemistry-spectrum-peak-comparison?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","observed","reference","tolerance","unit"],"properties":{"unit":{"enum":["cm^-1","m/z","ppm"],"type":"string"},"observed":{"type":"array","maxItems":128,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"reference":{"type":"array","maxItems":128,"minItems":1},"tolerance":{"type":"number","maximum":1000000000000,"minimum":0}},"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-spectrum-peak-comparison"],"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":["49001"],"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.049001","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.049001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.049001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.049001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e8_bgPgn6EXmKV-wmHrMh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.049001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares observed and reference peak lists from spectra (IR, MS, NMR) under a declared numerical tolerance and returns match boundaries.","exampleAgentPrompt":"Compare my observed IR peaks [1720, 2950, 3300] against reference peaks [1715, 2945, 3310] using a tolerance of 15 cm^-1 — treat the data as synthetic and tell me which ones match.","exampleUseCases":[{"title":"IR spectrum quality control check","prompt":"I have observed infrared peaks at 1650, 2920, and 3350 cm^-1 and a reference list of 1645, 2915, 3345, and 1720 cm^-1 — compare them with a tolerance of 10 cm^-1 using public data class and tell me which peaks match."},{"title":"Mass spec fragment matching","prompt":"Check whether my observed m/z values [78.5, 121.3, 205.8, 310.1] match these reference m/z peaks [78.4, 121.5, 206.0, 400.2] within a tolerance of 0.5 m/z — data class is synthetic."},{"title":"NMR chemical shift alignment","prompt":"I need to compare my observed NMR chemical shifts [1.2, 3.5, 7.1, 8.3] ppm against reference shifts [1.18, 3.52, 7.08, 8.35] ppm with a 0.05 ppm tolerance — data class is public — and see which ones fall within bounds."}],"resultDescription":"Returns a result object with matched/unmatched boundary pairs for each observed peak against the reference list, along with a version identifier, offer ID, input digest for reproducibility, and receipt digest for payment verification.","failureModes":["Empty or mismatched peak arrays (minItems:1 violated)","Arrays exceeding 128 peaks (maxItems:128 exceeded)","Invalid unit value outside enum [cm^-1, m/z, ppm]","Tolerance outside allowed range 0–1e12","Invalid dataClass value outside enum [public, synthetic]","Malformed JSON body or wrong bodyType"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, auditable peak-list comparison with a declared numerical tolerance for spectroscopic data (IR, MS, NMR). It is not a compound identification service — use it when you already have both observed and reference peak lists and want to know which peaks match within a given tolerance window. Prefer it over manual comparison or general-purpose LLMs when you need reproducible digests for audit trails or payment-backed accountability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:37:59.099Z","isFirstParty":false,"canonicalSlug":"chemistry-spectrum-peak-comparison-ae86e8d6"}