Forecasting, trends & predictions
Predictive analytics APIs for time series forecasting, demand prediction, and trend analysis.
Predict future values from historical data. Advanced algorithms for accurate time-based predictions.
POST /api/v1/predict/timeseries
{ "data": [100, 120, 115, 130, 145],
"periods": 5,
"frequency": "daily" }
// Response
{ "forecast": [152, 158, 163, 170, 176],
"confidence_interval": { "lower": [...],
"upper": [...] },
"model": "auto_arima" }
Forecast product demand and inventory needs. Optimize stock levels and reduce waste.
POST /api/v1/predict/demand
{ "product_id": "SKU-12345",
"historical_sales": [...],
"forecast_days": 30 }
// Response
{ "predicted_demand": 1250,
"daily_forecast": [...],
"reorder_point": 450,
"confidence": 0.92 }
Predict customer churn probability. Identify at-risk customers before they leave.
POST /api/v1/predict/churn
{ "customer_id": "C-98765",
"activity_data": {...},
"tenure_months": 18 }
// Response
{ "churn_probability": 0.73,
"risk_level": "high",
"key_factors": ["low_engagement",
"support_tickets"],
"retention_score": 27 }
Detect anomalies in data streams. Real-time monitoring for unusual patterns and outliers.
POST /api/v1/predict/anomaly
{ "data_stream": [45, 47, 46, 48, 120, 47],
"sensitivity": "medium" }
// Response
{ "anomalies": [
{ "index": 4, "value": 120,
"expected": 47, "deviation": 3.2,
"severity": "high" }
],
"baseline": 46.6 }
Analyze and predict market trends. Identify patterns, momentum, and future direction.
POST /api/v1/predict/trend
{ "data": [...],
"analysis_type": "market",
"window": "90d" }
// Response
{ "trend": "upward",
"momentum": 0.78,
"seasonality": { "detected": true,
"period": "weekly" },
"forecast_direction": "bullish",
"confidence": 0.85 }
Get your API key and start using Predictive APIs in minutes.