中国经济 - 海关进出口(月度)

SkillDev tools

Get China customs import/export monthly data (海关进出口 月度). Use when user asks about 海关进出口, 出口, 进口, 进出口, 外贸, 中国出口进口, China customs trade.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the 中国经济 - 海关进出口(月度) skill

What this skill tells your AI

The instructions your AI receives, as published by ftshare-lab/ftshare-skill in ftshare-market-data/sub-skills/economic-china-customs-trade-monthly/SKILL.md and read by ahel’s review.

1. 接口描述

项目说明
接口名称海关进出口增减情况(月度汇总计算结果)
外部接口GET /api/v1/market/data/economic/china-customs-trade
请求方式GET
适用场景获取中国海关进出口月度数据,含出口/进口当月值、同比、环比及累计与累计同比等

2. 请求参数

说明:该接口无需请求参数。

参数名类型是否必填描述取值示例备注
---无需参数--

3. 用法

直接执行:

python script/handler.py

脚本输出 JSON 数组,按时间倒序,每项含 month(如 2025年03月份)、export_current/export_yoy/export_mom(当月出口及同比、环比)、import_current/import_yoy/import_mom(当月进口)、cumulative_export/cumulative_export_yoycumulative_import/cumulative_import_yoy(累计及同比)、unitcurrency,以表格展示给用户。

4. 响应说明

返回值为海关进出口月度计算结果列表,按时间倒序。

CustomsTradeComputed 结构

字段名类型是否可为空说明单位
monthString月份,格式如 2025年03月份-
export_currentfloat当月出口额见 unit
export_yoyfloat当月出口额同比%
export_momfloat当月出口额环比%
import_currentfloat当月进口额见 unit
import_yoyfloat当月进口额同比%
import_momfloat当月进口额环比%
cumulative_exportfloat累计出口额见 unit
cumulative_export_yoyfloat累计出口额同比%
cumulative_importfloat累计进口额见 unit
cumulative_import_yoyfloat累计进口额同比%
unitString货币单位-
currencyString货币种类-

5. 请求示例

GET /api/v1/market/data/economic/china-customs-trade

6. 注意事项

  • 返回按月份汇总,格式如「2025年03月份」,列表已按时间倒序,最新月份在前。
  • 金额单位见 unit(通常为亿美元),同比/环比单位为 %,各数值字段可为 null。

调用示例

python <RUN_PY> economic-china-customs-trade-monthly

Signals

GitHub stars
64
Forks
13
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
economic-china-customs-trade-monthly
Source
github.com/ftshare-lab/ftshare-skill