Skip to content

Common Questions ​

Does the Caiyun Weather API support returning historical data? ​

The API interface only supports returning historical data for the past day, with the default response including data from the current moment into the future. To request data for the past day, you can add the parameter begin=timestamp to the URL.

If a future timestamp is passed to begin, it will lead to inaccurate data. Do not do this.

Which coordinate system should request coordinates use? ​

All v2.x weather APIs that take longitude and latitude choose the coordinate system by location:

LocationCoordinate systemDescription
Mainland ChinaGCJ-02The system used by Chinese map providers such as Amap and Tencent Maps. Convert raw GPS WGS84 coordinates to GCJ-02 first
Outside mainland China, including Hong Kong and TaiwanWGS84Use WGS84 coordinates from GPS and similar sources directly