Skip to main content

We use cookies for analytics. Privacy

Back to Work
Trade & LogisticsCase study

TariffSync

U.S. Import Tariff Lookup API

Built with
TypeScriptNode.jsExpressPostgreSQLRedisDockerDocker ComposeJest

Inside the project

01 / 01

Project artwork illustrating trade routes and cross-border data.

TariffSync1 / 1

TariffSync global trade project artwork

Project artwork illustrating trade routes and cross-border data.

The brief

A problem worth
building around.

Import duty research requires connecting product classifications, country-specific rules and supplementary duties. TariffSync explores how those lookups can fit into an API workflow instead of being repeated manually.

Our approach

The implementation combines rule-based product matching and keyword search with tariff lookups, caching and data synchronization. API key authentication, usage limits and audit logging support the surrounding developer workflow.

The experience

What it lets
people do.

The capabilities that turn the underlying engineering into a usable product.

  1. 01

    Tariff rate calculation

  2. 02

    Hybrid product classification engine

  3. 03

    Multi-country trade agreement support

  4. 04

    Supplementary duty automation (301/232)

  5. 05

    Multi-level caching layer

  6. 06

    API key authentication with secure hashing

  7. 07

    Tiered rate limiting and usage tracking

  8. 08

    Tariff data synchronization

  9. 09

    Comprehensive audit logging

  10. 10

    IP whitelist for enterprise customers

Project record

What came out of it.

  • REST endpoints for tariff lookup and duty breakdowns

  • Rule-based and keyword-based product classification

  • Country and supplementary-duty handling in the API workflow

  • API authentication, usage controls and audit logging

Tariff lookup API
Project
Rules and keyword matching
Classification
PostgreSQL + Redis
Storage
REST
Interface

Under the hood

Three-tier API architecture with hybrid classification engine and multi-level caching for tariff lookups

frontend
backend
database
service
external
ai
cache
REST APIValidated requestCache checkClassifyHTS lookupFallbackRate calc
Client Apps
E-commerce, ERP, WMS
API Gateway
Auth, rate limiting, logging
Tariff Calculator
Rate computation engine
Product Classifier
Hybrid classification
PostgreSQL
HTS data & mappings
Cache Layer
Cached lookups
USITC API
Official tariff source

Three-tier API architecture with hybrid classification engine and multi-level caching for tariff lookups

Facing Similar Challenges?

Every business is different, but the problems tend to rhyme. Get in touch and tell us about yours.

A conversation, not a pitch
No obligation
We reply when we can