接口说明

收益计算器 API 直连 Amazon 官方计费接口,输入商品 ASIN 与目标站点,即可返回 FBA(亚马逊配送)MFN(自配送) 两种模式下的费用明细,包含配送费(Fulfillment Fee)、佣金(Referral Fee)、月度仓储费(Storage Fee)等核心费用项,辅助选品立项与利润测算。
支持仅传 asin + country 走智能默认(自动取商品当前价格与尺寸重量),也支持自定义售价、运费、包装尺寸与重量,按你的实际成本结构精确测算。

🤖 支持 MCP 协议,可供 AI Agent 进行自动化选品与利润测算。 相比自行解析原始 API,接入 MCP 服务 可以让 AI Agent(如 Claude Desktop)原生、无缝地调用 Amazon 费用估算能力。

请求URL

POST https://scrapeapi.pangolinfo.com/api/v1/revenue-calculator

请求头

参数名参数值类型说明
Content-Typeapplication/jsonstring数据格式
AuthorizationBearer xxxstring认证凭证

请求参数

参数必填类型说明
asinYesstring商品 ASIN,对应网页顶部搜索框输入的商品
countryYesstring站点国家:US / JP(大小写不敏感),对应网页右上角的 Marketplace 选择(Amazon.com / Amazon.co.jp)
fbaPriceNonumberFBA(亚马逊配送)售价。对应网页 “Amazon fulfillment (FBA)” 栏的 “Item price”。不传则用商品当前价
mfnPriceNonumberMFN(自配送)售价。对应网页 “Your fulfillment (MFN)” 栏的 “Item price”。不传则用商品当前价
mfnShippingPriceNonumberMFN(自配送)买家承担的运费。对应网页 “Your fulfillment (MFN)” 栏的 “Shipping cost”。不传默认 0
packageLengthNonumber包装长度。对应网页 “Product dimensions” 的 Length。不传则用商品尺寸
packageWidthNonumber包装宽度。对应网页 “Product dimensions” 的 Width。不传则用商品尺寸
packageHeightNonumber包装高度。对应网页 “Product dimensions” 的 Height。不传则用商品尺寸
dimensionUnitNostring尺寸单位:inches / centimeters。不传则 US 默认 inches、JP 默认 centimeters
packageWeightNonumber包装重量。对应网页 “Unit weight”。不传则用商品重量
weightUnitNostring重量单位:pounds / kilograms。不传则 US 默认 pounds、JP 默认 kilograms
programsNoarray<string>要计算的配送方案:FBA / MFN。不传则两者都算(网页两栏都出)

响应值

返回 dataproduct(商品信息)、summary(费用汇总)、raw(Amazon 原始计费明细)三部分。

data.summary — 费用汇总

字段类型说明
FBA.fulfillmentFeenumberFBA 配送费
FBA.referralFeenumberFBA 佣金(按售价百分比;未传售价时为 0)
FBA.storageFeePeaknumber旺季月度仓储费(单件)
FBA.storageFeeNonPeaknumber淡季月度仓储费(单件)
FBA.totalCostnumberFBA 合计 = 配送费 + 佣金(不含仓储费,仓储费单列)
FBA.currencystring币种(US 为 USD,JP 为 JPY)
MFN.referralFeenumberMFN 佣金
MFN.totalCostnumberMFN 合计 = 佣金
MFN.currencystring币种

data.product — 商品信息

字段类型说明
asinstring商品 ASIN
titlestring商品标题
imageUrlstring商品主图地址
glProductGroupNamestring商品所属类目组(Amazon 内部分类标识)
salesRankint销售排名(部分商品可能为空)
dimensionobject尺寸,含 lengthwidthheightunit
weightobject重量,含 valueunit

data.raw — Amazon 原始计费明细

字段类型说明
rawobjectAmazon 计费接口返回的完整原始数据,含 programFeeResultMapCore#0 对应 FBA、MFN#1 对应 MFN)下的全部费用项明细(含 summary 未汇总的可选费用,如打包费、贴标费、移除费等)。需要更细颗粒度的费用项时取此节点。

请求示例

curl https://scrapeapi.pangolinfo.com/api/v1/revenue-calculator \
  --request POST \
  --header 'Authorization: ' \
  --header 'Content-Type: application/json' \
  --data '{
  "asin": "B07FZ8S74R",
  "country": "US"
}'

返回示例

{
  "code": 0,
  "message": "ok",
  "data": {
    "summary": {
      "FBA": {
        "fulfillmentFee": 3.91,
        "referralFee": 0.0,
        "storageFeePeak": 0.0971,
        "storageFeeNonPeak": 0.03156,
        "totalCost": 3.91,
        "currency": "USD"
      },
      "MFN": {
        "referralFee": 0.0,
        "totalCost": 0.00,
        "currency": "USD"
      }
    },
    "product": {
      "asin": "B07FZ8S74R",
      "title": "Echo Dot (3rd Gen, 2018 release) - Smart speaker with Alexa - Charcoal",
      "imageUrl": "https://m.media-amazon.com/images/I/41CRnvYqmqL._SL120_.jpg",
      "glProductGroupName": "gl_digital_products_3",
      "salesRank": null,
      "dimension": { "length": 0.0, "width": 0.0, "height": 0.0, "unit": "inches" },
      "weight": { "value": 0.0, "unit": "pounds" }
    },
    "raw": {
      "countryCode": "US",
      "asin": "B07FZ8S74R",
      "programFeeResultMap": {
        "Core#0": { "otherFeeInfoMap": { "FulfillmentFee": { "total": { "amount": 3.91, "currency": "USD" } }, "ReferralFee": { "total": { "amount": 0.0, "currency": "USD" } } } },
        "MFN#1": { "otherFeeInfoMap": { "ReferralFee": { "total": { "amount": 0.0, "currency": "USD" } } } }
      }
    }
  }
}

自定义售价与尺寸示例

传入 fbaPrice 后,佣金(referralFee)会按售价重新计算:

curl https://scrapeapi.pangolinfo.com/api/v1/revenue-calculator \
  --request POST \
  --header 'Authorization: ' \
  --header 'Content-Type: application/json' \
  --data '{
  "asin": "B07FZ8S74R",
  "country": "US",
  "fbaPrice": 49.99,
  "packageWeight": 1.2,
  "weightUnit": "pounds"
}'

积点消耗说明

  • 平均响应时间:US 3~5s,JP 5~15s
  • 积点消耗:5 点/次

建议串行请求,避免限流:本接口直连 Amazon 官方计费接口,Amazon 按请求来源 IP 限流且阈值较低。高并发(QPS≥3)会触发限流,返回 4030(服务繁忙)或 1002(系统繁忙)。建议串行调用、控制频率,遇到上述错误码稍后重试即可(限流类失败不扣除积点)。