{"request":{"type":"City","query":"Sao Paulo, Brazil","language":"en","unit":"m"},"location":{"name":"Sao Paulo","country":"Brazil","region":"Sao Paulo","lat":"-23.533","lon":"-46.617","timezone_id":"America\/Sao_Paulo","localtime":"2024-09-05 21:39","localtime_epoch":1725572340,"utc_offset":"-3.0"},"current":{"observation_time":"12:39 AM","temperature":17,"weather_code":143,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0006_mist.png"],"weather_descriptions":["Mist"],"wind_speed":13,"wind_degree":160,"wind_dir":"SSE","pressure":1021,"precip":0.1,"humidity":83,"cloudcover":75,"feelslike":17,"uv_index":1,"visibility":5,"is_day":"no"}}
curl --location --request GET 'https://zylalabs.com/api/5003/historical+wind+api/6318/winds+by+location?query=Sao Paulo' --header 'Authorization: Bearer YOUR_API_KEY'
{"request":{"type":"LatLon","query":"Lat -23.53 and Lon -46.62","language":"en","unit":"m"},"location":{"name":"Sao Paulo","country":"Brazil","region":"Sao Paulo","lat":"-23.533","lon":"-46.617","timezone_id":"America\/Sao_Paulo","localtime":"2024-09-05 21:40","localtime_epoch":1725572400,"utc_offset":"-3.0"},"current":{"observation_time":"12:40 AM","temperature":17,"weather_code":143,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0006_mist.png"],"weather_descriptions":["Mist"],"wind_speed":13,"wind_degree":160,"wind_dir":"SSE","pressure":1021,"precip":0.1,"humidity":83,"cloudcover":75,"feelslike":17,"uv_index":1,"visibility":5,"is_day":"no"}}
curl --location --request GET 'https://zylalabs.com/api/5003/historical+wind+api/6319/winds+by+coordinates?query=-23.533,-46.617' --header 'Authorization: Bearer YOUR_API_KEY'
{"request":{"type":"City","query":"Sao Paulo, Brazil","language":"en","unit":"m"},"location":{"name":"Sao Paulo","country":"Brazil","region":"Sao Paulo","lat":"-23.533","lon":"-46.617","timezone_id":"America\/Sao_Paulo","localtime":"2024-09-05 21:41","localtime_epoch":1725572460,"utc_offset":"-3.0"},"current":{"observation_time":"12:41 AM","temperature":17,"weather_code":143,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0006_mist.png"],"weather_descriptions":["Mist"],"wind_speed":13,"wind_degree":160,"wind_dir":"SSE","pressure":1021,"precip":0.1,"humidity":83,"cloudcover":75,"feelslike":17,"uv_index":1,"visibility":5,"is_day":"no"},"historical":{"2024-08-08":{"date":"2024-08-08","date_epoch":1723075200,"astro":{"sunrise":"06:37 AM","sunset":"05:48 PM","moonrise":"09:03 AM","moonset":"09:26 PM","moon_phase":"Waxing Crescent","moon_illumination":20},"mintemp":19,"maxtemp":32,"avgtemp":25,"totalsnow":0,"sunhour":11,"uv_index":7}}}
curl --location --request GET 'https://zylalabs.com/api/5003/historical+wind+api/6320/historical+data?query=Sao Paulo&historical_date=2024-08-08' --header 'Authorization: Bearer YOUR_API_KEY'
{"request":{"type":"City","query":"Sao Paulo, Brazil","language":"en","unit":"m"},"location":{"name":"Sao Paulo","country":"Brazil","region":"Sao Paulo","lat":"-23.533","lon":"-46.617","timezone_id":"America\/Sao_Paulo","localtime":"2024-09-05 21:41","localtime_epoch":1725572460,"utc_offset":"-3.0"},"current":{"observation_time":"12:41 AM","temperature":17,"weather_code":143,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0006_mist.png"],"weather_descriptions":["Mist"],"wind_speed":13,"wind_degree":160,"wind_dir":"SSE","pressure":1021,"precip":0.1,"humidity":83,"cloudcover":75,"feelslike":17,"uv_index":1,"visibility":5,"is_day":"no"},"historical":{"2024-08-08":{"date":"2024-08-08","date_epoch":1723075200,"astro":{"sunrise":"06:37 AM","sunset":"05:48 PM","moonrise":"09:03 AM","moonset":"09:26 PM","moon_phase":"Waxing Crescent","moon_illumination":20},"mintemp":19,"maxtemp":32,"avgtemp":25,"totalsnow":0,"sunhour":11,"uv_index":7},"2024-08-09":{"date":"2024-08-09","date_epoch":1723161600,"astro":{"sunrise":"06:36 AM","sunset":"05:48 PM","moonrise":"09:31 AM","moonset":"10:15 PM","moon_phase":"Waxing Crescent","moon_illumination":28},"mintemp":15,"maxtemp":25,"avgtemp":21,"totalsnow":0,"sunhour":6,"uv_index":6}}}
curl --location --request GET 'https://zylalabs.com/api/5003/historical+wind+api/6321/historical+data+series?historical_date_start=2024-08-08&historical_date_end=2024-08-09&query=Sao Paulo' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 历史之风 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
输入纬度、经度或城市,您将收到当前或历史的风速。
海事导航系统: 海事导航系统可以集成风API,为船只提供实时风数据。船长和导航员可以根据路由和速度做出明智的决策,确保安全高效的通行,同时减少燃料消耗,最大限度地提高货物安全。
航空天气服务: 航空公司和航空服务可以利用风API来增强其天气相关服务。飞行员和航班规划人员可以获取准确的风信息,优化飞行路径、起飞和降落程序。这确保了更平稳的飞行,减少涡流的遭遇,提高整体航空安全。
可再生能源规划: 风电场和其他可再生能源项目严重依赖风模式。风API可以帮助预测4天内的风况,使可再生能源公司能够优化风力涡轮机的定位和操作。这确保了通过利用最有利的风速实现最大能量生成。
户外活动规划: 户外活动如体育赛事、音乐会或节日的活动组织者可以从风API中受益。通过提前了解风况,组织者可以相应地规划活动布局、舞台设置和座位安排。这确保了活动结构的安全和稳定,提高了参与者的安全和享受。
灾害响应和应急管理: 在飓风或森林大火等自然灾害期间,紧急响应团队可以利用风API来预测风模式。这些信息对规划撤离、设置紧急避难所和有效部署资源至关重要。准确的风预报帮助当局及时作出决策,确保受影响人群的安全。
除了计划中可用的API调用次数外,没有其他限制。
历史风API提供详细的天气数据,特别关注风况和其他相关天气信息
该API聚合来自各种气象站、卫星和气象来源的实时风速数据。它利用先进的算法处理并提供指定地理位置的精确风速和风向信息
是的,历史风API旨在便于集成。它支持多种编程语言和框架,允许无缝集成到移动应用程序、网站和其他软件应用中
历史风API提供参数,您可以指示位置、坐标和日期。它提供详细的当前和历史天气数据,如温度、天气描述、风速和风向、气压、湿度、云量和降水量
数据实时更新,确保用户获得最新和最准确的风信息
每个端点返回当前和历史天气数据,包括温度、风速和方向、气压、湿度、云量、紫外线指数和降水详细信息。历史数据还包括最低和最高温度、平均温度和日照小时数
关键字段包括“温度”、“风速”、“风向”、“压力”、“湿度”、“降水量”和“天气描述”历史响应还包括“最低温度”、“最高温度”、“平均温度”和“日照时间”
响应数据以JSON格式结构化,包含嵌套对象“request”“location”“current”和“historical”。每个部分提供与查询的位置和时间相关的具体细节
参数包括位置(城市名称)、坐标(纬度和经度)以及历史数据的日期。用户还可以通过设置可选参数指定是否接收每小时数据
“按地点获取风力”和“按坐标获取风力”端点提供当前天气数据,而“获取历史数据”和“获取历史数据系列”则提供历史天气记录,包括每日摘要和每小时细分
用户可以通过指定位置(城市或坐标)、选择历史数据的日期以及选择是否接收每小时数据来自定义请求。这种灵活性允许针对特定需求进行定制查询
历史风API从各种气象站、卫星和天气模型获取数据,确保提供的信息具有全面的覆盖和准确性
用户可以分析返回的数据以寻找趋势,例如随时间变化的风向模式、温度波动和降水水平。这些信息对于海洋导航、航空、可再生能源和活动策划等应用非常有价值