Configure Open Meteo REST API
This page demonstrates how to configure a Rest API connection with Open Meteo and configure two methods to retrieve the Current Weather and the Daily Weather based on the longitude and latitude of a location.
This REST API can be reused across flows by configuring it in the API Call node. This REST API is a prerequisite for the Weather Flow with Open Meteo API tutorial.
Step 1: Configure the REST API settings
Sign in to ixHello Customer v2.
In the left navigation menu, go to REST API
Select Create Connection to configure the REST API settings.
Name
Open Meteo
Description
Connect to open meteo without authorization
Customer v2 doesn't support editing the Name and Description of the REST API after creation. Ensure they are correct before saving.
Click Save to create the REST API and continue to the base URL and authorization type.
Base URL
Authorization Type
No Authorization

Click Save to update the settings and click Back to return to the Rest API configuration page.

Step 2: Configure get Current Weather Method
Open meteo's Current Weather returns real time information based on the Longitude and Latitude of a location. To allow the reuse of this method, the values longitude and latitude are placed between double curly braces. This means that the API call node is required to provide these values when invoking the method.
Click Create Method to configure get Current Weather method with the following settings.
Name
Current weather
Description
Get Current weather based on the longitude and latitude that's provided by the user
Request Type
GET
Method Path
/v1/forecast
Query String
latitude={{latitude}}&longitude={{longitude}}¤t=temperature_2m,relative_humidity_2m,apparent_temperature,is_day,precipitation,rain,showers,snowfall,weather_code,cloud_cover,pressure_msl,surface_pressure,wind_speed_10m,wind_direction_10m,wind_gusts_10m&timezone=Europe%2FBerlin&forecast_days=1
Request Header (Json)
empty
Result Type
Entry
Result Path
<space>
Record Path
<space>
Record Template
<space>
Record Limit
<space>
Valid Result Template
<space>
Empty Result Template
No results
Enter a <space> in a required setting to use the default value of that setting.

Click Save to create the Method and click Back to return to the Rest API configuration page.

Step 3: Configure get Daily Weather Method
Open meteo's Daily Weather returns daily weather forecast for a number of days based on the Longitude and Latitude of a location. To allow the reuse of this method, the values of forecast_days longitude and latitude are placed between double curly braces. This means that the API call node is required to provide these values when invoking the method.
Click Create Method to configure get Daily Weather method with the following settings.
Name
Daily
Description
Get Daily weather based on the needed number of days and the longitude and latitude that's provided by the user.
Request Type
GET
Method Path
/v1/forecast
Query String
latitude={{latitude}}&longitude={{longitude}}&daily=weather_code,temperature_2m_max,sunrise,sunset,daylight_duration,sunshine_duration,uv_index_max,uv_index_clear_sky_max,temperature_2m_min,apparent_temperature_max,apparent_temperature_min,rain_sum,showers_sum,snowfall_sum,precipitation_sum,precipitation_hours,precipitation_probability_max,wind_speed_10m_max,wind_gusts_10m_max,wind_direction_10m_dominant,shortwave_radiation_sum,et0_fao_evapotranspiration&timezone=Europe%2FBerlin&forecast_days={{days}}
Request Header (Json)
empty
Result Type
Entry
Result Path
<space>
Record Path
<space>
Record Template
<space>
Record Limit
<space>
Valid Result Template
<space>
Empty Result Template
No results
Enter a <space> in a required setting to use the default value of that setting.

Click Save to create the Method and click Back to return to the Rest API configuration page.

Next steps
The Open Meteo REST API with the two methods can now be configured in an API call node.
Learn more about API call nodes here, or continue with the Weather Flow tutorial!
Last updated
Was this helpful?