Stable
Sign Up
PlatformA REST API for customs and trade compliance

The Stable platform,
as an API.

Classification, denied-party screening, landed-cost, drawback, and CBP filing — every capability in the platform, available as clean REST endpoints with webhooks, SDKs, and a sandbox. Build compliance directly into your own systems.

See how it works
6
endpoint families: classify, screen, landed-cost, drawback, file, and events
<300ms
median response time for a classification or screening call
99.9%
uptime target, with a public status page and versioned releases
0
breaking changes without a new, dated API version
api.stablesoftware.com / reference / classify
Request
cURLNodePython
curl https://api.stablesoftware.com/v1/classify \
-H "Authorization: Bearer sk_live_7Qa…" \
-H "Content-Type: application/json" \
-d '{ "description": "PCB assembly, 802.11ax WiFi module",
"country_of_origin": "CN" }'
Response200 OK · 128ms
{
"hts_code": "8517.62.0090",
"confidence": 0.914,
"ruling": "NY N304182",
"duty": { "base": "0%", "section_301": "7.5%" },
"alternatives": [
{ "hts_code": "8525.60.1010", "confidence": 0.062 }
]
}
REST APIWebhooksSDKsSandbox & KeysVersioned & StableOpenAPI SpecREST APIWebhooksSDKsSandbox & KeysVersioned & StableOpenAPI Spec
What it does

Six things the API gives
your engineers.

Built for the team wiring compliance into their own product. Not a portal with an export button bolted on.

01: ONE API, WHOLE PLATFORM

Every capability, one integration.

Classification, denied-party screening, landed-cost, drawback eligibility, and CBP filing are all exposed through the same REST API and the same auth. Integrate once, use everything.

02: REST + JSON

Predictable endpoints your team already knows.

Resource-oriented URLs, JSON request and response bodies, standard HTTP verbs and status codes, cursor pagination, and idempotency keys on every write.

03: WEBHOOKS

Push, not poll, for anything async.

Subscribe to events — classification completed, screening hit, entry accepted by CBP — and get a signed webhook the moment state changes, with automatic retries and a delivery log.

04: SDKS & OPENAPI

First-class libraries and a typed spec.

Official SDKs for Node, Python, and Go, generated from a published OpenAPI 3 spec, so types, autocomplete, and docs stay in sync with the API.

05: SANDBOX & KEYS

Build against realistic data before you go live.

A full sandbox with test keys and representative entries, scoped API keys per environment, and instant rotation, so you develop and test without touching production.

06: VERSIONED & AUDITED

Stable by name and by contract.

Date-based versioning with backward-compatible releases, a public status page, and an audit log of every call, so the integration you ship today keeps working.

How it works

From sandbox key
to production in a day.

Four steps from your first request to a live integration, with a stable contract you can build against.

01: GET A KEY

Create a scoped key in the sandbox.

Generate test and live keys per environment, scoped to the endpoints you need. No sales call to start building.

02: CALL

Send a request, get a structured response.

Hit /v1/classify, /v1/screen, or /v1/landed-cost with JSON. Responses come back typed, with reasoning and references where it matters, usually in under 300ms.

03: SUBSCRIBE

Listen for events with webhooks.

Register a webhook endpoint and subscribe to the events you care about. Signed payloads, automatic retries, and a full delivery log.

04: GO LIVE

Swap to live keys and ship.

Move from sandbox to production with the same code and a live key. Versioned releases mean the contract you built against stays stable.

Connections

Fits the stack your engineers already run.

Call the API from any language over HTTPS, reach for an official SDK when you want types, and wire events into the tools your team already uses. No custom middleware required.

Your systems

ERP & TMS

SAP
Oracle
NetSuite
CargoWise
Custom (REST)
Languages & SDKs

Client libraries

Node
Python
Go
cURL
OpenAPI 3
Events & delivery

Webhooks & tooling

Webhooks
Slack
Zapier
Amazon S3
Postman
Common questions

What engineers ask us
before they integrate.

Everything the platform does: classify items to HTS, screen parties against sanctions and denied-party lists, calculate landed cost, check drawback eligibility, and file entries to CBP, all through one REST API.
Bearer tokens. Create scoped API keys per environment in the dashboard, rotate them instantly, and keep test and live keys separate. Every request is over HTTPS.
Yes: official Node, Python, and Go SDKs generated from a published OpenAPI 3 specification, so types and docs track the API.
The API is date-versioned. New behavior ships under a new version; existing versions stay backward-compatible, so integrations don't break underneath you.
Yes. A full sandbox with test keys and representative data lets you build and test end to end, including webhooks, before switching to live keys.

Build compliance into your own stack.

Request API access. We'll set you up with sandbox keys and the reference, and walk your team through the endpoints you need first.