{"uid":"cap_Vf03SyVSTWHoAgxYFHX_G","slug":"numora-calculus-gradient-api-7b9f10e1","name":"Numora Calculus Gradient 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/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":"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.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_rqrMCl2Dk-mfhVR2S2CYy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the numerical gradient (vector of partial derivatives) of a multivariable function at a specified point","exampleAgentPrompt":"Can you compute the gradient of the function x^2 + y^2 + z^2 at the point [1, 2, 3]?","exampleUseCases":[{"title":"Gradient descent step direction","prompt":"I'm implementing gradient descent by hand — can you compute the gradient of the function 3*x^2 + 2*y^2 - x*y at the point [1, -1] so I know which direction to step?"},{"title":"Steepest ascent on terrain model","prompt":"I have a scalar elevation function z = sin(x)*cos(y) and I want to know the gradient at the point [0.5, 0.5] — which direction is uphill the fastest?"},{"title":"Sensitivity analysis for engineering model","prompt":"Can you find the gradient of the function x^3 - 2*x*y + y^2 evaluated at [2, 3]? I need the partial derivatives to do a local sensitivity analysis."}],"resultDescription":"Returns a JSON object with a 'success' boolean, a 'result' object containing the gradient vector (array of partial derivative values, one per input dimension), and a 'computation' string describing in human-readable terms what was calculated.","failureModes":["Invalid or unparseable function expression string returns an error","Point array dimension mismatch with the function's variables causes failure","Division by zero or undefined values at the evaluation point","Malformed JSON body or missing required fields 'fn' or 'point'","Payment failure via x402 micropayment if insufficient USDC balance"],"whenToPreferThis":"Choose this endpoint when you need a reliable, zero-dependency numerical gradient computation for any multivariable scalar function without setting up a local math library. Ideal for AI agents performing optimization, sensitivity analysis, or calculus steps on the fly. Prefer over symbolic differentiation services when speed and simplicity matter more than exact closed-form results, and when the function is complex or numerically defined.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:49:25.253Z","isFirstParty":false}