• Installs:
  • Today: 451
  • All Time: 11022


A Forecast Request returns the current weather conditions, a minute-by-minute forecast for the next hour (where available), an hour-by-hour forecast for the next 48 hours, and a day-by-day forecast for the next week.

Test This Block

  • apiKey
    Body parameter
    Your Dark Sky secret key. (Your secret key must be kept secret; in particular, do not embed it in JavaScript source code that you transmit to clients.)

  • gear
    Required Parameters

    • coordinates
      Body parameter
    Optional Parameters
    • units
      Body parameter
      Return weather conditions in the requested units. [units] should be one of the following: auto, ca, uk2, us, si
    • hourly
      Body parameter
      When present, return hour-by-hour data for the next 168 hours, instead of the next 48.
    • lang
      Body parameter
      Return summary properties in the desired language. (Note that units in the summary will be set according to the units parameter, so be sure to set both parameters appropriately.). See at https://darksky.net/dev/docs/forecast for details
    • exclude
      Exclude some number of data blocks from the API response. This is useful for reducing latency and saving cache space. The value blocks should be a comma-delimeted list (without spaces) of any of the following: currently, minutely, hourly, daily, alerts, flags
    Show Optional Parameters
    TEST Function
    CODE (NodeJS)

    Nice try, But you still have to Log in.
    Meanwhile, you can enjoy this limerick:

    "A programming genius called HEAP
    Had trouble in getting to sleep
    So he made his lambs troup
    through a huge FOR-NEXT loop
    FOR 1 TO 10000: NEXT sheep."

    Sign in to get the snippet
    Sign In
    $ / m
    We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.

    Oops, we are missing some details

    Looks like there are a few missing details that you haven't filled in yet.
    These details are important and will help us protect you and let you know about anything new.


    Why sign up to RapidAPI?

    • integrate
      Integrate APIs into your app
      Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
    • keys
      Save all API keys in one place
    • notifications
      Get notifications about API changes
    • stats
      Get stats and monitor API connections
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view


    esccloses this view