CA Trade Lookup
🏠 首页 API文档
⭐ 0

加拿大 HS Code 与税率智能查询

搜索加拿大海关税则,为进口到加拿大的任何产品查找 HS Code 和适用税率

Try:

Search Results

Showing 4 results for "Fresh Atlantic Salmon"
0302.11.00

Fresh Atlantic Salmon

Salmonidae, fresh or chilled, excluding fillets, meat, livers and roes

Chapter 03 Fish & Crustaceans ✓ Exact Match
MFN: Free · GST: 5%
GST 5%
View Details ›
0302.14.00

Pacific Salmon (Sockeye, Coho, Chinook)

Pacific salmon species, fresh or chilled, whole or in pieces

Chapter 03 Fish & Crustaceans ✓ Exact Match
MFN: Free · GST: 5%
GST 5%
View Details ›
0303.11.00

Frozen Sockeye Salmon

Sockeye salmon (Oncorhynchus nerka), frozen, excluding fillets

Chapter 03 Fish & Crustaceans – Related
MFN: Free · GST: 5%
GST 5%
View Details ›
0304.42.00

Salmon Fillets, Fresh

Fresh or chilled fillets and other meat of salmonidae, fresh

Chapter 03 Fish & Crustaceans – Related
MFN: Free · GST: 5%
GST 5%
View Details ›

Semantic Search

Describe your product in natural language — our AI maps it to the correct HS code classification automatically.

Complete Duty Breakdown

View MFN rates, GST, PST, and any applicable preferential tariff treatments (CUSMA, CPTPP, etc.).

REST API Access

Integrate HS code lookup into your own systems with our developer-friendly API. Rate-limited free tier available.

API 开发者文档

通过 REST API 批量提交 HS Code 查询任务,支持 Webhook 回调通知

Base URL https://hscode.proxy.jiayouexp.com/api

1 鉴权规则

API 支持两种鉴权方式:

方式一:API Key(推荐)

在请求头中携带 API Key 和 Secret:

Request Headers
X-Api-Key: sk_your_api_key_here
X-Api-Secret: your_secret_here

📌 每个用户最多创建 10 个 API Key。请在「个人中心 - API Keys」中管理。

方式二:Bearer Token

使用用户登录后的 JWT Token:

Request Headers
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...

2 提交查询任务

POST /api/api/submit

请求参数

参数类型必填说明
productsarray是商品品名数组,最多 500 个
webhook_urlstring否本次任务的回调 URL(可选覆盖)

请求示例

cURL
curl -X POST https://hscode.proxy.jiayouexp.com/api/api/submit \
  -H "X-Api-Key: sk_your_key" \
  -H "X-Api-Secret: your_secret" \
  -H "Content-Type: application/json" \
  -d '{
    "products": [
      "Fresh Atlantic Salmon",
      "Cotton T-shirts",
      "Wireless Mouse"
    ]
  }'

响应示例

JSON Response
{
  "code": 0,
  "message": "任务已提交,共3条",
  "data": {
    "batch_no": "BAT20240422123456001",
    "total": 3,
    "processed": 3,
    "paused": 0,
    "balance": 47,
    "task_ids": [101, 102, 103],
    "paused_ids": []
  }
}

3 查询任务状态

GET /api/api/tasks

查询参数

参数类型必填说明
pageint否页码,默认 1
limitint否每页数量,默认 20,最大 100
batch_nostring否按批次号筛选
statusstring否按状态筛选:queued/processing/success/failed/paused

请求示例

cURL
curl "https://hscode.proxy.jiayouexp.com/api/api/tasks?batch_no=BAT20240422123456001" \
  -H "X-Api-Key: sk_your_key" \
  -H "X-Api-Secret: your_secret"

4 Webhook 回调规则

回调触发时机

当任务处理完成后(成功或失败),系统会自动向用户配置的 Webhook URL 发送 HTTP POST 请求。

回调 Payload

Webhook Payload
{
  "event": "task.completed",
  "task_id": 101,
  "batch_no": "BAT20240422123456001",
  "type": "api",
  "product_name": "Fresh Atlantic Salmon",
  "hscode": "0302110000",
  "confidence": 0.95,
  "status": "success",
  "error_msg": null,
  "created_at": "2024-04-22 12:34:56",
  "finished_at": "2024-04-22 12:34:58"
}

签名验证

如果 Webhook 配置了 Secret,回调请求头会包含签名:

Verification Headers
X-Webhook-Signature: sha256=abc123...
X-Webhook-Timestamp: 1713772496

验证方式:HMAC-SHA256(payload_body, secret)

重试机制

🔄 回调失败时自动重试,最多重试 3 次:

  • 第 1 次重试:等待 2 分钟
  • 第 2 次重试:等待 4 分钟
  • 第 3 次重试:等待 8 分钟
  • 超过 3 次后标记为 failed

响应要求

您的 Webhook 服务应在 10 秒内返回 HTTP 2xx 状态码,否则视为回调失败。

5 错误码

HTTP 状态码说明
401鉴权失败(API Key 无效或 Token 过期)
400请求参数错误
403权限不足(API Key 已禁用)
500服务器内部错误
Error Response Format
{
  "code": -1,
  "message": "错误描述",
  "data": []
}

Welcome back

Log in to continue using HS Code lookup services

Don't have an account? Sign up

Create account

Register to start using HS Code intelligent lookup

Already have an account? Log in

HS Code 智能查询

AI 驱动的商品品名匹配加拿大 HS Code 服务

🔍

单个查询

输入品名查询 HS Code

📊

批量查询

上传 Excel 批量处理

📋

任务列表

查看所有任务和进度

💰

充值积分

1 元 = 50 积分

任务概览

最近任务

View all →

🔍 单个 HS Code 查询

输入商品品名,AI 自动匹配加拿大 HS Code

← Back

每个品名消耗 1 积分

📊 批量上传查询

上传 Excel 文件,批量处理多个品名

📥 下载模板 ← Back

Click or drag file here

First column: product names, supports .xlsx and .csv

📦 批次列表

📋 任务列表

← Back

📈 Batch Progress

← Back

💰 充值积分

为账户充值积分,用于 HS Code 查询

← Back
Rate1 CNY = 50 points
Points to receive:0

📝 Usage Log

← Back
Data Source: CBSA Customs Tariff Privacy Policy Terms of Use Contact

Data sourced from the Canada Border Services Agency (CBSA) Canadian Customs Tariff. Updated regularly. Not legal advice.