commodities.sh

Docs

Observation contract

Every paid response is an Observation. Honesty fields are required so agents can cite prints without guessing cadence or trust tier.

Deeper product copy: Freshness & quality →

What is freshness_class?

freshness_class describes the economic cadence of the print — eod, weekly, monthly, decree, and related classes. Agents should treat weekly EIA stocks differently from monthly metals; the field makes that explicit. Gold, silver, platinum, and iron ore remain monthly indicative (Pink Sheet); copper and other base metals are official IMF monthly series read directly from the IMF.

What does quality mean?

quality is the trust tier: official (direct agency), indicative (compiled or pending license nuance), derived (computed with inputs listed in provenance), or delayed. Never assume exchange real-time from an indicative monthly print.

Why are license_tag and provenance required?

license_tag states redistribution posture (us_gov_public, us_fed_public, imf_pcps_open, …). provenance records retrieved_at, cache_hit, and cache_ttl_s so agents know whether they hit a warm cache and when the upstream was last fetched.

← Docs hub

Related