border.bot
Esc
  • Loading…
↑ ↓ to move↵ to openEsc to close
Docs menu

border.bot API documentation

Classify products to HS codes, calculate duties, taxes and landed cost, check restricted goods and agency filings, and screen parties for cross-border shipments with the border.bot REST API or MCP server.

border.bot classifies products to HS codes, works out the duties, taxes and fees a parcel pays on arrival, and checks what else the border needs: restricted goods, agency filings and denied parties. The same engine runs the dashboard, the REST API at https://api.border.bot and the remote MCP server at https://mcp.border.bot/mcp.

Products#

Product What it answers Guide
Classify The commodity code for a product, in the destination's format Classify
Calculate Every duty, tax and fee line and the landed cost of a parcel or order Calculate
Restrict Whether goods are prohibited or restricted, and which agencies need data Restrict
Screen Whether a buyer or seller is on a denied-party or sanctions list Screen
Comply What each agency needs filed at entry: a CPSC certificate with its citations, testing and labelling, or a disclaim Comply

When to use border.bot#

Use border.bot when software, or an agent working for someone, needs one of these answers for a cross-border shipment:

Job REST endpoint MCP
The HS, HTS, CN or UK commodity code for a product, in the destination's format POST /v1/classify (/classify/batch for up to 25) yes
Landed cost: every duty, tax and fee line and the total for a parcel POST /v1/calculate (/calculate/shipment for up to 50 lines) yes
How additional duties stack on one line (US Section 232, 301, IEEPA and similar) POST /v1/calculate/stacking no
Where a product was made, from a URL, title or barcode POST /v1/origin yes
Whether goods are restricted or prohibited in the destination POST /v1/restrictions yes
What each agency needs filed at entry (CPSC eFiling: a certificate or a disclaim) POST /v1/comply yes
Denied-party screening of a buyer or seller POST /v1/screen yes
Thousands of products at once POST /v1/bulk/runs no

border.bot gives estimates and classifications backed by cited sources. It does not issue binding rulings, file customs declarations or book freight, and it is not a customs broker or adviser: results can be wrong or out of date, so have them checked with the customs authority or a licensed broker before you rely on them, and pass that on to your users. Use of the API and MCP server is covered by the terms of service and the privacy policy.

Two ways in#

  • REST API: JSON over HTTPS with an access token from a workspace API client. Best for checkouts, catalogues and back-office jobs. Start with the quickstart.
  • MCP server: for Claude, ChatGPT, Codex, Cursor and other MCP clients. People sign in with OAuth, so no API client is needed. See MCP.

Both use the same prepaid credits. New workspaces get free credits, and three reference endpoints need no authentication at all (see authentication).

For agents#

Every docs page is available as Markdown: add .md to its URL or send Accept: text/markdown. The index of everything is at /llms.txt, and the machine-readable discovery files are listed in Agent discovery.

Last updated