Gateway API Reference
The Gateway API gives active customers programmatic access to their account — shipments, insurance, customs filings, tariff lookups, vessel schedules, documents, and webhooks. All endpoints are JSON over HTTPS.
Base URL
https://app.gatewaylines.comAuthentication
All requests require an API key sent via the Authorization header. Keys are scoped to a single Gateway account and inherit your account's permissions.
curl https://app.gatewaylines.com/api/v1/shipments \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Returns standard HTTP status codes. 401 means missing or invalid key.403 means the key lacks permission for the resource.
API Keys
API keys are managed inside your Gateway customer portal. Sign in to app.gatewaylines.com, open the API Keys section under your profile, and create a key. You can rotate, pause, or revoke keys at any time.
- Keys never expire automatically — rotate on your own cadence.
- Each key has a per-month call counter visible in the portal.
- Treat keys like passwords — never commit them to source control.
Shipments
View and create shipments from your Gateway account
Insurance
View cargo insurance policies and claims on your shipments
Inbound Orders
View purchase orders and supplier shipments
Inventory
Access your product catalog with SKUs, HTS codes, and origin data
Suppliers
Access your supplier directory
Vendors
Manage carriers, brokers, forwarders, and other vendors
Compliance Tools
OTI Lookup, FMCSA Carrier, Customs Broker, SCAC, Corporation, and Denied Party Screening
Customs & E-Filing
Submit customs filings and run compliance checks
Tariff & HTS
HTS code lookup, keyword search, and tariff exposure analysis
CO2 Emissions
Calculate carbon emissions for ocean shipping routes
Vessel Schedules
Search sailing schedules, port traffic, and vessel movements
Intelligence
Port congestion data and ML-powered rate forecasting
Analytics & Reports
Shipping analytics, KPIs, spend breakdowns, and reports
Invoices
Access your Gateway invoices and payment history
Documents
Access shipping documents (BOL, commercial invoices, packing lists)
Courier Rates
Get domestic courier shipping rates (UPS, FedEx, USPS)
Ports
Look up port information by UN/LOCODE
Webhooks
Subscribe to real-time events. Gateway sends POST requests to your URL when events occur.
Health
Check API and system health status
Ready to integrate?
Sign up for a Gateway account to get your API key and start making requests.