{"status":"success","data":{"prices":[{"code":"AZERI_LIGHT_USD","name":"Azeri Light","price":131.85,"currency":"USD","updated_at":"2026-10-01T00:00:43Z","change_24h":-2.41,"source":"OilPriceAPI"},{"code":"BASRAH_HEAVY_USD","name":"Basrah Heavy","price":73.12,"currency":"USD","updated_at":"2026-10-01T00:00:41Z","change_24h":-0.79,"source":"OilPriceAPI"},{"code":"BASRAH_MEDIUM_USD","name":"Basrah Medium","price":76.42,"currency":"USD","updated_at":"2026-10-01T00:00:40Z","change_24h":-0.75,"source":"OilPriceAPI"},{"code":"BRENT_CRUDE_USD","name":"ICE Brent Crude Front-Month Futures","price":100.55,"currency":"USD","updated_at":"2026-10-01T09:14:19Z","change_24h":-2.6,"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":0.0,"source":"OilPriceAPI"},{"code":"DIESEL_USD","name":"Diesel","price":4.67,"currency":"USD","updated_at":"2026-10-01T05:25:30Z","change_24h":-5.86,"source":"OilPriceAPI"},{"code":"DUBAI_CRUDE_USD","name":"Dubai Crude Oil","price":113.61,"currency":"USD","updated_at":"2026-10-01T00:00:39Z","change_24h":-0.39,"source":"OilPriceAPI"},{"code":"EUR_USD","name":"EUR/USD","price":1.1288,"currency":"USD","updated_at":"2026-10-01T09:14:20Z","change_24h":-0.33,"source":"OilPriceAPI"},{"code":"GASOLINE_RBOB_USD","name":"Gasoline RBOB","price":3.33,"currency":"USD","updated_at":"2026-10-01T09:14:21Z","change_24h":1.22,"source":"OilPriceAPI"},{"code":"GASOLINE_USD","name":"Gasoline","price":3.33,"currency":"USD","updated_at":"2026-10-01T00:25:38Z","change_24h":1.84,"source":"OilPriceAPI"},{"code":"GBP_USD","name":"GBP/USD","price":1.3219,"currency":"USD","updated_at":"2026-10-01T09:14:20Z","change_24h":0.05,"source":"OilPriceAPI"},{"code":"GOLD_USD","name":"Gold","price":4183.17,"currency":"USD","updated_at":"2026-10-01T09:10:13Z","change_24h":-1.12,"source":"OilPriceAPI"},{"code":"HEATING_OIL_USD","name":"NY Harbor ULSD Futures","price":4.67,"currency":"USD","updated_at":"2026-10-01T09:04:52Z","change_24h":-6.04,"source":"OilPriceAPI"},{"code":"NATURAL_GAS_USD","name":"US Natural Gas","price":2.96,"currency":"USD","updated_at":"2026-10-01T09:04:38Z","change_24h":-2.31,"source":"OilPriceAPI"},{"code":"OPEC_BASKET_USD","name":"OPEC Basket","price":109.53,"currency":"USD","updated_at":"2026-09-29T12:00:00Z","change_24h":0.0,"source":"OilPriceAPI"},{"code":"SILVER_USD","name":"Silver","price":60.44,"currency":"USD","updated_at":"2026-10-01T09:13:43Z","change_24h":-1.47,"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":0.81,"source":"OilPriceAPI"},{"code":"URALS_CRUDE_USD","name":"Urals Crude Oil","price":110.4,"currency":"USD","updated_at":"2026-10-01T00:05:54Z","change_24h":-0.49,"source":"OilPriceAPI"},{"code":"WCS_CRUDE_USD","name":"Western Canadian Select","price":78.06,"currency":"USD","updated_at":"2026-10-01T08:06:25Z","change_24h":1.34,"source":"OilPriceAPI"},{"code":"WTI_USD","name":"WTI Crude Oil (Front-Month Futures)","price":92.74,"currency":"USD","updated_at":"2026-10-01T09:13:37Z","change_24h":3.03,"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  });"}}}