Visual Crossing Weather

FREEMIUM
By awigmore
Updated 2 months ago
Weather
3.2/10
Popularity Score
631ms
Latency
100%
Success Rate

Visual Crossing Weather API Documentation

Visual Crossing Weather API provides instant access to both historical weather records and weather forecast data

View API Details
GETHistorical weather record
GETWeather forecast data
GETHistorical weather record

The weather history data is suitable for retrieving hourly or daily historical weather records.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
startDateTimeSTRING
REQUIREDhe date time for the start of the data request using the time zone of the location. In the ISO format: yyyy-MM-ddTHH:mm:ss. Hours should be specified in 24 hour clock format.
aggregateHoursNUMBER
REQUIREDThe interval between weather history data in the output. 1 represent hourly records, 24 represents a daily forecast. As the source data is recorded at the hourly level, 24 hour records are aggregated to indicate the predominant weather conditions during that time period. Supported values 1 or 24.
locationSTRING
REQUIREDThe address or latitude or longitude of the location. Addresses can be specified as full addresses. The system will also attempt to match partial addresses such as city, state, zip code, postal code and other common formats. When specify a point based on longitude, latitude, the format must be specifed as latitude,longitude where both latitude and longitude are in decimal degrees. latitude should run from -90 to 90 and longitude from -180 to 180 (with 0 being at the prime meridian through London, UK).
endDateTimeSTRING
REQUIREDThe date time for the start of the data request using the time zone of the location. In the ISO format: yyyy-MM-ddTHH:mm:ss. Hours should be specified in 24 hour clock format.
unitGroupSTRING
REQUIREDThe system of units used for the output data. Supported values are us,uk,metric
Optional Parameters
dayStartTimeSTRING
OPTIONAL When present and not set to the same as the dayEndTime, filters the output to records that between the specified day times. This is useful for setting filters for business hours. Format h:m:ss (eg 9:00:00 woudl be 9am).
dayEndTimeSTRING
OPTIONALWhen present and not set to the same as the dayEndTime, filters the output to records that between the specified day times.
shortColumnNamesBOOLEAN
OPTIONALWhen false, the returned dataset includes descriptive column names. When true, returns shorter, abbreviated column names with only alphanumeric characters. The short names are useful for programmatic use of the data.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication