{"uid":"cap_7FiooVUbVLYm5Z4kN6km6","slug":"numora-prime-check-ebc0db2a","name":"Numora Prime Check","description":"100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.","url":"https://numomo.vercel.app/api/number/prime-check","method":"POST","headers":{},"bodySchema":{"type":"object","required":["n"],"properties":{"n":{"type":"integer"}}},"responseSchema":{"type":"object","required":["success","result","computation"],"properties":{"result":{"type":"object","description":"Computation result varies by endpoint"},"success":{"type":"boolean","description":"Always true on success"},"computation":{"type":"string","description":"Human-readable description of what was computed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f0OpdGqBE3hkM3Er8TBNm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Determines whether a given integer is a prime number","exampleAgentPrompt":"Is 1000003 a prime number? Run a primality check on it.","exampleUseCases":[{"title":"Cryptographic key candidate validation","prompt":"I'm generating RSA key candidates and need to check if 104729 is prime before using it."},{"title":"Math homework primality verification","prompt":"Can you verify whether 2147483647 is a prime number? I need to confirm it for a number theory assignment."},{"title":"Prime-based puzzle solving","prompt":"I'm working on a puzzle that requires prime numbers — check if 561 is actually prime or a composite number."}],"resultDescription":"Returns a JSON object with a boolean success flag, a result object indicating whether the input integer is prime, and a human-readable computation description string explaining what was computed.","failureModes":["Missing required field 'n' returns a validation error","Non-integer or float input fails schema validation","Extremely large integers may cause timeout or overflow","Payment failure (x402) blocks the request before computation"],"whenToPreferThis":"Choose this endpoint when you need a quick, self-contained primality test with no external dependencies. Ideal for AI agents needing deterministic math results without setting up a local math library, and when micropayment-based access via x402 on Base is acceptable. Best for single integer queries rather than bulk primality testing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:49:51.105Z","isFirstParty":false}