Actual weather and current weather data

One of the most popular uses of weather data is getting information about the current weather at a specific location.

To request information about the current weather at a certain point, you need to include the now object in the request and list the fields you want to get in the response.

Meteum can provide data on:

  • temperature – temperature;
  • air humidity – humidity;
  • atmospheric pressure – pressure;
  • precipitation type and intensity – precType, precStrength;
  • wind speed and direction – windSpeed, windDirection;
  • cloudiness – cloudiness;
  • other weather parameters.

You can use the special units of measurement:

You can check a detailed list of available fields and their arguments at Full GraphQL specification.

Example:



{
  weatherByPoint(request: {lat: 52.37125, lon: 4.89388}) {
    now {
      cloudiness
      humidity
      precType
      precStrength
      pressure
      temperature
      fahrenheit: temperature(unit: FAHRENHEIT)
      windSpeed
      windDirection
    }
  }
}
Response
{
    "data": {
        "weatherByPoint": {
            "now": {
                "cloudiness": "OVERCAST",
                "humidity": 85,
                "precType": "NO_TYPE",
                "precStrength": "ZERO",
                "pressure": 759,
                "temperature": 13,
                "fahrenheit": 55,
                "windSpeed": 5,
                "windDirection": "NORTH"
            }
        }
    }
}