# Mining Share Aggregates — Invalid Row Export

> Mining Share Aggregates — Invalid Row Export 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-20).

Validates a CSV of mining share aggregate data and exports a report of invalid rows, checking up to 1000 rows against declared column contracts.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-mining-shares-invalid-rows?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mining-share-aggregates-invalid-row-export-cca443b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ka1_HC7MCfouTvdf5daW6

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-invalid-row-export-cca443b1 -d '<json body>'
```

Example prompt: Can you validate this mining share aggregate CSV and export a report of all invalid rows? Use a comma delimiter, allow categories 'group-a' and 'group-b', set the minimum to 0, maximum to 1000000, and max cell length to 500.

## When to prefer this

Choose this endpoint when you specifically need to validate mining share aggregate CSV data (with fields like observation_id, observed_on, worker_id, accepted_shares, rejected_shares) and receive a structured export of invalid rows. It is purpose-built for this schema with preset validation rules for mining share data, rather than a generic CSV validator. Best suited for data quality checks before ingestion, compliance audits, or pipeline validation steps on mining pool share records.

## 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
- More than 100 allowed_categories specified — schema error
- max_cell_length outside 1–5000 range — schema error
- Malformed JSON request body — 400 error
- Payment not included or insufficient — 402 error

## How this service works

Mining share aggregates — Invalid row export: Invalid row export 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 invalid row export report.

## Output

A report identifying which rows in the submitted CSV are invalid, including which validation rules they violate (out-of-range numeric values, disallowed category values, cell length exceeded, or structural issues), covering up to 1000 rows of 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-invalid-row-export-cca443b1/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)
