CommodityBatchPriceItem
Reduced projection returned for each element of a `names` (batch) request. Each element is identified by `name` and `value`. The previous_close, change_24h_percent, high_24h, low_24h, high_52w, and low_52w fields returned by the single-commodity `name` form are NOT included.
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The display name of the commodity (e.g. Gold Futures). |
| value | string | The commodity's `?name=` slug (e.g. gold, crude_oil). |
| exchange | string | The symbol of the exchange where the commodity is traded. |
| unit | string | The quote unit (e.g., troy_ounce, barrel, bushel). |
| currency_unit | string | Price convention: USD = US dollars per unit; USX = US cents per unit. |
| price | number | The current price of the commodity in its native unit and currency convention. |
| change_24h | number | Change vs previous close in the quote unit. |
| updated | integer | Unix timestamp of the price update. |
| futures_contract | string | The futures contract `price` is quoted for (e.g., GCZ26 = December 2026 gold). |
| futures_contract_month | string | Delivery month of futures_contract (YYYY-MM). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/api-ninjas-com/json-schema/api-ninjas-com-commodity-batch-price-item-schema.json",
"title": "CommodityBatchPriceItem",
"description": "Reduced projection returned for each element of a `names` (batch) request. Each element is identified by `name` and `value`. The previous_close, change_24h_percent, high_24h, low_24h, high_52w, and low_52w fields returned by the single-commodity `name` form are NOT included.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/api-ninjas-com-commodity-price-api-openapi.yml#/components/schemas/CommodityBatchPriceItem",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The display name of the commodity (e.g. Gold Futures)."
},
"value": {
"type": "string",
"description": "The commodity's `?name=` slug (e.g. gold, crude_oil)."
},
"exchange": {
"type": "string",
"description": "The symbol of the exchange where the commodity is traded."
},
"unit": {
"type": "string",
"description": "The quote unit (e.g., troy_ounce, barrel, bushel)."
},
"currency_unit": {
"type": "string",
"enum": [
"USD",
"USX"
],
"description": "Price convention: USD = US dollars per unit; USX = US cents per unit."
},
"price": {
"type": "number",
"description": "The current price of the commodity in its native unit and currency convention."
},
"change_24h": {
"type": "number",
"description": "Change vs previous close in the quote unit."
},
"updated": {
"type": "integer",
"description": "Unix timestamp of the price update."
},
"futures_contract": {
"type": "string",
"description": "The futures contract `price` is quoted for (e.g., GCZ26 = December 2026 gold)."
},
"futures_contract_month": {
"type": "string",
"description": "Delivery month of futures_contract (YYYY-MM)."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/api-ninjas-com-commodity-batch-price-item"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.