Pull USDA commodity price and market news reports (e.g., livestock, dairy, grain) programmatically using the USDA AMS MyMarketNews (MARS) API.

domain: mymarketnews.ams.usda.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register for a MyMarketNews account and obtain a personal API key from the user profile.
  2. Call the MARS API base endpoint at https://marsapi.ams.usda.gov/ with the API key for authentication.
  3. Query the reports resource, specifying which report(s)/commodity data set is needed (e.g., livestock, dairy, grain).
  4. Apply the API's supported sorting and filtering parameters to narrow the result set to the fields/date range needed.
  5. Parse the JSON (or XLSX) response and handle documented error codes per the API's error reference.

Known gotchas

Related routes

Pull published crop and livestock statistics via the USDA NASS QuickStats API.
quickstats.nass.usda.gov · 5 steps · unrated
Pull current and historical exchange and physical commodity prices via the Fastmarkets API
Fastmarkets Market Data API / Physical Prices API · 5 steps · unrated
Query USDA ERS Agricultural Resource Management Survey (ARMS) farm income and financial data programmatically via the ARMS Data API.
ers.usda.gov · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans