ForecastAPI Documentation

Getting Started

ForecastAPI automatically selects the best forecasting method for your time series data. No machine learning expertise required – just send your data and get accurate predictions in milliseconds.

What is ForecastAPI?

ForecastAPI is a powerful time series forecasting service that automatically analyzes your data patterns and selects the most appropriate forecasting method. Whether you're predicting sales, demand, inventory levels, web traffic, or any other time-based metric, our API delivers accurate results without requiring data science expertise.

Key Features

Automatic Model Selection

Our algorithms analyze your data patterns and automatically select the best forecasting method from our library of proven models.

Sub-Second Response

Get forecasting results in under 300ms. Our optimized algorithms deliver fast predictions suitable for real-time applications.

Multiple Data Types

Specialized handling for sales, demand, inventory, web traffic, and custom data types with context-aware model selection.

Confidence Intervals

Every forecast includes confidence intervals to help you understand prediction reliability and plan for uncertainty.

Quick Example

curl -X POST https://forecastapi.com/v2/forecast \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "data": [
      {"date": "2024-01", "value": 120},
      {"date": "2024-02", "value": 135},
      {"date": "2024-03", "value": 155}
    ],
    "periods": 6,
    "frequency": "M",
    "data_type": "sales"
  }'