Marine Fuels
Premium

Get historical marine fuel prices

Changed on

Retrieve the latest collection of each marine-fuel assessment, newest first. The response keeps distinct sources, currencies and price types separate. Undated rows retain their collection time. Up to 1,000 observations are returned after deduplication; metadata.truncated indicates omitted matches. metadata.period describes returned as_of values, while requested_period records the query window. Neither a successful response nor truncated=false promises complete daily coverage. Results are cached for 30 minutes.

get/v1/prices/marine-fuels/historical

Request

  • Base URL
    https://api.oilpriceapi.com
  • Auth
    API key in header Authorization

Query parameters

port_codestring required
Example:SGSIN

Port code

fuel_typestring required
Example:VLSFO_SGSIN_USD

Marine grade (VLSFO, HFO_380, HFO_180, MGO_05S, MGO_01S) or full marine series code; comma-separated lists are accepted. Unknown entries return 400.

daysinteger
Example:365

Rolling history window in days

Response

Historical marine fuel data

statusstring

Example response

{
  "status": "success",
  "data": {
    "metadata": {
      "limit": 1000
    }
  }
}

Changes

    • info

      added the non-success response with the status

    • breaking

      the response's property type changed from array to object for status

    • warning

      deleted the query request parameter interval

    • warning

      deleted the query request parameter period

    • info

      added the new optional query request parameter days

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status