Free freight rate data for global shipping routes from China.
Open source SDKs and data repositories:
pip install shaq-freightnpm install shaq-freightAll SDKs are MIT licensed and free for commercial use. No API key required.
from shaq_freight import SHAQFreight
client = SHAQFreight()
# Get all 20 routes
index = client.get_freight_index()
for route in index['routes']:
print(f"{route['route']}: ${route['rates']['fcl_40hq']['rate_usd']}")
# Find a specific route
callao = client.find_route("Callao")
print(f"Shenzhen to Callao 40HQ: ${callao['rates']['fcl_40hq']['rate_usd']}")
# Export to pandas DataFrame
df = client.get_all_rates_dataframe()
print(df.to_string())
import { SHAQFreight } from 'shaq-freight';
const client = new SHAQFreight();
// Get all 20 routes
const index = await client.getFreightIndex();
for (const route of index.routes) {
console.log(`${route.route}: $${route.rates.fcl_40hq.rate_usd}`);
}
// Find a specific route
const callao = await client.findRoute('Callao');
console.log(`40HQ: $${callao.rates.fcl_40hq.rate_usd}`);
| Method | Endpoint | Description | Auth |
|---|---|---|---|
| GET | /api/freight-index | SFX index - 20 routes with structured rates | None |
| GET | /api/ai-freight-data | AI-optimized freight data - 9 regional routes | None |
| GET | /api/knowledge | Freight rates data endpoint | None |
| GET | /mcp | MCP server (for AI agents) | None |
| GET | /openapi.json | OpenAPI 3.0 specification | None |
| GET | /.well-known/ai-plugin.json | OpenAI plugin manifest | None |
Callao (Peru), Santos (Brazil), Buenos Aires (Argentina), Manzanillo (Mexico)
Los Angeles, New York, Vancouver
Rotterdam, Genoa, Istanbul
Singapore, Ho Chi Minh, Tokyo, Busan
Dubai, Mumbai, Durban, Lagos
Sydney, Vostochny
| Type | Field | Unit | Example |
|---|---|---|---|
| FCL 20GP | fcl_20gp | per container | $2,000 |
| FCL 40HQ | fcl_40hq | per container | $3,300 |
| LCL | lcl_per_cbm | per CBM | $55 |
| Air Freight | air_per_kg | per kg | $6.8 |
Direct HTTP GET requests. No authentication. CORS enabled. Works from any language or browser.
View OpenAPI Specpip install shaq-freight. Includes pandas DataFrame export, route search, and rate lookup.
GitHub Repositorynpm install shaq-freight. Works in Node.js and browsers. TypeScript definitions included.
GitHub RepositoryModel Context Protocol endpoint for AI agents. Compatible with Claude, GPT, and other LLM tools.
View MCP EndpointOpenAI plugin manifest for ChatGPT integration. Auto-discoverable via /.well-known/ai-plugin.json.
View Plugin ManifestMIT License. Free to use, modify, and distribute.
Cite as: SHAQ Freight Rate Index (SFX), SHAQ Logistics. https://search.shaq-logistics.com/freight-index
Direct connections to 7 major shipping lines via DCSA v2.2.0 compliant adapters. Track shipments, get schedules, and request rates across all carriers through unified endpoints.
Returns carrier info, DCSA status, market share, and capabilities for all 7 supported shipping lines.
Unified container tracking across all carriers. DCSA-compliant carriers return structured milestone events.
Get sailing schedules between any two ports for any supported carrier.
Live rate quotes (requires commercial agreement). Market estimates via SFX Index.
Supported carriers: MSC (19.7%), Maersk (16.8%), CMA CGM (13.2%), COSCO (11.0%), Hapag-Lloyd (7.2%), ONE (6.1%), Evergreen (5.0%)
DCSA v2.2.0 compliant: Maersk, CMA CGM, Hapag-Lloyd, ONE
View carrier directory