DWD API Token

Obtain an API token for fetching weather forecast data from Deutscher Wetterdienst (DWD). Play around with the API using the options editor on this page, and grab the resulting link as an example format to use in your own application.

The Starter Plan has a simple pay-as-you-go monthly pricing structure (choose your preferred currency in the Currency section below):

  • free trial period (3 days)
  • one-off --.-- at end of trial (unless cancelled)
  • thereafter 5000 free API calls per month (p/m)
  • then only --.---- per API call (+ flat fee of --.-- p/m)

You can choose between MOSMIX, ICON-EU, ICON-D2 and COSMO-D2 models (*). MOSMIX is global and is based on ICON-Global and ECMWF models, while ICON-EU covers Europe only but at higher spatial resoluation (6.5km vs 13km grid size).

On the other hand, the COSMO-D2 model covers mainly Germany but also extends at least partly to neighbouring countries like Austria, Switzerland, Benelux and some of France and Italy. COSMO-D2 has a higher resolution of 2.2km. ICON-D2 is similar to COSMO-D2, and is the planned replacement for COSMO-D2 in late 2020 (currently only updated twice a day).

(*) support for models other than MOSMIX was withdrawn on 15 June 2024.

Subscribe Now

Enter your email address and click on the button below to subscribe to the Starter Plan and obtain a token for immediate use. Payment information is required even if you do not expect to use more than the free quota.

To manage your subscription, including adding or removing payment cards, please refer to the Subscription Management section.

Currency

Choose your preferred currency:

Subscription Management

The customer portal allows you to review or cancel your subscription, view your billing history, and update your card details.

Enter your API token below and click the button to open the customer portal:

You can also check on your current and recent usage via the following button.

Options Editor

All available options are presented below (click on the arrow icon to expand). Each time a change is made to an option, a new API call is sent and the fetched data is presented in the Results panel below.

If you require an API token, see the separate panel on this page to obtain one. The demo API token only works for the default location.

Results

Use the direct URL to make the API call. The result of this call is presented below.

Raw Options

You can also make changes to the options here by editing the values in the editor below and then clicking

Editor Options

Meteogram API

You might also be interested in the Meteogram API for fetching a fully-featured meteogram graphic for use on your own website or even in a widget on your mobile device.

Validation

This will update whenever the form changes to show validation errors if there are any.

Schema

You can change the schema by pasting a new version below and then clicking

Code

// Set default options
JSONEditor.defaults.options.theme = 'bootstrap2';

// Initialize the editor
const editor = new JSONEditor(document.getElementById('editor_holder'),{
  schema: {
      type: 'object',
      properties: {
          name: { 'type': 'string' }
      }
  }
});

// Set the value
editor.setValue({
    name: 'John Smith'
});

// Get the value
const data = editor.getValue();
console.log(data.name); // 'John Smith'

// Validate
const errors = editor.validate();
if(errors.length) {
  // Not valid
}

// Listen for changes
editor.on('change',  function() {
  // Do something...
});