the402 endpoint detail

← All endpoints

x402.forgemesh.io trend-line-calculator

https://x402.forgemesh.io/trend-line-calculator

payable

Fits a straight trend line through a set of x/y data pairs and returns slope, y-intercept, and R-squared fit quality. Useful for spotting growth trends, forecasting next values from historical data, and validating whether a relationship is actually linear before an agent bases a decision on it. Computed exactly, with no sampling error.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.002
Network
base
Pay to
0x850363a27F0aC6fEb9C7a3eC4C1d295262dF9432
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
50 ms
Payment options
1 usable of 1
Last checked
2026-08-10T09:17:28.882Z (2d ago)
Category
data

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fx402.forgemesh.io%2Ftrend-line-calculator"