{"uid":"cap_kGdKtjtHNf_qGpreEafpH","slug":"numora-prime-check-7623cf08","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://numormo.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_RCn-2tW4A7t8n7ODnSmJj","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":"Can you check whether 999983 is a prime number?","exampleUseCases":[{"title":"Cryptography key candidate validation","prompt":"I'm generating RSA key material and need to confirm that 104729 is actually a prime number before I use it — can you verify that?"},{"title":"Math homework primality check","prompt":"My kid's homework asks whether 561 is prime — can you check that for me and give a clear yes or no?"},{"title":"Competitive programming problem helper","prompt":"In this algorithm challenge I need to know if 2147483647 is a prime number — can you run a primality check on it?"}],"resultDescription":"Returns a JSON object with a boolean success flag, a result object containing the primality determination (whether n is prime, and possibly factors or related metadata), and a human-readable computation string describing what was computed.","failureModes":["Missing required field 'n' returns a 400-level error","Non-integer or float values for 'n' cause validation failure","Extremely large integers may exceed computation limits or time out","Negative integers or zero may return an error or a defined non-prime result"],"whenToPreferThis":"Choose this endpoint when you need a reliable, serverless, zero-dependency primality test for a specific integer and want a clean JSON result. Prefer it over rolling your own primality logic in agent code, especially when correctness and speed matter and you want a micropayment-priced on-demand computation without standing up any infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:44:48.891Z","isFirstParty":false}