API Documentation
Integrate Shiportrade's powerful calculators and tools directly into your applications, ERPs, and logistics platforms.
REST APIJSON ResponseRate Limited
Fast
<100ms response time
Secure
API key authentication
Global
Available worldwide
Simple
RESTful JSON API
Quick Start
Get started with our API in minutes:
# Example: Calculate CBM
curl -X POST "https://api.shiportrade.com/v1/calculators/cbm" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"length": 1.2,
"width": 0.8,
"height": 0.9,
"quantity": 10,
"unit": "meters"
}'Available Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/calculators/cbm | Calculate cubic meters |
| POST | /api/v1/calculators/landed-cost | Calculate landed cost |
| GET | /api/v1/calculators/volumetric-weight | Calculate volumetric weight |
| POST | /api/v1/documents/invoice | Generate commercial invoice |
| GET | /api/v1/ports/search | Search ports by UN/LOCODE |
| GET | /api/v1/currencies/rates | Get exchange rates |
Authentication
All API requests require authentication via an API key. Include your key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
To obtain an API key, contact our business team at api@shiportrade.com
Rate Limits
100
requests/minute
5,000
requests/day
100,000
requests/month
Ready to Integrate?
Contact our team to get your API key and start building.