{"slug":"api-boscolabs-dev-v1-tariff-lookup-414929","title":"HS tariff code and customs duty lookup","host":"api.boscolabs.dev","method":"POST","resource":"https://api.boscolabs.dev/v1/tariff-lookup","category":"code","description":"HS tariff code and customs duty lookup: US HTS and UK tariff, MFN and preferential rates, UK VAT; or describe a product and get 5 candidate codes. USITC and HMRC data. Typical call $0.005: $0.005 per code lookup or search, min $0.005. upto: pay only for delivered rows; exact: pays the quote. Nothing","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":297,"reported_calls_30d":5,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"code":"8712.00.15","market":"US"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"code":{"description":"A US HTS code","pattern":"^[\\d\\s.\\-]*$","type":"string"},"market":{"default":"US","description":"Which tariff to read: \"US\" (Harmonized Tariff Schedule, USITC) or \"UK\"","enum":["US","UK","GB"],"type":"string"},"originCountry":{"description":"ISO 3166 alpha-2 code of the country the goods come from, e.g. \"CN\" or \"DE\"","pattern":"^\\s*([A-Za-z]{2})?\\s*$","type":"string"},"query":{"description":"Plain product description, 2-200 characters, e.g. \"bicycle\" or \"cotton t-shirt\"","pattern":"^[^\\[\\]{}<>\\r\\n]*$","type":"string"}},"required":[],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"charged_usd":{"description":"What is settled, in USD (USDC).","type":"number"},"count":{"type":"integer"},"message":{"type":"string"},"paid_via":{"const":"x402","type":"string"},"rows":{"description":"One object per result row, with its source_url. Fields and types: GET https://api.boscolabs.dev/v1/tools","items":{"type":"object"},"type":"array"},"tool":{"type":"string"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["tool","rows","count"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":291,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":297,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":291,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":286,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":303,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":543,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":300,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":547,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":319,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":286,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":288,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":598,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":304,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":544,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":636,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":597,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":574,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":288,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":301,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":599,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":585,"error":null}],"description_full":"HS tariff code and customs duty lookup: US HTS and UK tariff, MFN and preferential rates, UK VAT; or describe a product and get 5 candidate codes. USITC and HMRC data. Typical call $0.005: $0.005 per code lookup or search, min $0.005. upto: pay only for delivered rows; exact: pays the quote. Nothing is settled on an error or empty result. By Bosco Labs: official sources, source link per row.","last_updated":"2026-11-19T08:24:33.597Z","schemes":["exact","upto"]}