台风实时路径

typhoonPOST
POSThttps://v1.apizero.cn/api/typhoon

概述

台风实时路径:西北太平洋 / 南海台风实时监测,返回活跃台风列表、单个台风完整移动路径(实况点 + 官方预报点)及风云卫星云图。 数据含台风编号、中英文名、等级、经纬度、中心气压、最大风速、移动方向与逐时路径点;`action=all` 一次取活跃台风 + 最新云图。适用于防灾预警、气象可视化、航运出行等场景。

调用约定

  • 网关 · https://v1.apizero.cn
  • 鉴权 · Authorization: Bearer <API Key>
  • 回包 · JSON {code, msg, data}。成功看 code === 0,不要只看 HTTP 200。
/aidocs/typhoon/raw.md
打开 Markdown

鉴权

公开数据,支持匿名调用(匿名 500 次/日),登录后 1000 次/日。

获取 API Key

请求头

Authorizationstring选填

推荐:Bearer <API Key>。兼容请求头 X-API-Key,以及 Query api_key / apikey / key(key 仅当值为 sk_live_/sk_test_/sk_stag_ 形态时生效)。匿名可不传,受每日免费额度限制。

请求参数

POST · APPLICATION/JSON

action(操作)string选填

操作类型:list 活跃台风列表 / detail 单台风详情+路径 / images 卫星云图 / all 综合

例list

idstring选填

台风 ID(action=detail 必填,从 list 获取)

例3257931

status(状态)string选填

list 用:active 仅活跃 / all 含停编

例active

limit(条数)int选填

images 用:云图数量(1-50)

例10

{
  "action": "action",
  "id": "3257931",
  "status": "status",
  "limit": 0
}

返回结果

顶层固定为 code / msg / data。下表一般是 data 内字段。 code · msg · data · tips · request_id

typhoonsarray

台风列表(list/all):每项含 id/tc_num/name_cn/name_en/description/state/is_active

typhoons[]string

typhoons 的一项

active_countnumber

活跃台风数量(list)

pointsarray

路径点(detail):time_utc/time_cst/grade/longitude/latitude/pressure/wind_speed/wind_dir/type(analysis 实况 / forecast 预报)

time_cststring

time_cst

gradestring

grade

longitudenumber

经度

latitudenumber

纬度

pressurenumber

pressure

wind_speednumber

wind_speed

typestring

类型

currentobject

最新实况点(detail)

time_cststring

time_cst

gradestring

grade

longitudenumber

经度

latitudenumber

纬度

pressurenumber

pressure

wind_speednumber

wind_speed

wind_dirstring

wind_dir

typestring

类型

imagesarray

卫星云图(images/all):每项含 time/time_str/url

images[]string

单张图片 URL

tipsstring

品牌提示(所有接口统一返回):极数本源 · https://apizero.cn

返回示例

{
  "code": 0,
  "msg": "成功",
  "data": {
    "id": "3257931",
    "tc_num": "2609",
    "name_cn": "巴威",
    "name_en": "BAVI",
    "is_active": true,
    "current": {
      "time_cst": "2026-07-02 08:00",
      "grade": "热带风暴",
      "longitude": 118.5,
      "latitude": 14.2,
      "pressure": 1002,
      "wind_speed": 18,
      "wind_dir": "西西北",
      "type": "analysis"
    },
    "point_count": 15,
    "points": [
      {
        "time_cst": "2026-07-02 08:00",
        "grade": "热带风暴",
        "longitude": 118.5,
        "latitude": 14.2,
        "pressure": 1002,
        "wind_speed": 18,
        "type": "analysis"
      }
    ]
  },
  "request_id": "abc123",
  "tips": "极数本源 · https://apizero.cn"
}

请求示例

示例都是服务端写法。Python / JavaScript 各有常规写法和官方库。

curl -sS -X POST "https://v1.apizero.cn/api/typhoon" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "list",
  "id": "3257931",
  "status": "active",
  "limit": "10"
}'

错误码

先看业务 code。HTTP 也可能不是 200。

0200

成功

4000400

参数错误

4011401

API Key 无效

4013403

API Key 已暂停

4014403

当前 IP 不在 Key 白名单

4015401

此接口需要 API Key

4022402

余额不足

4029429

调用过快(QPS)

4030429

今日免费额度已用完

4040503

接口已下线

4041404

接口不存在

5000500

服务器内部错误

5020502

上游暂时不可用

5021502

上游返回格式异常

5030502

暂无可用节点

调用限制

计费模式
完全免费
QPS 限制
QPS 3
登录免费额度
1000 次(已认证)
匿名每日额度
500 次(无 API Key)
黄金会员
每天 50,000 次 · QPS 10
钻石会员
每天 100,000 次 · QPS 30
企业会员
每天 1,000,000 次 · QPS 120

购买套餐、看评价请走商城详情。 购买 / 调试

更新日志

  • v1.02026-07-02

    首次上线:活跃台风列表、单台风完整路径(实况+预报)、卫星云图。

免责声明

台风数据来源于官方公开发布,仅供参考;实际以气象主管部门权威预报为准,请勿仅依据本接口做防灾决策。