65 ENDPOINTS

API Catalog

What problem each endpoint solves. To test with real data, use the Playground.

Classification

AI-powered HS code classification with GRI reasoning

Final products classified by assembled FUNCTION (not dominant component). Components get GRI reasoning + rejected alternatives you can cite in audits.

/v1/classify
Final product HS code + GRI reasoning
1 credits
/v1/classify-component
Component code by end-use + CBP defensibility
1 credits
/v1/batch-classify
Classify entire BOM (hs_code fast-path = free)
1 credits
/v1/classification-interview
Pre-classification questions to improve accuracy
Free

Tariff Rates

9 markets with MFN, FTA, and policy tariffs

107,000+ rates from official sources, updated daily. Includes Section 301/232/Section 122 that most databases miss.

/v1/tariff-rates
US MFN + Section 301/232/122 + USMCA stacking
0.5 credits
/v1/mexico-tariff-rates
Mexico LIGIE rates (8,177 codes)
0.5 credits
/v1/canada-tariff-rates
Canada CBSA rates (8,240 codes)
0.5 credits
/v1/eu-tariff-rates
EU TARIC + Mexico FTA rates
0.5 credits
/v1/japan-tariff-rates
Japan + EPA/CPTPP rates
0.5 credits
/v1/brazil-tariff-rates
Brazil TEC + ACE 55 rates
0.5 credits
/v1/india-tariff-rates
India + 5 FTA rates
0.5 credits
/v1/vietnam-tariff-rates
Vietnam CPTPP/EVFTA/RCEP rates
0.5 credits
/v1/cptpp-tariff-rates
CPTPP 7-market rates (AU, CL, MY, NZ, PE, SG, VN)
0.5 credits
/v1/rate-history
Historical rate changes for an HS code
0.5 credits

Duty Calculation

Complete landed cost with all policy tariffs

Stacks MFN + Section 301 + Section 232 + Section 122 correctly. Most calculators miss one or more layers.

/v1/duty-calculate
Total duty: MFN + 301 + 232 + Section 122 + MPF
0.5 credits
/v1/multi-market-compare
Compare landed cost across 9 markets
0.5 credits
/v1/ieepa-refund
Estimate IEEPA refund eligibility
0.5 credits

USMCA & FTA

Trade agreement qualification and rules

Product-specific rules from USMCA Annex 4-B. Calculates RVC% and tells you which criterion (A/B/C/D) applies.

/v1/usmca-qualify
Does my product qualify for USMCA?
1 credits
/v1/fta-check
Which of 24 FTAs apply?
0.5 credits
/v1/rules-of-origin
Product-specific origin rules
0.5 credits
/v1/automotive-rules
USMCA automotive LVC rules
0.5 credits
/v1/textile-rules
USMCA yarn-forward rules
0.5 credits

Policy & Risk

Trade policy monitoring and risk assessment

Monitors 33 government feeds daily. Alerts filtered to YOUR HS codes, not generic news.

/v1/policy-alerts
What policy changes affect my products?
0.5 credits
/v1/country-risk
Geopolitical risk + Section 122 rates by country
0.5 credits
/v1/transshipment-risk
Will CBP flag this as transshipment?
0.5 credits
/v1/ad-cvd-orders
Active AD/CVD orders (124 tracked)
0.5 credits
/v1/rate-changes
Recent tariff rate changes
0.5 credits
Want to try these endpoints? Open the Playground with dev-test-key

CBP Compliance

CBP audit preparation and response tools

Built for escalating CBP enforcement. Penalty estimates based on actual 19 USC 1592 tiers.

/v1/penalty-calculator
Estimate 19 USC 1592 penalties
0.5 credits
/v1/entry-review-simulation
What does CBP see in my entry?
0.5 credits
/v1/binding-ruling-search
Ruling request templates and CROSS guidance
0.5 credits
/v1/ctpat-checklist
C-TPAT compliance checklist
0.5 credits
/v1/cbp-response-templates
CF 28/29 response templates
0.5 credits
/v1/party-screen
Restricted party screening (BIS Entity List)
0.5 credits
/v1/defensibility-report
AI-generated CBP audit documentation
2 credits

Mexico Strategic

Nearshoring analysis and Mexico programs

Mexico has 14 FTAs covering 50+ countries. Shows which programs (IMMEX, PROSEC) you actually qualify for.

/v1/mexico-savings
ROI of moving production to Mexico
0.5 credits
/v1/mexico-trade-routes
Mexico's 14 FTA agreements
0.5 credits
/v1/mexico-programs
IMMEX, PROSEC, Drawback eligibility
0.5 credits
/v1/nom-requirements
Mexican NOM compliance (23 standards)
0.5 credits

Full Analysis

Comprehensive trade intelligence reports

Everything in one call: classification, rates, qualification, policy risks, and actionable output.

/v1/analyze
Complete multi-market trade analysis
1 credits

Document Parsing

Extract trade data from invoices and certificates

Upload a PDF invoice or certificate — get structured HS codes, values, and origin data back.

/v1/parse-invoice
Extract HS codes + values from invoices
0.5 credits
/v1/parse-certificate
Parse existing certificates of origin
0.5 credits
/v1/document-templates
CBP form templates and field guides
Free

Utility & Free

Reference data, translation, and system endpoints

Free reference endpoints. Check data coverage (107K+ records), translate results, and preflight checks.

/v1/health
API health + data coverage stats
Free
/v1/countries
Country list with risk tiers
Free
/v1/usage
Your API usage stats
Free
/v1/reference-data
HS chapter and section reference
Free
/v1/workflow-export
Export your workflow data
Free
/v1/translate
Translate results to any language
Free
/v1/tariff-preflight
Pre-check before tariff lookup (drives paid calls)
Free
/v1/industries
Industry RVC thresholds
Free
/v1/data-quality
Database coverage health check
0.5 credits
/v1/semantic-search
Multilingual HS code search
0.5 credits
/v1/classification-patterns
Cross-user classification insights
0.5 credits

Embeddable Widgets

Drop-in components for your app — iframe or JS

Same intelligence as the API, packaged for easy embedding. 7 visual widgets + 5 supporting APIs.

/widgets/component-lookup
HS classification widget (AI-powered)
2 credits
/widgets/tariff-lookup
Tariff rate calculator widget
0.5 credits
/widgets/entry-review
CBP entry review & risk scoring
0.5 credits
/widgets/mexico-roi
Nearshoring ROI calculator
0.5 credits
/widgets/usmca-check
USMCA qualification checker
0.5 credits
/widgets/semantic-search
Multilingual HS code search
0.5 credits
/widgets/ieepa-refund
IEEPA refund estimator
0.5 credits
/widgets/audit-export
Export audit documentation
Free
/widgets/classification-interview
Pre-classification interview questions
Free
/widgets/tariff-preflight
Preflight checks before tariff lookup
Free
/widgets/translate-results
Translate widget results to any language
Free
/widgets/options
Dropdown metadata (countries, industries)
Free

Customs broker or compliance platform? See how teams embed Triangle →

Ready to test?

Use dev-test-key in the Playground to test any endpoint free.

Open Playground