Weather API

Weather Information API

Algorithmia Platform License · Internet Access

Try the API

[
  {
    "current": {
      "date": "2017-06-29",
      "day": "Thursday",
      "feelslike": "75",
      "humidity": "69",
      "imageUrl": "http://blob.weather.microsoft.com/static/weather4/en-us/law/31.gif",
      "observationpoint": "New York, NY",
      "observationtime": "21:35:00",
      "shortday": "Thu",
      "skycode": "31",
      "skytext": "Clear",
      "temperature": "75",
      "winddisplay": "10 mph Southwest",
      "windspeed": "10 mph"
    },
    "forecast": [
      {
        "date": "2017-06-28",
        "day": "Wednesday",
        "high": "78",
        "low": "65",
        "precip": "",
        "shortday": "Wed",
        "skycodeday": "31",
        "skytextday": "Mostly Clear"
      },
      {
        "date": "2017-06-29",
        "day": "Thursday",
        "high": "81",
        "low": "73",
        "precip": "0",
        "shortday": "Thu",
        "skycodeday": "34",
        "skytextday": "Mostly Sunny"
      },
      {
        "date": "2017-06-30",
        "day": "Friday",
        "high": "85",
        "low": "75",
        "precip": "10",
        "shortday": "Fri",
        "skycodeday": "30",
        "skytextday": "Partly Sunny"
      },
      {
        "date": "2017-07-01",
        "day": "Saturday",
        "high": "81",
        "low": "73",
        "precip": "80",
        "shortday": "Sat",
        "skycodeday": "30",
        "skytextday": "Partly Sunny"
      },
      {
        "date": "2017-07-02",
        "day": "Sunday",
        "high": "86",
        "low": "73",
        "precip": "80",
        "shortday": "Sun",
        "skycodeday": "34",
        "skytextday": "Mostly Sunny"
      }
    ],
    "location": {
      "alert": "",
      "degreetype": "F",
      "imagerelativeurl": "http://blob.weather.microsoft.com/static/weather4/en-us/",
      "lat": "40.715",
      "long": "-74.007",
      "name": "New York, NY",
      "timezone": "-4"
    }
  },
  {
    "current": {
      "date": "2017-06-29",
      "day": "Thursday",
      "feelslike": "71",
      "humidity": "73",
      "imageUrl": "http://blob.weather.microsoft.com/static/weather4/en-us/law/29.gif",
      "observationpoint": "New York",
      "observationtime": "21:45:00",
      "shortday": "Thu",
      "skycode": "29",
      "skytext": "Partly Cloudy",
      "temperature": "71",
      "winddisplay": "9 mph South",
      "windspeed": "9 mph"
    },
    "forecast": [
      {
        "date": "2017-06-28",
        "day": "Wednesday",
        "high": "72",
        "low": "58",
        "precip": "",
        "shortday": "Wed",
        "skycodeday": "29",
        "skytextday": "Partly Cloudy"
      },
      {
        "date": "2017-06-29",
        "day": "Thursday",
        "high": "74",
        "low": "67",
        "precip": "40",
        "shortday": "Thu",
        "skycodeday": "30",
        "skytextday": "Partly Sunny"
      },
      {
        "date": "2017-06-30",
        "day": "Friday",
        "high": "76",
        "low": "68",
        "precip": "90",
        "shortday": "Fri",
        "skycodeday": "4",
        "skytextday": "T-Storms"
      },
      {
        "date": "2017-07-01",
        "day": "Saturday",
        "high": "79",
        "low": "65",
        "precip": "100",
        "shortday": "Sat",
        "skycodeday": "4",
        "skytextday": "T-Storms"
      },
      {
        "date": "2017-07-02",
        "day": "Sunday",
        "high": "75",
        "low": "60",
        "precip": "100",
        "shortday": "Sun",
        "skycodeday": "30",
        "skytextday": "Partly Sunny"
      }
    ],
    "location": {
      "alert": "",
      "degreetype": "F",
      "imagerelativeurl": "http://blob.weather.microsoft.com/static/weather4/en-us/",
      "lat": "42.937",
      "long": "-75.611",
      "name": "New York, NY",
      "timezone": "-4"
    }
  },
  {
    "current": {
      "date": "2017-06-29",
      "day": "Thursday",
      "feelslike": "87",
      "humidity": "65",
      "imageUrl": "http://blob.weather.microsoft.com/static/weather4/en-us/law/31.gif",
      "observationpoint": "New York, TX",
      "observationtime": "20:45:00",
      "shortday": "Thu",
      "skycode": "31",
      "skytext": "Clear",
      "temperature": "83",
      "winddisplay": "5 mph Southeast",
      "windspeed": "5 mph"
    },
    "forecast": [
      {
        "date": "2017-06-28",
        "day": "Wednesday",
        "high": "89",
        "low": "70",
        "precip": "",
        "shortday": "Wed",
        "skycodeday": "31",
        "skytextday": "Clear"
      },
      {
        "date": "2017-06-29",
        "day": "Thursday",
        "high": "92",
        "low": "76",
        "precip": "0",
        "shortday": "Thu",
        "skycodeday": "26",
        "skytextday": "Cloudy"
      },
      {
        "date": "2017-06-30",
        "day": "Friday",
        "high": "91",
        "low": "76",
        "precip": "30",
        "shortday": "Fri",
        "skycodeday": "30",
        "skytextday": "Partly Sunny"
      },
      {
        "date": "2017-07-01",
        "day": "Saturday",
        "high": "94",
        "low": "72",
        "precip": "20",
        "shortday": "Sat",
        "skycodeday": "30",
        "skytextday": "Partly Sunny"
      },
      {
        "date": "2017-07-02",
        "day": "Sunday",
        "high": "95",
        "low": "72",
        "precip": "20",
        "shortday": "Sun",
        "skycodeday": "30",
        "skytextday": "Partly Sunny"
      }
    ],
    "location": {
      "alert": "",
      "degreetype": "F",
      "imagerelativeurl": "http://blob.weather.microsoft.com/static/weather4/en-us/",
      "lat": "32.168",
      "long": "-95.669",
      "name": "New York, TX",
      "timezone": "-5"
    }
  },
  {
    "current": {
      "date": "2017-06-29",
      "day": "Thursday",
      "feelslike": "85",
      "humidity": "66",
      "imageUrl": "http://blob.weather.microsoft.com/static/weather4/en-us/law/31.gif",
      "observationpoint": "New York, KY",
      "observationtime": "20:45:00",
      "shortday": "Thu",
      "skycode": "31",
      "skytext": "Mostly Clear",
      "temperature": "82",
      "winddisplay": "8 mph South",
      "windspeed": "8 mph"
    },
    "forecast": [
      {
        "date": "2017-06-28",
        "day": "Wednesday",
        "high": "87",
        "low": "70",
        "precip": "",
        "shortday": "Wed",
        "skycodeday": "31",
        "skytextday": "Clear"
      },
      {
        "date": "2017-06-29",
        "day": "Thursday",
        "high": "88",
        "low": "75",
        "precip": "0",
        "shortday": "Thu",
        "skycodeday": "34",
        "skytextday": "Mostly Sunny"
      },
      {
        "date": "2017-06-30",
        "day": "Friday",
        "high": "84",
        "low": "74",
        "precip": "70",
        "shortday": "Fri",
        "skycodeday": "4",
        "skytextday": "T-Storms"
      },
      {
        "date": "2017-07-01",
        "day": "Saturday",
        "high": "83",
        "low": "71",
        "precip": "80",
        "shortday": "Sat",
        "skycodeday": "4",
        "skytextday": "T-Storms"
      },
      {
        "date": "2017-07-02",
        "day": "Sunday",
        "high": "89",
        "low": "71",
        "precip": "10",
        "shortday": "Sun",
        "skycodeday": "34",
        "skytextday": "Mostly Sunny"
      }
    ],
    "location": {
      "alert": "",
      "degreetype": "F",
      "imagerelativeurl": "http://blob.weather.microsoft.com/static/weather4/en-us/",
      "lat": "36.99",
      "long": "-88.976",
      "name": "New York, KY",
      "timezone": "-5"
    }
  },
  {
    "current": {
      "date": "2017-06-29",
      "day": "Thursday",
      "feelslike": "75",
      "humidity": "62",
      "imageUrl": "http://blob.weather.microsoft.com/static/weather4/en-us/law/32.gif",
      "observationpoint": "New York, IA",
      "observationtime": "20:45:00",
      "shortday": "Thu",
      "skycode": "32",
      "skytext": "Sunny",
      "temperature": "75",
      "winddisplay": "5 mph Southwest",
      "windspeed": "5 mph"
    },
    "forecast": [
      {
        "date": "2017-06-28",
        "day": "Wednesday",
        "high": "84",
        "low": "65",
        "precip": "",
        "shortday": "Wed",
        "skycodeday": "31",
        "skytextday": "Mostly Clear"
      },
      {
        "date": "2017-06-29",
        "day": "Thursday",
        "high": "82",
        "low": "65",
        "precip": "60",
        "shortday": "Thu",
        "skycodeday": "34",
        "skytextday": "Mostly Sunny"
      },
      {
        "date": "2017-06-30",
        "day": "Friday",
        "high": "79",
        "low": "61",
        "precip": "60",
        "shortday": "Fri",
        "skycodeday": "28",
        "skytextday": "Mostly Cloudy"
      },
      {
        "date": "2017-07-01",
        "day": "Saturday",
        "high": "80",
        "low": "62",
        "precip": "0",
        "shortday": "Sat",
        "skycodeday": "32",
        "skytextday": "Sunny"
      },
      {
        "date": "2017-07-02",
        "day": "Sunday",
        "high": "87",
        "low": "66",
        "precip": "50",
        "shortday": "Sun",
        "skycodeday": "34",
        "skytextday": "Mostly Sunny"
      }
    ],
    "location": {
      "alert": "",
      "degreetype": "F",
      "imagerelativeurl": "http://blob.weather.microsoft.com/static/weather4/en-us/",
      "lat": "40.852",
      "long": "-93.255",
      "name": "New York, IA",
      "timezone": "-5"
    }
  }
]

Install & Use

Use

curl -X POST -d '{"search":"New York, USA", "degreeType":"F"}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/api2ninja/WeatherAPI/0.1.0