API & MCP

Everything a person can do on Time-Series Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Time-Series Explorer

Upload or paste dated values (one or several series, wide or long format). The explorer resamples to days, weeks, months, quarters or years, adds moving averages (simple, exponential or centred), fits a linear trend with R², estimates weekday or month-of-year seasonality, computes period and year-over-year change and flags anomalies by z-score or IQR, with charts, tables and a CSV export.

Inputs of Time-Series Explorer
FieldTypeDefaultDescription
filefile—CSV, TSV or Excel file. Max 20 MB. One date column plus one or more value columns (wide), or date, series and value columns (long).
datatextarea—Or paste data. First row = headers. Dates like 2026-03-01, 01.03.2026, 03/01/2026, 2026-03 or Mar 2026.
sheettext—Excel sheet
dateColumntext—Date column. Empty: the first date column.
valueColumnstext—Value columns. Comma-separated; empty: all numeric columns (max 8).
seriesColumntext—Series column (long format). Optional: a column naming the series of each row; then the first value column holds the values.
resampleselect (auto, day, week, month, quarter, year)"auto"Resample to
resampleAggselect (mean, sum, last, first, min, max, median)"mean"Combine values in a period by
smoothingselect (sma, ema, centred, none)"sma"Moving average
windowinteger7Moving-average window
seasonalityselect (auto, weekday, month, quarter, none)"auto"Seasonality
anomalyMethodselect (zscore, iqr, none)"zscore"Anomaly detection
thresholdnumber—Anomaly threshold. z-score: flag |z| above this (default 3). IQR: fences at k × IQR (default 1.5).
pngbooleantrueAlso create a PNG of the main chart

Example request

Daily visits: weekday pattern, trend and two anomalies

curl -X POST https://timeseriesexplorer.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"data":"date,visits\n2026-01-05,98\n2026-01-06,104.5\n2026-01-07,109\n2026-01-08,105.5\n2026-01-09,106\n2026-01-10,92.5\n2026-01-11,91\n2026-01-12,105.5\n2026-01-13,107\n2026-01-14,111.5\n2026-01-15,108\n2026-01-16,108.5\n2026-01-17,100\n2026-01-18,93.5\n2026-01-19,108\n2026-01-20,109.5\n2026-01-21,114\n2026-01-22,115.5\n2026-01-23,111\n2026-01-24,102.5\n2026-01-25,96\n2026-01-26,110.5\n2026-01-27,117\n2026-01-28,161.5\n2026-01-29,118\n2026-01-30,113.5\n2026-01-31,105\n2026-02-01,103.5\n2026-02-02,113\n2026-02-03,119.5\n2026-02-04,119\n2026-02-05,120.5\n2026-02-06,121\n2026-02-07,107.5\n2026-02-08,106\n2026-02-09,115.5\n2026-02-10,122\n2026-02-11,126.5\n2026-02-12,123\n2026-02-13,123.5\n2026-02-14,110\n2026-02-15,108.5\n2026-02-16,123\n2026-02-17,124.5\n2026-02-18,129\n2026-02-19,125.5\n2026-02-20,126\n2026-02-21,117.5\n2026-02-22,111\n2026-02-23,125.5\n2026-02-24,127\n2026-02-25,93.5\n2026-02-26,133\n2026-02-27,128.5\n2026-02-28,120\n2026-03-01,113.5\n2026-03-02,128\n2026-03-03,134.5\n2026-03-04,134\n2026-03-05,135.5\n2026-03-06,131\n2026-03-07,122.5\n2026-03-08,121\n2026-03-09,130.5\n2026-03-10,137\n2026-03-11,136.5\n2026-03-12,138\n2026-03-13,138.5\n2026-03-14,125\n2026-03-15,123.5","smoothing":"sma","window":7,"png":false}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "time-series-explorer": { "type": "http", "url": "https://timeseriesexplorer.usefulweb.site/mcp" }
  }
}