FBA 头程运价查询

按亚马逊 FBA 仓代码 + 重量查询头程运价。覆盖美西/美东主要 FBA 仓库,聚合多家服务商渠道,返回按总价升序排列的对外最终报价。2 积分/次。

接口信息

接口路径POST /api/openapi/v1/freight/fba/search
积分消耗2 积分 / 次
数据更新每日更新
超时建议客户端 timeout ≥ 3 秒

请求参数

字段名类型必填说明示例
fba_codestring亚马逊 FBA 仓代码(4 位大写字母+数字)查代码 ↗FTW1 / ONT8 / LAX9
weightnumber实际货重 kg(与 min_weight 取大作为计费重,最大 5000)21.5
pol_codestring起运港代码(限定港组,默认不限)查代码 ↗CNSZX / CNGZG
goods_typeint货物类型(默认 1,普货)1

响应字段

字段名类型说明
resolved.fba_codestring回显本次解析后的 FBA 仓代码(已大写规整)
list[]array渠道列表,按 total_amount 升序
list[].channel_namestring渠道名称(对外展示名)
list[].fba_codestringFBA 仓代码
list[].zip_codestringFBA 仓库邮编
list[].pol_groupstring起运港组(如「华南港组」「华东港组」)
list[].min_weightnumber渠道最低计费重 kg(计费重 = max(weight, min_weight))
list[].chargeable_weightnumber实际计费重 kg
list[].unit_pricenumber对外单价 / kg
list[].total_amountnumber合计总价(unit_price × chargeable_weight)
list[].currencystring币种(默认 CNY)
list[].ttstring预计派送时效(如「25-30 天」)
list[].remarksstring渠道备注(含尾程派送/关税方式/旺季/操作要求等,已合并多源用「/」分隔)
credit_usedint本次扣减的积分数
credit_balanceint扣减后剩余积分

完整 curl 请求示例

curl -X POST https://www.5688.cn/api/openapi/v1/freight/fba/search \
  -H "Content-Type: application/json" \
  -H "X-Awice-AppKey: AK_xxxxxxxxxxxxxxxx" \
  -H "X-Awice-Timestamp: 1746086400" \
  -H "X-Awice-Nonce: a1b2c3d4e5f6a7b8" \
  -H "X-Awice-Signature: 7f8e9d6c5b4a..." \
  -d '{
    "fba_code": "FTW1",
    "weight": 21.5,
    "pol_code": "CNSZX"
  }'

成功响应示例

{
  "code": 0,
  "msg": "success",
  "request_id": "req_xxxxxxxxxxxxxxxx",
  "data": {
    "resolved": { "fba_code": "FTW1" },
    "list": [
      {
        "channel_name": "美国 FBA 海派 - DDP",
        "fba_code": "FTW1",
        "zip_code": "76177",
        "pol_group": "华南港组",
        "min_weight": 21,
        "chargeable_weight": 21.5,
        "unit_price": 18.5,
        "total_amount": 397.75,
        "currency": "CNY",
        "tt": "25-30 天",
        "remarks": "含尾程派送 / 不含关税 / 旺季可能延期"
      }
    ]
  },
  "credit_used": 2,
  "credit_balance": 9498
}

空数据响应

当查询的 fba_code 暂无可用渠道时,返回空 list 数组。该情况仍会扣积分,建议在前置流程中提前用 FBA 仓库列表 校验代码合法性。

{
  "code": 0,
  "msg": "success",
  "request_id": "req_xxxxxxxxxxxxxxxx",
  "data": {
    "resolved": { "fba_code": "XYZ9" },
    "list": []
  },
  "credit_used": 2,
  "credit_balance": 9498
}
注意事项:
  • FBA 仓代码须用 4 位大写字母+数字格式(FTW1/ONT8/LAX9 等),可在 仓库列表 查询
  • total_amount 已是对外最终报价,无需客户端再次乘以重量
  • min_weight 是渠道的最低计费门槛:若实重 21kg、min_weight 50kg,按 50kg 计费
  • pol_code 不传时默认覆盖所有港组(深圳/东莞/广州/中山华南港组为主)