{"uid":"cap_8DQ0_dwXcpC_cm9dDGLKM","slug":"cas-registry-number-check-digit-validator-2b35dcb0","name":"CAS Registry Number Check Digit Validator","description":"Call when an agent has a CAS Registry Number and needs the check digit. Does not confirm the substance.","url":"https://agentshield.live/cas?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":["code"],"properties":{"code":{"type":"string","description":"CAS Registry Number. Hyphens optional."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"known":true,"valid":true,"check_digit":"5"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_90M2FfQ9ztOuBv8NkEBDZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and returns the check digit for a given CAS Registry Number (CAS RN)","exampleAgentPrompt":"Can you validate the check digit for CAS number 64-17-5 and tell me if it's correct?","exampleUseCases":[{"title":"Chemical database entry QA","prompt":"I'm importing a list of chemicals and need to make sure the CAS number 7732-18-5 has the right check digit before I store it — can you verify that?"},{"title":"Lab reagent label verification","prompt":"We've got a reagent bottle labeled with CAS 67-64-1 — can you confirm the check digit on that CAS number is correct?"},{"title":"Regulatory submission pre-check","prompt":"Before I submit this safety data sheet, can you check if CAS number 71-43-2 passes the check digit validation?"}],"resultDescription":"A JSON object with three fields: 'valid' (boolean indicating whether the check digit is correct), 'known' (boolean indicating whether the CAS number is recognized), and 'check_digit' (a string with the expected check digit character).","failureModes":["Invalid or malformed CAS number format returns an error or invalid flag","CAS number with wrong number of segments may fail parsing","Non-numeric characters other than hyphens may cause rejection","Network timeout on rare high-load scenarios"],"whenToPreferThis":"Use this endpoint when you have a CAS Registry Number and need to verify or compute its check digit algorithmically. It is a lightweight, deterministic validation endpoint — ideal for ETL pipelines, lab data entry validation, chemical database QA, or regulatory pre-checks. It does not confirm whether the substance actually exists in a registry, only that the check digit arithmetic is correct.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T18:43:22.754Z","isFirstParty":false,"canonicalSlug":"cas-registry-number-check-digit-validator-2b35dcb0"}