# Mining Pool Metric Imports — Trimmed Typed Conversion

> Mining Pool Metric Imports — Trimmed Typed Conversion 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 and normalizes a CSV of mining pool metrics (hashrate, rewards, pool IDs) with trimmed typed conversion, enforcing declared schema contracts up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-pool-metrics-normalise?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-trimmed-typed-conversion-38df28de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sU8xq69UqgMgS4RHnafWX

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-trimmed-typed-conversion-38df28de -d '<json body>'
```

Example prompt: Can you validate and type-convert my mining pool metrics CSV — it uses comma delimiters, has pool IDs limited to group-a and group-b, numeric values should stay between -1000000000000 and 1000000000000, and here's the data: '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

Choose this endpoint when you need to validate and type-normalize structured CSV data specifically for mining pool metrics (hashrate, pool IDs, BTC rewards) before ingestion, especially when you need category allow-listing, numeric range enforcement, and trimmed typed output in a single low-cost call. Prefer this over generic CSV validators when your schema matches the mining pool domain (observation_id, pool_id, hashrate_ths, reported_reward_btc columns).

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — validation truncated or rejected
- Invalid delimiter specified outside allowed enum values
- Numeric value outside declared min/max bounds flagged as violation
- Cell length exceeds max_cell_length setting — cell rejected
- Malformed quoted cells cause parse errors
- allowed_categories list empty but category values present — all categories pass

## How this service works

Mining pool metric imports — Trimmed typed conversion: Trimmed typed conversion 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 trimmed typed conversion report.

## Output

Returns a trimmed typed conversion report for the submitted CSV, including type-coerced cell values, validation pass/fail status per row, and any constraint violations (out-of-range numerics, disallowed category values, malformed cells), covering up to 1000 rows.

## 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-trimmed-typed-conversion-38df28de/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)
