Oil Price API Documentation - Quick Start in 5 Minutes | REST API
GitHub
GitHub
  • Interactive Explorer

    • Interactive API Explorer
  • Price Data

    • API Reference
    • Get Latest Prices
    • Historical Prices
  • Commodities

    • List Commodities
    • Get Commodity Details
  • Marine Fuels

    • List Marine Fuel Ports
    • Get Port Details with Prices
  • Premium Endpoints

    • All Prices API - One Call, All Commodities
    • Cushing Oil Storage Intelligence API
    • Drilling Intelligence API
    • Marine Fuels API
    • ICE Brent Futures API

Jet Fuel (JET_FUEL_USD)

Status: ✅ Available | ⚡ Real-time | 📊 Live Data

Real-time pricing data for Jet Fuel. Access current and historical prices via our API.


Quick Reference

PropertyValue
Commodity CodeJET_FUEL_USD
NameJet Fuel
CategoryRefined Products
CurrencyUSD
UnitUSD/gallon
Current Price$2.02

| Last Updated | 2025-12-15T21:00:31Z | | Source | eia_api |


Get Latest Price

GET/v1/prices/latest?by_code=JET_FUEL_USD

Request

curl -X GET "https://api.oilpriceapi.com/v1/prices/latest?by_code=JET_FUEL_USD" \
  -H "Authorization: Token YOUR_API_KEY" \
  -H "Accept: application/json"

Response

{
  "status": "success",
  "data": {
    "price": 2.02,
    "formatted": "$2.02",
    "currency": "USD",
    "code": "JET_FUEL_USD",
    "created_at": "2025-12-15T21:00:31Z",
    "type": "spot_price",
    
    "source": "eia_api"
  }
}

Get Historical Data

Past 24 Hours

GET /v1/prices/past_day?by_code=JET_FUEL_USD

Past 7 Days

GET /v1/prices/past_week?by_code=JET_FUEL_USD

Past 30 Days

GET /v1/prices/past_month?by_code=JET_FUEL_USD

Past Year

GET /v1/prices/past_year?by_code=JET_FUEL_USD

See Historical Prices API for full documentation.


Code Examples

cURL

# Get latest price
curl -H "Authorization: Token YOUR_API_KEY" \
  "https://api.oilpriceapi.com/v1/prices/latest?by_code=JET_FUEL_USD"

Python

import requests

api_key = "YOUR_API_KEY"
url = "https://api.oilpriceapi.com/v1/prices/latest"

response = requests.get(
    url,
    params={"by_code": "JET_FUEL_USD"},
    headers={"Authorization": f"Token {api_key}"}
)

data = response.json()
print(f"Jet Fuel: {data['data']['formatted']}")

JavaScript

const apiKey = 'YOUR_API_KEY';
const code = 'JET_FUEL_USD';

fetch(`https://api.oilpriceapi.com/v1/prices/latest?by_code=${code}`, {
  headers: {
    'Authorization': `Token ${apiKey}`
  }
})
  .then(res => res.json())
  .then(data => {
    console.log(`Jet Fuel: ${data.data.formatted}`);
  });

Related Endpoints

  • Get All Prices - Get all commodity prices in one call
  • Historical Prices - Time-series data
  • Commodities List - Browse all commodities

Last Updated: 2025-12-16

Last Updated: 12/28/25, 12:24 AM