GETAPI key
Latest indices
GETapi.freightratesmcp.com/indices
Every latest rate index we publish, in one call. Also served at the base path.
Response schema
6 fields
Derived from the example response, nested as the JSON is.
data
The payload. Everything an endpoint returns sits under this key.
data[]
lane
Origin and destination pair.
container
Container type, for example 40HC.
rate_usd
Rate in USD.
wow_pct
Week-on-week change, percent.
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" }
]
}