{"uid":"cap_b55DH-C4LRSm3K-bDkgcz","slug":"delx-commerce-lcm-least-common-multiple-api-65d396f4","name":"Delx Commerce LCM (Least Common Multiple) API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/lcm?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"integer","description":"First integer operand."},"b":{"type":"integer","description":"Second integer operand."}}},"responseSchema":{"type":"json","example":{"a":18,"b":24,"lcm":72,"schema":"delx/lcm/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ekWXuOs3lC1PFapU7YkSl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the least common multiple (LCM) of two integers, paid per-result via USDC on Base or Solana using x402.","exampleAgentPrompt":"What is the least common multiple of 18 and 24?","exampleUseCases":[{"title":"Task scheduling cycle alignment","prompt":"I have two tasks that repeat every 14 days and every 21 days respectively. What is the least common multiple of 14 and 21 so I know when they'll next coincide?"},{"title":"Fraction arithmetic preparation","prompt":"I need to add fractions with denominators 8 and 12. Can you find the LCM of 8 and 12 so I know the least common denominator to use?"},{"title":"Gear rotation synchronization","prompt":"Two gears rotate with 15 teeth and 20 teeth. What's the LCM of 15 and 20 so I can figure out after how many teeth they return to their starting positions together?"}],"resultDescription":"A JSON object containing the two input integers (a, b), their computed least common multiple (lcm), and a schema identifier string ('delx/lcm/v1').","failureModes":["Missing or non-integer inputs return a validation error","Zero as an operand may produce undefined or zero result since LCM(0, n) is mathematically 0","Payment failure via x402 if USDC balance on Base/Solana is insufficient","Network or service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call, no-signup computation for LCM with verifiable delivery and on-chain micropayment via USDC. Prefer it over building custom arithmetic logic in agent code when you want an auditable, externally-resolved math result, especially in x402-compatible payment pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:48.054Z","isFirstParty":false,"canonicalSlug":"delx-commerce-lcm-least-common-multiple-api-65d396f4"}