按位置获取风速API提供详细和准确的实时和历史天气信息,提供全球天气状况的全面视图。当用户发出请求时,他们将收到最新的数据,包括关键指标,如摄氏度的温度、风速和风向、以百帕(hPa)为单位的气压,以及当前天气状况的文本和视觉描述(例如,“分散性阵雨”或“晴空”)。
除了实时数据,API还提供广泛的历史天气记录。这包括特定日期的最低和最高气温、每日平均气温、历史日照时长(小时)、紫外线指数水平和降水数据,显示全天的降水和降雪分布。
对于长期分析,API提供极端温度、平均温度、总降水量、日照小时数和紫外线指数的总结。这些综合数据使用户能够有效跟踪和分析天气趋势和模式。
总体而言,按位置获取风速API是理解当前天气和历史趋势的必要工具,使其成为天气分析和预测的宝贵工具。
输入纬度、经度或城市,您将收到当前或历史的风速。
海洋导航系统: 海洋导航系统可以整合风速API,为船舶提供实时风速数据。船长和导航员可以根据路线和速度做出明智的决定,确保安全高效的通行,同时最小化燃料消耗并最大化货物安全。
航空天气服务: 航空公司和航空服务可以利用风速API增强其天气相关服务。飞行员和航班规划者可以访问准确的风信息,优化飞行路线、起飞和着陆程序。这确保了更平稳的航班,减少了颠簸的遇到,并增强了整体航空安全。
可再生能源规划: 风电场和其他可再生能源项目高度依赖风速模式。风速API可以帮助预测4天内的风速情况,使可再生能源公司能够优化风力涡轮机的位置和运行。这确保通过利用最有利的风速实现最大能源生成。
户外活动规划: 户外活动的活动组织者,如体育赛事、音乐会或节日,可以受益于风速API。通过提前了解风速情况,组织者可以相应地规划活动布局、舞台设置和座位安排。这确保活动结构安全稳定,提升了参与者的安全感和愉悦感。
灾害响应和紧急管理: 在飓风或野火等自然灾害期间,紧急响应团队可以利用风速API预测风速模式。这些信息对于规划撤离、布置紧急避难所和有效部署资源至关重要。准确的风速预测帮助当局及时做出决定,确保受影响人群的安全。
除了计划可用的API调用次数,没有其他限制。
如果您在位置之外指明了一个国家,则必须按照以下格式在参数中指明值:罗马,意大利
本地化风 - 端点功能
| 对象 | 描述 |
|---|---|
query |
[必需] Insert a city |
{"request":{"type":"City","query":"Buenos Aires, Argentina","language":"en","unit":"m"},"location":{"name":"Buenos Aires","country":"Argentina","region":"Distrito Federal","lat":"-34.588","lon":"-58.673","timezone_id":"America\/Argentina\/Buenos_Aires","localtime":"2024-09-05 21:26","localtime_epoch":1725571560,"utc_offset":"-3.0"},"current":{"observation_time":"12:26 AM","temperature":15,"weather_code":113,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0008_clear_sky_night.png"],"weather_descriptions":["Clear"],"wind_speed":9,"wind_degree":10,"wind_dir":"N","pressure":1017,"precip":0,"humidity":39,"cloudcover":0,"feelslike":15,"uv_index":1,"visibility":10,"is_day":"no"}}
curl --location --request GET 'https://zylalabs.com/api/5002/wind+by+location+api/6314/localized+wind?query=Buenos Aires' --header 'Authorization: Bearer YOUR_API_KEY'
要使用此端点,您必须在参数中指明纬度和经度
按照坐标的风 - 端点功能
| 对象 | 描述 |
|---|---|
query |
[必需] Insert a latitude and longitude |
{"request":{"type":"LatLon","query":"Lat -34.59 and Lon -58.67","language":"en","unit":"m"},"location":{"name":"Buenos Aires","country":"Argentina","region":"Distrito Federal","lat":"-34.588","lon":"-58.673","timezone_id":"America\/Argentina\/Buenos_Aires","localtime":"2024-09-05 21:27","localtime_epoch":1725571620,"utc_offset":"-3.0"},"current":{"observation_time":"12:27 AM","temperature":15,"weather_code":113,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0008_clear_sky_night.png"],"weather_descriptions":["Clear"],"wind_speed":9,"wind_degree":10,"wind_dir":"N","pressure":1017,"precip":0,"humidity":39,"cloudcover":0,"feelslike":15,"uv_index":1,"visibility":10,"is_day":"no"}}
curl --location --request GET 'https://zylalabs.com/api/5002/wind+by+location+api/6315/winds+by+coordinates?query=-34.588,-58.673' --header 'Authorization: Bearer YOUR_API_KEY'
要使用此端点,您必须在参数中指明城市的名称和日期
您还可以有一个可选参数,指明您是否希望 API 返回按每小时划分的天气数据(1或0)0是默认值
返回的数据截止到2021年
历史之风 - 端点功能
| 对象 | 描述 |
|---|---|
query |
[必需] Insert a city |
historical_date |
[必需] Insert a date |
hourly |
可选 Enter 1 to split the weather data by hours or 0 not to split. |
{"request":{"type":"City","query":"Buenos Aires, Argentina","language":"en","unit":"m"},"location":{"name":"Buenos Aires","country":"Argentina","region":"Distrito Federal","lat":"-34.588","lon":"-58.673","timezone_id":"America\/Argentina\/Buenos_Aires","localtime":"2024-09-05 21:27","localtime_epoch":1725571620,"utc_offset":"-3.0"},"current":{"observation_time":"12:27 AM","temperature":15,"weather_code":113,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0008_clear_sky_night.png"],"weather_descriptions":["Clear"],"wind_speed":9,"wind_degree":10,"wind_dir":"N","pressure":1017,"precip":0,"humidity":39,"cloudcover":0,"feelslike":15,"uv_index":1,"visibility":10,"is_day":"no"},"historical":{"2024-08-08":{"date":"2024-08-08","date_epoch":1723075200,"astro":{"sunrise":"07:42 AM","sunset":"06:19 PM","moonrise":"09:52 AM","moonset":"10:19 PM","moon_phase":"Waxing Crescent","moon_illumination":20},"mintemp":4,"maxtemp":8,"avgtemp":6,"totalsnow":0,"sunhour":1,"uv_index":2}}}
curl --location --request GET 'https://zylalabs.com/api/5002/wind+by+location+api/6316/historical+wind?query=Buenos Aires&historical_date=2024-08-08' --header 'Authorization: Bearer YOUR_API_KEY'
要使用此端点,您必须在参数中指定城市、开始日期和结束日期。
历史数据系列 - 端点功能
| 对象 | 描述 |
|---|---|
historical_date_start |
[必需] Indicates a start date |
historical_date_end |
[必需] Indicates an end date |
query |
[必需] Insert a city |
{"request":{"type":"City","query":"Buenos Aires, Argentina","language":"en","unit":"m"},"location":{"name":"Buenos Aires","country":"Argentina","region":"Distrito Federal","lat":"-34.588","lon":"-58.673","timezone_id":"America\/Argentina\/Buenos_Aires","localtime":"2024-09-05 21:27","localtime_epoch":1725571620,"utc_offset":"-3.0"},"current":{"observation_time":"12:27 AM","temperature":15,"weather_code":113,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0008_clear_sky_night.png"],"weather_descriptions":["Clear"],"wind_speed":9,"wind_degree":10,"wind_dir":"N","pressure":1017,"precip":0,"humidity":39,"cloudcover":0,"feelslike":15,"uv_index":1,"visibility":10,"is_day":"no"},"historical":{"2024-07-07":{"date":"2024-07-07","date_epoch":1720310400,"astro":{"sunrise":"08:02 AM","sunset":"05:58 PM","moonrise":"09:34 AM","moonset":"07:38 PM","moon_phase":"Waxing Crescent","moon_illumination":2},"mintemp":3,"maxtemp":10,"avgtemp":6,"totalsnow":0,"sunhour":9,"uv_index":3},"2024-07-08":{"date":"2024-07-08","date_epoch":1720396800,"astro":{"sunrise":"08:01 AM","sunset":"05:59 PM","moonrise":"10:08 AM","moonset":"08:40 PM","moon_phase":"Waxing Crescent","moon_illumination":10},"mintemp":2,"maxtemp":8,"avgtemp":5,"totalsnow":0,"sunhour":9,"uv_index":2},"2024-07-09":{"date":"2024-07-09","date_epoch":1720483200,"astro":{"sunrise":"08:01 AM","sunset":"05:59 PM","moonrise":"10:37 AM","moonset":"09:40 PM","moon_phase":"Waxing Crescent","moon_illumination":17},"mintemp":1,"maxtemp":8,"avgtemp":4,"totalsnow":0,"sunhour":9,"uv_index":2},"2024-07-10":{"date":"2024-07-10","date_epoch":1720569600,"astro":{"sunrise":"08:01 AM","sunset":"06:00 PM","moonrise":"11:03 AM","moonset":"10:36 PM","moon_phase":"Waxing Crescent","moon_illumination":24},"mintemp":1,"maxtemp":9,"avgtemp":5,"totalsnow":0,"sunhour":9,"uv_index":2}}}
curl --location --request GET 'https://zylalabs.com/api/5002/wind+by+location+api/6317/historical+data+series?historical_date_start=2024-07-07&historical_date_end=2024-07-10&query=Buenos Aires' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
位置风API提供详细的天气数据,特别关注风况和其他相关天气信息
位置风速API汇集了来自各个气象站、卫星和气象源的实时风速数据。它利用先进的算法处理并提供特定地理位置的精确风速和风向信息
是的,按位置的风 API 设计用于轻松集成。它支持多种编程语言和框架,允许无缝集成到移动应用、网站和其他软件应用中
位置的风API提供参数,您可以指示一个地点、坐标和日期。它提供详细的当前和历史天气数据,如温度、天气描述、风速和方向、大气压力、湿度、云量和降水量
数据实时更新,确保用户接收到最新和最准确的风信息
每个端点返回特定的天气数据 本地化风和按坐标风端点提供当前天气条件,包括温度 风速和气压 历史风端点返回指定日期的过去天气数据 而历史数据系列端点提供两个日期之间的一系列历史数据 包括温度极值和降水总量
响应数据中的关键字段包括“温度”“风速”“气压”“湿度”“天气描述”和“紫外线指数”对于历史数据,还包括“最低气温”“最高气温”和“总降雪量”等字段,以提供对过去天气情况的洞察
响应数据以JSON格式结构化,组织成“请求”、“位置”和“当前”等部分。每个部分包含相关细节,使得根据用户查询解析和利用特定天气信息变得容易
参数因端点而异 对于本地化风和按坐标风 用户可以输入城市名称或纬度和经度 历史风端点需要城市名称和日期 而历史数据序列端点需要城市名称以及数据范围的开始和结束日期
用户可以通过指定地点详情(城市、纬度、经度)和选择历史数据的日期来自定义请求。此外,历史风速端点允许用户通过设置一个可选参数请求每小时的数据
由位置 API 提供的风数据汇总了来自多种可靠来源的数据,包括气象站、卫星和气象组织。这种多源方法增强了不同地理位置的数据准确性和覆盖范围
典型的使用案例包括航海导航用于路线规划 航空天气服务用于优化飞行路径 可再生能源规划用于风电场运营 以及户外活动规划以确保基于天气条件的安全和舒适
用户可以分析返回的数据以做出明智的决策,例如根据风速调整旅行路线或通过评估天气预报来规划户外活动 结构化的JSON格式便于集成到应用程序中进行实时监控和历史分析
服务级别:
100%
响应时间:
579ms
服务级别:
100%
响应时间:
79ms
服务级别:
100%
响应时间:
200ms
服务级别:
100%
响应时间:
149ms
服务级别:
100%
响应时间:
1,171ms
服务级别:
100%
响应时间:
838ms
服务级别:
100%
响应时间:
181ms
服务级别:
100%
响应时间:
332ms
服务级别:
100%
响应时间:
199ms
服务级别:
100%
响应时间:
2,034ms
服务级别:
100%
响应时间:
296ms
服务级别:
100%
响应时间:
205ms
服务级别:
100%
响应时间:
446ms
服务级别:
100%
响应时间:
357ms
服务级别:
100%
响应时间:
260ms
服务级别:
100%
响应时间:
245ms
服务级别:
100%
响应时间:
94ms
服务级别:
63%
响应时间:
424ms
服务级别:
100%
响应时间:
1,158ms
服务级别:
100%
响应时间:
170ms