Weather Trigger API

  • Query global locations by geo-coordinates or post/zipcode
  • Query 7-days past, current, and 7-days forecast weather data
  • Returns yes/no response in JSON or JSONP format
  • Up to 3 queries in any single HTTP request

What WeatherTrigger can query

Element Unit Past 7
days data
Current data Forecast 7
days data
Precipitation Type Any Precipitation
Significant Precipitation
Heavy Precipitation
Any Rain
Significant Rain
Heavy Rain
Any Snow
Significant Snow
Heavy Snow
Temperature Celcius
Fahrenheit
Humidity Percentage
Wind Speed Meters per second
Kilometers per hour
Miles per hour
Knots
Wind Direction Degrees
Compass
Cloud Cover Percentage
Visibility Kilometers
Miles
Air Pressure Millibars
Inches
Precipitation Amount Millimeters
Inches
Rain Amount Millimeters
Inches
Snow Amount Centimeters
Inches

Example questions WeatherTrigger can answer

Here are just a few examples of the types of questions WeatherTrigger can answer;

Using Past data

  • “Has it snowed within the past 2 days in London?”
  • “Has it rained heavily in the past 3 hours in Paris?”
  • “Has the temperature got above 17ᵒc in Copenhagen in the past 5 days?”

Using Current data

  • “Is it currently over 90 degrees Fahrenheit in Manhattan?”
  • “Is it currently sunny in Tokyo?”
  • “Is the wind speed currently over 20mph in Sydney?”

Using Forecast data

  • “Is it going to be over 22 degrees Celsius this coming weekend in Madrid?”
  • “Is it going to snow tomorrow in Vienna?”
  • “Is the average daytime relative humidity going to be over 80% in Rome over the coming week?”

Multiple Questions

You can also send up to 3 queries in a single http request. The queries are separated using the Boolean functions ‘and’, ‘or’. Here are some examples of multiple question requests;

Using Past data

  • “In the past 2 days in London has it snowed and has the temperature gone below -4 degrees Celsius?”
  • “Has it rained in the past 3 hours or has it snowed in the past 3 hours in Paris?”
  • “For the past 24 hours in Chicago has the temperature been above 80 degrees Fahrenheit or below 50 degrees Fahrenheit and has it rained?”

Using Current data

  • “Is it currently over 90 degrees Fahrenheit in Los Angeles and sunny?”
  • “Is it currently cloudy or raining in Bangkok?”
  • “In Beijing is the wind speed currently over 15mph and coming from the North?”

Using Forecast data

  • “In Buenos Aires over the coming weekend is it going to be over 22 degrees Celsius and sunny?”
  • “Is it going to rain or snow tomorrow in Vienna?”
  • “In Rome over the coming week is the average daytime relative humidity going to be under 80% and will it be dry?”

For more detailed information on all the great functionality the WeatherTrigger API Service offers, please go to the Documentation.