Skip to main content

Getting Started with Nolano

Learn how to make your first forecast request and manage API keys.

Get Your API Key

To use the Nolano API, you need a valid API key. You can create and manage your API keys from the Nolano Dashboard.Your API key will look like:
ak_577aa2f186866ec0c75d1068bcff79cd3da4344b80aec1572e0fa07b364227d6
Test your API key with a simple request to ensure it’s working correctly:
    curl -X GET "https://api.nolano.ai/verify" \
      -H "Authorization: Bearer your_api_key_here" \
      -H "Content-Type: application/json"
Make sure to include your API key in the Authorization header. The API uses secure authentication to protect your data and ensure reliable access.

Make Your First Forecast

Once your API key is validated, you can send time series data for forecasting. Here’s an example request with sample time series data:
curl -X POST https://api.nolano.ai/forecast \
  -H "Authorization: Bearer your_api_key_here" \
  -H "Content-Type: application/json" \
  -H "X-Model-Selector: forecast-model-1" \
  -d '{
    "series": [
      {
        "timestamps": ["2023-01-01T00:00:00", "2023-01-02T00:00:00", "2023-01-03T00:00:00", "2023-01-04T00:00:00", "2023-01-05T00:00:00"],
        "values": [10, 12, 15, 13, 16]
      }
    ],
    "forecast_horizon": 5,
    "data_frequency": "Daily",
    "forecast_frequency": "Daily",
    "confidence": 0.95
  }'
The API will respond with forecast predictions, confidence intervals, and metadata:
{
  "forecast_timestamps": ["2023-01-06T00:00:00", "2023-01-07T00:00:00", "2023-01-08T00:00:00", "2023-01-09T00:00:00", "2023-01-10T00:00:00"],
  "lower_bound": [14.5, 15.5, 16.5, 17.5, 18.5],
  "median": [15.0, 16.0, 17.0, 18.0, 19.0],
  "upper_bound": [15.5, 16.5, 17.5, 18.5, 19.5]
}

Next Steps