Commodities
Get dataset coverage and account access
Returns the versioned, customer-safe coverage contract for one catalog code. History bounds come from an asynchronously refreshed materialized snapshot; this request does not scan the raw price table. Availability and account entitlement are separate so callers can distinguish missing data from plan access.
get/v1/commodities/{code}/coverage
Request
- Base URLhttps://api.oilpriceapi.com
- AuthAPI key in header Authorization
Path parameters
codestring required
Example:BRENT_CRUDE_USD
Commodity code, including supported dynamic contract codes
Response
Versioned dataset coverage contract
Example response
{
"data": {
"code": "BRENT_CRUDE_USD"
}
}Changes
No recorded changes to this operation across all 17 revisions of this API.