{"uid":"cap_QFpVdWIGM0apwyGHshWvK","slug":"luhn-checksum-validator-81209fb0","name":"Luhn Checksum Validator","description":"Luhn checksum validation (credit cards, IMEI)","url":"https://x402render-u5vwpxpyua-uc.a.run.app/validate-luhn","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"number":{"type":"string","description":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lWBAlejLkYIFyxeDsGgT8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a number string passes the Luhn algorithm checksum, used for credit card and IMEI number verification","exampleAgentPrompt":"Can you check whether the credit card number 4532015112830366 passes the Luhn checksum validation?","exampleUseCases":[{"title":"Pre-charge credit card validation","prompt":"Before I attempt to charge this card, can you run a Luhn check on 4111111111111111 to make sure it's a structurally valid card number?"},{"title":"IMEI number verification","prompt":"I need to verify if this IMEI number 490154203237518 is valid — can you run it through the Luhn algorithm?"},{"title":"Detect user input typo in card number","prompt":"A customer entered the card number 1234567890123456 on our checkout form — can you Luhn-validate it to see if they might have made a typo?"}],"resultDescription":"Returns a boolean or pass/fail result indicating whether the submitted number string satisfies the Luhn checksum algorithm, used to detect common transcription errors in credit card numbers and IMEI identifiers.","failureModes":["Non-numeric characters in the number string causing validation failure","Empty string input returning an error","Number string with spaces or dashes not being normalized before validation","Service unavailable or payment failure returning a non-200 response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, instant Luhn checksum validation for credit card numbers or IMEI identifiers without integrating a full payment processor or carrier lookup. Ideal for client-side pre-validation before submission to a payment gateway, or for verifying device identifiers in bulk.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:51:54.904Z","isFirstParty":false}