reference_data
Commodities
The commodities endpoint provides a daily updated list of available commodity pairs, across precious metals, livestock, softs, grains, etc.
get/commodities
Query parameters
symbolstring
The ticker symbol of an instrument for which data is requested
categorystring
Filter by category of commodity
format'JSON' | 'CSV'
The format of the response data
delimiterstring
The separator used in the CSV response data
pageinteger
Page number of the results to fetch
outputsizeinteger
Determines the number of data points returned in the output
Response
Example response
{
"count": 100,
"data": [
{
"category": "Agricultural Product",
"description": "Standardized contract to buy or sell a set quantity of corn at a future date.",
"name": "Corn Futures",
"symbol": "C_1"
},
{
"category": "Agricultural Product",
"description": "Agreement to transact cocoa beans at a predetermined price and date.",
"name": "Cocoa Futures",
"symbol": "CC1"
},
{
"category": "Precious Metal",
"description": "Spot price per troy ounce of gold.",
"name": "Gold Spot",
"symbol": "XAU/USD"
}
],
"status": "ok"
}