Powerful Sea & Air Freight Logistics API
Instantly find nearest ports, calculate distances, and optimize your supply chain with our fast, reliable, and customizable freight data API.
Everything Your Logistics App Needs
Our API provides all the critical data points for modern freight management.
Extensive Port Database
Access data on all major airports and over 520 major sea ports worldwide. Our database is constantly updated for maximum accuracy.
Flexible Input
Query by port name, UN/LOCODE, or precise latitude and longitude. Our API automatically finds the nearest port to any coordinate.
Accurate Distances
Get precise sea and air route distances between any two points in our network, calculated using industry-standard routing logic.
Fully Customizable
Need custom data points, private port inclusion, or bespoke integrations? Our API and team are ready to adapt to your specific needs.
Simple to Integrate. Powerful Results.
Get up and running with a simple, developer-friendly REST API.
Find Nearest Port from Coordinates
Send a latitude and longitude to our `/nearest-port` endpoint. The API automatically queries our extensive database to find the closest matching sea or air port, returning its details and identifiers.
Send a GET request with your lat/long and API key.
Our engine calculates the nearest port from 520+ options.
Receive a clean JSON response in milliseconds.
# API Request: Find nearest port
GET /v1/nearest-port?lat=34.0522&lon=-118.2437
Authorization: Bearer YOUR_API_KEY
// API Response
{
"query": {
"lat": 34.0522,
"lon": -118.2437
},
"nearest_port": {
"name": "Port of Los Angeles",
"code": "USLAX",
"type": "sea",
"country": "USA",
"coordinates": {
"lat": 33.7292,
"lon": -118.2620
},
"distance_from_query_km": 36.5
}
}
Simple, Transparent Pricing
Choose the plan that fits your needs. No hidden fees.
Developer
For testing and small projects.
- 3,000 requests/month
- Port database access
- Community support
- £0.02 / extra request
Pro
For growing businesses and apps.
- 10,000 requests/month
- Port & distance calculations
- Nearest port by lat/long
- Email support
- £0.01 / extra request
Business
For established operations.
- 50,000 requests/month
- All Pro features
- Dedicated support
- 99.9% Uptime SLA
- £0.005 / extra request
Custom
For high-volume, custom needs.
- Custom request volume
- Custom integrations
- Bespoke data & SLAs
- Dedicated 24/7 support
Ready to Optimize Your Logistics?
Get started with our free plan or contact our team to design a custom solution for your business.
Get Your API Key Now