{"uid":"cap_UzBS6zYTrpKYWS_9FYmgt","slug":"sindri-prime-factorization-ab7d9dd0","name":"Sindri Prime Factorization","description":"Prime factorization of an integer via trial division, returning the full list of prime factors (with repetition).","url":"https://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/primeFactorize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"number","description":"Integer to factorize (2 to 10^12)."}}},"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_dcRrpjxit9FjacLwxMyx-","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":"Decomposes an integer (2 to 10^12) into its complete list of prime factors with repetition using trial division.","exampleAgentPrompt":"Can you give me the full prime factorization of 720720, including any repeated factors?","exampleUseCases":[{"title":"Verify cryptographic key properties","prompt":"What are the prime factors of 4294967291? I need to check whether it's prime or can be broken down for a cryptography exercise."},{"title":"Math homework prime decomposition","prompt":"Can you factorize 360 into all its prime factors with repetition so I can work out the prime factorization for my math assignment?"},{"title":"Find LCM and GCD via factorization","prompt":"I need the full list of prime factors — with repeats — for both 840 and 1260 so I can compute their LCM and GCD by hand."}],"resultDescription":"A list of prime factors (with repetition) whose product equals the input integer n. For example, input 12 returns [2, 2, 3]. The factors are returned in ascending order, covering all prime divisors including duplicates.","failureModes":["Input n below 2 or above 10^12 returns a validation error","Non-integer or non-numeric n causes a bad request error","Very large numbers near 10^12 with many small factors may take slightly longer but should still succeed","Missing n field in the request body returns a schema validation error","Payment not provided or insufficient USDC results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need the complete prime factorization of a single integer up to one trillion, including repeated prime factors. It is ideal for number theory tasks, computing GCD/LCM, verifying primality, or cryptographic exercises. Prefer it over manual computation or general-purpose code execution when you want a fast, reliable, pay-per-use API call without setting up your own environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T18:38:26.753Z","isFirstParty":false,"canonicalSlug":"sindri-prime-factorization-ab7d9dd0"}