# Mining Share Aggregates — Valid Row Export

> Mining Share Aggregates — Valid 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-15).

Validates a CSV file of mining share aggregate data (accepted/rejected shares per worker) against a declared table contract, returning a valid-row export report for up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-mining-shares-valid-rows?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-valid-row-export-d46f3b5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yjr2nB3q5pYweMN22ACL-

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-valid-row-export-d46f3b5f -d '<json body>'
```

Example prompt: Can you validate my mining share CSV — it uses comma delimiters, has worker groups 'group-a' and 'group-b', values should be between 0 and 500, and cells up to 1000 characters — and give me a report of which rows are valid?

## When to prefer this

Use this endpoint when you need to validate a structured CSV of mining share aggregate data (accepted/rejected shares per worker/observation) against an explicit contract — including numeric bounds, category whitelists, and cell length — and want a clean valid-row export report. Prefer this over generic CSV validators when your data specifically follows the mining shares schema (observation_id, observed_on, worker_id, accepted_shares, rejected_shares). Best for data quality gates before ingestion, auditing, or reporting pipelines in cryptocurrency mining contexts.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- Fewer than 1 character in CSV input — validation error
- Delimiter mismatch causes all rows to fail parsing
- Values outside declared minimum/maximum range flagged as invalid
- Category values not in allowed_categories list cause row failures
- Cell content exceeding max_cell_length causes row-level failures
- Malformed quoted cells may cause parse errors
- More than 1000 rows submitted — only first 1000 processed or error returned

## How this service works

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

## Output

A valid-row export report identifying which rows in the submitted CSV pass all declared contract rules — including delimiter parsing, numeric range checks (minimum/maximum), allowed category membership, and cell length constraints — for 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-valid-row-export-d46f3b5f/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)
