{"info":{"_postman_id":"5017d9e2-ce72-41b0-b521-bc9c18a41e18","name":"CBP Duty Calculation API","description":"<html><head></head><body><h1 id=\"cbp-duty-calculation-api\">CBP Duty Calculation API</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>API for calculating US Customs and Border Protection (CBP) duties against the Harmonized Tariff Schedule of the United States (HTSUS).</p>\n<p>The endpoints available are:</p>\n<ul>\n<li><p><code>POST /api/v1/duties/calculate</code> — compute the total duty owed for a single product line, broken down per duty layer (base rate, Ch. 99 supplemental surcharges) and per component (compound and content-based rates).</p>\n</li>\n<li><p><code>GET /api/v1/hts-codes</code> — look up a single HTS entry and return its full hierarchical description, accepted units of measure, and the components it requires (if any).</p>\n</li>\n</ul>\n<p>The authentication flow is OAuth 2.0 client-credentials. All requests require <code>Authorization: Bearer</code> .</p>\n<h2 id=\"endpoints\">Endpoints</h2>\n<h3 id=\"post-apiv1dutiescalculate--calculate-duties\"><code>POST /api/v1/duties/calculate</code> — Calculate duties</h3>\n<p>Resolves the request's <code>htsCode</code> against the HTSUS data (including chapter 98 replacements and chapter 99 supplementals), and calculates the duties owed based on input data, returning the following information:</p>\n<ul>\n<li><p><code>htsClassification</code> — the resolved HTS entry.</p>\n</li>\n<li><p><code>baseCalculations[]</code> — one entry per base duty layer that contributed to the total.</p>\n</li>\n<li><p><code>componentCalculations[]</code> — when the product carries components (compound rates or content-based rates), one entry per component with its HTS code, per-component duty layers, and the component's total duty.</p>\n</li>\n<li><p><code>totalDutiesOwed</code> — sum of all <code>baseCalculations[].dutiesOwed</code> and <code>componentCalculations[].dutiesOwed</code> in USD.</p>\n</li>\n</ul>\n<p>Special-case routing: when the request's HTS code falls under Chapter 76 (aluminum articles), the calculator switches to the Section 232 split-duty strategy, which requires the request to supply <code>aluminumSmelt</code> (single-unit aluminum content value, weight in kg, primary country of smelt). When the HTS code resolves to a sliding-duty entry in heading 1701 (raw sugar), the request must supply <code>sugarPolarizationDegree</code>.</p>\n<h3 id=\"get-apiv1hts-codeshtscodecode--hts-code-lookup\"><code>GET /api/v1/hts-codes?htsCode={code}</code> — HTS code lookup</h3>\n<p>Reference lookup for client integrations to discover what an HTS code resolves to before submitting a calculation request. Accepts the HTS code in either dotted (<code>9101.11.40</code>) or undotted (<code>91011140</code>) form; both are accepted, and returns the following information:</p>\n<ul>\n<li><p><code>htsCode</code> — the normalized HTS code in canonical dotted format.</p>\n</li>\n<li><p><code>text</code> — the <strong>full hierarchical description</strong> (heading + subheading + tariff line + statistical suffix, concatenated).</p>\n</li>\n<li><p><code>unitsOfMeasure</code> — the accepted units of measure for the entry (e.g. <code>[\"Number\"]</code>, <code>[\"Kg\"]</code>).</p>\n</li>\n<li><p><code>requiredComponents</code> — the components a duty calculation request must supply for this code. Each entry has the component's HTS code and its leaf-level description (not the full path). Empty list when no components are required.</p>\n</li>\n</ul>\n<h2 id=\"authentication\">Authentication</h2>\n<p>OAuth 2.0 client-credentials flow. Token endpoint:</p>\n<ul>\n<li>Sandbox: <code>https://auth.dutycollection-sandbox.safepackage.com/realms/SafePackage/protocol/openid-connect/token</code></li>\n</ul>\n<p>Submit the resulting JWT as <code>Authorization: Bearer</code> on each request.</p>\n<h2 id=\"errors\">Errors</h2>\n<p>All <code>400 Bad Request</code> responses follow the shape <code>{ \"errors\": [{ \"code\", \"propertyName\", \"errorMessage\", \"attemptedValue\" }] }</code>. Codes are stable and prefixed <code>V_</code> for validation failures (e.g. <code>V_InvalidHtsCode</code>, <code>V_HtsCodeNotFound</code>, <code>V_UnitOfMeasureMismatch</code>, <code>V_MissingRequiredComponents</code>, <code>V_CountryNotFound</code>). <code>404 Not Found</code> is returned without a body for HTS lookups against unknown codes. <code>401 Unauthorized</code> and <code>403 Forbidden</code> are returned by the auth middleware before the handler runs.</p>\n<h2 id=\"support\">Support</h2>\n<ul>\n<li><p>API access provisioning: <code>api-access@safepackage.com</code></p>\n</li>\n<li><p>Technical support: <code>support@safepackage.com</code></p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"CBP Duty Calculation API","slug":"cbp-duty-calculation-api"}],"owner":"48610445","collectionId":"5017d9e2-ce72-41b0-b521-bc9c18a41e18","publishedId":"2sBXwqrW6N","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"BA2D53"},"publishDate":"2026-06-08T16:36:35.000Z"},"item":[{"name":"Client Credentials Authentication","id":"25b128d5-f297-4c3e-b975-c2b8d6937857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"type":"text","key":"grant_type","value":"client_credentials"},{"type":"text","key":"client_id","value":"your_client_id"},{"type":"text","key":"client_secret","value":"your_client_secret"}]},"url":"","urlObject":{"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"25b128d5-f297-4c3e-b975-c2b8d6937857"},{"name":"Calculate Duties","id":"3fede234-4f64-4d9a-b8e2-72df49fd745b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"productInfo\": {\n    \"htsCode\": \"6201.40.50.11\",\n    \"quantity\": {\n      \"amount\": 25,\n      \"unitOfMeasure\": \"Dozen\"\n    },\n    \"singleUnitDeclaredValue\": 1000,\n    \"countryOfOrigin\": \"CN\",\n    \"entryDate\": \"2026-04-07\",\n    \"components\": []\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net/api/v1/duties/calculate","description":"<h1 id=\"calculate-duties\">Calculate duties</h1>\n<p>Resolves the request's HTS code against the HTSUS tariff tree and returns the total duty owed for a single product line, broken down by duty layer.</p>\n<h2 id=\"request-body\">Request body</h2>\n<ul>\n<li><p><strong>productInfo.htsCode</strong> (string, required) — HTS tariff code. Dotted (<code>9101.11.40</code>) or undotted (<code>91011140</code>) — both are accepted.</p>\n</li>\n<li><p><strong>productInfo.quantity</strong> (object, required) — <code>{ amount: number &gt; 0, unitOfMeasure: enum }</code>. <code>unitOfMeasure</code> must match the unit required by the resolved tariff entry; mismatches return <code>V_UnitOfMeasureMismatch</code>.</p>\n</li>\n<li><p><strong>productInfo.singleUnitDeclaredValue</strong> (number, required) — declared customs value of a single unit in USD, &gt; 0.</p>\n</li>\n<li><p><strong>productInfo.countryOfOrigin</strong> (string, required) — ISO 3166-1 alpha-2.</p>\n</li>\n<li><p><strong>productInfo.entryDate</strong> (string, required) — ISO 8601 date (<code>YYYY-MM-DD</code>). Determines which HTSUS revision and Ch. 99 supplementals apply.</p>\n</li>\n<li><p><strong>productInfo.components</strong> (array, optional) — required for compound rates (e.g. watches: case, movement, strap, battery) and content-based rates (e.g. lead content in copper ore). Each component carries its own HTS code, optional <code>singleUnitDeclaredValue</code>, and a <strong>required</strong> <code>quantity</code> representing the quantity <strong>per single unit of the parent product</strong> (total component count is computed as <code>component.quantity \\* parent.quantity</code>).</p>\n</li>\n<li><p><strong>productInfo.sugarPolarizationDegree</strong> (number 0..100, conditionally required) — required only for Ch. 17 raw sugar sliding rates (heading 1701).</p>\n</li>\n<li><p><strong>productInfo.aluminumSmelt</strong> (object, conditionally required) — required only for Ch. 76 aluminum articles. Carries the aluminum content value per unit, content weight in kg, and the primary country of smelt.</p>\n</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<ul>\n<li><p><strong>htsClassification</strong> — resolved HTS entry: matched HTS code (may differ from the request when the tariff resolves to a parent or a Ch. 98 replacement) and its full hierarchical description.</p>\n</li>\n<li><p><strong>baseCalculations[]</strong> — duty layers driving the base rate, additional duties, and Ch. 99 supplemental surcharges. Each layer: <code>sourceHtsCode</code>, <code>description</code> (leaf-level), <code>dutiesOwed</code> in USD.</p>\n</li>\n<li><p><strong>componentCalculations[]</strong> — per-component duty layers when the product carries components. Each entry: component HTS code, leaf-level description, per-component duty calculations, and the component's <code>dutiesOwed</code>.</p>\n</li>\n<li><p><strong>totalDutiesOwed</strong> — sum of all <code>baseCalculations[].dutiesOwed</code> + <code>componentCalculations[].dutiesOwed</code> in USD.</p>\n</li>\n</ul>\n<h2 id=\"validation\">Validation</h2>\n<p>Validation is assertable by error code (all prefixed <code>V_</code>):</p>\n<ul>\n<li><p><code>V_ValueEmpty</code>, <code>V_InvalidHtsCode</code>, <code>V_HtsCodeNotFound</code> — HTS code missing, malformed, or unknown.</p>\n</li>\n<li><p><code>V_UnitOfMeasureMismatch</code> — the supplied unit does not match the tariff's required unit.</p>\n</li>\n<li><p><code>V_InvalidCountryCode</code>, <code>V_CountryNotFound</code> — bad ISO2 or unknown country.</p>\n</li>\n<li><p><code>V_ValueMustBeGreaterThanZero</code> — <code>singleUnitDeclaredValue</code> or <code>quantity.amount</code> is zero or negative.</p>\n</li>\n<li><p><code>V_DuplicateComponentsNotAllowed</code>, <code>V_InvalidComponentHtsCode</code>, <code>V_MissingRequiredComponents</code> — components list problems.</p>\n</li>\n<li><p><code>V_AluminumSmeltDataRequired</code>, <code>V_SugarPolarizationDegreeRequired</code> — Ch. 76 / heading 1701 entries without their required side data.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","duties","calculate"],"host":["https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net"],"query":[],"variable":[]}},"response":[{"id":"3800e939-edce-4bd4-aa98-f490d6e3b47b","name":"Regular product (no components)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"productInfo\": {\n    \"htsCode\": \"6201.40.50.11\",\n    \"quantity\": {\n      \"amount\": 25,\n      \"unitOfMeasure\": \"Dozen\"\n    },\n    \"singleUnitDeclaredValue\": 1000,\n    \"countryOfOrigin\": \"CN\",\n    \"entryDate\": \"2026-04-07\",\n    \"components\": []\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net/api/v1/duties/calculate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"htsClassification\": {\n    \"htsCode\": \"6201.40.50\",\n    \"text\": \"Men's or boys' overcoats, carcoats, capes, cloaks, anoraks (including ski jackets), windbreakers and similar articles (including padded, sleeveless jackets), other than those of heading 6203: Of man-made fibers: Other\"\n  },\n  \"baseCalculations\": [\n    {\n      \"sourceHtsCode\": \"6201.40.50\",\n      \"description\": \"Other\",\n      \"dutiesOwed\": 6925\n    }\n  ],\n  \"componentCalculations\": [],\n  \"totalDutiesOwed\": 6925\n}"},{"id":"5576b46f-57fd-4499-a68b-81de5c778923","name":"Compound product (watch with components)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"productInfo\": {\n    \"htsCode\": \"9101.11.40\",\n    \"quantity\": {\n      \"amount\": 10,\n      \"unitOfMeasure\": \"Number\"\n    },\n    \"singleUnitDeclaredValue\": 250,\n    \"countryOfOrigin\": \"CN\",\n    \"entryDate\": \"2026-04-07\",\n    \"components\": [\n      {\n        \"htsCode\": \"9101.11.40.10\",\n        \"singleUnitDeclaredValue\": 85,\n        \"quantity\": {\n          \"amount\": 1,\n          \"unitOfMeasure\": \"Number\"\n        }\n      },\n      {\n        \"htsCode\": \"9101.11.40.20\",\n        \"singleUnitDeclaredValue\": 150,\n        \"quantity\": {\n          \"amount\": 1,\n          \"unitOfMeasure\": \"Number\"\n        }\n      },\n      {\n        \"htsCode\": \"9101.11.40.30\",\n        \"singleUnitDeclaredValue\": 15,\n        \"quantity\": {\n          \"amount\": 1,\n          \"unitOfMeasure\": \"Number\"\n        }\n      },\n      {\n        \"htsCode\": \"9101.11.40.40\",\n        \"singleUnitDeclaredValue\": 3,\n        \"quantity\": {\n          \"amount\": 1,\n          \"unitOfMeasure\": \"Number\"\n        }\n      }\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net/api/v1/duties/calculate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"htsClassification\": {\n    \"htsCode\": \"9101.11.40\",\n    \"text\": \"Wrist watches, pocket watches and other watches, including stop watches, with case of precious metal or of metal clad with precious metal: With mechanical display only: Having no jewels or only one jewel in the movement\"\n  },\n  \"baseCalculations\": [],\n  \"componentCalculations\": [\n    {\n      \"htsCode\": \"9101.11.40.10\",\n      \"text\": \"Movement\",\n      \"dutyCalculations\": [\n        {\n          \"sourceHtsCode\": \"9101.11.40.10\",\n          \"description\": \"Movement\",\n          \"dutiesOwed\": 5.1\n        }\n      ],\n      \"dutiesOwed\": 5.1\n    },\n    {\n      \"htsCode\": \"9101.11.40.20\",\n      \"text\": \"Case\",\n      \"dutyCalculations\": [\n        {\n          \"sourceHtsCode\": \"9101.11.40.20\",\n          \"description\": \"Case\",\n          \"dutiesOwed\": 93.75\n        }\n      ],\n      \"dutiesOwed\": 93.75\n    },\n    {\n      \"htsCode\": \"9101.11.40.30\",\n      \"text\": \"Strap, band or bracelet\",\n      \"dutyCalculations\": [\n        {\n          \"sourceHtsCode\": \"9101.11.40.30\",\n          \"description\": \"Strap, band or bracelet\",\n          \"dutiesOwed\": 9.38\n        }\n      ],\n      \"dutiesOwed\": 9.38\n    },\n    {\n      \"htsCode\": \"9101.11.40.40\",\n      \"text\": \"Battery\",\n      \"dutyCalculations\": [\n        {\n          \"sourceHtsCode\": \"9101.11.40.40\",\n          \"description\": \"Battery\",\n          \"dutiesOwed\": 1.59\n        }\n      ],\n      \"dutiesOwed\": 1.59\n    }\n  ],\n  \"totalDutiesOwed\": 109.82\n}"},{"id":"c7be0dac-75f8-49c4-a71d-c941a4d8ce14","name":"Regular product (no components)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"productInfo\": {\n    \"htsCode\": \"6201.40.50.11\",\n    \"quantity\": {\n      \"amount\": 25,\n      \"unitOfMeasure\": \"Dozen\"\n    },\n    \"singleUnitDeclaredValue\": 1000,\n    \"countryOfOrigin\": \"CN\",\n    \"entryDate\": \"2026-04-07\",\n    \"components\": []\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net/api/v1/duties/calculate"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"fieldName\": \"string\",\n      \"rejectedValue\": \"string\",\n      \"code\": \"string\",\n      \"referenceValue\": \"\",\n      \"message\": \"string\"\n    },\n    {\n      \"fieldName\": \"string\",\n      \"rejectedValue\": \"string\",\n      \"code\": \"string\",\n      \"referenceValue\": \"\",\n      \"message\": \"string\"\n    }\n  ]\n}"},{"id":"2cd77785-8056-4d0d-bb8c-3be8cc065d7f","name":"Compound product (watch with components)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"productInfo\": {\n    \"htsCode\": \"9101.11.40\",\n    \"quantity\": {\n      \"amount\": 10,\n      \"unitOfMeasure\": \"Number\"\n    },\n    \"singleUnitDeclaredValue\": 250,\n    \"countryOfOrigin\": \"CN\",\n    \"entryDate\": \"2026-04-07\",\n    \"components\": [\n      {\n        \"htsCode\": \"9101.11.40.10\",\n        \"singleUnitDeclaredValue\": 85,\n        \"quantity\": {\n          \"amount\": 1,\n          \"unitOfMeasure\": \"Number\"\n        }\n      },\n      {\n        \"htsCode\": \"9101.11.40.20\",\n        \"singleUnitDeclaredValue\": 150,\n        \"quantity\": {\n          \"amount\": 1,\n          \"unitOfMeasure\": \"Number\"\n        }\n      },\n      {\n        \"htsCode\": \"9101.11.40.30\",\n        \"singleUnitDeclaredValue\": 15,\n        \"quantity\": {\n          \"amount\": 1,\n          \"unitOfMeasure\": \"Number\"\n        }\n      },\n      {\n        \"htsCode\": \"9101.11.40.40\",\n        \"singleUnitDeclaredValue\": 3,\n        \"quantity\": {\n          \"amount\": 1,\n          \"unitOfMeasure\": \"Number\"\n        }\n      }\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net/api/v1/duties/calculate"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"fieldName\": \"string\",\n      \"rejectedValue\": \"string\",\n      \"code\": \"string\",\n      \"referenceValue\": \"\",\n      \"message\": \"string\"\n    },\n    {\n      \"fieldName\": \"string\",\n      \"rejectedValue\": \"string\",\n      \"code\": \"string\",\n      \"referenceValue\": \"\",\n      \"message\": \"string\"\n    }\n  ]\n}"}],"_postman_id":"3fede234-4f64-4d9a-b8e2-72df49fd745b"},{"name":"Get Hts Code Info","id":"0f5875cd-a789-47ba-8357-b099dba21410","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net/api/v1/hts-codes?htsCode=6201.40.50.11","description":"<h1 id=\"get-hts-code-info\">Get HTS code info</h1>\n<p>Reference lookup for a single HTS code. Accepts both dotted (<code>9101.11.40</code>) and undotted (<code>91011140</code>) forms; the request is normalized server-side to the canonical dotted representation before the lookup runs.</p>\n<h2 id=\"query-parameters\">Query parameters</h2>\n<ul>\n<li><strong>htsCode</strong> (string, required) — HTS tariff code. Must satisfy <code>^(\\d{4}\\.\\d{2}\\.\\d{2}(\\.\\d{2})?|\\d{8}(\\d{2})?)$</code>.</li>\n</ul>\n<h2 id=\"response-200\">Response (200)</h2>\n<ul>\n<li><strong>htsCode</strong> — the normalized HTS code in canonical dotted form.</li>\n<li><strong>text</strong> — full hierarchical description (heading + subheading + tariff line + statistical suffix, concatenated with single-space separator; parent-level colons in the source data give natural punctuation).</li>\n<li><strong>unitsOfMeasure</strong> — accepted units of measure for this HTS entry (e.g. <code>[\"Number\"]</code>, <code>[\"Kg\"]</code>).</li>\n<li><strong>requiredComponents</strong> — components a duty calculation request must supply for this HTS code. Each entry: <code>htsCode</code> of the required component and its leaf-level <code>text</code> (not the full hierarchical path). Empty list when no components are required.</li>\n</ul>\n<h2 id=\"responses\">Responses</h2>\n<ul>\n<li><code>200 OK</code> — HTS entry resolved.</li>\n<li><code>400 Bad Request</code> (<code>V_InvalidHtsCode</code>) — <code>htsCode</code> does not match the regex.</li>\n<li><code>404 Not Found</code> — <code>htsCode</code> is well-formed but has no corresponding entry in the tariff tree.</li>\n<li><code>401 Unauthorized</code> — missing or invalid bearer token.</li>\n<li><code>403 Forbidden</code> — token lacks <code>hts-codes#view</code> permission.</li>\n</ul>\n","urlObject":{"path":["api","v1","hts-codes"],"host":["https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net"],"query":[{"key":"htsCode","value":"6201.40.50.11"}],"variable":[]}},"response":[{"id":"d942f8c5-d83e-4359-a7e7-a43985d6f077","name":"Regular product (no components)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net/api/v1/hts-codes?htsCode=6201.40.50.11","host":["https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net"],"path":["api","v1","hts-codes"],"query":[{"key":"htsCode","value":"6201.40.50.11"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"htsCode\": \"6201.40.50.11\",\n  \"text\": \"Men's or boys' overcoats, carcoats, capes, cloaks, anoraks (including ski jackets), windbreakers and similar articles (including padded, sleeveless jackets), other than those of heading 6203: Of man-made fibers: Other: Men's (634)\",\n  \"unitsOfMeasure\": [\n    \"Dozen\",\n    \"Kg\"\n  ],\n  \"requiredComponents\": []\n}"},{"id":"543397d3-99ba-49ff-83fa-dd5437f1635f","name":"Compound product (watch with components)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net/api/v1/hts-codes?htsCode=6201.40.50.11","host":["https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net"],"path":["api","v1","hts-codes"],"query":[{"key":"htsCode","value":"6201.40.50.11"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"htsCode\": \"9101.11.40\",\n  \"text\": \"Wrist watches, pocket watches and other watches, including stop watches, with case of precious metal or of metal clad with precious metal: With mechanical display only: Having no jewels or only one jewel in the movement\",\n  \"unitsOfMeasure\": [\n    \"Number\"\n  ],\n  \"requiredComponents\": [\n    {\n      \"htsCode\": \"9101.11.40.10\",\n      \"text\": \"Movement\"\n    },\n    {\n      \"htsCode\": \"9101.11.40.20\",\n      \"text\": \"Case\"\n    },\n    {\n      \"htsCode\": \"9101.11.40.30\",\n      \"text\": \"Strap, band or bracelet\"\n    },\n    {\n      \"htsCode\": \"9101.11.40.40\",\n      \"text\": \"Battery\"\n    }\n  ]\n}"},{"id":"7bdb5d96-349a-4de5-bfbd-f75ba5555b6b","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net/api/v1/hts-codes?htsCode=6201.40.50.11","host":["https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net"],"path":["api","v1","hts-codes"],"query":[{"key":"htsCode","value":"6201.40.50.11"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"fieldName\": \"string\",\n      \"rejectedValue\": \"string\",\n      \"code\": \"string\",\n      \"referenceValue\": \"\",\n      \"message\": \"string\"\n    },\n    {\n      \"fieldName\": \"string\",\n      \"rejectedValue\": \"string\",\n      \"code\": \"string\",\n      \"referenceValue\": \"\",\n      \"message\": \"string\"\n    }\n  ]\n}"},{"id":"f584cc01-06bf-4380-b83a-6c463cc8aafa","name":"Not Found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net/api/v1/hts-codes?htsCode=6201.40.50.11","host":["https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net"],"path":["api","v1","hts-codes"],"query":[{"key":"htsCode","value":"6201.40.50.11"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0f5875cd-a789-47ba-8357-b099dba21410"}],"event":[{"listen":"prerequest","script":{"id":"a8438284-2c60-43ff-a18f-bd144bc71275","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"a1b1ce65-6bcd-49fa-b786-f0d2cb3ef1d1","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://cbp-duty-calculator-api-bphgdfh7g3fncdde.westus-01.azurewebsites.net"},{"key":"tokenUrl","value":""}]}