{"status":"success","data":{"prices":[{"code":"AZERI_LIGHT_USD","name":"Azeri Light","price":134.06,"currency":"USD","updated_at":"2026-10-03T00:16:01Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"BASRAH_HEAVY_USD","name":"Basrah Heavy","price":74.75,"currency":"USD","updated_at":"2026-10-03T00:15:58Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"BASRAH_MEDIUM_USD","name":"Basrah Medium","price":78.05,"currency":"USD","updated_at":"2026-10-03T00:15:57Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"BRENT_CRUDE_USD","name":"ICE Brent Crude Front-Month Futures","price":102.61,"currency":"USD","updated_at":"2026-10-04T00:30:31Z","change_24h":-0.11,"source":"OilPriceAPI"},{"code":"DIESEL_RETAIL_USD","name":"Diesel Retail (DOE National)","price":6.382,"currency":"USD","updated_at":"2026-09-29T21:46:36Z","change_24h":null,"source":"OilPriceAPI"},{"code":"DIESEL_USD","name":"Diesel","price":4.5,"currency":"USD","updated_at":"2026-10-02T00:40:11Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"DUBAI_CRUDE_USD","name":"Dubai Crude Oil","price":106.36,"currency":"USD","updated_at":"2026-10-03T00:07:18Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"EUR_USD","name":"EUR/USD","price":1.1253,"currency":"USD","updated_at":"2026-10-04T00:29:01Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"GASOLINE_RBOB_USD","name":"Gasoline RBOB","price":3.31,"currency":"USD","updated_at":"2026-10-04T00:30:34Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"GASOLINE_USD","name":"Gasoline","price":3.31,"currency":"USD","updated_at":"2026-10-02T00:40:11Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"GBP_USD","name":"GBP/USD","price":1.324,"currency":"USD","updated_at":"2026-10-04T00:28:57Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"GOLD_USD","name":"Gold","price":4137.55,"currency":"USD","updated_at":"2026-10-04T00:28:48Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"HEATING_OIL_USD","name":"NY Harbor ULSD Futures","price":4.55,"currency":"USD","updated_at":"2026-10-04T00:30:35Z","change_24h":1.11,"source":"OilPriceAPI"},{"code":"NATURAL_GAS_USD","name":"US Natural Gas","price":3.01,"currency":"USD","updated_at":"2026-10-04T00:28:43Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"OPEC_BASKET_USD","name":"OPEC Basket","price":108.82,"currency":"USD","updated_at":"2026-10-01T12:00:00Z","change_24h":null,"source":"OilPriceAPI"},{"code":"SILVER_USD","name":"Silver","price":60.36,"currency":"USD","updated_at":"2026-10-04T00:28:52Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"ULSD_DIESEL_USD","name":"ULSD Diesel (NY Harbor)","price":5.0,"currency":"USD","updated_at":"2026-09-30T21:01:29Z","change_24h":null,"source":"OilPriceAPI"},{"code":"URALS_CRUDE_USD","name":"Urals Crude Oil","price":105.55,"currency":"USD","updated_at":"2026-10-03T00:17:00Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"WCS_CRUDE_USD","name":"Western Canadian Select","price":80.52,"currency":"USD","updated_at":"2026-10-03T15:58:20Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"WTI_USD","name":"WTI Crude Oil (Front-Month Futures)","price":91.11,"currency":"USD","updated_at":"2026-10-04T00:21:25Z","change_24h":-0.16,"source":"OilPriceAPI"}],"meta":{"demo_mode":true,"rate_limit":"30 requests per hour and 25 per day, per IP","rate_limits":{"per_hour":30,"per_day":25,"scope":"per IP address, no API key required"},"max_codes_per_request":20,"signup_url":"https://www.oilpriceapi.com/signup?utm_source=demo_api\u0026utm_medium=api\u0026utm_campaign=ttfc","note":"This is the free demo API. Sign up for an API key to use authenticated endpoints, plan-gated commodities, and higher rate limits.","documentation_url":"https://docs.oilpriceapi.com","available_commodities":37,"default_commodities_returned":20,"catalog":{"description":"A broad catalog spanning crude oil, natural gas, refined products, futures, marine fuels, carbon markets, metals, forex, and selected energy-intelligence datasets.","exact_count_published":false,"url":"https://www.oilpriceapi.com/commodities"}},"examples":{"curl":"curl -X GET \"https://api.oilpriceapi.com/v1/demo/prices\"","python":"import requests\n\nresponse = requests.get(\"https://api.oilpriceapi.com/v1/demo/prices\")\ndata = response.json()\n\nfor price in data['data']['prices']:\n    print(f\"{price['name']}: ${price['price']}\")","javascript":"fetch(\"https://api.oilpriceapi.com/v1/demo/prices\")\n  .then(response =\u003e response.json())\n  .then(data =\u003e {\n    data.data.prices.forEach(price =\u003e {\n      console.log(`${price.name}: $${price.price}`);\n    });\n  });"}}}