Visual Crossing Key API Facts: Data Forecasts & Limits
In this article
Visual Crossing's Weather API gives you historical, current, and forecast data, but its forecast limits and data access rules depend on your subscription tier. The free tier allows 1,000 requests per day with up to 10 years of historical data, while paid tiers offer higher daily quotas, more forecast days, and additional data fields. This article explains the key facts about Visual Crossing's data forecasts, API limits, and how to choose the right plan for your project.
Background: What Is Visual Crossing?
Visual Crossing is a weather data provider that offers a RESTful API for accessing global weather information. It aggregates data from multiple sources, including national meteorological services, radar, and satellite observations, to provide a unified dataset. The API is popular among developers and data analysts because it supports both batch and real-time queries, and it includes a built-in SQL-like query language for filtering and aggregating data.
Unlike some competitors that focus solely on forecasts, Visual Crossing emphasizes historical data, making it a strong choice for climate analysis, agriculture, and insurance applications. Its free tier is generous enough for small projects and testing, which has contributed to its widespread use in tutorials and open-source projects.
How the API Works: Endpoints and Data Types
Visual Crossing's API uses a simple HTTP GET request structure. You send a location (address, coordinates, or place name), a date range, and a set of parameters to the timeline endpoint, and it returns JSON or CSV data. The key data types available are:
- Historical data: Weather observations from 1970 to the present (depending on the location).
- Current conditions: Real-time weather data, updated every 15 minutes for most locations.
- Forecast data: Predictions for up to 15 days ahead, depending on your plan.
The API also supports a weather endpoint for point-in-time queries and a weatherhistory endpoint for bulk historical downloads. Each request can include multiple locations and date ranges, but the response size and processing time are limited by your plan.
Forecast Limits: How Far Ahead Can You See?
The number of forecast days you can retrieve is one of the most important limits to understand. On the free tier, you can access a 15-day forecast, which is the maximum available on any Visual Crossing plan. However, the free tier limits the number of daily requests (1,000) and the number of locations you can query per request (one).
On paid plans, the forecast range remains at 15 days, but you get higher request quotas and can query multiple locations in a single call. For example, the Professional plan allows 10,000 requests per day and up to 50 locations per request, while the Enterprise plan offers 100,000 requests and 100 locations per request. These limits are designed to accommodate different scales of application, from personal weather apps to enterprise logistics systems.
It's worth noting that forecast accuracy decreases with time, so a 15-day forecast is less reliable than a 7-day one. Visual Crossing's forecast data is updated every 3 hours, and you can request specific forecast hours (e.g., hourly or 6-hourly) to get finer granularity.
Data Limits: Historical Depth and Query Volume
Historical data is Visual Crossing's bread and butter, and the API allows you to pull decades of past weather. On the free tier, you can access up to 10 years of historical data per location. Paid plans extend this to the full archive, which goes back to 1970 for many locations.
However, there are practical limits on how much data you can pull in a single request. A single API call can return up to 1,000 rows of data (e.g., hourly observations for 40 days). If you need more, you must paginate or use the weatherhistory endpoint, which supports larger batch downloads but counts against your daily request quota differently.
For example, if you want to download 30 years of daily data for a single location, you would need to make multiple requests, each covering a year or two. This can quickly consume your daily request limit, so it's essential to plan your queries efficiently, perhaps by using the CSV format to reduce response size.
How to Choose the Right Plan
Choosing a Visual Crossing plan depends on your use case and budget. Here are the key factors to consider:
- Request volume: If you're building a small app with occasional weather lookups, the free tier (1,000 requests/day) is sufficient. For a production app with many users, you'll likely need at least the Professional plan (10,000 requests/day).
- Historical depth: If you need more than 10 years of history, you'll need a paid plan. The Standard plan (the cheapest paid option) offers full historical access.
- Locations per request: If you need to query multiple locations simultaneously (e.g., a fleet of vehicles), look for plans that allow more locations per request.
- Data fields: Some advanced fields, like air quality or solar radiation, are only available on higher-tier plans. Check the documentation for details.
Visual Crossing also offers a pay-as-you-go option for occasional use, which can be more cost-effective than a monthly subscription if your usage is sporadic.
Common Problems and Their Solutions
Developers often run into a few common issues when using the Visual Crossing API:
- Rate limiting: Hitting the daily request limit is the most frequent problem. To avoid it, cache responses locally and use conditional requests (if you're on a plan that supports them).
- Date format errors: The API expects dates in
YYYY-MM-DDformat, and mixing up time zones can cause off-by-one errors. Always specify your time zone in the request to get consistent results. - Large response sizes: Requesting too many fields or too long a date range can result in a slow or truncated response. Use the
includeparameter to limit fields, and split large requests into smaller chunks. - Incorrect location parsing: If you pass an ambiguous address, the API may return data for the wrong place. Use latitude and longitude coordinates for precision.
Visual Crossing's documentation and support forum are helpful resources for troubleshooting, and the API returns detailed error messages that explain what went wrong.
Costs and Alternatives
As of 2025, Visual Crossing's pricing starts at $0 for the free tier, then jumps to around $25 per month for the Standard plan, $60 for Professional, and $300 for Enterprise. There is also a pay-as-you-go option at $0.0001 per request. These prices are subject to change, so check the official site for current rates.
Alternatives to Visual Crossing include OpenWeatherMap, which offers a similar free tier but with a 5-day forecast on free plans; WeatherAPI, which has a 3-day free forecast; and Tomorrow.io, which focuses on hyperlocal forecasts. For historical data, NOAA and ERA5 are free sources but require more technical setup. Visual Crossing stands out for its balance of historical depth and ease of use, making it a solid choice for many developers.
Frequently Asked Questions
What is the maximum forecast days I can get with Visual Crossing?
The maximum forecast is 15 days, available on all plans including the free tier. However, the free tier limits you to 1,000 requests per day, so you cannot query many locations or refresh frequently.
Can I use Visual Crossing for free for commercial purposes?
Yes, the free tier allows commercial use, but with restrictions: 1,000 requests per day and 10 years of historical data. If your app grows, you'll need to upgrade to a paid plan to increase limits.
How do I get historical weather data for a specific date in the past?
Use the timeline endpoint with a date range that includes the past date. For example, https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/New%20York/2020-06-15?key=YOUR_KEY returns that day's weather. You can also use the weatherhistory endpoint for bulk downloads.
Does Visual Crossing support multiple locations in one request?
Yes, but only on paid plans. The free tier allows only one location per request. Paid plans allow up to 50 (Professional) or 100 (Enterprise) locations per request, which is useful for comparing weather across regions.
What is the difference between the timeline and weatherhistory endpoints?
The timeline endpoint is for real-time or forecast data and returns a structured JSON response. The weatherhistory endpoint is specifically for bulk historical data, allowing you to download large datasets as CSV or JSON, but it uses a different request format and may have separate limits.
Can I get air quality data from Visual Crossing?
Yes, air quality data is available, but it requires a paid plan. The free tier only includes basic weather fields like temperature, precipitation, wind, and humidity. Check the documentation for the exact fields available on your plan.