Forecast (Holt-Winters seasonal) · Forecast Holt Winters

by Forecast (Holt-Winters seasonal)

POSTBaseSolanaArbitrumPolygonMonadAvalancheeip155:1329OptimismFraxtaleip155:42220stellar:pubnetalgorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=

$0.001

per call · USD Coin on Base

Holt-Winters triple exponential smoothing - level + trend + seasonal component. Use for series with a repeating cycle (weekly retail traffic, monthly utility usage, quarterly revenue). Additive seasonality (constant amplitude) or multiplicative (amplitude grows with level). `period` is optional - if omitted, the kit auto-detects via autocorrelation on first differences and surfaces what it picked (with the ACF strength) so you can audit. Needs at least two full seasonal cycles to fit reliably.

Endpoint

POST https://agent402.tools/api/forecast-holt-winters

4

Calls / 30d

1

Unique payers / 30d

Aug 31

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://agent402.tools/api/forecast-holt-winters", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "horizon": 4,
    "period": 4,
    "values": [
      10,
      14,
      18,
      22,
      11,
      15,
      19,
      23,
      12,
      16,
      20,
      24
    ]
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agent402.tools/api/forecast-holt-winters" \
  -H "Content-Type: application/json" \
  -d '{"horizon":4,"period":4,"values":[10,14,18,22,11,15,19,23,12,16,20,24]}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "alpha": 0.5,
  "beta": 0.1,
  "forecast": [
    {
      "lower95": 11.6958,
      "point": 12.5324,
      "step": 1,
      "upper95": 13.369
    },
    {
      "lower95": 15.5421,
      "point": 16.7253,
      "step": 2,
      "upper95": 17.9084
    },
    {
      "lower95": 19.4972,
      "point": 20.9462,
      "step": 3,
      "upper95": 22.3952
    },
    {
      "lower95": 23.5098,
      "point": 25.1831,
      "step": 4,
      "upper95": 26.8563
    }
  ],
  "gamma": 0.1,
  "horizon": 4,
  "method": "holt-winters",
  "n": 12,
  "period": 4,
  "periodSource": "provided",
  "seasonality": "additive"
}

Payment details

Pay to0xabf4fabd7c416fb67202e5f9002389fc75e2a9d0
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon, Monad, Avalanche, eip155:1329, Optimism, Fraxtal, eip155:42220, stellar:pubnet, algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=
Schemesexact, upto

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from Forecast (Holt-Winters seasonal) & similar services