# USDA AMS Market News via MyMarketNews API

> USDA AMS Market News via MyMarketNews API is a paid API for AI agents from api.webintel-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Search the USDA AMS Market News catalogue by keyword or retrieve the latest published rows (prices, volumes, dates) for a specific report by its slug ID.

## Facts

- Endpoint: GET https://api.webintel-api.workers.dev/api/search/usda-market-news?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/usda-ams-market-news-via-mymarketnews-api-12af2af8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wTuaM3eqQN3JRBj7yyVtP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability usda-ams-market-news-via-mymarketnews-api-12af2af8
```

Example prompt: Can you search the USDA AMS Market News catalogue for reports about feeder cattle prices and show me the top 10 results?

## When to prefer this

Use this endpoint when you need official, authoritative USDA agricultural commodity price and market data — livestock, grain, dairy, or produce — either to discover available reports by keyword or to pull the latest structured price/volume rows from a known report. Prefer it over general web search when you need structured tabular market data directly from the government source rather than news articles or third-party summaries.

## Known failure modes

- Missing or invalid MARS API key returns an authentication error
- Invalid or non-existent slug ID returns no data or an error
- Search query exceeding 100 characters is rejected
- limit parameter outside 1–200 range may return an error or be clamped
- Non-existent section name for a slug returns empty rows or defaults to first section
- Network timeout from the upstream USDA MyMarketNews API

## How this service works

USDA AMS Market News (official MyMarketNews API): search the catalogue of livestock, grain, dairy, fruit/vegetable and other market reports by title, or pass a report slug id to get its latest published rows (prices, volumes, report date). Data straight from USDA; needs the owner's free MARS API key.

## Output

For catalogue searches: a list of matching report titles with their slug IDs, sections, and metadata. For slug-based lookups: the report header, narrative text, and tabular data rows (prices, volumes, units, report date) from the requested section.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "q": {
       "type": "string",
       "description": "Words that must all appear in the report title (catalogue search; optional, max 100 characters)"
      },
      "slug": {
       "type": "string",
       "description": "Report slug id (number from the catalogue, e.g. 3926) to get its latest report: header, narrative and data rows instead of searching"
      },
      "limit": {
       "type": "string",
       "description": "How many reports or rows, 1 to 200 (default 25)"
      },
      "section": {
       "type": "string",
       "description": "With slug: which report section to return rows from, e.g. \"Report Details\" (default: the first section after the header; the catalogue lists each report's sections)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usda-ams-market-news-via-mymarketnews-api-12af2af8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webintel-api.workers.dev](https://www.zero.xyz/host/api.webintel-api.workers.dev/llms.txt)
