Station MetaData

Station Metadata API
Powered by DTN

Overview


If you need a detailed information about the stations that provide weather forecast and weather observation data you can use our Station Metadata REST API for this.
Just make request with (optional) parameters that filters stations and get metadata in GeoJSON format.

How is the request processed?


Once a properly-authenticated and formatted request is received, the application will query the Stations from the repository.

The data is then processed and returned to you, formatted in the GeoJSON format. This makes it easy to use in your business and third party systems.

Formatting


A sample request using the Station Metadata API looks like this:

https://station-metadata.weather.mg/stations?countryIsoCode=DE&hasObservationData=true

The above request will return the information about stations from Germany that have observation data.


The returned data will be formatted in GeoJSON, and will look like this:


                {
                    "type": "FeatureCollection",
                    "features": [
                        {
                            "type": "Feature",
                            "properties": {
                                "accessVisibility": "public",
                                "countryIsoCode": "DE",
                                "provider": "DWD",
                                "hasForecastData": true,
                                "wmoCountryId": 69,
                                "meteoGroupStationId": 10020,
                                "name": "List/Sylt",
                                "hasObservationData": true,
                                "stationTimeZoneName": "Europe/Berlin",
                                "type": "WMO"
                            },
                            "geometry": {
                                "type": "Point",
                                "coordinates": [
                                    8.4125,
                                    55.0112,
                                    26
                                ]
                            }
                        },
                        {
                            "type": "Feature",
                            "properties": {
                                "accessVisibility": "public",
                                "icaoCode": "ETML",
                                "countryIsoCode": "DE",
                                "provider": "DWD/BuWe",
                                "hasForecastData": true,
                                "wmoCountryId": 69,
                                "meteoGroupStationId": 10067,
                                "name": "Marienleuchte",
                                "hasObservationData": true,
                                "stationTimeZoneName": "Europe/Berlin",
                                "type": "WMO"
                            },
                            "geometry": {
                                "type": "Point",
                                "coordinates": [
                                    11.2406,
                                    54.4936,
                                    5
                                ]
                            }
                        }
                      ]
                }
    

Examples of useful parameters for the Station Metadata API to filter stations are:


Authentication


For detailed instructions on how to obtain the necessary authorization information, please refer to the technical documentation on Bitbucket.

Nitty-Gritty


For more detailed information on this API, check us out on Bitbucket.