Skip to main content

Overview

To authenticate with OpenWeather API, you need:
  1. API Key — the API key (APPID) from your OpenWeather account.
  2. API Host — the OpenWeather host for your plan and region.
This guide will show you how to get them.

Prerequisites

  • An OpenWeather account. If you don’t have one, sign up and confirm your email address. The Free plan includes an API key.

Step 1: Copy your API key

  1. Sign in to OpenWeather and click the API keys tab in your personal account.
OpenWeather personal account with the API keys tab highlighted
  1. Copy the Default key, or enter a name under Create key and click Generate.
OpenWeather API keys page with the Create key form and Generate button
  1. Copy the key from the Key column.
OpenWeather API keys table with the new key in the Key column A new key is activated automatically up to 2 hours after you create it. Until then, OpenWeather rejects it.

Step 2: Choose your API host

Pick the host that matches your OpenWeather plan: Free API calls only work on api.openweathermap.org. For a paid plan, use the host given in the confirmation email OpenWeather sends when your subscription is activated. See How to start to work with OpenWeather API.

Step 3: Enter your credentials in the Connect UI

  1. Open the form where you need to authenticate with OpenWeather API.
  2. Select your host in the API Host field.
  3. Enter your API key in the API Key field.
  4. Submit the form, and you should be successfully authenticated.
OpenWeather API Connect UI form with the API Host and API Key fields You are now connected to OpenWeather API.