{"uid":"cap_7lQHhtA1k3K590fqvUCRS","slug":"x402-toolbox-prime-number-check-7f9a944e","name":"x402-toolbox Prime Number Check","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/math/prime-number-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QIZ8eHJ98bR-GSZI3GzKU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given integer is a prime number, returning a deterministic boolean result via x402 micropayment.","exampleAgentPrompt":"Is 104729 a prime number? Just run a quick prime check on it.","exampleUseCases":[{"title":"Math homework prime verification","prompt":"I need to know if 7919 is a prime number for my homework — can you check that for me?"},{"title":"Cryptography key candidate screening","prompt":"Before I use 104723 as part of a key generation step, can you verify whether it's actually a prime number?"},{"title":"Puzzle solver primality gate","prompt":"My puzzle requires only prime numbers as valid inputs — can you check whether 561 is prime before I proceed?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success, a 'paid' boolean confirming the x402 micropayment was processed, and the primality result for the submitted number (whether it is prime or not).","failureModes":["Non-numeric or missing input returns an error or undefined result","Payment failure (insufficient USDC balance or x402 protocol error) causes a 402 response and no computation","Very large numbers may exceed computation limits or timeout","Malformed schema parameter may result in a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-signup, pay-per-call primality check with deterministic results and no rate-limit concerns tied to API keys. Ideal for AI agents that operate autonomously with a USDC wallet and need on-demand math utilities without managing credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:40:04.325Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-prime-number-check-7f9a944e"}