# Agricultural Commodity Signal API

> Agricultural Commodity Signal API is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Returns a fused agricultural signal for a commodity (corn, soybeans, or wheat) combining USDA spot price, NASS production and stocks data into computed metrics: spot change, price percentile, and year-over-year context.

## Facts

- Endpoint: GET https://api.agentstools.dev/agri/signal
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agricultural-commodity-signal-api-277dc617
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wXGGZs2qSY9WOce2ROUZN

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 agricultural-commodity-signal-api-277dc617
```

Example prompt: Can you pull the fused agricultural signal for soybeans — I want to see the current spot price change, where the price sits historically as a percentile, and the year-over-year production and stocks context?

## When to prefer this

Use this endpoint when you need a pre-fused, ready-to-interpret agricultural commodity signal that combines spot pricing, historical percentile context, and supply fundamentals (production and stocks) in a single call. Prefer this over raw USDA API calls when you need both price and supply-side context without building your own fusion logic.

## Known failure modes

- Unsupported commodity value (only corn, soybeans, wheat accepted) returns a 400 or validation error
- USDA or NASS upstream data unavailable causes partial or failed signal computation
- Missing commodity parameter defaults to corn — may produce unexpected results if caller expected another commodity
- Stale underlying data from USDA/NASS sources may cause lagged signals during government data release cycles

## How this service works

USDA NASS production and grain-stocks signal for a commodity: the QuickStats production and stocks series computed into context - production and stocks year-over-year change and history percentiles. When a USDA Market News key is configured it also folds in the spot/auction price and its change; without one it returns the NASS side and notes the gap.

## Output

A computed signal object for the requested commodity containing: the USDA Market News spot price change, a price percentile ranking over the full available price history, and year-over-year percentage changes for NASS production and stocks series — all fused into a single structured response.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "commodity": {
       "enum": [
        "corn",
        "soybeans",
        "wheat"
       ],
       "type": "string",
       "description": "Commodity to fuse (default corn)"
      }
     }
    }
   },
   "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/agricultural-commodity-signal-api-277dc617/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
