{"uid":"cap_LfsxEPP-a58bXAXNl3Xoa","slug":"delx-commerce-csv-trim-cells-7fdfb871","name":"Delx Commerce CSV Trim Cells","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/csv-trim-cells?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8192,"description":"Text supplied to CSV Trim Cells; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"csv":"id,name\n1,Ada"},"schema":"delx/util-csv-trim-cells/v1","status":"pass","evidence":{"retained":false,"input_sha256":"2975a664dd731c637235b31a776ace9e587b75a46d372193dc67a9a52fea855f","external_calls":0},"operation":"data_batch:csv_trim_cells"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hd9p3VfTasQsy5XHOAjkZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Trims whitespace from all cells in a CSV-formatted text string, returning a cleaned CSV without storing the input data.","exampleAgentPrompt":"Can you trim all the whitespace from the cells in this CSV? Here it is: 'id, name , value \n1 , Ada , 42 '","exampleUseCases":[{"title":"Clean exported spreadsheet CSV","prompt":"I exported a CSV from our spreadsheet and all the cells have extra spaces around the values — can you trim all that whitespace so I can import it cleanly into our database?"},{"title":"Normalize user-submitted CSV data","prompt":"Users are submitting CSV data through a form and the cells are full of inconsistent spacing. Can you trim all the cells in this CSV for me: 'first_name, last_name , email \n Alice , Smith , alice@example.com '?"},{"title":"Pre-process CSV before parsing","prompt":"Before I parse this CSV into structured records, I need all the cell values trimmed of whitespace — can you clean it up for me? Here's the CSV: 'product , price , qty \n Widget A , 9.99 , 5 '"}],"resultDescription":"Returns a JSON object containing a 'result' field with the trimmed CSV string, plus an 'evidence' block confirming no data was retained (retained: false), the SHA-256 hash of the input, and zero external calls made. Also includes the operation name and schema version.","failureModes":["Input text exceeds 8192 character limit — request rejected","Malformed JSON body — 400 error","Non-CSV or unstructured text passed — output may be unpredictable but no error thrown","Payment not provided or insufficient USDC — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, privacy-respecting, pay-per-use CSV cell whitespace trimmer with verifiable non-retention of data. Ideal for agents that handle sensitive tabular data and need cryptographic proof that input was not stored. Prefer over self-hosted solutions when no infrastructure setup is desired and cost predictability ($0.001 per call) matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:03.956Z","isFirstParty":false,"canonicalSlug":"delx-commerce-csv-trim-cells-7fdfb871"}