# Mining Share Aggregates — Record Key Uniqueness Validator

> Mining Share Aggregates — Record Key Uniqueness Validator 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 that all record keys in a mining share aggregates CSV table are unique, returning a uniqueness report for up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-mining-shares-keys?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-record-key-uniqueness-validator-4fc0a347
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tph8c5e5ghx-81CazhEQg

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-record-key-uniqueness-validator-4fc0a347 -d '<json body>'
```

Example prompt: Can you check this mining share CSV for duplicate record keys? It uses a comma delimiter and has columns for observation_id, observed_on, worker_id, accepted_shares, and rejected_shares — I need a uniqueness report to confirm no observation IDs are repeated before I import it.

## When to prefer this

Choose this endpoint when you specifically need to validate record key uniqueness in mining share aggregate CSV data (with fields like observation_id, worker_id, accepted_shares, rejected_shares) and need a structured uniqueness report. It is purpose-built for this schema, as opposed to generic CSV validators that have no domain-specific presets for mining share data.

## Known failure modes

- CSV exceeds 1000 rows — only up to 1000 rows are validated
- CSV string exceeds 100,000 character limit — rejected with size error
- Invalid delimiter specified — must be comma, semicolon, or tab
- Cell content exceeds max_cell_length — parsing may fail or truncate
- Malformed CSV with unmatched quotes — parsing error returned
- Empty CSV input — rejected due to minLength:1 constraint

## How this service works

Mining share aggregates — Record key uniqueness: Record key uniqueness 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 record key uniqueness report.

## Output

A record key uniqueness report indicating whether all keys (e.g. observation_id values) in the submitted CSV are unique, identifying any duplicates found across 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-record-key-uniqueness-validator-4fc0a347/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)
