# Mining Pool Metric Imports — Valid Row Export

> Mining Pool Metric Imports — 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 of mining pool metrics (up to 1000 rows) and returns a report of valid rows, checking structure, numeric ranges, and category membership.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-pool-metrics-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-pool-metric-imports-valid-row-export-87f256a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YZ_LGoAiEpwl2SCLCIZfv

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-pool-metric-imports-valid-row-export-87f256a9 -d '<json body>'
```

Example prompt: Can you validate this mining pool metrics CSV and tell me which rows are valid? It uses a comma delimiter, pool IDs should only be 'group-a' or 'group-b', hashrate values should be between 0 and 500, and here's the CSV: 'observation_id,observed_on,pool_id,hashrate_ths,reported_reward_btc\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3'.

## When to prefer this

Use this endpoint when you need to validate a mining pool metrics CSV against a declared contract — checking numeric bounds, allowed category values, and CSV structure — and want a report of only the rows that pass all constraints. Ideal for pre-ingest quality gates, operator-submitted data verification, or automated pipeline filtering where up to 1000 rows need validation in a single call.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — only first 1000 processed or error returned
- Invalid delimiter character provided — parsing fails
- Cell exceeds max_cell_length — row flagged as invalid
- Malformed CSV structure (unmatched quotes, wrong column count) — parsing error
- Numeric values outside the declared minimum/maximum range — rows marked invalid
- Category values not in allowed_categories list — rows flagged invalid

## How this service works

Mining pool metric imports — Valid row export: Valid row export for Mining pool metric imports. 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 structured report identifying which rows in the submitted CSV are valid, based on declared constraints including numeric range (minimum/maximum), allowed category values, delimiter format, and maximum cell length. Up to 1000 rows are evaluated per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "observation_id,observed_on,pool_id,hashrate_ths,reported_reward_btc\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-pool-metric-imports-valid-row-export-87f256a9/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)
