Container Freight New York to Rotterdam (CONTAINER_FREIGHT_USNYC_NLRTM_USD)
Status: Available | Source-timestamped
Container freight spot rate from New York to Rotterdam, one of the eight lanes in the composite (CONTAINER_FREIGHT_COMPOSITE_USD). Access current and historical values through the API.
Quick Reference
| Property | Value |
|---|---|
| Commodity Code | CONTAINER_FREIGHT_USNYC_NLRTM_USD |
| Name | Container Freight New York to Rotterdam |
| Category | Freight |
| Currency | USD |
| Unit | USD per 40ft container |
| Source | Published market reporting |
| Update frequency | Weekly |
Publication cadence and timestamps
Weekly benchmark, published on Thursdays. observed_at is the Thursday assessment date; between prints the latest value stays on the previous Thursday.
observed_atis the source observation (session) time.source_dateis the source session date when supplied; it can benull, so fall back toobserved_at.created_atis when OilPriceAPI stored the record. It is not the source date.
See Data Publication & Collection Schedules for more timing detail.
Get Latest Price
GET/v1/prices/latest?by_code=CONTAINER_FREIGHT_USNYC_NLRTM_USD
Request
curl -X GET "https://api.oilpriceapi.com/v1/prices/latest?by_code=CONTAINER_FREIGHT_USNYC_NLRTM_USD" \
-H "Authorization: Token YOUR_API_KEY" \
-H "Accept: application/json"
Response
Example values captured 2026-11-15 — illustrative only. The endpoint returns the current value and its source timestamp when called.
{
"status": "success",
"data": {
"price": 1188.0,
"formatted": "$1188.00",
"currency": "USD",
"code": "CONTAINER_FREIGHT_USNYC_NLRTM_USD",
"unit": "usd_per_40ft",
"created_at": "2026-11-12T16:30:13Z",
"observed_at": "2026-11-12T15:00:00Z",
"source_date": null,
"type": "spot_price",
"source": "market_reporting"
}
}
Get Historical Data
Past 24 Hours
GET /v1/prices/past_day?by_code=CONTAINER_FREIGHT_USNYC_NLRTM_USD
Past 7 Days
GET /v1/prices/past_week?by_code=CONTAINER_FREIGHT_USNYC_NLRTM_USD
Past 30 Days
GET /v1/prices/past_month?by_code=CONTAINER_FREIGHT_USNYC_NLRTM_USD
Past Year
GET /v1/prices/past_year?by_code=CONTAINER_FREIGHT_USNYC_NLRTM_USD
See Historical Prices API for full documentation.
Code Examples
cURL
# Get latest price
curl -H "Authorization: Token YOUR_API_KEY" \
"https://api.oilpriceapi.com/v1/prices/latest?by_code=CONTAINER_FREIGHT_USNYC_NLRTM_USD"
Python
import requests
api_key = "YOUR_API_KEY"
url = "https://api.oilpriceapi.com/v1/prices/latest"
response = requests.get(
url,
params={"by_code": "CONTAINER_FREIGHT_USNYC_NLRTM_USD"},
headers={"Authorization": f"Token {api_key}"}
)
data = response.json()
print(f"Container Freight New York to Rotterdam: {data['data']['formatted']}")
JavaScript
const apiKey = 'YOUR_API_KEY';
const code = 'CONTAINER_FREIGHT_USNYC_NLRTM_USD';
fetch(`https://api.oilpriceapi.com/v1/prices/latest?by_code=${code}`, {
headers: {
'Authorization': `Token ${apiKey}`
}
})
.then(res => res.json())
.then(data => {
console.log(`Container Freight New York to Rotterdam: ${data.data.formatted}`);
});
Related Endpoints
- Get All Prices - Get all commodity prices in one call
- Historical Prices - Time-series data
- Commodities List - Browse all commodities
- Complete Commodity Reference: Freight - All freight codes