{"uid":"cap_IY0y8n-WqA4ZBdMgln6K5","slug":"mining-payout-imports-trimmed-typed-conversion-c90607b4","name":"Mining Payout Imports — Trimmed Typed Conversion","description":"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.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-mining-payouts-normalise?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AcJcGqpL8yNjy3I9XIhGL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and normalizes a CSV of mining payout records into trimmed, typed fields, returning a conversion report for up to 1000 rows.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Monthly pool payout audit","prompt":"I have a CSV export of this month's mining payouts with columns payout_id, paid_on, pool_id, gross_btc, fee_btc — can you validate and normalize it, making sure all pool IDs are either pool-north or pool-south and all BTC amounts are between 0 and 500?"},{"title":"Multi-pool payout data cleaning","prompt":"I've got a semicolon-delimited mining payout file I need to clean up — please parse and type-check each row, allow pool categories alpha, beta, and gamma, and flag anything with a gross BTC value over 100."},{"title":"Finance team CSV handoff prep","prompt":"Before I send this mining payout CSV to the finance team, can you run it through a trimmed typed conversion to make sure all the fields are properly typed and none of the cell values exceed 200 characters?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:29.731Z","isFirstParty":false,"canonicalSlug":"mining-payout-imports-trimmed-typed-conversion-c90607b4"}