Skip to main content
Use this when you need the price history of a raw ingredient — to track input costs, check a supplier’s quote against the market, or feed a forecast. The Commodities API is two endpoints used together. First you search the catalog to find the series you want. Then you ask for that series’ prices by date.

What a series is

A series is one number a USDA report publishes over time — for example, “the daily closing price of Grade AA butter on the CME spot market, in dollars per pound”. Each series has a slug: a readable, permanent ID such as butter-cme-spot-close-daily. Orbbit publishes a fixed catalog of series that it checks by hand. You never see USDA’s raw internal IDs, and a slug never changes meaning. The full list is in the series catalog below.

Search the catalog

GET /v1/commodities lists the series in the catalog, grouped by commodity.
Response trimmed for clarity. Values are illustrative. Use first_observed_on and last_observed_on to see how far back a series goes and how fresh it is before you ask for prices.

Get prices

GET /v1/commodities/prices returns dated prices for one or more series.
Values are illustrative.

Understanding the response

  • data has one entry per slug you asked for, in the order you asked.
  • unit tells you how to read valueUSD/lb is dollars per pound, USD/cwt is dollars per hundred pounds.
  • points is in date order. Days with no reading, such as weekends for a daily series, are simply absent.
  • value is exactly the number USDA published, with no rounding. CME prices, for example, move in quarter-cents and keep all four decimal places.
  • A range with no readings returns the series with an empty points array, not an error.

Compare several series in one call

Pass several slugs to line up prices side by side. This request compares the daily CME block and barrel cheese prices over the same week.
If any slug is not in the catalog, the whole request fails with 400 and the message names the unknown slug — so a typo never silently drops a series.
400 — unknown slug

Series catalog

These are all the series you can pass to GET /v1/commodities/prices. Call GET /v1/commodities for the live list, including each series’ first and last date.

CME spot market (source usda-mars)

Prices from the CME Group’s daily spot trading session in Chicago, as reported by USDA Market News. Unit: USD/lb.

Manufacturer sales prices (source usda-mpr)

Weekly average prices manufacturers actually received, from the USDA’s National Dairy Products Sales Report. Unit: USD/lb.

Milk class prices (source usda-mpr)

Monthly minimum prices for raw milk set by the Federal Milk Marketing Orders. Unit: USD/cwt (dollars per hundred pounds).

Series fields

Returned by GET /v1/commodities, inside data[].series[]. Each series is grouped under its commodity name (for example Cheese), so one commodity can hold several series.

Price fields

Returned by GET /v1/commodities/prices, inside data[].

Validation rules

Summary

What to do next