CODICI APIを使えば、あらゆるソフトウェアからHSコードを検索できます。認証はAPIキーを使用。レスポンスはJSON形式です。

エンドポイント

POST https://api.codi.ci/v1/lookup

認証

リクエストヘッダーにAPIキーを含めます。

X-API-Key: your_api_key_here

レスポンスフィールド

フィールド説明
hs_code推奨HSコード
descriptionHS章および項の説明
confidence信頼スコア(0〜1)
explanationこのコードが選択された理由の説明

リクエスト

# cURL example curl -X POST https://api.codi.ci/v1/lookup \ -H "X-API-Key: your_api_key" \ -H "Content-Type: application/json" \ -d '{ "product": "stainless steel kitchen knives", "country_of_origin": "CN" }'

レスポンス

{ "hs_code": "8211.10", "description": "Knives with fixed blades", "confidence": 0.97, "explanation": "Classified under HS chapter 82 (tools, implements...). The item is a kitchen knife with a fixed blade, falling under heading 8211.", "lookup_id": "lk_a8f2c91d" }

アクセスの取得

すべての登録アカウントでAPIアクセスが利用可能です。

プロフェッショナルアクセスについてお問い合わせ