# Mining Payout Imports — Trimmed Typed Conversion

> Mining Payout 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 payout records into trimmed, typed fields, returning a conversion report for up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-mining-payouts-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-payout-imports-trimmed-typed-conversion-c90607b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IY0y8n-WqA4ZBdMgln6K5

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-payout-imports-trimmed-typed-conversion-c90607b4 -d '<json body>'
```

Example prompt: Can you validate and normalize this mining payout CSV — it has columns payout_id, paid_on, pool_id, gross_btc, and fee_btc, comma-delimited, with pool IDs restricted to group-a and group-b, and numeric values between 0 and 1000000?

## When to prefer this

Choose this endpoint when you have raw mining payout CSV data (with fields like payout_id, paid_on, pool_id, gross_btc, fee_btc) that needs type coercion, whitespace trimming, and categorical/range validation in a single pass, without requiring any external data enrichment. It is ideal for pre-processing payout exports before loading into a database or handing off to finance, particularly when you need to enforce allowed pool categories and numeric bounds on BTC amounts.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — rows beyond limit may be ignored or error returned
- Cell value exceeds max_cell_length — flagged or rejected
- Numeric value outside min/max bounds — validation error reported
- Pool ID not in allowed_categories list — validation failure on that row
- Malformed CSV (unclosed quotes, wrong column count) — parse error returned
- Invalid delimiter specified — schema validation failure
- Empty CSV input — error due to minLength:1 constraint

## How this service works

Mining payout imports — Trimmed typed conversion: Trimmed typed conversion for Mining payout 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

A structured conversion report covering up to 1000 rows of the input CSV, with each cell trimmed and type-coerced (dates, numbers, strings), validation flags for out-of-range numeric values, disallowed category values, and oversized cells, along with any parsing errors for malformed or quoted fields.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "payout_id,paid_on,pool_id,gross_btc,fee_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-payout-imports-trimmed-typed-conversion-c90607b4/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)
