Warning

The username or password typed are wrong.

Warning

You need to insert username and password

Warning

There is something wrong with your username or email...

Warning

There is something wrong with the data you have typed

Warning

Email already taken.

Warning

Username already taken.

Warning

Insert a valid email address.

Warning

You need to insert email and message

Warning

You need to insert name and description app

Warning

You need to insert username, password & email.

Success

Email sent!

Success

You just sent a ThankUmbrella!

Success

Congrats, app created!

Success

App edited correctly!

Warning

Some problem on updating your email. Try again.

Warning

You must accept our TOS for creating an app.

Warning

You must insert a name for this app.

Warning

You must describe this app.

Success

We just sent you an email with all the necessary information to use this service!

Success

Great! You will receive an email upon launch.

Warning

Some problem on saving your data. Try again.

Warning

Some problem on creating the contract of this application, try again.

Warning

The data sent with this form seems corrupted, invalid, or manipulated.

Success

Congrats, contract created. You can create an application with this contract.

Warning

General problem on creating your contract, try again or contact us.

Warning You already subscribed to this plan. You can choose another plan or create an application.
Warning

You have to choose a plan before creating an application.

Weather API & Social weather

weather

weather provides access to real-time weather data and weather forecasts as a collection of WeatherPoint objects.

GET /v2/weather/?location_lat=lat&location_lng=lng
curl -H "Authorization: Bearer $ACCESS_TOKEN" https://api.metwit.com/v2/weather/?location_lat=45.45&location_lng=9.18 Answer next
{
  "objects": [
    {
      "sources": [],
      "weather": {
        "status": "sunny"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-25T11:11:29.882640",
      "sun_altitude": 0.4449051022529602,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.18,
          45.45
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/sunny"
    },
    {
      "sources": [
        "weatherbug",
        "wwo",
        "weather2"
      ],
      "weather": {
        "status": "partly cloudy"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-25T12:00:00",
      "sun_altitude": 0.4452211558818817,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.140625,
          45.439453125
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/partly_sunny"
    },
    {
      "sources": [
        "weatherbug",
        "wwo",
        "weather2"
      ],
      "weather": {
        "status": "sunny"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-25T15:00:00",
      "sun_altitude": 0.1902569830417633,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.140625,
          45.439453125
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/sunny"
    },
    {
      "sources": [
        "weatherbug",
        "wwo",
        "weather2"
      ],
      "weather": {
        "status": "sunny"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-25T18:00:00",
      "sun_altitude": -0.30397695302963257,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.140625,
          45.439453125
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/clear_moon"
    },
    {
      "sources": [
        "weatherbug",
        "wwo",
        "weather2"
      ],
      "weather": {
        "status": "sunny"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-25T21:00:00",
      "sun_altitude": -0.8414924740791321,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.140625,
          45.439453125
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/clear_moon"
    },
    {
      "sources": [
        "weatherbug",
        "wwo",
        "weather2"
      ],
      "weather": {
        "status": "sunny"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-26T03:00:00",
      "sun_altitude": -0.7029962539672852,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.140625,
          45.439453125
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/clear_moon"
    },
    {
      "sources": [
        "weatherbug",
        "wwo"
      ],
      "weather": {
        "status": "sunny"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-26T09:00:00",
      "sun_altitude": 0.29421770572662354,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.140625,
          45.439453125
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/sunny"
    },
    {
      "sources": [
        "weatherbug",
        "wwo"
      ],
      "weather": {
        "status": "partly cloudy"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-26T21:00:00",
      "sun_altitude": -0.8375909328460693,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.140625,
          45.439453125
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/partly_moon"
    },
    {
      "sources": [
        "weatherbug",
        "wwo"
      ],
      "weather": {
        "status": "sunny"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-27T09:00:00",
      "sun_altitude": 0.29779428243637085,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.140625,
          45.439453125
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/sunny"
    },
    {
      "sources": [
        "weatherbug",
        "wwo"
      ],
      "weather": {
        "status": "partly cloudy"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-27T21:00:00",
      "sun_altitude": -0.8336454033851624,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.140625,
          45.439453125
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/partly_moon"
    },
    {
      "sources": [
        "weatherbug"
      ],
      "weather": {
        "status": "partly cloudy"
      },
      "location": {
        "country": "Italy",
        "locality": "Milan"
      },
      "timestamp": "2013-01-28T09:00:00",
      "sun_altitude": 0.30147844552993774,
      "geo": {
        "type": "Point",
        "coordinates": [
          9.140625,
          45.439453125
        ]
      },
      "icon": "https://api.metwit.com/v2/icons/partly_sunny"
    }
  ],
  "meta": {}
}
                        

Get current real-time weather and forecasts the next 72 hours for the location given by the location_lat and location_lng parameters. Returns a list of WeatherPoint objects.

WeatherPoint

A WeatherPoint is the result of a query for the weather at a given time in a given location. It includes time and geographical information, and a list of the sources for the weather data. The timestamp of a WeatherPoint can be the time of a query, meaning it includes the most recent weather information from sensors and crowdsourced data; or it can be in the future, meaning it is a forecast.

NAME flag Tag openbook
timestamp guaranteed timestamp the UTC time for this WeatherPoint. It could be in the future, meaning the point is a forecast
weather guaranteed Weather a description of the weather conditions for this WeatherPoint
geo guaranteed GeoJSON the location of the WeatherPoint (this is always a Point)
location optional Location the locality and country name for this geographical location
icon guaranteed string the url of an icon summarizing the WeatherPoint status
sun_altitude guaranteed number the altitude of the sun over the horizon (> 0 if day, < 0 if night)
sources optional list of strings a list of the weather sources that contributed to build this WeatherPoint
Are you a Developer? Hack the weather in your app with our weather API Weather API