# Research Grant Spending — Grouped Numeric Summary + Numeric Row Ordering

> Research Grant Spending — Grouped Numeric Summary + Numeric Row Ordering 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-23).

Computes a grouped numeric summary and numeric row ordering for up to 200 research grant spending records (budget_amount or spend_amount), returning two analytical reports per call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-education-20-087?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/research-grant-spending-grouped-numeric-summary-numeric-row-ordering-cf38a2c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5iZrL-hF7Gs6VmJpBkCCe

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 research-grant-spending-grouped-numeric-summary-numeric-row-ordering-cf38a2c6 -d '<json body>'
```

Example prompt: I have up to 200 rows of research grant spending data with fields like row_id, course_group, date, budget_amount, and spend_amount — can you run a grouped numeric summary and a numeric row ordering on the spend_amount field for me?

## When to prefer this

Choose this endpoint when you have research grant spending records and need both a grouped aggregate summary by course_group and a ranked ordering of individual rows by a numeric field in a single low-cost call. It is purpose-built for education/grant finance analytics and bundles two complementary reports for $0.01, making it ideal for budget review workflows where group-level and row-level numeric insights are both needed simultaneously.

## Known failure modes

- Empty rows array — rejected if fewer than 1 row provided
- Rows exceeding 200 items — rejected at maxItems limit
- Invalid date format — must match YYYY-MM-DD pattern
- Missing required fields (row_id, course_group, date, budget_amount, spend_amount) — validation error
- Numeric values outside ±1,000,000,000,000 range — rejected
- Invalid field enum value — must be 'budget_amount' or 'spend_amount'

## How this service works

Research grant spending — Grouped numeric summary + Numeric row ordering: Grouped numeric summary + Numeric row ordering for supplied research grant spending records (budget_amount, spend_amount). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two reports: (1) a grouped numeric summary aggregating budget_amount or spend_amount by course_group (e.g. count, sum, mean, min, max per group), and (2) a numeric row ordering ranking individual rows by the selected numeric field. Both reports are computed locally from the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/research-grant-spending-grouped-numeric-summary-numeric-row-ordering-cf38a2c6/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)
