Skip to main content
The TRA Import Tax Calculator API turns a used-car listing URL into a complete Tanzania Revenue Authority (TRA) import-duty estimate. Give it a link to a vehicle on a supported auction site and it scrapes the vehicle, matches it against the official TRA vehicle database, calls the TRA calculator, and returns the full tax breakdown — import duty, excise, VAT, levies, and registration fees.

Base URL

https://import.kopagari.com
The upstream TRA calculator only answers requests from Tanzanian IP addresses, so the API is deployed on Tanzanian infrastructure — call it through this host, not the TRA portal directly.

How it works

1

Send a listing URL

POST /v1/estimate with the listing URL from a supported auction site (BeForward, SBT Japan, SBI / Enhance Auto, or any site exposing schema.org listing data).
2

We scrape and match

The API extracts make, model, chassis code, year, engine capacity, fuel, and price, then resolves the vehicle against the TRA database (by chassis code, or via AI when no exact code match exists).
3

You get the tax breakdown

The response includes the scraped car, the matched TRA classification with a confidence score, and the full tax breakdown in USD and TZS.

What you can build

Instant valuations

Show landed-cost estimates on a dealer site or marketplace the moment a buyer pastes a link.

Condition insights

Summarise Japanese auction inspection sheets into structured, readable reports.

Side-by-side comparison

Compare two vehicles on total cost and condition, with a recommendation.

Import-cost tooling

Embed accurate TRA duty figures into financing, insurance, or logistics workflows.

Endpoints

MethodPathPurpose
POST/v1/estimateListing URL → full TRA tax + drive-away breakdown
POST/v1/condition-reportSummarise an auction inspection sheet
POST/v1/compareCompare two listings with a recommendation
GET/v1/tra-statusCheck whether the TRA portal is reachable
Every endpoint requires an API key — see Authentication.