AmazonFBA 费用
FBA 费率表
获取亚马逊 13 个站点当前或任一已归档费率期的 FBA 费率表 JSON:尺寸分段、配送费表、低价规则、附加费、销售佣金和成交费,保留各站点原始结构和币种,登录后免费调用。
API 数据样例
直接查看该接口实际使用的请求体和完整响应结构。
{
"period": "2027-offpeak"
}{
"request_id": "00000000-0000-4000-8000-000000000000",
"data": {
"marketplace": "US",
"currency": "USD",
"fees_include_tax": false,
"rate_card": {
"id": "2027-offpeak",
"start": "2027-01-15",
"end": "2027-10-14",
"peak": false,
"rates_checked": "2026-12-01"
},
"rate_cards": [
"2026-offpeak",
"2026-peak",
"2027-offpeak"
],
"categories": [
{
"id": "3d-printers",
"name": "3D Printers"
},
{
"id": "amazon-device-accessories",
"name": "Amazon Device Accessories"
},
{
"id": "automotive",
"name": "Automotive and Powersports"
}
],
"rules": {
"units": {
"length": "in",
"weight": "lb",
"money": "USD"
},
"size_tier_order": "Sort the sides longest to shortest; the item is in the first size tier whose limits all fit. Weight limits apply to the shipping weight, the greater of unit and dimensional weight.",
"dimensional_weight_divisor": 139,
"bulky_min_width_height_in": 2,
"billed_weight": {
"unit": "Fee looked up by unit weight.",
"greater_of_unit_and_dimensional": "Fee looked up by the greater of unit weight and dimensional weight."
},
"stepped_fee": "base + per_step × ceil(max(0, shipping_weight_lb − first_lb) ÷ step_lb)",
"price_bands": {
"under_10": "price < 10 (low-price FBA rate)",
"10_to_50": "10 ≤ price ≤ 50",
"over_50": "price > 50"
},
"low_price_excluded_categories": [
"automotive",
"compact-appliances",
"computers",
"musical-instruments",
"media"
],
"fee_tables": {
"standard": "Default.",
"apparel": "Referral category clothing.",
"dangerous": "Dangerous goods (hazmat)."
},
"fuel_surcharge_rate": 0.035,
"referral_rules": {
"flat": "rate × price.",
"portion": "Each tier rate applies to the part of the price up to up_to_price.",
"whole": "The first tier with price ≤ up_to_price sets the rate for the whole price."
},
"size_tier_version": 2027
},
"size_tiers": [
{
"tier": "smallStandard",
"max_longest_in": 15,
"max_median_in": 12,
"max_shortest_in": 0.75,
"max_length_plus_girth_in": null,
"max_shipping_weight_lb": 1,
"billed_weight": "unit"
},
{
"tier": "largeStandard",
"max_longest_in": 18,
"max_median_in": 14,
"max_shortest_in": 8,
"max_length_plus_girth_in": null,
"max_shipping_weight_lb": 20,
"billed_weight": "greater_of_unit_and_dimensional"
},
{
"tier": "smallBulky",
"max_longest_in": 28,
"max_median_in": 24,
"max_shortest_in": 20,
"max_length_plus_girth_in": 130,
"max_shipping_weight_lb": 50,
"billed_weight": "greater_of_unit_and_dimensional"
}
],
"fulfillment_fees": {
"standard": {
"smallStandard": [
{
"max_weight_lb": 0.125,
"under_10": {
"base": 2.64
},
"10_to_50": {
"base": 3.75
},
"over_50": {
"base": 4.31
}
},
{
"max_weight_lb": 0.25,
"under_10": {
"base": 2.72
},
"10_to_50": {
"base": 3.78
},
"over_50": {
"base": 4.34
}
}
],
"largeStandardOver3Lb": {
"under_10": {
"base": 6.15,
"per_step": 0.08,
"step_lb": 0.25,
"first_lb": 3
},
"10_to_50": {
"base": 7.16,
"per_step": 0.08,
"step_lb": 0.25,
"first_lb": 3
},
"over_50": {
"base": 7.73,
"per_step": 0.08,
"step_lb": 0.25,
"first_lb": 3
}
},
"smallBulky": {
"under_10": {
"base": 6.73,
"per_step": 0.39,
"step_lb": 1,
"first_lb": 1
},
"10_to_50": {
"base": 7.51,
"per_step": 0.39,
"step_lb": 1,
"first_lb": 1
},
"over_50": {
"base": 7.51,
"per_step": 0.39,
"step_lb": 1,
"first_lb": 1
}
}
}
},
"referral_fees": [
{
"category": "3d-printers",
"rule": "portion",
"tiers": [
{
"up_to_price": 200,
"rate": 0.12
},
{
"up_to_price": null,
"rate": 0.05
}
],
"min_fee": 0.3
},
{
"category": "amazon-device-accessories",
"rule": "flat",
"rate": 0.45,
"min_fee": 0.3
},
{
"category": "automotive",
"rule": "flat",
"rate": 0.12,
"min_fee": 0.3
}
]
}
}可用状态:已开放
该接口已进入 v1 网关、OpenAPI 和订阅权限目录,登录后使用 API 密钥即可免费调用,不消耗计费单位。
POST /v1/amazon/fba/rates
下方请求和响应字段已与当前公开契约核对。
MCP 调用
| 项目 | 内容 |
|---|---|
| MCP Code | amazon_fba_rates |
快速调用
先创建 API 密钥,再将密钥写入服务端环境变量:
export ECOMMERCE_DATA_API_KEY="your_api_key"curl --request POST \
--url https://ecommercedataapi.com/v1/amazon/fba/rates \
--header "Content-Type: application/json" \
--header "X-API-Key: ${ECOMMERCE_DATA_API_KEY}" \
--data '{
"period": "2027-offpeak"
}'使用 AI CLI 接入
复制给 AI CLI
粘贴到 Codex、Claude Code、Gemini CLI 或其他编程智能体中直接完成接入。
请直接在当前代码库中接入 Ecommerce Data API 的「FBA 费率表」接口,不要只给示例代码。
接口文档:https://ecommercedataapi.com/zh/docs/amazon/fba/rates
请求接口:POST https://ecommercedataapi.com/v1/amazon/fba/rates
API 密钥环境变量:ECOMMERCE_DATA_API_KEY
请求示例:
{
"period": "2027-offpeak"
}
请按以下要求执行:
1. 先阅读接口文档,并检查当前项目使用的语言、框架、HTTP 客户端、目录结构和环境变量约定。
2. 优先复用项目现有的 API 客户端和错误处理方式;如果没有,再创建最小可复用的 Ecommerce Data API 客户端与该接口调用封装。
3. 从服务端环境变量 ECOMMERCE_DATA_API_KEY 读取密钥,发送 Content-Type: application/json 和 X-API-Key 请求头。绝不能把真实密钥写入源码、前端代码、日志、测试快照或 Git。
4. 如果环境变量不存在,提示我自行设置 ECOMMERCE_DATA_API_KEY;不要索取、输出或猜测真实密钥,并继续完成不依赖真实请求的代码与测试。
5. 根据接口文档实现请求与响应类型,处理非 2xx 响应、request_id、error.code、error.message 和 429 限流。
6. 添加一个符合当前项目习惯的最小调用示例或测试。如果密钥已配置且当前环境允许外部请求,再执行一次最小真实调用;否则使用 mock 或静态验证。
7. 运行相关格式化、类型检查和测试,最后汇报修改文件、调用方法、验证结果以及仍需我配置的环境变量。还没有 API 密钥?创建 API 密钥
在 Postman 中打开当前请求
下载当前接口的预配置 Collection,再通过 Postman Import 导入。
导入后在 Collection Variables 中填写 apiKey。创建 API 密钥
Node.js 示例
const response = await fetch(
'https://ecommercedataapi.com/v1/amazon/fba/rates',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': process.env.ECOMMERCE_DATA_API_KEY,
},
body: JSON.stringify({
period: '2027-offpeak',
}),
}
);
const result = await response.json();
if (!response.ok) {
throw new Error(`${result.error?.code}: ${result.error?.message}`);
}
console.log(result.data);Python 示例
import os
import requests
response = requests.post(
"https://ecommercedataapi.com/v1/amazon/fba/rates",
headers={
"Content-Type": "application/json",
"X-API-Key": os.environ["ECOMMERCE_DATA_API_KEY"],
},
json={
"period": "2027-offpeak",
},
timeout=30,
)
response.raise_for_status()
print(response.json()["data"])请求参数
请求体直接发送下表字段,不要再包裹额外对象;未定义字段会被拒绝。
| 字段 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
marketplace | 字符串 | 否 | 站点:US、CA、MX、BR、UK、DE、FR、IT、ES、JP、AU、IN、AE,默认 US。 | US |
period | 字符串 | 否 | 该站点的费率期 id(见返回的 rate_cards),不传则按 date 所在的费率期。 | 2027-offpeak |
date | 字符串 | 否 | 不传 period 时,返回这一天(YYYY-MM-DD)所在的费率期,默认今天(UTC)。 | 2027-01-15 |
返回结构
| 字段 | 类型 | 说明 |
|---|---|---|
request_id | 字符串 | 本次请求的唯一标识。 |
data | 对象 | 接口业务数据。 |
下表字段位于 data 内。数组接口描述的是单个数组元素,分页接口描述的是 items[] 中的单条记录。
返回字段
| 字段 | 类型 | 说明 | 示例 |
|---|---|---|---|
data.marketplace | 字符串 | 站点 | US |
data.currency | 字符串 | 金额币种 | USD |
data.fees_include_tax | 布尔值 | 费用金额是否已含增值税、GST 或消费税 | false |
data.rate_card | 对象 | 返回的费率期:id、start、end(未公布时为 null)、peak、rates_checked | - |
data.rate_cards[] | 数组 | 该站点全部费率期 id(含已归档) | - |
data.categories[] | 数组 | 该站点的佣金分类:id(作为 amazon.fba.fees 的 category)和官方名称 | - |
data.rules | 对象 | 计费规则:单位、尺寸分段判定、体积重、取整、价格档、低价规则、附加费、佣金规则 | - |
data.size_tiers | 数组 | 尺寸分段上限(站点有尺寸分段时) | - |
data.fulfillment_fees | 对象 | 该站点原始结构的配送费表 | - |
data.referral_fees[] | 数组 | 各分类的佣金规则:固定比例或分段比例(up_to_price 为 null 表示不限),以及最低佣金 | - |
data.* | 字符串 | 该站点的其他费用表,如成交费、低价费率表、欧洲跨国配送(EFN)费用、印度重量处理费 | - |
返回示例
{
"request_id": "00000000-0000-4000-8000-000000000000",
"data": {
"marketplace": "US",
"currency": "USD",
"fees_include_tax": false,
"rate_card": {
"id": "2027-offpeak",
"start": "2027-01-15",
"end": "2027-10-14",
"peak": false,
"rates_checked": "2026-12-01"
},
"rate_cards": ["2026-offpeak", "2026-peak", "2027-offpeak"],
"categories": [
{
"id": "3d-printers",
"name": "3D Printers"
},
{
"id": "amazon-device-accessories",
"name": "Amazon Device Accessories"
},
{
"id": "automotive",
"name": "Automotive and Powersports"
}
],
"rules": {
"units": {
"length": "in",
"weight": "lb",
"money": "USD"
},
"size_tier_order": "Sort the sides longest to shortest; the item is in the first size tier whose limits all fit. Weight limits apply to the shipping weight, the greater of unit and dimensional weight.",
"dimensional_weight_divisor": 139,
"bulky_min_width_height_in": 2,
"billed_weight": {
"unit": "Fee looked up by unit weight.",
"greater_of_unit_and_dimensional": "Fee looked up by the greater of unit weight and dimensional weight."
},
"stepped_fee": "base + per_step × ceil(max(0, shipping_weight_lb − first_lb) ÷ step_lb)",
"price_bands": {
"under_10": "price < 10 (low-price FBA rate)",
"10_to_50": "10 ≤ price ≤ 50",
"over_50": "price > 50"
},
"low_price_excluded_categories": [
"automotive",
"compact-appliances",
"computers",
"musical-instruments",
"media"
],
"fee_tables": {
"standard": "Default.",
"apparel": "Referral category clothing.",
"dangerous": "Dangerous goods (hazmat)."
},
"fuel_surcharge_rate": 0.035,
"referral_rules": {
"flat": "rate × price.",
"portion": "Each tier rate applies to the part of the price up to up_to_price.",
"whole": "The first tier with price ≤ up_to_price sets the rate for the whole price."
},
"size_tier_version": 2027
},
"size_tiers": [
{
"tier": "smallStandard",
"max_longest_in": 15,
"max_median_in": 12,
"max_shortest_in": 0.75,
"max_length_plus_girth_in": null,
"max_shipping_weight_lb": 1,
"billed_weight": "unit"
},
{
"tier": "largeStandard",
"max_longest_in": 18,
"max_median_in": 14,
"max_shortest_in": 8,
"max_length_plus_girth_in": null,
"max_shipping_weight_lb": 20,
"billed_weight": "greater_of_unit_and_dimensional"
},
{
"tier": "smallBulky",
"max_longest_in": 28,
"max_median_in": 24,
"max_shortest_in": 20,
"max_length_plus_girth_in": 130,
"max_shipping_weight_lb": 50,
"billed_weight": "greater_of_unit_and_dimensional"
}
],
"fulfillment_fees": {
"standard": {
"smallStandard": [
{
"max_weight_lb": 0.125,
"under_10": {
"base": 2.64
},
"10_to_50": {
"base": 3.75
},
"over_50": {
"base": 4.31
}
},
{
"max_weight_lb": 0.25,
"under_10": {
"base": 2.72
},
"10_to_50": {
"base": 3.78
},
"over_50": {
"base": 4.34
}
}
],
"largeStandardOver3Lb": {
"under_10": {
"base": 6.15,
"per_step": 0.08,
"step_lb": 0.25,
"first_lb": 3
},
"10_to_50": {
"base": 7.16,
"per_step": 0.08,
"step_lb": 0.25,
"first_lb": 3
},
"over_50": {
"base": 7.73,
"per_step": 0.08,
"step_lb": 0.25,
"first_lb": 3
}
},
"smallBulky": {
"under_10": {
"base": 6.73,
"per_step": 0.39,
"step_lb": 1,
"first_lb": 1
},
"10_to_50": {
"base": 7.51,
"per_step": 0.39,
"step_lb": 1,
"first_lb": 1
},
"over_50": {
"base": 7.51,
"per_step": 0.39,
"step_lb": 1,
"first_lb": 1
}
}
}
},
"referral_fees": [
{
"category": "3d-printers",
"rule": "portion",
"tiers": [
{
"up_to_price": 200,
"rate": 0.12
},
{
"up_to_price": null,
"rate": 0.05
}
],
"min_fee": 0.3
},
{
"category": "amazon-device-accessories",
"rule": "flat",
"rate": 0.45,
"min_fee": 0.3
},
{
"category": "automotive",
"rule": "flat",
"rate": 0.12,
"min_fee": 0.3
}
]
}
}错误响应、请求追踪和限流头说明见错误与限流。