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 就直接用呢句,唔好自己再计过数字;冇 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 下载:资料来源与许可