Marine Diesel Price API
Bunker Fuel Price Data
Explore marine diesel, MGO, VLSFO, and bunker fuel series at selected ports via REST API. Check the source timestamp, grade, and rights for each series before production use.
Marine Fuels Available
MGO_05S_SGSIN_USDVLSFO_SGSIN_USDHFO_380_SGSIN_USDWho Uses Marine Diesel Price Data?
Shipping Companies
Automate bunker adjustment factors (BAF) and fuel surcharge calculations after confirming the source, port, grade, and update cadence needed by the planning system.
Bunker Traders
Monitor price spreads across ports. Build trading algorithms only after licensing, data fields, history, and cadence are reviewed for the specific workflow.
Fleet Operators
Optimize bunkering decisions across your fleet. Compare prices at different ports to minimize fuel costs.
Simple Integration
Get marine diesel prices in seconds
import requests
response = requests.get(
"https://api.oilpriceapi.com/v1/prices/latest",
params={"by_code": "MGO_05S_SGSIN_USD"},
headers={"Authorization": "Token YOUR_API_KEY"}
)
data = response.json()
mgo_price = data["data"]["price"]
print(f"Singapore MGO: {mgo_price} USD/MT")curl -X GET \
"https://api.oilpriceapi.com/v1/prices/latest?by_code=MGO_05S_SGSIN_USD,VLSFO_SGSIN_USD,HFO_380_SGSIN_USD" \
-H "Authorization: Token YOUR_API_KEY"
# Several codes return an array under data.prices:
# - MGO_05S_SGSIN_USD (Marine gas oil, Singapore)
# - VLSFO_SGSIN_USD (Very low sulphur fuel oil, Singapore)
# - HFO_380_SGSIN_USD (HSFO 380, Singapore)
# Other ports use the same pattern, e.g. VLSFO_NLRTM_USD (Rotterdam)Published port series
This catalog lists series with a documented public source path. A listed port may have no current price; check its source timestamp, grade, and price type before relying on it.
Why OilPriceAPI for Marine Diesel?
IMO 2020 Compliant Data
Track VLSFO, MGO, and other compliant fuels required since IMO 2020 regulations.
Historical Data
Access historical marine fuel prices for backtesting, forecasting, and trend analysis.
RESTful API
Simple JSON responses. Works with any programming language. SDKs for Python and Node.js.
Affordable Pricing
Start free with 50 requests/day. Paid plans from $19/month, with full historical data on higher tiers.
Frequently Asked Questions
What marine fuel prices does the API provide?
OilPriceAPI can support MGO, VLSFO, HSFO, and IFO workflows where the chosen source, port, grade, history, and cadence are confirmed. What you may do with the data is governed by its source, never by your plan: we hold no rights in it and grant none.
How often are marine diesel prices updated?
Update cadence and history depend on the source, port, grade, and plan. Check returned timestamp/source fields and confirm the exact data path before production use.
Can I use the API for fuel surcharge calculations?
Yes, marine fuel data can support internal surcharge and BAF workflows after the exact source, ports, grades, and cadence are confirmed. Rights in the data come from its source, never from your plan — we hold none and grant none.
What is the difference between MGO and VLSFO?
Marine Gas Oil (MGO) is a distillate fuel with very low sulphur content (<0.1%), typically used in emission control areas. Very Low Sulphur Fuel Oil (VLSFO) has a maximum 0.5% sulphur content and became the global standard after IMO 2020 regulations.
Start Tracking Marine Diesel Prices
Free account. No credit card required.