Asoba Ona Documentation

Forecasting API Overview

This section provides complete documentation for all forecasting-related API endpoints. Our forecasting APIs enable you to generate accurate energy forecasts for renewable energy assets, supporting use cases from energy trading to maintenance planning.

Our APIs follow RESTful conventions and return JSON responses. All endpoints require authentication via API keys, and we provide comprehensive request/response examples for each endpoint. Whether you’re using our freemium API for testing or the full forecasting API for production, this documentation covers everything you need.

Quick Start

To generate your first forecast, see the Get Started guide. This tutorial walks you through making your first API call using our freemium endpoint.

curl -X POST \
  -F "file=@/path/to/your/sample.csv" \
  -F "email=user@example.com" \
  -F "site_name=My First Solar Site" \
  -F "location=Durban" \
  https://api.asoba.co/v1/freemium-forecast

Endpoints

Generate Forecast

Generate forecasts using trained ML models with the full forecasting API. This endpoint supports customer-specific models, custom forecast horizons, and advanced parameters. Uses the `ForecastResponse.json` schema for structured responses.

View Endpoint →

Freemium Forecast

Generate a 24-hour forecast from a CSV file using our free tier API. Perfect for testing and evaluation, this endpoint requires no authentication and provides immediate results. Ideal for quick prototyping and initial assessments.

View Endpoint →

Authentication

Learn how to authenticate API requests using API keys and tokens. This guide covers key management, request signing, and security best practices. Required for all production endpoints.

View Guide →

API Design Principles

Our forecasting APIs follow standard RESTful conventions:

Request Structure

All forecasting API requests follow a consistent structure:

Response Structure

Forecast responses include:

These endpoints are most frequently used:

Next Steps

Now that you understand the forecasting APIs:

  1. Try Freemium API: Start with Freemium Forecast for quick testing
  2. Set Up Authentication: Review Authentication for API keys
  3. Generate Forecasts: Use Generate Forecast for production use
  4. Explore Guides: Check Forecasting Guides for best practices
  5. Review Technical Details: Learn about ML Models

See Also