Weather History
Weather History
GET /misc/weather/history - Weather History
Need to know whether it rained in a city over the past few days, or how much rainfall was recorded? This endpoint queries up to 366 days of daily historical weather.
Overview
You can query by city, adcode, or let the system auto-locate by client IP. Use startdate + enddate for an explicit range, or days to look back a number of days. The response focuses on rained and rain, making it useful for travel reviews, agriculture records, weather dashboards, and data analysis.
Notes
[!NOTE]
Location priority: adcode city IP auto-location. When both startdate and days are provided, the startdate + enddate range takes precedence.