# Mining Share Aggregates CSV Whitespace Audit

> Mining Share Aggregates CSV Whitespace Audit 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-19).

Validates whitespace formatting in a CSV table of mining share aggregate data, checking up to 1000 rows for cell-level whitespace issues against a declared contract.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-mining-shares-whitespace?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mining-share-aggregates-csv-whitespace-audit-3ebcb7d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YuOZNNuUGy4Egu0YOHV6M

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-whitespace-audit-3ebcb7d7 -d '<json body>'
```

Example prompt: Can you run a whitespace audit on my mining share aggregates CSV? It uses comma delimiters, has columns for observation_id, observed_on, worker_id, accepted_shares, and rejected_shares, and the allowed categories are group-a and group-b — flag any cells with leading or trailing whitespace issues.

## When to prefer this

Choose this endpoint when you specifically need whitespace validation on a CSV containing mining share aggregate data (observation_id, worker_id, accepted_shares, rejected_shares) and want a focused, low-cost ($0.01 USDC) audit without external enrichment. It is best suited for pre-pipeline data quality checks where the schema is known and whitespace correctness is the primary concern.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- CSV contains fewer than 1 character — empty input error
- Delimiter not one of comma, semicolon, or tab — validation error
- max_cell_length outside 1–5000 range — parameter error
- allowed_categories array exceeds 100 items — parameter error
- Malformed CSV structure prevents parsing — audit may return parse error

## How this service works

Mining share aggregates — Whitespace audit: Whitespace audit 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 whitespace audit report.

## Output

A whitespace audit report for the submitted CSV identifying cells with whitespace anomalies (e.g. leading/trailing spaces, unexpected whitespace characters), scoped to up to 1000 rows, with findings tied to specific rows and columns in the mining share aggregate data.

## 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-whitespace-audit-3ebcb7d7/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)
