# Meta Data

This endpoint provides information which describes a specific weather station. The output includes meta data like latitude, longitude and elevation.

# Endpoint

GET https://meteostat.p.rapidapi.com/stations/meta

# Parameters

You’ll need to specify one of the following parameters.

Parameter Description Type Required Default
id The Meteostat ID of the weather station String No undefined
wmo The WMO ID of the weather station Integer No undefined
icao The ICAO ID of the weather station String No undefined

# Response

The response body includes the following properties.

  • id: Meteostat ID (String)
  • name: Name in different languages (Object)
  • country: ISO 3166-1 alpha-2 country code, e.g. CA for Canada (String)
  • region: ISO 3166-2 state or region code, e.g. TX for Texas (String)
  • identifiers: Identifiers (Object)
    • national: National ID (String)
    • wmo: WMO ID (String)
    • icao: ICAO ID (String)
  • location: Geographic location (Object)
    • latitude: Latitude (Float)
    • longitude: Longitude (Float)
    • elevation: Elevation in meters (Integer)
  • timezone: Time zone (String)
  • inventory: Available data by frequency (Object)
    • model: Hourly model inventory data (Object)
      • start: First day (YYYY-MM-DD) of hourly model data (String)
      • end: Last day (YYYY-MM-DD) of hourly model data (String)
    • hourly: Hourly inventory data (Object)
      • start: First day (YYYY-MM-DD) of hourly data (String)
      • end: Last day (YYYY-MM-DD) of hourly data (String)
    • daily: Daily inventory data (Object)
      • start: First day (YYYY-MM-DD) of daily data (String)
      • end: Last day (YYYY-MM-DD) of daily data (String)
    • monthly: Monthly inventory data (Object)
      • start: First year (YYYY) of monthly data (String)
      • end: Last year (YYYY) of monthly data (String)
    • normals: Climate normals inventory data (Object)
      • start: First year (YYYY) of climate normals data (Integer)
      • end: Last year (YYYY) of climate normals data (Integer)

# Example

The following example requires the cURL command-line interface. Alternatively, you can use an API client like Postman.

curl --request GET \
	--url 'https://meteostat.p.rapidapi.com/stations/meta?id=10637' \
	--header 'x-rapidapi-host: meteostat.p.rapidapi.com' \
	--header 'x-rapidapi-key: {key}'

Please replace {key} with your personal API key.

# Data Response

That’s the expected response:

{
    "meta": {
        "exec_time": 0.003,
        "generated": "2021-06-21 18:23:58"
    },
    "data": {
        "id": "10637",
        "name": {
            "de": "Frankfurt Flughafen",
            "es": "Aeropuerto de Fráncfort",
            "en": "Frankfurt Airport"
        },
        "country": "DE",
        "region": "HE",
        "identifier": {
            "national": "01420",
            "wmo": "10637",
            "icao": "EDDF"
        },
        "location": {
            "latitude": 50.05,
            "longitude": 8.6,
            "elevation": 111
        },
        "timezone": "Europe/Berlin",
        "inventory": {
            "model": {
                "start": "2018-01-28",
                "end": "2021-06-29"
            },
            "hourly": {
                "start": "1926-01-01",
                "end": "2021-06-20"
            },
            "daily": {
                "start": "1934-05-01",
                "end": "2021-06-18"
            },
            "monthly": {
                "start": 1934,
                "end": 2021
            },
            "normals": {
                "start": 1961,
                "end": 2020
            }
        }
    }
}
Last Updated: 6/23/2021, 12:30:43 PM