{"uid":"cap_sWUwfgmOiHb94_4D6qmJq","slug":"numora-modular-exponentiation-api-b5532f5d","name":"Numora Modular Exponentiation 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://numormor.netlify.app/api/number/modular-exp","method":"POST","headers":{},"bodySchema":{"type":"object","required":["exp","mod","base"],"properties":{"exp":{"type":"integer"},"mod":{"type":"integer"},"base":{"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":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"10.0000","medianCents":"10.0000","p90Cents":"10.0000","minCents":"10.0000","maxCents":"10.0000","p95Cents":"10.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_E69C-JMwl5cYE7X_9n8Fb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes modular exponentiation (base^exp mod m) for integers via a pure math computation endpoint","exampleAgentPrompt":"What is 7 to the power of 256, modulo 101? I need the modular exponentiation result.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a boolean success flag, a result object containing the computed value of base^exp mod modulus, and a human-readable computation description string explaining what was calculated.","failureModes":["Missing required fields (base, exp, or mod) returns a 400 error","Modulus of zero causes a division by zero error","Payment not provided or insufficient causes a 402 Payment Required response","Non-integer inputs for base, exp, or mod cause schema validation errors","Very large integers may cause timeout or overflow errors"],"whenToPreferThis":"Use this endpoint when you need to compute modular exponentiation (base^exp mod m) for integers — especially for number theory tasks, cryptographic key computations, primality testing steps, or any scenario requiring fast modular arithmetic without external library dependencies. Prefer this over general-purpose code execution when you need a reliable, stateless, pure math result via micropayment API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:55:34.218Z","isFirstParty":false}