GETAPI key
Latest indices
GETapi.freightratesmcp.com/indices
Every latest rate index we publish, in one call. Also served at the base path.
Response fields
Derived from the example response.
data
The payload. Everything an endpoint returns sits under this key.
data[].lane
Origin and destination pair.
data[].container
Container type, for example 40HC.
data[].rate_usd
Rate in USD.
data[].wow_pct
Week-on-week change, percent.
data[].as_of
Date the rate is valid for.
curl 'https://api.freightratesmcp.com/indices' \
-H "Authorization: Bearer tmcp_YOUR_API_KEY"const res = await fetch("https://api.freightratesmcp.com/indices", {
headers: {
"Authorization": "Bearer tmcp_YOUR_API_KEY"
}
});
const data = await res.json();import requests
res = requests.get(
"https://api.freightratesmcp.com/indices",
headers={"Authorization": "Bearer tmcp_YOUR_API_KEY"},
)
data = res.json() Response
{
"data": [
{ "lane": "CNSHA-NLRTM", "container": "40HC",
"rate_usd": 3120, "wow_pct": -4.2,
"as_of": "2026-08-03" }
]
}