Macroeconomic Layer API (Sandbox)
Historical prices for a petrochemical product (custom date range).
Like /products/{id}/prices but takes an explicit
from/to window for arbitrary historical analysis.
Example
GET /api/v1.1/petrochemicals/products/12/prices/history?regionId=1&from=2023-01-01&to=2023-12-31
get
https://api-sandbox.argaam.com/api/v1.1/petrochemicals/products/{productId}/prices/history
Query Parameters
regionIdinteger(int32)
Numeric region identifier.
Example:1
fromstring
Start of the date range, inclusive. Format YYYY-MM-DD.
Example:2024-01-01
tostring
End of the date range, inclusive. Format YYYY-MM-DD.
Example:2024-03-31
Path Parameters
productIdinteger(int32)required
Numeric petrochemical product identifier.
Response
200 application/json
Response
200 application/json
Success
* Additional properties are NOT allowed.
productPriceIDinteger(int32)
regionIDinteger(int32)
categoryIDinteger(int32)
productIDinteger(int32)
productPricenumber(double)
measuringUnitIDinteger(int32)
currencyIDinteger(int32)
entryDatestring(date-time)
changeInPricenumber | null(double)
regionNameArstring | null
regionNameEnstring | null
categoryNameArstring | null
categoryNameEnstring | null
productNameArstring | null
productNameEnstring | null
changenumber | null(double)
get/api/v1.1/petrochemicals/products/{productId}/prices/history
Authentication
Path Parameters
Query Parameters
200 application/json
Active rig counts for a region as of a date.
Rig counts are a classic leading indicator for upstream
oil & gas activity, and a useful sentiment proxy for
mid-stream and downstream sectors.
Example
GET /api/v1.1/petrochemicals/rig-counts?regionId=4&asOf=2024-01-15
get
https://api-sandbox.argaam.com/api/v1.1/petrochemicals/rig-counts
Query Parameters
regionIdinteger(int32)
Region ID.
Example:1
asOfstring
As-of date (yyyy-MM-dd).
Example:2024-01-15
Response
200 application/json
Response
200 application/json
Success
* Additional properties are NOT allowed.
rigCountIDinteger(int32)
forDatestring(date-time)
oilRigCountnumber | null(double)
regionIDinteger | null(int32)
gasRigCountnumber | null(double)
miscnumber | null(double)
totalnumber | null(double)
dataForstring | null
regionNameArstring | null
regionNameEnstring | null
announceDatestring(date-time)
closenumber | null(double)
get/api/v1.1/petrochemicals/rig-counts
Authentication
Query Parameters
200 application/json
Commodity
object * Additional properties are NOT allowed.
commodityIDinteger(int32)
nameEnstring
nameArstring
typestring
Example
CommodityQuote
object * Additional properties are NOT allowed.
commodityIDinteger(int32)
tickerChartCommodityNamestring
commodityNameEnstring
commodityNameArstring
forDatestring(date-time)
openValuenumber(double)
closeValuenumber(double)
previousCloseValuenumber(double)
highnumber(double)
lownumber(double)
indexValuenumber(double)
changenumber(double)
percentageChangenumber(double)
ybgnChangenumber(double)
monthinteger(int32)
timestring(date-time)
lastUpdatedstring(date-time)
Example
CommodityQuoteArchive
object * Additional properties are NOT allowed.
commodityIDinteger(int32)
commodityNameEnstring
commodityNameArstring
forDatestring(date-time)
openValuenumber(double)
closeValuenumber(double)
highnumber(double)
lownumber(double)
Example