4 min readUpdated Mar 2, 2026

OpenWeatherMap Integration Documentation

Overview

The OpenWeatherMap integration allows users to fetch current weather data, 5-day weather forecasts, and air pollution data through the OpenWeatherMap API. This integration is designed to work seamlessly with Vantage, enabling users to enhance their applications or analytics platforms with real-time weather information relevant to specific geolocations.

Key Features

Settings

1. API Key

2. Location Parameters

Various parameters can be used for specifying a location to get weather information:

3. Units

How It Works

The OpenWeatherMap integration utilizes methods to fetch weather data based on the specified location and parameters. Each method constructs a request to the OpenWeatherMap API, appending necessary parameters and the API key for authentication.

Method Descriptions

Data Expectations

The integration expects the following data for effective functioning:

Use Cases & Examples

Use Case 1: Weather-Dependent Application

A travel planning application needs to provide users with current weather conditions at their destination to suggest packing lists and activities.

Use Case 2: Environmental Monitoring

A sustainability dashboard tracks air quality based on real-time data to inform users about pollution levels in their vicinity, facilitating informed decision-making for outdoor activities.

Use Case 3: Agriculture Planning

Farmers could use this integration to receive weather forecasts and updates about air quality, assisting them in making timely decisions regarding planting, harvesting, and protecting crops.

Example Configuration

To implement the integration for a travel planning tool, consider configuring the following settings:

json
{
    "apiKey": "YOUR_API_KEY_HERE",
    "lat": 34.0522,
    "lon": -118.2437,
    "units": "imperial"
}

With the above configuration, the integration will fetch current weather data for Los Angeles, California, using Fahrenheit for temperature measurements, which is suitable for the target audience of U.S. travelers.

This will allow the users to plan their trips effectively, making informed choices based on the real-time weather conditions.