commodities.sh vs calling the agencies directly
How commodities.sh differs from calling EIA, CFTC and USDA directly on payment, provenance, and agent discovery.
When to pick which
This is the comparison that matters most, because the alternative is free and legitimate. Call the agencies directly when the scope is narrow and stable: one or two series, a schedule you control, a human reviewing the output. Use commodities.sh when an autonomous agent must reason across sources in one step and cite what it used — when the cost of a mislabelled indicative print quoted as official is higher than a fraction of a cent per call. The honest test: if you would end up writing provenance labelling and a five-source normaliser yourself, that is what you are buying.
Why pay when the sources are free?
You are not paying for the data, you are paying to not write and maintain five ingestion paths. EIA, CFTC, USDA, the IMF and USGS each have a different schema, a different key, a different idea of what a date means, and different failure modes — the USDA FAS endpoints return 500s often enough that commodities.sh keeps an ESMIS fallback for WASDE. If one agent needs one EIA series, call EIA directly. If it needs crude stocks and COT positioning and a WASDE balance in one reasoning step, the normalisation has to happen somewhere.
What exactly does the normalisation buy?
One observation shape across every source, so an agent writes one parser. Explicit freshness_class and quality so it can tell an official weekly print from a monthly indicative one. license_tag so it knows what it may redistribute. Derived structure — 3-2-1 crack, soy crush, WTI-Brent basis — computed from cited legs whose ids can be dereferenced. And a five-year window retained per series, so z-scores and seasonality have something to run on.
When should I just call the agencies?
When you need one series, you control the schedule, and nobody has to audit the number later. Also when you need something commodities.sh does not carry — the agencies publish far more than it ingests. Calling EIA directly for a single weekly series is a perfectly good engineering decision.
Does commodities.sh have data the agencies do not?
No — and it should not. Every observation traces to a published agency series, which is the entire point. What it adds is normalisation, labelling, retained history, and derived structure with dereferenceable inputs. If a source does not exist in a redistribution-safe form, it returns 404 rather than inventing one.
Side-by-side
| Dimension | commodities.sh | calling EIA, CFTC and USDA directly |
|---|---|---|
| Cost | $0.01–$0.25 per call, or $19/mo | Free |
| Integration work | One contract, one parser | A schema and failure mode per agency |
| Provenance labels | freshness_class, quality, license_tag per print | Implicit — you label it yourself |
| Derived structure | Crack, crush, basis with dereferenceable inputs | Compute it yourself |
| Coverage | 37 instruments, curated | Everything the agency publishes |