{"uid":"cap_m8zHn-md-Q0Ad09s4FoUR","slug":"numora-prime-number-generation-api-086f2e11","name":"Numora — Prime Number Generation API","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/generate/primes","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.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RK__D9IFyiwPrKMzSYLUI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a list of the first N prime numbers using pure mathematical computation, with no external dependencies.","exampleAgentPrompt":"Can you generate the first 50 prime numbers for me using a pure math computation API?","exampleUseCases":[{"title":"Prime sequence for cryptography research","prompt":"I need the first 200 prime numbers for a cryptographic key generation experiment — can you compute that list for me?"},{"title":"Number theory classroom exercise","prompt":"Generate the first 30 prime numbers so I can walk students through the Sieve of Eratosthenes and verify their work."},{"title":"Benchmarking prime computation","prompt":"Give me a list of the first 1000 primes — I want to compare the output against my own implementation to make sure it's correct."}],"resultDescription":"Returns a JSON object with a boolean 'success' field, a 'result' object containing the list of generated prime numbers, and a 'computation' string describing in human-readable form what was computed (e.g. 'Generated the first N prime numbers').","failureModes":["Missing or invalid 'n' parameter returns a validation error","Non-integer or negative 'n' values may return a 400 error","Extremely large values of 'n' may cause timeout or memory issues","Payment failure via x402 prevents request from being processed","Server errors return a non-success response"],"whenToPreferThis":"Choose this endpoint when you need a fast, dependency-free, server-side computation of prime number sequences and want a simple integer-in, list-out API. Prefer this over client-side implementations when auditability or consistency of results matters, or when you want to offload computation. Use this rather than general-purpose math libraries when you want a hosted, pay-per-call solution via x402 micropayments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:51:10.846Z","isFirstParty":false}