Usda Market News
v0.2.1USDA AMS Market News -- Livestock Mandatory Price Reporting (LMR).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ams_report_search
Find USDA AMS livestock price reports (Livestock Mandatory Price Reporting): national and regional direct slaughter cattle, boxed beef and cow-beef cutouts, hogs and pork, lamb. Filter by words in the title and/or species (cattle, beef, swine, pork, lamb). Returns report_id, report code, title, the sections each report has, and when AMS last published it. Use the report_id with ams_report. Livestock only (produce, grain, hay and cotton: ams_market_report_search); if nothing matches it says so and states what is not covered (it never returns a bare empty list).
| Parameter | Type | Description |
|---|---|---|
limit | number | Max reports to return (default 25, max 100). |
query | string | Words that must all appear in the report title, e.g. "boxed beef cutout" or "weekly direct slaughter". |
species | string | Restrict to one species / family. |
ams_report
Read dated rows from one USDA AMS livestock price report (Livestock Mandatory Price Reporting). Every response states the report family, report title, market type and office, and each row keeps its own basis fields (class, selling basis, grade, weight range) plus price low / high / weighted-average as separate fields: ranges are never collapsed and nothing is averaged here. Pick a section (see sections in ams_report_search; prices are usually in "Detail", not "Summary"). With no date it returns the most recent report date. If AMS has no rows for the requested date or section (not published yet…
| Parameter | Type | Description |
|---|---|---|
report_id * | number | Report id from ams_report_search, e.g. 2466 (5 Area Daily Weighted Average Direct Slaughter Cattle). |
date | string | One report date, ISO YYYY-MM-DD. |
end_date | string | Range end, ISO. |
limit | number | Max rows (default 100, max 500). Newest first. |
section | string | Section name, case-insensitive (default "Summary"), e.g. "Detail". |
start_date | string | Range start, ISO (use with end_date). |
ams_market_report_search
Find USDA AMS My Market News reports outside livestock: fruit and vegetable shipping-point and terminal-market prices (limes, tomatoes, avocados...), Mexico and other import crossings, grain bids, hay, cotton, ornamentals and more (about a thousand reports). Words in `query` must all appear in the report title, slug, market type or office, e.g. "shipping point fruit", "mcallen", "terminal market vegetables", "grain bids". Returns report_id, title, market types, office, sections and last published date. Commodities (limes, apples, corn...) and crossing districts are fields INSIDE a report's row…
| Parameter | Type | Description |
|---|---|---|
_apiKey | string | Optional. The gateway supplies the platform My Market News key; pass your own only to override. |
limit | number | Max reports to return (default 25, max 100). |
market_type | string | Restrict to reports whose market type contains this text, e.g. "Shipping Point" or "Terminal". |
query | string | Words that must all appear in the report title, slug, market type or office, e.g. "mcallen fruit" or "texas grain bids". |
ams_market_report
Read dated rows from one USDA AMS My Market News report (fruit and vegetable shipping-point / terminal / import-crossing prices, grain, hay, cotton and other non-livestock reports). Every row keeps AMS's own fields: commodity, variety, package or unit, origin, and low / high / mostly / mean price as separate values; nothing is averaged. Optional `commodity` keeps only rows whose commodity, variety or group contains that word (e.g. "lime"); optional `district` keeps rows whose district or market location contains that text (e.g. "mexico crossings through texas"). If the report has rows but none…
| Parameter | Type | Description |
|---|---|---|
report_id * | number | Report id from ams_market_report_search. |
_apiKey | string | Optional. The gateway supplies the platform My Market News key; pass your own only to override. |
commodity | string | Keep only rows whose commodity / variety / group contains this word, e.g. "lime". |
date | string | One report date, ISO YYYY-MM-DD. |
district | string | Keep only rows whose district or market location contains this text, e.g. "mexico crossings through texas" or "mcallen". |
end_date | string | Range end, ISO. |
limit | number | Max rows (default 100, max 500). Newest first. |
section | string | Report section name, case-insensitive. Omit to read the data sections (header sections are skipped). |
start_date | string | Range start, ISO (use with end_date). |