{"uid":"cap_rW6-0GvgF1acaUsFaHfGk","slug":"numora-calculus-gradient-endpoint-9e6f6db7","name":"Numora Calculus Gradient Endpoint","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/calculus/gradient","method":"POST","headers":{},"bodySchema":{"type":"object","required":["fn","point"],"properties":{"fn":{"type":"string"},"point":{"type":"array"}}},"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_CuF_kLRNvwSos8e7WM6Ji","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 the numerical gradient (partial derivatives) of a multivariable function at a specified point","exampleAgentPrompt":"Compute the gradient of the function x^2 + 3*y^2 + z at the point [1, 2, 1] using Numora's pure math API.","exampleUseCases":[{"title":"Optimize pricing model sensitivity analysis","prompt":"I need to understand how sensitive our profit function is to changes in unit cost and selling price. Can you compute the gradient of our profit equation at our current pricing point so we know which variable impacts revenue most?"},{"title":"Machine learning loss function step guidance","prompt":"We're implementing a basic gradient descent optimizer and need to find which direction to adjust our model parameters next. Calculate the gradient of our loss function at the current parameter values [2.5, 1.8, 0.9] so we know which way to move."},{"title":"Fluid dynamics flow rate analysis","prompt":"For our simulation, I need to find the direction of steepest change in the velocity field at a specific location. Can you get me the gradient vector of our flow function at point (3, 4, 2) so we can model particle movement?"}],"resultDescription":"Returns a JSON object with success=true, a result object containing the gradient vector (array of partial derivatives, one per dimension), and a human-readable computation string describing what was computed.","failureModes":["Invalid or unparseable function expression string returns error","Point array dimension mismatch or empty array returns error","Function with singularity or undefined value at the given point may return NaN or error","Malformed request body missing required fields returns 400-level error","Payment failure via x402 micropayment returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need fast, serverless numerical gradient computation for multivariable functions without setting up a local math library or scientific computing environment. Ideal for AI agents performing optimization, sensitivity analysis, or calculus tasks where no external data dependencies are needed. Prefer over symbolic math engines when numerical approximation is sufficient and speed matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:55:51.777Z","isFirstParty":false}