Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    How to Access the Windy Stations Data

    Scheduled Pinned Locked Moved Windy Stations
    95 Posts 44 Posters 109.6k Views 19 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marekdM Offline
      marekd Windy Staff
      last edited by marekd

      Important update: Original API is deprecated

      Please note that the original API described in this post is now deprecated and no longer supported.

      While it may still appear in older examples or discussions below, we strongly recommend migrating to the new API as soon as possible. The original (legacy) API will remain operational only until the end of 2026, after which it will be fully shut down. The new API is actively maintained, fully supported, and reflects the current and future direction of the platform.

      You can find the complete and up-to-date documentation for the new API here:
      https://stations.windy.com/api-reference

      This post has been updated to avoid confusion for newcomers who may find it via search engines. The discussion below is kept for historical context only.

      Thanks for your understanding.

      W F G E S 9 Replies Last reply Reply Quote 10
      • galfertG Offline
        galfert Meteorologist
        last edited by

        Can you provide a way to list all the Open data policy stations? Also it would be nice to have a filter on the map to only see Windy stations (taking out airports and CWOP ..etc).

        1 Reply Last reply Reply Quote 5
        • T Offline
          TomSlavkovsky API developers | Premium
          last edited by

          @galfert to list all the open data policy stations you should use the second method and after obtaining station ids apply the first method.

          We are planning to add the possibility to filter only Windy Stations. It should be ready soon.

          1 Reply Last reply Reply Quote 5
          • C Offline
            chezburke
            last edited by

            It appears that the temp and dewpoint data is being returned incorrectly, as this is what I see for my station ID: f06e5d29.

            temp: [ 281.75000038147, 281.950000190735, 282.25000038147, 282.54999961853, 282.75000038147, 282.450000190735, 282.349999809265, 282.04999961853, 281.950000190735, 282.54999961853, 283.04999961853, 283.349999809265, 282.950000190735, 282.65, (...) ]

            The data displayed in the on-line windy.com map seems to be the same as my weather station.

            In addition, there is no rainfall data included.

            It would also be useful if you could provide a "last 24 hours" report, or even allow for the time period to be specified in the request. Returning 288 data points per day is really overkill, for some applications, at least.

            1 Reply Last reply Reply Quote 3
            • M Offline
              mcrossley
              last edited by mcrossley

              @chezburke I think the APIs use Kelvin for temperatures.

              C 1 Reply Last reply Reply Quote 1
              • C Offline
                chezburke @mcrossley
                last edited by

                @mcrossley Ahh...thank you.

                Odd...but at least now I know :)

                M 1 Reply Last reply Reply Quote 3
                • M Offline
                  mcrossley @chezburke
                  last edited by

                  @chezburke You're welcome, and despite the upload API using Pascals as the default unit, the download API uses hectoPascals ;)

                  1 Reply Last reply Reply Quote 1
                  • F Offline
                    fabricio.fgs
                    last edited by

                    @TomSlavkovsky said in How to Access the Windy Stations Data:

                    https://stations.windy.com/pws/stations/

                    Why for my user, can't I see any station in url https://stations.windy.com/stations?

                    galfertG 1 Reply Last reply Reply Quote 1
                    • galfertG Offline
                      galfert Meteorologist @fabricio.fgs
                      last edited by galfert

                      @fabricio-fgs because you haven't created any stations to upload to. That link is only for your own stations. It doesn't show other people's stations.

                      1 Reply Last reply Reply Quote 2
                      • F Offline
                        fabricio.fgs
                        last edited by

                        Thanks! But are not there a way to get data from another stations?

                        galfertG 1 Reply Last reply Reply Quote 1
                        • galfertG Offline
                          galfert Meteorologist @fabricio.fgs
                          last edited by galfert

                          @fabricio-fgs You can use the map and find MADIS stations along with other METAR stations and such. But in order to see a Windy personal station you need to know it's ID or go through some trouble with the API and pull a database dump of personal weather stations and then sift through to find a station ID and then use the Windy map to pull the live station since you now have the ID. Most Windy personal stations also report to MADIS so it shouldn't that big of an issue to instead just pull up the MADIS and then it will tell you that there is a duplicate and then you have at the more timely Windy station ID for that personal station.

                          It would nice if Windy provided a better method of seeing their stations on the map. Maybe in a future site update, I hope.

                          1 Reply Last reply Reply Quote 1
                          • N Offline
                            noalt
                            last edited by

                            Is the first record, the most recent data (actual value?)

                            1 Reply Last reply Reply Quote 1
                            • W Offline
                              windGoggles
                              last edited by windGoggles

                              @TomSlavkovsky I was not able to successfully get a database dump of weather stations. Everytime I hit this api https://stations.windy.com/pws/stations/myapikey898
                              I get a 400 bad request error that says "invalid token". I am replacing myapikey898 with my actual api key

                              Do I need to pass in headers or anything?

                              T 1 Reply Last reply Reply Quote 1
                              • T Offline
                                TomSlavkovsky API developers @windGoggles | Premium
                                last edited by

                                @windGoggles you are not using valid API key, please generate your api key on stations.windy.com.

                                1 Reply Last reply Reply Quote 1
                                • W Offline
                                  windGoggles
                                  last edited by

                                  @TomSlavkovsky you were right, the problem was that I was trying to use the same API key that I am using for the api4 chart.

                                  Anyone else that stumbles upon this issue and is having trouble figuring out which key to use, read the following:

                                  The API key that you receive from this URL, https://api4.windy.com/api-key/, will not work. You need instead to go to https://stations.windy.com/stations and click on "show key" in the banner on the bottom of the page. That is the key you need to access the JSON data from the stations.

                                  1 Reply Last reply Reply Quote 2
                                  • ? Offline
                                    A Former User
                                    last edited by

                                    Hola,porque no me aparecen los datos del pluviometro de mi estación netatmo???
                                    Los demas datos si aparecen,temperaturas,viento,humedad.......pero los datos de lluvia no.
                                    Gracias y seguir con la aplicacion porque esta muy bien.
                                    Un saludo

                                    1 Reply Last reply Reply Quote 2
                                    • W Offline
                                      windywolf 0 @marekd
                                      last edited by

                                      @TomSlavkovsky said in How to Access the Windy Stations Data:

                                      https://stations.windy.com/pws/station/open/API_KEY/STATION_ID

                                      None of them work, it says “Invalid token” for each one.

                                      RolandozR 1 Reply Last reply Reply Quote 3
                                      • W Offline
                                        windywolf 0 @marekd
                                        last edited by

                                        @TomSlavkovsky

                                        Do you ever answer messages?

                                        1 Reply Last reply Reply Quote 1
                                        • KorinaK Offline
                                          Korina
                                          last edited by

                                          Hello @windywolf-0, you need to add your station ID and API key to the link.

                                          Korina

                                          1 Reply Last reply Reply Quote 0
                                          • G Offline
                                            GPittard
                                            last edited by

                                            Hi Tom,

                                            I've registered my weather station and generated an API Key, but don't know what to do with the key. My weather station reports to Weather Underground and the data is readily available through that portal, but I don't know how to get my data to Windy.

                                            Also, once it's set up, does my station automatically transmit data to Windy?

                                            Best wishes
                                            Gary

                                            1 Reply Last reply Reply Quote 6
                                            • First post
                                              Last post
                                            Windy Community  |  Powered by excellent NodeBB
                                            Terms of Use     Privacy Policy     Windy.com