Get prices from the past month (most recent 100 raw points)
Returns the most recent page of raw price points inside a 1-month window (default interval=raw).
Page cap. This endpoint returns at most 100 raw points per page. per_page above 100 is reduced to 100; the applied value is returned in X-Per-Page and in data.metadata.truncation.pagination.
Read this if you want a daily series. Series stored as hourly snapshots of a once-daily assessment (all marine/bunker codes, e.g. VLSFO_SGSIN_USD) spend the entire 100-point budget on ~4-5 calendar days, so this endpoint cannot cover a month for them. Use /v1/prices/historical?by_code=…&start_date=…&end_date=…&per_page=500, which returns one point per day for the full window. Use /v1/prices/past_day for intraday detail.
Truncation is signalled. When the response does not cover the requested window, data.metadata.truncation is present — truncated, points_returned, points_available_in_window, window_requested vs window_covered (including the number of distinct days actually covered), and the /v1/prices/historical request that returns the complete daily series. The response also carries X-Truncated: true. When data.metadata.truncation is absent, the page covers the full requested window.
Query parameters
Commodity code or comma-separated commodity codes. Discover current codes with GET /v1/commodities.
Optional price-type filter.
Override default start date (YYYY-MM-DD). Also accepts camelCase: startDate
Override default end date (YYYY-MM-DD). Also accepts camelCase: endDate
Data aggregation interval
Points per page. Capped at 100 on raw responses (500 when an interval is supplied); requests above the cap are reduced and the applied value is reported in X-Per-Page and data.metadata.truncation.
One-based page number.
Response
Past month price data
Example response
{
"prices": [
{
"price": 75.42,
"formatted": "$75.42",
"currency": "USD",
"code": "BRENT_CRUDE_USD",
"created_at": "2025-01-20T10:30:00.000Z",
"updated_at": "2025-01-20T10:30:00.000Z",
"type": "spot_price",
"change_24h": 0.74,
"change_24h_percent": 1.25
}
],
"meta": {
"current_page": 1,
"total_pages": 10,
"total_count": 250,
"per_page": 25
}
}