{"uid":"cap_nhPLbpz0DzBT46-qfOgWz","slug":"delx-commerce-is-prime-checker-3431a5a5","name":"Delx Commerce — Is-Prime Checker","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/is-prime?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/is-prime/v1","is_prime":false}},"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_Pgcnc8xIfbtWS6_RKh-ff","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":"Checks whether a given integer is a prime number, returning a boolean result via a pay-per-call API using USDC micropayments.","exampleAgentPrompt":"Can you check if 97 is a prime number using a pay-per-result primality API that charges $0.001 USDC per call?","exampleUseCases":[{"title":"Cryptographic key candidate screening","prompt":"I'm generating RSA key candidates and need to verify whether 7919 is a prime number — can you run a primality check on it?"},{"title":"Math tutoring primality verification","prompt":"My student says 143 is a prime number — can you check if that's actually true so I can correct them if they're wrong?"},{"title":"Number theory puzzle solving","prompt":"I'm working through a puzzle that requires me to know if 104729 is prime — can you look that up for me?"}],"resultDescription":"A JSON object containing the input integer (n), the schema identifier ('delx/is-prime/v1'), and a boolean field 'is_prime' indicating whether the number is prime. Example: {\"n\": 42, \"schema\": \"delx/is-prime/v1\", \"is_prime\": false}.","failureModes":["Non-integer or missing 'n' field returns a validation error","Numbers outside the allowed range for the API may be rejected","Payment failure or insufficient USDC balance will prevent the call from completing","Network issues with Base or Solana payment rails may cause transaction failures"],"whenToPreferThis":"Choose this endpoint when you need a fast, trustless, pay-per-use primality check with cryptographically verifiable delivery via USDC micropayments on Base or Solana, and you want no signup or subscription overhead. Ideal for agents making occasional or sporadic primality checks where a hosted math library is unavailable or impractical.","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-is-prime-checker-3431a5a5"}