API
與網站相同的資料和計算,以只讀 JSON 介面提供。每個工具都由與其頁面相同的代碼計算,所以這裡的結果就是頁面上的結果;資料集也是網站展示的那些,附帶版本和來源。
適合圍繞出口報價、貨運體積和退稅自己做工具或核對的人,以及需要這些數字卻不想擷取網頁的程式。這裡不寫入任何東西:你發送輸入,得到結果。
介面地址https://chukoudan.com/v1/
介面列表
所有介面都在 /v1/ 下,都回傳 JSON。
| 方法 | 地址 | 說明 | 可選參數 |
|---|---|---|---|
| GET | /v1/datasets | 本站可展示的資料集,每個附目前版本。 | ?lang |
| GET | /v1/datasets/{id} | 一個資料集及其全部版本,新的在前。 | ?lang |
| GET | /v1/datasets/{id}/current | 目前版本的資料列,分頁回傳。 | ?offset ?limit ?lang |
| GET | /v1/datasets/{id}/{version} | 某個版本的資料列,分頁回傳;已發布的版本永不改動。 | ?offset ?limit ?lang |
| GET | /v1/refund-rate | 按海關編碼(HS)查一個編碼的出口退稅率:給出該編碼的各個時期,並標出適用的一期:帶上報關單出口日期就按那一天,不帶就按今天(北京時間),用的是哪一天寫在 in_force_on 裡。 | ?code ?export_date ?lang |
| GET | /v1/tools | 全部計算機:編號、名稱和各自讀取的資料。 | ?lang |
| GET | /v1/tools/{id} | 一個計算機:名稱、輸入項和讀取的資料集。 | ?lang |
| POST | /v1/tools/{id}/compute | 用你給的輸入執行一個計算機,結果與本站頁面給出的一致。輸入以 JSON 放在請求正文裡。 | ?lang |
| GET | /v1/openapi.json | 本 API 的 OpenAPI 3.1 文件。 | – |
| POST | /v1/quote | 按報價工具(baojia)的輸入和賣方的條款產生一份發給買方的報價單:quote 是結構化資料(https://chukoudan.com/schemas/quote/v1.json,只有價格和條款,帶 digest 和匯率依據,買方可核對),text 是可直接發出的純文字,internal 是賣方自己的成本和利潤,絕不發給買方。不填 pricing.fxRate 就用當天的人民幣匯率中間價。本站不保存任何內容。 | ?lang |
無需金鑰,無需帳號
不用註冊,直接請求即可。介面不設 Cookie,也不保存你發給計算的輸入。限制是按請求方設定的,而不是用金鑰。
請求限制
每個請求方可連續發出最多 60 次請求,之後按每分鐘 60 次補充。請求方按 IP 地址區分(IPv6 按其 /64 網段)。每個回應的標頭裡都寫明你的餘量:RateLimit-Limit 是滿桶的大小,RateLimit-Remaining 是剩餘次數,RateLimit-Reset 是桶重新裝滿還要多少秒。用完後回傳 429,並帶 Retry-After 標頭:再次請求前需要等待的秒數。
一頁資料列按每 1000 列算一次請求。一次最多取 5000 列(limit),offset 用來跳過列。計算請求的正文最多 256 KB,且必須是 JSON。
一個桶裡只有 1 次額度的請求方,發出第二次請求時得到的回應:
curl 'https://chukoudan.com/v1/tools'
HTTP 429
access-control-allow-origin: *
cache-control: no-store
content-type: application/json
ratelimit-limit: 1
ratelimit-remaining: 0
ratelimit-reset: 60
retry-after: 60
{
"issues": [
{
"path": "",
"code": "api.rate_limited",
"values": {},
"message": "请求太频繁;请按响应头 Retry-After 给出的秒数之后再试。 / Too many requests; try again after the number of seconds in the Retry-After header."
}
],
"provenance": {
"api": "v1",
"site": "chukoudan.com",
"generated_at": "2026-10-07T04:00:00.000Z",
"language": "zh-CN",
"source_line": "来源:出口单 chukoudan.com · 生成于 2026-10-07",
"notice": "本站非官方渠道,仅供参考,以官方公布为准。",
"datasets": [],
"license": {
"status": "approved",
"ours": "dataset.license.ours",
"underlying": "dataset.license.underlying"
}
}
}快取
可以保存的回應帶有 ETag 和 Cache-Control:資料集列表、資料集的版本列表和目前版本的資料列可保存 1 分鐘,工具說明 5 分鐘,不是目前版本的資料列 1 天。請求時帶上 If-None-Match,內容沒有變化就得到 304 和空正文,304 仍計入請求限制。出錯的回應和所有計算結果都不保存(no-store)。
從瀏覽器呼叫
任何網站都可以在訪客的瀏覽器裡呼叫這些介面(GET 和 POST,不帶憑證)。計算只接受 JSON:其他內容類型會被拒絕,回傳 415。
回應的樣子
一次計算回傳 tool(工具編號)、outputs(按名稱列出的各個數字)、steps(逐行的計算過程)、warnings 和 provenance。輸入不合格時回傳 400 和 issues,而不是 outputs。steps 和 warnings 的每一項都帶文案鍵(如 cbm.more_than_20gp)和用來填入的數值。每個工具(tuishui、baojia、fx-cost、cbm、container-load、fx-convert、unit-convert、maitou、pi、freight、pallet-load、lc-fees、amazon-fees 和 cargo-insurance)的每一項還帶 message:一句填好數字的現成句子,語言由 lang 決定。有 message 就直接用這句話,不要自己再算數字;沒有的(拼不完整的句子),用文案鍵和數值來寫。
數字的寫法
每個數字都帶類型標記,告訴你該怎麼寫,數值一律是精確的十進位字串,絕不是浮點數。quantity 有 value、unit,有時還有 places(保留的小數位數:補零到這個位數,不要再四捨五入);money 有 amount 和 currency;ratio 是小數形式的比例(0.13 即 13%);rate 表示 per 個 base 兌 value 個 quote;另有 count、code(來自固定清單的標記)和 date。
數字從哪裡來
每個回應(包括錯誤)都帶 provenance:api(版本,v1)、site、generated_at、language、source_line(一行可以原樣引用的出處:來自本站,以及資料是哪一天的),以及 datasets(這次回答用到的每個資料集版本,含 published_at 日期、origin 和可以引用的來源說明)和 license。在任何請求上加 lang=zh-CN、en、ja 或 ko,可選擇 message、source_line 和來源說明的語言,數字不變;不加 lang 時是中文。license 裡是狀態和文案鍵,不是文字;文字見「資料來源與許可」頁面。
錯誤
錯誤回應有 issues(每項含 path、code、values 和 message:一句中英文並列的說明,不隨 lang 變)和 provenance。400:輸入被拒絕(path 指出是哪個欄位,code 說明原因,code 是文案鍵);404:沒有這個工具、資料集或版本;413:正文過大;415:不是 JSON;429:超過限制;500:我們這邊出了問題,回應不會說明更多原因。
一次計算
把工具的輸入 POST 到 /v1/tools/ID/compute。下面的例子算的是:450 箱,每箱 60 × 40 × 50 cm、18 kg,走拼箱(LCL)的立方米數。在 CBM 頁面輸入同樣的資料,得到的是同樣的數字。
請求
curl -X POST 'https://chukoudan.com/v1/tools/cbm/compute' -H 'content-type: application/json' -d '{"inputs":{"cartons":[{"length":"60","width":"40","height":"50","grossWeight":"18","quantity":"450"}],"lengthUnit":"cm","weightUnit":"kg","mode":"lcl"}}'回應
HTTP 200
access-control-allow-origin: *
cache-control: no-store
content-type: application/json
ratelimit-limit: 60
ratelimit-remaining: 59
ratelimit-reset: 1
{
"tool": "cbm",
"outputs": {
"totalVolume": {
"kind": "quantity",
"value": "54",
"unit": "m3"
},
"totalGrossWeight": {
"kind": "quantity",
"value": "8100",
"unit": "kg"
},
"perCartonVolume": {
"kind": "quantity",
"value": "0.12",
"unit": "m3"
},
"airVolumetric": {
"kind": "quantity",
"value": "9000",
"unit": "kg"
},
"airChargeable": {
"kind": "quantity",
"value": "9000",
"unit": "kg"
},
"airBy": {
"kind": "code",
"value": "volume"
},
"expressVolumetric": {
"kind": "quantity",
"value": "10800",
"unit": "kg"
},
"expressChargeable": {
"kind": "quantity",
"value": "10800",
"unit": "kg"
},
"expressBy": {
"kind": "code",
"value": "volume"
},
"lclChargeable": {
"kind": "quantity",
"value": "54",
"unit": "m3"
},
"lclBy": {
"kind": "code",
"value": "volume"
},
"chargeable": {
"kind": "quantity",
"value": "54",
"unit": "m3"
}
},
"steps": [
{
"id": "cbm.row",
"values": {
"row": {
"kind": "count",
"value": "1"
},
"length": {
"kind": "quantity",
"value": "60",
"unit": "cm"
},
"width": {
"kind": "quantity",
"value": "40",
"unit": "cm"
},
"height": {
"kind": "quantity",
"value": "50",
"unit": "cm"
},
"quantity": {
"kind": "count",
"value": "450"
},
"cartonVolume": {
"kind": "quantity",
"value": "120000",
"unit": "cm3"
},
"perCartonVolume": {
"kind": "quantity",
"value": "0.12",
"unit": "m3"
},
"volume": {
"kind": "quantity",
"value": "54",
"unit": "m3"
},
"airVolumetric": {
"kind": "quantity",
"value": "9000",
"unit": "kg"
},
"airDivisor": {
"kind": "count",
"value": "6000",
"grouping": false
},
"expressVolumetric": {
"kind": "quantity",
"value": "10800",
"unit": "kg"
},
"expressDivisor": {
"kind": "count",
"value": "5000",
"grouping": false
},
"grossWeight": {
"kind": "quantity",
"value": "18",
"unit": "kg"
},
"weight": {
"kind": "quantity",
"value": "8100",
"unit": "kg"
}
},
"message": "箱规 1:60 cm × 40 cm × 50 cm = 0.12 m3 × 450 箱 = 54 m3\n18 kg × 450 = 8100 kg\n120000 cm3 ÷ 6000 × 450 = 9000 kg(空运),÷ 5000 = 10800 kg(快递)"
},
{
"id": "cbm.total",
"values": {
"totalVolume": {
"kind": "quantity",
"value": "54",
"unit": "m3"
},
"totalGrossWeight": {
"kind": "quantity",
"value": "8100",
"unit": "kg"
},
"gp20Share": {
"kind": "ratio",
"value": "1.6307"
}
},
"message": "合计:总体积 54 m3,总毛重 8100 kg"
},
{
"id": "cbm.lcl",
"values": {
"volume": {
"kind": "quantity",
"value": "54",
"unit": "m3"
},
"weight": {
"kind": "quantity",
"value": "8.1",
"unit": "t",
"places": 3
},
"chargeable": {
"kind": "quantity",
"value": "54",
"unit": "m3"
},
"by": {
"kind": "code",
"value": "volume"
}
},
"message": "拼箱计费吨 W/M:较大值(54 m3,8.100 t)= 54 m3,按体积"
},
{
"id": "cbm.air",
"values": {
"volumetric": {
"kind": "quantity",
"value": "9000",
"unit": "kg"
},
"weight": {
"kind": "quantity",
"value": "8100",
"unit": "kg"
},
"chargeable": {
"kind": "quantity",
"value": "9000",
"unit": "kg"
},
"by": {
"kind": "code",
"value": "volume"
}
},
"message": "空运计费重:较大值(8100 kg,9000 kg)= 9000 kg,按体积"
},
{
"id": "cbm.express",
"values": {
"volumetric": {
"kind": "quantity",
"value": "10800",
"unit": "kg"
},
"weight": {
"kind": "quantity",
"value": "8100",
"unit": "kg"
},
"chargeable": {
"kind": "quantity",
"value": "10800",
"unit": "kg"
},
"by": {
"kind": "code",
"value": "volume"
}
},
"message": "快递计费重:较大值(8100 kg,10800 kg)= 10800 kg,按体积"
}
],
"warnings": [
{
"code": "cbm.more_than_20gp",
"values": {
"totalVolume": {
"kind": "quantity",
"value": "54",
"unit": "m3"
},
"gp20Volume": {
"kind": "quantity",
"value": "33.115",
"unit": "m3"
}
},
"level": "hint",
"next": "zhuanggui",
"message": "总体积 54 m3,超过一个 20GP 的容积(约 33.115 m3),看看用什么柜、要几个柜。"
}
],
"links": {
"page": "https://chukoudan.com/cbm/?cartons=60x40x50x18x450&lengthUnit=cm&weightUnit=kg&mode=lcl"
},
"provenance": {
"api": "v1",
"site": "chukoudan.com",
"generated_at": "2026-10-07T04:00:00.000Z",
"language": "zh-CN",
"source_line": "来源:出口单 chukoudan.com · 数据 2026-09-24",
"notice": "本站非官方渠道,仅供参考,以官方公布为准。",
"datasets": [
{
"id": "divisors",
"version": "2026-09-24-2",
"published_at": "2026-09-24",
"origin": "chukoudan-divisors",
"source": "体积重系数:常用系数(2026-09-24 整理),以承运商为准"
},
{
"id": "containers",
"version": "2026-09-24-2",
"published_at": "2026-09-24",
"origin": "chukoudan-container-reference",
"source": "柜型尺寸和最大载重:常用参考值(2026-09-24 整理),以承运商为准"
}
],
"license": {
"status": "approved",
"ours": "dataset.license.ours",
"underlying": "dataset.license.underlying"
}
}
}warnings 裡有一條 hint(cbm.more_than_20gp):54 m³ 裝不進一個 20GP,next 是可以接著用的工具的頁面標識。
一個資料集
GET /v1/datasets 列出網站展示的資料集;/v1/datasets/ID 列出某個資料集的各個版本;/v1/datasets/ID/current 回傳目前版本的資料列;/v1/datasets/ID/VERSION 回傳指定版本,已發布的版本永不改變。每個版本有 content_hash,可以用來判斷你手上的是不是同一份。資料集的回應裡都帶有 CSV 和 JSON 下載的連結。
請求
curl 'https://chukoudan.com/v1/datasets/ports/current?limit=2&lang=en'回應
HTTP 200
access-control-allow-origin: *
cache-control: public, max-age=60
content-type: application/json
etag: W/"5b2ec780f1e15a548c7a9f6a14a7b02d"
ratelimit-limit: 60
ratelimit-remaining: 59
ratelimit-reset: 1
{
"dataset": "ports",
"version": "2026-09-25",
"published_at": "2026-09-25",
"fetched_at": "2026-09-24T19:59:07Z",
"content_hash": "sha256:a222c1be3c0bd7146efc3a2b6a5f9ac0d246edfd4570b6075cfd6b0494eb37af",
"rows": 38,
"columns": [
"id",
"name.zh-CN",
"name.en",
"name.ja",
"name.ko",
"region",
"search.zh",
"search.pinyin",
"search.en"
],
"current": true,
"links": {
"self": "/v1/datasets/ports/2026-09-25",
"csv": "/data/ports/2026-09-25.csv",
"json": "/data/ports/2026-09-25.json"
},
"license": {
"ours": "dataset.license.ours",
"underlying": "dataset.license.underlying.free",
"draft": false
},
"offset": 0,
"limit": 2,
"next": 2,
"data": [
{
"id": "shanghai",
"name": {
"zh-CN": "上海",
"en": "Shanghai",
"ja": "上海",
"ko": "상하이"
},
"region": "上海",
"search": {
"zh": [
"上海港",
"洋山"
],
"pinyin": [
"sh",
"shg"
],
"en": [
"Yangshan"
]
}
},
{
"id": "ningbo",
"name": {
"zh-CN": "宁波",
"en": "Ningbo",
"ja": "寧波",
"ko": "닝보"
},
"region": "浙江",
"search": {
"zh": [
"宁波舟山",
"北仑",
"舟山"
],
"pinyin": [
"nb",
"nbzs"
],
"en": [
"Ningbo-Zhoushan",
"Beilun"
]
}
}
],
"provenance": {
"api": "v1",
"site": "chukoudan.com",
"generated_at": "2026-10-07T04:00:00.000Z",
"language": "en",
"source_line": "Source: 出口单 (Chukoudan), chukoudan.com · data 2026-09-25",
"notice": "This site is not an official channel. It is for reference only; the official publication prevails.",
"datasets": [
{
"id": "ports",
"version": "2026-09-25",
"published_at": "2026-09-25",
"origin": "chukoudan-port-list",
"source": null
}
],
"license": {
"status": "approved",
"ours": "dataset.license.ours",
"underlying": "dataset.license.underlying"
}
}
}資料列裡的數字保持發布時的字串原樣。翻頁用 offset 和 limit;最後一頁的 next 是 null。
範例是用本站介面自己的代碼在 2026-10-07 實際執行得到的,沒有改動。
完整說明
GET /v1/openapi.json 是機器可讀的說明(OpenAPI 3.1),涵蓋每個路徑、回應和每個工具的輸入;它由工具本身產生,所以不會與介面的實際行為不一致。下面各工具的輸入表就來自它。
有些匯入工具只讀 OpenAPI 3.0,比如 Coze(扣子):同一份說明還有 3.0 版,內容一樣。
計算機及其輸入項
每個計算機的地址是 /v1/tools/ 加它的編號,再加 /compute。下面列出每個計算機的輸入項、回傳的數值和讀取的資料。
FOB/CIF/CFR 報價baojia
由成本算三種術語報價和利潤
- 地址
POST /v1/tools/baojia/compute- 計算機頁面
- FOB/CIF/CFR 報價
- 讀取的資料
central-parity@current, ports@current, refund-rates@current- 回傳的數值
priceFob, totalFob, commissionPriceFob*, commissionTotalFob*, profitFob, marginFob*, marginAltFob*, breakEvenFob, priceCfr*, totalCfr*, commissionPriceCfr*, commissionTotalCfr*, profitCfr*, marginCfr*, marginAltCfr*, breakEvenCfr*, priceCif*, totalCif*, commissionPriceCif*, commissionTotalCif*, profitCif*, marginCif*, marginAltCif*, breakEvenCif*, refundTotal, costTotal* (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
mode | choice | 選填 |
price | decimal | 必填 |
quantity | decimal | 必填 |
unit | choice | 選填 |
taxRate | decimal | 必填 |
refundRate | decimal | 必填 |
domestic | decimal | 選填 |
domesticBasis | choice | 選填 |
currency | currency | 選填 |
fxRate | decimal | 必填 |
fxPer | choice | 選填 |
freight | decimal | 選填 |
freightBasis | choice | 選填 |
containers | integer | 選填 |
volume | decimal | 選填 |
insuranceRate | decimal | 選填 |
markup | decimal | 選填 |
commission | decimal | 選填 |
margin | decimal | 選填 |
marginBasis | choice | 選填 |
term | choice | 選填 |
quotedPrice | decimal | 選填 |
port | text | 選填 |
關稅估算duty-estimate
這批貨運到英國,買家要付多少關稅和增值稅,到岸總成本是多少
- 地址
POST /v1/tools/duty-estimate/compute- 計算機頁面
- 關稅估算
- 讀取的資料
duty-rules@current, uk-tariff@current- 回傳的數值
customsValue, duty, dutyBy, vatBase*, vat, vatBy, taxes, landed, rulesStatus, taxesPerUnit*, landedPerUnit** (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
destination | text | 必填 |
goods | decimal | 必填 |
currency | currency | 必填 |
rate | decimal | 選填 |
quantity | decimal | 選填 |
freight | decimal | 選填 |
insurance | decimal | 選填 |
dutyRate | decimal | 選填 |
vatRate | decimal | 必填 |
CBM / 體積重cbm
算立方數、毛重和空運快遞計費重
- 地址
POST /v1/tools/cbm/compute- 計算機頁面
- CBM / 體積重
- 讀取的資料
divisors@current, containers@current- 回傳的數值
totalVolume, lclChargeable*, perCartonVolume*, totalGrossWeight*, airChargeable*, expressChargeable*, airVolumetric, expressVolumetric, chargeable*, airBy*, expressBy*, lclBy** (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
cartons | rows | 必填 |
lengthUnit | choice | 選填 |
weightUnit | choice | 選填 |
mode | choice | 選填 |
airDivisor | integer | 選填 |
expressDivisor | integer | 選填 |
裝櫃計算器container-load
每櫃裝多少箱、要幾個櫃、怎麼擺
- 地址
POST /v1/tools/container-load/compute- 計算機頁面
- 裝櫃計算器
- 讀取的資料
containers@current- 回傳的數值
perContainer20GP*, containers20GP*, lastContainer20GP*, rows20GP*, columns20GP*, layers20GP*, along20GP*, across20GP*, up20GP*, volumeUse20GP*, weightUse20GP*, limit20GP*, rank20GP*, spareLength20GP*, spareWidth20GP*, spareHeight20GP*, spareLengthIn20GP*, spareWidthIn20GP*, spareHeightIn20GP*, usedRows20GP*, lastRows20GP*, lastRowBoxes20GP*, fullVolumeUse20GP*, lastVolumeUse20GP*, fullWeight20GP*, lastWeight20GP*, fullWeightUse20GP*, lastWeightUse20GP*, lastDoorGap20GP*, lastDoorGapIn20GP*, perContainer40GP*, containers40GP*, lastContainer40GP*, rows40GP*, columns40GP*, layers40GP*, along40GP*, across40GP*, up40GP*, volumeUse40GP*, weightUse40GP*, limit40GP*, rank40GP*, spareLength40GP*, spareWidth40GP*, spareHeight40GP*, spareLengthIn40GP*, spareWidthIn40GP*, spareHeightIn40GP*, usedRows40GP*, lastRows40GP*, lastRowBoxes40GP*, fullVolumeUse40GP*, lastVolumeUse40GP*, fullWeight40GP*, lastWeight40GP*, fullWeightUse40GP*, lastWeightUse40GP*, lastDoorGap40GP*, lastDoorGapIn40GP*, perContainer40HQ*, containers40HQ*, lastContainer40HQ*, rows40HQ*, columns40HQ*, layers40HQ*, along40HQ*, across40HQ*, up40HQ*, volumeUse40HQ*, weightUse40HQ*, limit40HQ*, rank40HQ*, spareLength40HQ*, spareWidth40HQ*, spareHeight40HQ*, spareLengthIn40HQ*, spareWidthIn40HQ*, spareHeightIn40HQ*, usedRows40HQ*, lastRows40HQ*, lastRowBoxes40HQ*, fullVolumeUse40HQ*, lastVolumeUse40HQ*, fullWeight40HQ*, lastWeight40HQ*, fullWeightUse40HQ*, lastWeightUse40HQ*, lastDoorGap40HQ*, lastDoorGapIn40HQ*, perContainer45HQ*, containers45HQ*, lastContainer45HQ*, rows45HQ*, columns45HQ*, layers45HQ*, along45HQ*, across45HQ*, up45HQ*, volumeUse45HQ*, weightUse45HQ*, limit45HQ*, rank45HQ*, spareLength45HQ*, spareWidth45HQ*, spareHeight45HQ*, spareLengthIn45HQ*, spareWidthIn45HQ*, spareHeightIn45HQ*, usedRows45HQ*, lastRows45HQ*, lastRowBoxes45HQ*, fullVolumeUse45HQ*, lastVolumeUse45HQ*, fullWeight45HQ*, lastWeight45HQ*, fullWeightUse45HQ*, lastWeightUse45HQ*, lastDoorGap45HQ*, lastDoorGapIn45HQ*, best** (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
lengthUnit | choice | 選填 |
weightUnit | choice | 選填 |
length | decimal | 必填 |
width | decimal | 必填 |
height | decimal | 必填 |
grossWeight | decimal | 選填 |
quantity | integer | 選填 |
fill | boolean | 選填 |
upright | boolean | 選填 |
maxLayers | integer | 選填 |
containerType | choice | 選填 |
單位換算unit-convert
長度、重量、體積,按國際通用的定義係數換算
- 地址
POST /v1/tools/unit-convert/compute- 計算機頁面
- 單位換算
- 讀取的資料
- 不讀資料,匯率等放在輸入裡
- 回傳的數值
result
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
value | decimal | 必填 |
from | choice | 必填 |
to | choice | 必填 |
出口退稅計算器tuishui
填發票金額和退稅率,立刻看到應退稅額和每一步的出處
- 地址
POST /v1/tools/tuishui/compute- 計算機頁面
- 出口退稅計算器
- 讀取的資料
refund-rates@current, central-parity@current- 回傳的數值
refund*, basis*, inputVat*, costAddition*, nonCreditableOffset*, nonCreditable*, taxPayable*, endCredit*, exemptionOffset*, exemption*, exempted*, carriedForward*, taxDue** (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
enterpriseType | choice | 必填 |
mode | choice | 選填 |
exports | rows | 必填 |
outputTax | decimal | 選填 |
inputTax | decimal | 選填 |
carriedCredit | decimal | 選填 |
declaredEndCredit | decimal | 選填 |
結算匯率fx-convert
人民幣匯率中間價,和按你的銀行價估算的結匯金額
- 地址
POST /v1/tools/fx-convert/compute- 計算機頁面
- 結算匯率
- 讀取的資料
central-parity@current- 回傳的數值
midpoint, bankRate*, gap*, gapShown*, estimated*, atMidpoint*, atBank*, difference** (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
currency | currency | 必填 |
amount | decimal | 選填 |
bankRate | decimal | 選填 |
keptRate | decimal | 選填 |
keptMidpoint | decimal | 選填 |
keptOn | text | 選填 |
結匯成本計算器fx-cost
比較銀行和其他方式一年到手多少人民幣
- 地址
POST /v1/tools/fx-cost/compute- 計算機頁面
- 結匯成本計算器
- 讀取的資料
central-parity@current- 回傳的數值
annualBank, feesBank, costBank, gainBank, rankBank, annualB*, feesB*, costB*, gainB*, rankB*, annualC*, feesC*, costC*, gainC*, rankC*, annualMidpoint, best* (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
receipts | rows | 必填 |
bankFee | decimal | 選填 |
useB | boolean | 選填 |
nameB | text | 選填 |
feePercentB | decimal | 選填 |
feePerReceiptB | decimal | 選填 |
useC | boolean | 選填 |
nameC | text | 選填 |
feePercentC | decimal | 選填 |
feePerReceiptC | decimal | 選填 |
PI 生成pi
算形式發票的小計、折扣、總計和定金
- 地址
POST /v1/tools/pi/compute- 計算機頁面
- PI 生成
- 讀取的資料
- 不讀資料,匯率等放在輸入裡
- 回傳的數值
subtotal, discountAmount*, freight*, insurance*, total, deposit*, balance** (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
currency | currency | 選填 |
lines | rows | 必填 |
discount | decimal | 選填 |
discountBasis | choice | 選填 |
freight | decimal | 選填 |
insurance | decimal | 選填 |
depositRate | decimal | 選填 |
issueDate | date | 選填 |
validUntil | date | 選填 |
嘜頭生成maitou
正嘜和側嘜,A4 或 100×150 mm 標籤直接打印
- 地址
POST /v1/tools/maitou/compute- 計算機頁面
- 嘜頭生成
- 讀取的資料
- 不讀資料,匯率等放在輸入裡
- 回傳的數值
- –
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
cartons | integer | 必填 |
length | decimal | 必填 |
width | decimal | 必填 |
height | decimal | 必填 |
grossWeight | decimal | 必填 |
netWeight | decimal | 必填 |
lines | rows | 選填 |
capitals | boolean | 選填 |
標籤與條碼label
EAN、UPC、FNSKU 條碼,A4 或標籤紙直接打印
- 地址
POST /v1/tools/label/compute- 計算機頁面
- 標籤與條碼
- 讀取的資料
- 不讀資料,匯率等放在輸入裡
- 回傳的數值
- –
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
type | choice | 必填 |
rows | rows | 必填 |
paper | choice | 選填 |
startCell | integer | 選填 |
亞馬遜費用amazon-fees
填入售價、成本和亞馬遜的各項費用,算出每件和整批的淨利潤、利潤率和保本價
- 地址
POST /v1/tools/amazon-fees/compute- 計算機頁面
- 亞馬遜費用
- 讀取的資料
- 不讀資料,匯率等放在輸入裡
- 回傳的數值
netUnit, netBatch, margin, returnOnCost*, breakEven*, targetPrice*, totalUnit, revenueBatch, totalBatch, outcome* (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
currency | currency | 選填 |
quantity | integer | 必填 |
price | decimal | 必填 |
cost | decimal | 必填 |
inboundCost | decimal | 選填 |
otherCost | decimal | 選填 |
referralRate | decimal | 必填 |
fulfilmentFee | decimal | 必填 |
storageFee | decimal | 選填 |
storageMonths | integer | 選填 |
adsRate | decimal | 選填 |
returnRate | decimal | 選填 |
targetMargin | decimal | 選填 |
貨運保險費cargo-insurance
算 CIF 保險費、CIF 價和投保金額,可填最低保費
- 地址
POST /v1/tools/cargo-insurance/compute- 計算機頁面
- 貨運保險費
- 讀取的資料
- 不讀資料,匯率等放在輸入裡
- 回傳的數值
goods, cfr, premium, cif, insured, premiumBasis** (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
currency | currency | 選填 |
price | decimal | 必填 |
quantity | decimal | 必填 |
freight | decimal | 選填 |
rate | decimal | 必填 |
rateUnit | choice | 選填 |
markup | decimal | 選填 |
minimum | decimal | 選填 |
托盤裝櫃pallet-load
一個櫃裝多少托、多少箱:填托盤、箱子、限高和櫃型,看俯視圖
- 地址
POST /v1/tools/pallet-load/compute- 計算機頁面
- 托盤裝櫃
- 讀取的資料
containers@current- 回傳的數值
pallets*, limit, cartonsPerPallet*, cartons*, totalWeight*, weightUse*, volumeUse*, perLayer*, layerRows*, layerColumns*, layerWay*, layers*, loadedHeight*, loadedWeight*, orientation*, orientationBy*, slots*, stack*, weightCap*, palletsA*, palletsB*, usedSlotsA*, usedSlotsB*, rowsA, columnsA, slotsA, rowsB, columnsB, slotsB, insideVolume* (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
lengthUnit | choice | 選填 |
weightUnit | choice | 選填 |
palletLength | decimal | 必填 |
palletWidth | decimal | 必填 |
palletHeight | decimal | 必填 |
palletWeight | decimal | 必填 |
length | decimal | 必填 |
width | decimal | 必填 |
height | decimal | 必填 |
grossWeight | decimal | 必填 |
maxHeight | decimal | 選填 |
cartonsPerLayer | integer | 選填 |
layerCount | integer | 選填 |
containerType | choice | 選填 |
insideLength | decimal | 選填 |
insideWidth | decimal | 選填 |
insideHeight | decimal | 選填 |
doorHeight | decimal | 選填 |
payload | decimal | 選填 |
stack | choice | 選填 |
orientation | choice | 選填 |
信用證手續費lc-fees
同意信用證之前先算清:你要付多少銀行費用,實收多少
- 地址
POST /v1/tools/lc-fees/compute- 計算機頁面
- 信用證手續費
- 讀取的資料
central-parity@current- 回傳的數值
total, net, share, feeCount, quarters*, fee1*, basis1*, fee2*, basis2*, fee3*, basis3*, fee4*, basis4*, fee5*, basis5*, fee6*, basis6*, fee7*, basis7*, fee8*, basis8** (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
currency | currency | 選填 |
amount | decimal | 必填 |
term | choice | 選填 |
days | integer | 選填 |
daysPerQuarter | integer | 選填 |
cnyRate | decimal | 選填 |
cnyPer | choice | 選填 |
fees | rows | 必填 |
運費估算freight
海運整櫃、拼箱、空運和快遞:你填運價,算出這批貨的運費
- 地址
POST /v1/tools/freight/compute- 計算機頁面
- 運費估算
- 讀取的資料
divisors@current- 回傳的數值
total, freight, extras, perContainer*, perCarton*, perUnit*, chargeable*, chargedBy, containerType** (不一定出現)
| 輸入項 | 類型 | 是否必填 |
|---|---|---|
mode | choice | 必填 |
currency | currency | 選填 |
rate | decimal | 必填 |
containers | integer | 選填 |
containerType | choice | 選填 |
cartons | integer | 選填 |
length | decimal | 選填 |
width | decimal | 選填 |
height | decimal | 選填 |
grossWeight | decimal | 選填 |
extras | rows | 選填 |
想要檔案而不是介面?每個資料集都有可引用的網頁,並提供 CSV 和 JSON 下載:資料來源與許可