commodities.sh · Schema
Observation
CompanyCommoditiesMarket DataEnergyAgricultureMetalsAI AgentsMCPx402Government Data
Properties
| Name | Type | Description |
|---|---|---|
| instrument | string | |
| value | number | |
| unit | string | |
| as_of | string | |
| observed_at | string | |
| freshness_class | string | |
| quality | string | |
| derived | boolean | |
| source | object | |
| license_tag | string | |
| provenance | object | |
| prior | number | Previous print value when history exists |
| pct_change | number | Percent change vs prior print |
| short_history | array | Newest-first short history (≤8 points) |
| cite | string | One-line citation for agents |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/commodities-sh/json-schema/commodities-sh-observation-schema.json",
"title": "Observation",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/commodities-sh-openapi.yml#/components/schemas/Observation",
"type": "object",
"required": [
"instrument",
"value",
"unit",
"as_of",
"freshness_class",
"source",
"license_tag",
"derived"
],
"properties": {
"instrument": {
"type": "string"
},
"value": {
"type": "number"
},
"unit": {
"type": "string"
},
"as_of": {
"type": "string",
"format": "date"
},
"observed_at": {
"type": "string",
"format": "date-time"
},
"freshness_class": {
"type": "string",
"enum": [
"eod",
"weekly",
"monthly",
"decree",
"intraday",
"delayed"
]
},
"quality": {
"type": "string",
"enum": [
"official",
"indicative",
"derived",
"delayed"
]
},
"derived": {
"type": "boolean"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"series_id": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"license_tag": {
"type": "string"
},
"provenance": {
"type": "object",
"properties": {
"retrieved_at": {
"type": "string",
"format": "date-time"
},
"cache_hit": {
"type": "boolean"
},
"cache_ttl_s": {
"type": "number"
}
}
},
"prior": {
"type": "number",
"description": "Previous print value when history exists"
},
"pct_change": {
"type": "number",
"description": "Percent change vs prior print"
},
"short_history": {
"type": "array",
"description": "Newest-first short history (≤8 points)",
"items": {
"type": "object",
"properties": {
"as_of": {
"type": "string",
"format": "date"
},
"value": {
"type": "number"
}
}
}
},
"cite": {
"type": "string",
"description": "One-line citation for agents"
}
}
}
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
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/commodities-sh-observation"
All schemas
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.