# Crop Yield Records – Date by Category Pivot

> Crop Yield Records – Date by Category Pivot 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-18).

Generates a date-by-category pivot table from up to 200 crop yield records, summarizing a chosen numeric field (hectares or harvest_kg) across crop types and dates.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-crop-yield-records-pivot?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crop-yield-records-date-by-category-pivot-73c9ef0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_157TOx50MCbP8WGXnOURE

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-date-by-category-pivot-73c9ef0a -d '<json body>'
```

Example prompt: Can you run a date-by-category pivot on my crop yield records — I have data for 'wheat' and 'corn' across several dates with hectares and harvest_kg values — and pivot the harvest_kg field so I can see totals by crop and date?

## When to prefer this

Choose this endpoint when you have local crop yield tabular data (up to 200 records) and need a quick descriptive pivot cross-tabulating a numeric measure by crop category and date, without needing external data enrichment, forecasting, or ML-based predictions. Ideal for agricultural analysts, farm management tools, or reporting agents that need offline pivot analytics at low cost ($0.01 per call).

## Known failure modes

- Exceeds 200 row limit — request rejected
- Missing required fields (row_id, crop, date, hectares, or harvest_kg) — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Numeric values out of bounds (±1 trillion) — rejection
- Empty rows array — minimum items violation
- Invalid field enum value (not 'hectares' or 'harvest_kg') — schema error

## How this service works

Crop yield records - Date by category pivot: Date by category pivot 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 date by category pivot report.

## Output

A bounded date-by-category pivot report showing aggregated values of the selected numeric field (hectares or harvest_kg) broken down by crop type across dates, derived entirely from the supplied records with no external enrichment or forecasting.

## 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
  },
  "field": {
   "enum": [
    "hectares",
    "harvest_kg"
   ],
   "type": "string",
   "default": "hectares"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crop-yield-records-date-by-category-pivot-73c9ef0a/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)
