# Crop Yield Records - Category Frequencies

> Crop Yield Records - Category Frequencies is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Computes category frequency counts for crop yield records from up to 200 supplied tabular rows, returning a bounded descriptive analytics report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-crop-yield-records-category-counts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crop-yield-records-category-frequencies-c3429e92
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z8c-KTi1KvciL0AuVOZ2q

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 crop-yield-records-category-frequencies-c3429e92 -d '<json body>'
```

Example prompt: Can you count the frequency of each crop category in these yield records? I have rows for wheat, maize, and soybean — each row has a crop name, date, hectares, and harvest_kg — and I want to know how many records exist per crop type.

## When to prefer this

Choose this endpoint when you have tabular crop yield records and need a fast, local frequency count of crop categories without any enrichment, forecasting, or external data lookups. It is ideal for quick data-quality checks, portfolio audits, or exploratory analysis of crop type distribution across a bounded dataset of up to 200 records. Prefer alternatives if you need numeric distributions, grouped summaries, time-series analysis, or forecasts.

## Known failure modes

- Empty or missing rows array returns a validation error
- More than 200 rows submitted exceeds the maxItems constraint and is rejected
- Rows missing required fields (row_id, crop, date, hectares, harvest_kg) fail schema validation
- Invalid date format (not YYYY-MM-DD) causes a parsing error
- Payment not included or insufficient USDC causes a 402 Payment Required response

## How this service works

Crop yield records - Category frequencies: Category frequencies for Crop yield records. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded category frequencies report.

## Output

A bounded descriptive analytics report showing the count (frequency) of each unique crop category found across the submitted yield records, covering up to 200 rows. The report reveals how many rows belong to each distinct crop type, enabling quick distribution and data-quality insights.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "crop",
     "date",
     "hectares",
     "harvest_kg"
    ],
    "properties": {
     "crop": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "hectares": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "harvest_kg": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "crop": "group-a",
     "date": "2026-10-01",
     "row_id": "row-1",
     "hectares": 10,
     "harvest_kg": 1
    },
    {
     "crop": "group-b",
     "date": "2026-10-02",
     "row_id": "row-2",
     "hectares": 20,
     "harvest_kg": 2
    },
    {
     "crop": "group-a",
     "date": "2026-10-03",
     "row_id": "row-3",
     "hectares": 15,
     "harvest_kg": 3
    },
    {
     "crop": "group-b",
     "date": "2026-10-04",
     "row_id": "row-4",
     "hectares": 30,
     "harvest_kg": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crop-yield-records-category-frequencies-c3429e92/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
