UnifyAPI
← Back to catalog

eia.petroleum_spot

mock data$0.001 / call

US Petroleum Spot Prices (EIA)

Spot prices for crude oil and petroleum products: WTI (EPCWTI), Brent (EPCBRENT), Diesel (EPD2D), Regular Gas (EPMRR). Daily/weekly/monthly/annual. EIA public domain

Science & Researchprovider: Eia#eia#science

Input schema

end

Latest period.

string
start

Earliest period (ISO date or YYYY-MM-DD).

string
length

Number of recent observations (default 24, max 500).

integer
product

Petroleum product code — e.g. "EPCBRENT" (Brent), "EPCWTI" (WTI), "EPD2D" (No. 2 Diesel), "EPMRR" (Regular Gas).

string
frequency

Time frequency (default "daily" for spot prices).

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/eia.petroleum_spot \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"end":"<end>","start":"<start>","length":0,"product":"<product>","frequency":"<frequency>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.