Weather & Climate API

Reliable, Accurate, Global Weather Data API

The Visual Crossing Weather API provides worldwide weather data for developers, DBAs, and data scientists to use inside any application, database, website. or script. The Weather API provides instant access to both historical weather reports and weather forecast data in a package of easy-to-use, RESTful APIs.

The Visual Crossing Weather API does the hard work so that you can focus on the benefits of using weather data within your application.  Key features include:

  • Unified API for accessing both historical and forecast weather data
  • Dozens of weather metrics ensure that you have instant access to all of your weather data from one source
  • Supports date ranges and multiple locations in a single query for efficiency
  • Built-in geocoding for address-based look up as well as latitude/longitude points
  • Seamless access across worldwide weather reporting systems including automatic unit conversions

Begin by building your first query on the Weather Query Builder page right now.  Sign up for a free trial account, get your API key, and you’ll be using weather data in minutes.

Try the Weather Query Builder


Weather API for JavaScript and web development

JavaScript and web development

The Weather APIs are simple GET requests that are easily used within JavaScript on the client or server. The APIs can be used with common JavaScript libraries including JavaScript, D3 and jQuery to incorporate weather history and weather forecast data into your application. Request results are available in common formats including JSON and comma separated values so that integrating the data into your application is straightforward. All requests are secure HTTPS requests.

The APIs can be used to build rich, interactive weather-based websites and dashboards. We have used these same Weather APIs to build the weather analysis we provide including the Historical Weather Dashboard, Climate Change Dashboard and Weather Event Planner.

Historical Weather Data for Java, Python, Perl

Java, Python, Perl

The Weather APIs can be easily integrated into all programming languages such as Java, Python and Perl. The APIs include weather history records available for over 50 years, weather forecast and climate aggregation reports that provide aggregated analysis on past weather data. All weather data is stored and processed at the hourly observation level. This ensures that we provide the most accurate statistical analysis. With hourly data we can identify the best available weather stations for any city or time. Request results are available in common formats including JSON and comma separated values so that integrating the data into your application is straightforward.

Data Science

Loading weather data into your R projects

Loading weather data into your R projects for statistical analysis has never been easier.   You can define your query either interactively via our Weather Query Builder page  or via the Visual Crossing Weather URL API.     The results of your weather query can then be loaded directly into your R project.   Once the data is loaded you can then use the power of R to calculate weather statistics alone or join the weather data with other business data.   Watch our short video showing how to instantly load a year’s worth of weather data and visualize it in RStudio.

Loading weather data into your Business Intelligence System

Business Intelligence Systems

Add value to your business intelligence system by using weather data to find correlations in your business data.   You can either import weather data directly into your BI platform or use our customized, easy-to-use BI plug-ins to access and analyze our cloud-based weather data repository.   These plug-ins are designed to be seamless extensions to the analysis available in your business intelligence platform.   Whether your investment is in MicroStrategy, SAP, or any other leading BI tool, weather data can bring new value to your analysts and add insight to your existing data.

Check out our Weather Query Builder page to generate RESTful data requests.

Microsoft Excel

Microsoft Excel, the analysis tool of choice for many small businesses, academics, and home users, makes importing weather data simple.    Excel can directly load data from any Visual Crossing Weather API query URL, or you can create an export file to load and share.   You can get started immediately by building a query in our Weather Query Builder.  Then choose to export the query in Excel-friendly CSV or keep the query "live" by linking the query URL into Excel.

If you prefer a tighter Excel integration, Visual Crossing offers the Weather Add-in for Microsoft Excel 2016.   This add-in provides an end-to-end weather query integration right within the Excel application.   You can build custom queries based on your existing Excel data, and join the results directly to your business data.   Getting weather data into Excel has never been easier.

Google Sheets

Google Sheets allows the direct import of weather data from any Visual Crossing Weather API query URL or via a CVS data file.   Once imported you can use the weather data in any type of business or academic analysis including joining it against your existing business data.   Using the power of Google Sheets, you can then share your analysis with colleges and friends and even collaborate on the analysis together in real-time.  Our example videos show how to construct the query in our Weather Query Builder page and import it into a live Google Sheet for further analysis.


Weather Data for Databases - Data Loading, Live Updates, Enterprise Access

Data Loading, Live Updates, Enterprise Access

Whether your target database is a core IT powerhouse or a small departmental SQL Server or Microsoft Access, adding weather data empowers users to make more intelligent use of your existing business data.  The Visual Crossing Weather API offers several exports and import modes to make loading weather data a snap.   Dynamic queries and load scripts can adjust automatically to changing dates and business requirements including live updates.   Once weather data is loaded, all database users within an enterprise can correlate weather and business data to make more intelligent decisions.   You can get started right away by using our Weather Query Builder to create a query and a CSV data export.   Our simple instructions will allow you to get weather data loaded into your database in minutes.