Visual Crossing

Visual Crossing Weather API

Weather Forecast and Historical Weather Data via RESTful API.

Maps & location#openapi#location

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Weather Forecast and Historical Weather Data via RESTful API.

Endpoints 5

Timeline Weather API (15-day forecast request)

  • GETHistorical and Forecast Weather API/VisualCrossingWebServices/rest/services/timeline/:location?contentType=json&unitGroup=us&include=days&lang=us&key=INSERT_YOUR_KEYSeamless access to daily and hourly historical and forecast weather data plus weather alerts, events and current conditions.

Timeline Weather API (single date request)

  • GETHistorical and Forecast Weather API/VisualCrossingWebServices/rest/services/timeline/:location/:startdate?contentType=json&unitGroup=us&include=days&lang=us&key=INSERT_YOUR_KEYSeamless access to daily and hourly historical and forecast weather data plus weather alerts, events and current conditions.

Timeline Weather API (date range request)

  • GETHistorical and Forecast Weather API/VisualCrossingWebServices/rest/services/timeline/:location/:startdate/:enddate?contentType=json&unitGroup=us&include=days&lang=us&key=INSERT_YOUR_KEYSeamless access to daily and hourly historical and forecast weather data plus weather alerts, events and current conditions.

Weather Forecast

  • GETWeather Forecast API/VisualCrossingWebServices/rest/services/weatherdata/forecast?sendAsDatasource=false&allowAsynch=false&shortColumnNames=false&locations=Sterling%2C%20VA%2C%20US&aggregateHours=24&contentType=json&unitGroup=us&key=INSERT_YOUR_KEYProvides access to weather forecast information. The forecast is available for up to 15 days at the hourly, 12 hour and daily summary level.

Historical Weather

  • GETRetrieves hourly or daily historical weather records./VisualCrossingWebServices/rest/services/weatherdata/history?maxDistance=-1&shortColumnNames=false&endDateTime=2020-02-04T00%3A00%3A00&aggregateHours=24&collectStationContributions=false&startDateTime=2020-01-28T00%3A00%3A00&maxStations=-1&allowAsynch=false&locations=Sterling%2C%20VA%2C%20US&includeNormals=false&contentType=json&unitGroup=us&key=INSERT_YOUR_KEYThe weather history data is suitable for retrieving hourly or daily historical weather records.

API details

Base URL
https://weather.visualcrossing.com
Authentication
None declared in the description
Operations
5 operations on 5 pathsGET 5
Main resources
Historical Weather 1Timeline Weather API (15-day forecast request) 1Timeline Weather API (date range request) 1Timeline Weather API (single date request) 1Weather Forecast 1
Description format
OpenAPI 3.0.1, API version 4.6
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Visual Crossing Weather API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Visual Crossing Weather API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Historical and Forecast Weather API” (GET /VisualCrossingWebServices/rest/services/timeline/:location?contentType=json&unitGroup=us&include=days&lang=us&key=INSERT_YOUR_KEY), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Visual Crossing Weather API?

Weather Forecast and Historical Weather Data via RESTful API. It is listed under Maps & location and has 5 endpoints.

Who publishes the Visual Crossing Weather API?

It is listed from Visual Crossing's public API description (an OpenAPI document), not published by Visual Crossing on Swastik Codes. Anyone who controls visualcrossing.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Visual Crossing Weather API?

Requests go to https://weather.visualcrossing.com. Endpoint paths are added to this base URL.

How do I authenticate with the Visual Crossing Weather API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the Visual Crossing Weather API have?

5 operations on 5 paths (5 GET). The largest groups are Historical Weather, Timeline Weather API (15-day forecast request), Timeline Weather API (date range request), Timeline Weather API (single date request).

Is forking the Visual Crossing Weather API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.