Series history

Series history

get/v1/history/{code}

Request

  • Base URL: https://api.commodities.sh
  • URL: https://api.commodities.sh/v1/history/{code}
  • Auth: none declared

Path parameters

codestring required

Response

Observation or bundle JSON

instrumentstring required
valuenumber required
unitstring required
as_ofstring date required
observed_atstring date-time
freshness_class'eod' | 'weekly' | 'monthly' | 'decree' | 'intraday' | 'delayed' required
quality'official' | 'indicative' | 'derived' | 'delayed'
derivedboolean required
license_tagstring required

Example response

{
  "instrument": "CL",
  "value": 69.6,
  "unit": "USD/bbl",
  "as_of": "2026-07-06"
}

Changes

No recorded changes to this operation across all 1 revision of this API.