{"uid":"cap_ZgxfjRwNvY_xLSVG6RL62","slug":"numora-statistics-regression-endpoint-9e18c868","name":"Numora Statistics Regression 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/statistics/regression","method":"POST","headers":{},"bodySchema":{"type":"object","required":["x","y"],"properties":{"x":{"type":"array"},"y":{"type":"array"},"degree":{"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_cdIe61vyE8VE7IBgS6KIS","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":"Performs polynomial regression on paired x/y data arrays, returning fitted coefficients and goodness-of-fit metrics with zero external dependencies","exampleAgentPrompt":"Fit a quadratic polynomial (degree 2) regression to these data points — x: [1, 2, 3, 4, 5] and y: [2.1, 3.9, 9.1, 15.8, 25.2] — and tell me the coefficients and how well the curve fits.","exampleUseCases":null,"resultDescription":"Returns a JSON object with success flag, a computation string describing what was computed, and a result object containing regression coefficients, R-squared goodness-of-fit score, and other fitted model statistics appropriate to the polynomial degree requested.","failureModes":["x and y arrays of mismatched length — validation error returned","degree parameter exceeds number of data points — underdetermined system error","non-numeric values in x or y arrays — type error","missing required x or y fields — 400 bad request","degree not a positive integer — parameter validation error","payment not included or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need serverless, dependency-free polynomial regression computed on-demand with micropayment pricing — ideal for AI agents that need to fit curves to small-to-medium datasets without spinning up a data science stack or calling a heavy analytics platform. Prefer over general-purpose computation APIs when you need the result immediately with predictable per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:46:12.813Z","isFirstParty":false}