{"uid":"cap_B8nJ0YDOVIo33f-sPF5T6","slug":"product-imports-csv-trimmed-typed-conversion-9f20b5f7","name":"Product Imports CSV Trimmed Typed Conversion","description":"Product imports — Trimmed typed conversion: Trimmed typed conversion for Product 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-products-normalise?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"sku,introduced_on,category_id,list_price,unit_weight_kg\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_jsUt6qyGSADsoWvTQpMnk","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 normalises a product import CSV (up to 1000 rows), trimming whitespace and coercing cell types, returning a typed conversion report.","exampleAgentPrompt":"Can you validate and type-convert my product import CSV — it has columns sku, introduced_on, category_id, list_price, and unit_weight_kg, comma-delimited, and the allowed categories are group-a and group-b? Here's the CSV data: 'record-a,2026-01-01,group-a,10,2\\nrecord-b,2026-01-02,group-b,20,3'.","exampleUseCases":[{"title":"Pre-upload product catalogue validation","prompt":"Before I push this product catalogue to our store, can you run it through a trimmed typed conversion check? It's a comma-separated CSV with columns sku, introduced_on, category_id, list_price, and unit_weight_kg — allowed categories are electronics and apparel — and I need to make sure all prices are between 0 and 9999."},{"title":"Supplier feed normalisation before import","prompt":"I've received a supplier product feed as a semicolon-delimited CSV with up to 800 rows. Can you normalise and type-convert it, allowing only categories 'tools' and 'hardware', and flag any cells over 500 characters or prices outside the range 1 to 50000?"},{"title":"Daily automated product data quality check","prompt":"Every morning I get a fresh product CSV drop with SKUs, dates, category IDs, prices, and weights. Can you run a trimmed typed conversion on today's file — comma-delimited, categories allowed are cat-1, cat-2, and cat-3 — and tell me which rows have type errors or disallowed categories?"}],"resultDescription":"A structured typed conversion report for the submitted product CSV, including per-row parsed and trimmed cell values with inferred types, category conformance results, numeric range violations, cell-length violations, and an overall validation summary indicating which rows passed or failed.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — validation refused","Invalid delimiter specified (must be comma, semicolon, or tab)","Cell exceeds max_cell_length threshold — flagged or error returned","Category value not in allowed_categories list — row flagged as non-conformant","Malformed CSV with unclosed quotes — parse error returned","Numeric field outside minimum/maximum bounds — violation reported"],"whenToPreferThis":"Choose this endpoint when you need a fast, affordable ($0.01 USDC), self-contained CSV validation pass specifically for product import files with typed conversion (dates, numbers, categories). It is ideal when you want whitespace trimming and type coercion without external enrichment or lookup calls, and when your dataset is under 1000 rows and 100,000 characters. Prefer alternatives if you need invoice validation (a sibling endpoint exists), require enrichment from external databases, or need to process files larger than the row/character limits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:29.730Z","isFirstParty":false,"canonicalSlug":"product-imports-csv-trimmed-typed-conversion-9f20b5f7"}