Terminal49Client with methods grouped by resource type. Each method corresponds to an API endpoint.
Resource namespaces (recommended)
Search
Shipments
Containers
Tracking requests
Shipping lines
Trade intelligence
Trade intelligence covers US import bill-of-lading records (US Customs manifests) from January 2022 onward, refreshed daily. These methods return the API’s plain JSON body (not JSON:API), soformat does not apply. Accounts without the feature get FeatureNotEnabledError; contact sales@terminal49.com to enable it.
trends and breakdown include the current, partial month by default. Company names are split by state and large importers use several names, so treat a company’s figures as a floor. See the Trade Intelligence API reference for every field and caveat.
Helpers and aliases
Direct method equivalents
All namespace methods are also available as direct methods on the client:Common options
Most methods accept anoptions object with format:
raw(default) returns the JSON:API responsemappedreturns simplified objects for methods that support mappingbothreturns{ raw, mapped }