# Mining Share Aggregates CSV Trimmed Typed Conversion

> Mining Share Aggregates CSV Trimmed Typed Conversion 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-15).

Validates and normalizes a CSV table of mining share aggregate data (observation IDs, dates, worker IDs, accepted/rejected shares) with trimming, type coercion, and configurable constraints.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-mining-shares-normalise?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mining-share-aggregates-csv-trimmed-typed-conversion-7b931a5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bIH-ndBcXcCYKwPVQ21tY

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 mining-share-aggregates-csv-trimmed-typed-conversion-7b931a5c -d '<json body>'
```

Example prompt: Can you validate and normalize this CSV of mining share aggregates — it has columns for observation_id, observed_on, worker_id, accepted_shares, and rejected_shares, comma-delimited, up to 1000 rows, with allowed categories group-a and group-b, and share counts should be between 0 and 1000000?

## When to prefer this

Use this endpoint when you need to validate and normalize a structured CSV of mining share aggregate data (with fields like observation_id, observed_on, worker_id, accepted_shares, rejected_shares) against declared type and range contracts, especially when you need trimming of whitespace and type coercion without any external enrichment or lookups. Prefer this over generic CSV validators when your domain is specifically cryptocurrency mining share statistics and you need the specialized preset with configurable category allowlists and numeric bounds.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows in the CSV — validation halted
- Cell exceeds max_cell_length — row flagged or rejected
- Category value not in allowed_categories list — row fails validation
- Numeric value outside minimum/maximum bounds — type constraint violation
- Malformed CSV structure (unmatched quotes, wrong delimiter) — parse error
- Empty CSV input — immediate validation failure

## How this service works

Mining share aggregates — Trimmed typed conversion: Trimmed typed conversion for Mining share aggregates. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV trimmed typed conversion report.

## Output

A trimmed typed conversion report for the submitted CSV, confirming which rows pass validation with proper types and trimmed values, and flagging rows that violate constraints such as out-of-range numbers, disallowed categories, or malformed cells.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "observation_id,observed_on,worker_id,accepted_shares,rejected_shares\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3",
   "maxLength": 100000,
   "minLength": 1
  },
  "maximum": {
   "type": "number",
   "default": 1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": -1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "delimiter": {
   "enum": [
    ",",
    ";",
    "\t"
   ],
   "type": "string",
   "default": ","
  },
  "max_cell_length": {
   "type": "integer",
   "default": 1000,
   "maximum": 5000,
   "minimum": 1
  },
  "allowed_categories": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [
    "group-a",
    "group-b"
   ],
   "maxItems": 100,
   "minItems": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-share-aggregates-csv-trimmed-typed-conversion-7b931a5c/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)
