Batch Processing

Process multiple forecasts in a single request to cut your per-forecast cost in half while unlocking batch-level analytics that aren't available on individual requests.

Save 50% with batch processing

Individual and batch forecasts return the same results — batching simply costs less per forecast.

Individual forecasts $0.10 / forecast
Batch forecasts $0.05 / forecast

Key Benefits

Cost Efficiency

  • 50% cost reduction per forecast
  • No minimum batch size requirements
  • Pay only for what you use

Enhanced Analytics

  • ABC classification analysis
  • Customer concentration insights
  • Price elasticity analysis

Performance

  • Parallel processing for faster results
  • Reduced network overhead
  • Scalable to thousands of forecasts

Advanced Features

  • Webhook support for async processing
  • Better accuracy through more training time
  • Batch-level statistics and insights

Advanced Analytics

Available exclusively on batch requests.

ABC Classification

Automatically categorize your items into A, B, and C categories based on forecast values to prioritize inventory management and resource allocation.

Customer Concentration

Identify your most valuable customers and understand revenue distribution across your customer base for strategic planning.

Price Elasticity

Analyze how price changes affect demand patterns to optimize pricing strategies and maximize revenue.

Technical Specifications

Request Limits

  • Maximum entities per batch: 1,000
  • Supported data types: JSON
  • Compression: GZip supported

Response Format

  • Individual forecasts: Full forecast data for each item
  • Batch summary: Aggregated statistics
  • Analytics: ABC classification, concentration analysis, more
  • Processing time: Included in response

Best Practices

  • Group similar data types. Combine items with similar forecasting patterns for better method selection.
  • Use appropriate batch sizes. Balance between cost savings and processing time requirements.
  • Leverage webhooks. Use asynchronous processing for large batches to avoid timeout issues.
  • Monitor batch analytics. Use the provided insights to optimize your forecasting strategy.

Example Usage

curl -X POST "https://forecastapi.com/v2/batch/forecast" \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "series": [
      {
        "identifier": "SKU-001",
        "data": [
          {"date": "2024-01-01", "value": 100},
          {"date": "2024-02-01", "value": 150}
        ],
        "frequency": "M",
        "data_type": "sales",
        "periods": 3
      },
      {
        "identifier": "SKU-002",
        "data": [
          {"date": "2024-01-01", "value": 200},
          {"date": "2024-02-01", "value": 180}
        ],
        "frequency": "M",
        "data_type": "sales",
        "periods": 3
      }
    ],
    "frequency": "M",
    "confidence": 0.80
  }'

Ready to get started?

Check out the API reference for detailed endpoint documentation and examples.