跳到主要内容
版本:v3 🚧

气旋

提示

数据限制 目前只支持中国近海台风

提示

访问限制 本部分 API 属于增值服务,开发者 Token 需要额外开通权限,请联系商务

API

curl "https://singer.caiyunhub.com/v3/typhoon/realtime?token={token}"

返回结构

sample.json
{
"typhoons": [
{
"id": "202208",
"name": "米雷",
"enname": "Meari",
"active": true,
"history": [
{
"time": 1660240800,
"longitude": 135.9,
"latitude": 29.5,
"radius7": [200, 200, 130, 150],
"radius10": [],
"radius12": [],
"moveSpeed": 19,
"moveDirection": "北",
"strong": 2,
"pressure": 1000,
"speed": 18,
"power": 8
},
// ...
{
"time": 1660284000,
"longitude": 136.4,
"latitude": 30.7,
"radius7": [200, 200, 120, 150],
"radius10": [],
"radius12": [],
"moveSpeed": 22,
"moveDirection": "北",
"strong": 2,
"pressure": 1000,
"speed": 18,
"power": 8,
"jl": " “米雷”将以每小时20公里左右的速度向偏北方向移动,强度有所增强 (下次更新时间为12日17时30分)",
"ckposition": " 位于西北太平洋洋面,距离日本东京南偏西方向约630公里"
}
],
"forecast": [
{
"source": "中国",
"points": [
{
"time": 1660284000,
"longitude": 136.4,
"latitude": 30.7,
"radius7": [],
"radius10": [],
"radius12": [],
"strong": 2,
"pressure": 1000,
"speed": 18,
"power": 8
},
// ...
{
"time": 1660456800,
"longitude": 147.4,
"latitude": 40.9,
"radius7": [],
"radius10": [],
"radius12": [],
"strong": 2,
"pressure": 990,
"speed": 20,
"power": 8
}
]
}
// ...
],
"name_info": {
"country_region": "朝鲜",
"meaning": "回波"
}
}
]
}

TyphoonInfo

台风返回结构

FieldTypeLabelDescription
idstring编号
namestring名称
ennamestring英文名
activebool台风活跃
historyTyphoonInfo.PointInforepeated历史路径
forecastTyphoonInfo.ForecastInforepeated预报路径
landTyphoonInfo.LandInforepeated登陆信息
name_infoTyphoonInfo.NameInfo

TyphoonInfo.ForecastInfo

FieldTypeLabelDescription
sourcestring预报的数据来源国家/地区
pointsTyphoonInfo.PointInforepeated预报的路径

TyphoonInfo.LandInfo

FieldTypeLabelDescription
timeint64登陆时间戳
longitudefloat纬度
latitudefloat经度
strongTropicalCycloneLevels气旋/飓风/台风等级
infostring台风“暹芭”于 02 日 15 时在广东电白沿海登陆
landaddressstring广东电白沿海

TyphoonInfo.NameInfo

FieldTypeLabelDescription
country_regionstring提供这个名字的国家或地区
meaningstring含义

TyphoonInfo.PointInfo

FieldTypeLabelDescription
timeint64时刻 Unix 时间戳
longitudefloat经度
latitudefloat纬度
radius7int32repeated7 级风圈 km 半径, [东北, 东南, 西北, 西南]
radius10int32repeated10 级风圈 km 半径, [东北, 东南, 西北, 西南]
radius12int32repeated12 级风圈 km 半径, [东北, 东南, 西北, 西南]
moveSpeedfloat移动速度, km/h
moveDirectionstring移动方向
strongTropicalCycloneLevels气旋/飓风/台风等级
pressurefloat中心气压,百帕
speedfloat风速,m/s
powerint32风力等级

TropicalCycloneLevels

TropicalCyclone 热带气旋

不同地方气旋的名字不一样,中国近海是台风(typhoon),美国是飓风(hurricane)

NameNumberDescription
UNKNOWN_CYCLONE_LEVEL0
DEPRESSION1热带低压
STROM2热带风暴
SEVERE_STORM3强热带风暴
TYPHOON4台风
SEVERE_TYPHOON5强台风
SUPER_SEVERE_TYPHOON6超强台风