GETAPI key
Latest lane rate
GETapi.freightratesmcp.com/lane
The latest rate for a single lane. Both ports are required.
Query parameters
pol
Port of loading UN/LOCODE.
pod
Port of discharge UN/LOCODE.
Response fields
Derived from the example response.
data
The payload. Everything an endpoint returns sits under this key.
data.pol
Port of loading UN/LOCODE.
data.pod
Port of discharge UN/LOCODE.
data.container
Container type, for example 40HC.
data.rate_usd
Rate in USD.
data.low
Low end of the observed range, USD.
data.high
High end of the observed range, USD.
data.wow_pct
Week-on-week change, percent.
data.as_of
Date the rate is valid for.
curl 'https://api.freightratesmcp.com/lane?pol=CNSHA&pod=NLRTM' \
-H "Authorization: Bearer tmcp_YOUR_API_KEY"const res = await fetch("https://api.freightratesmcp.com/lane?pol=CNSHA&pod=NLRTM", {
headers: {
"Authorization": "Bearer tmcp_YOUR_API_KEY"
}
});
const data = await res.json();import requests
res = requests.get(
"https://api.freightratesmcp.com/lane?pol=CNSHA&pod=NLRTM",
headers={"Authorization": "Bearer tmcp_YOUR_API_KEY"},
)
data = res.json() Response
{
"data": {
"pol": "CNSHA", "pod": "NLRTM",
"container": "40HC",
"rate_usd": 3120,
"low": 2850, "high": 3480,
"wow_pct": -4.2,
"as_of": "2026-08-03"
}
}