{"uid":"cap_M5PrbUaShbuq1w7oQVHAa","slug":"delx-commerce-prime-factors-api-601fc408","name":"Delx Commerce Prime Factors 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/prime-factors?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","description":"Integer input (see tool summary for allowed range)."}}},"responseSchema":{"type":"json","example":{"n":42,"schema":"delx/prime-factors/v1","factors":[2,3,7]}},"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_HPfR0iX1Ud0UN6jVHvRMo","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 prime factorization of an integer, returning all prime factors as a list, paid per-result via USDC micropayment.","exampleAgentPrompt":"What are the prime factors of 360? Use the Delx prime factors API to get the exact factorization.","exampleUseCases":[{"title":"Cryptographic key size check","prompt":"Factor the number 2147483647 for me so I can check whether it's prime or composite before using it in an RSA key generation step."},{"title":"Math homework factorization","prompt":"I need to show the prime factorization of 1260 for my number theory homework — can you break it down into all its prime factors?"},{"title":"Agent pipeline integer decomposition","prompt":"As part of my automated math pipeline, factorize the integer 9973 and return the list of prime factors so I can feed them into the next computation step."}],"resultDescription":"A JSON object containing the original integer n, a schema identifier ('delx/prime-factors/v1'), and an array 'factors' listing all prime factors (with repetition) in ascending order. For example, n=42 returns factors [2, 3, 7].","failureModes":["Integer n is out of the allowed range — API returns an error with the permitted bounds","Non-integer or missing n field — request rejected with a validation error","Payment failure or insufficient USDC balance — x402 payment not processed, request not fulfilled","Network timeout or service unavailability — no result returned"],"whenToPreferThis":"Choose this endpoint when an AI agent needs on-demand, verifiable prime factorization without any signup or subscription — ideal for single ad-hoc computations billed at $0.001 USDC per call via the x402 micropayment protocol on Base or Solana. Prefer it over self-hosted math libraries when you need a pay-as-you-go model with verifiable delivery guarantees.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:52:57.024Z","isFirstParty":false,"canonicalSlug":"delx-commerce-prime-factors-api-601fc408"}