# Research Sample Recovery - Category Frequencies

> Research Sample Recovery - 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-14).

Computes category-frequency counts for research sample recovery records, breaking down specimen groups across up to 200 input rows with no enrichment or forecasting.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-sample-recovery-category-counts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/research-sample-recovery-category-frequencies-42becf77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fJryAkCz_n2OR6TWHZCbN

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-sample-recovery-category-frequencies-42becf77 -d '<json body>'
```

Example prompt: I have a list of up to 200 sample recovery records with specimen names like 'group-a' and 'group-b', dates, input mass, and recovered mass — can you count how many records fall into each specimen category and give me a frequency breakdown?

## When to prefer this

Use this endpoint when you need a simple, local category-frequency count on research sample recovery records (specimen groups) without any enrichment, prediction, or cross-dataset joins. It is ideal for quick descriptive analytics on small batches (up to 200 rows) where you only need to know how often each specimen category appears. Prefer it over heavier analytics pipelines when cost, speed, and simplicity matter most.

## Known failure modes

- Input array is empty or missing — endpoint requires at least 1 row
- Row missing required fields (row_id, specimen, date, input_mass_g, recovered_mass_g) — validation error returned
- Date field does not match YYYY-MM-DD pattern — schema validation failure
- More than 200 rows submitted — exceeds maxItems limit
- Null values in mass fields may affect aggregation behavior
- Payment of 0.01 USDC not fulfilled — x402 payment required before response is returned

## How this service works

Research sample recovery - Category frequencies: Category frequencies for Research sample recovery. 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 category frequencies report listing each distinct specimen category and the number of times it appears across the submitted rows, computed locally from the supplied data with no external enrichment or forecasting.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/research-sample-recovery-category-frequencies-42becf77/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)
