{"uid":"cap_BjBxNDkJ6Cehmz3YXNocm","slug":"delx-commerce-csv-rename-columns-45f975fd","name":"Delx Commerce — CSV Rename Columns","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-rename-columns?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8192,"description":"Text supplied to CSV Rename Columns; used only for this bounded calculation and processed in memory without retention."},"mapping":{"type":"object","description":"Mapping supplied to CSV Rename Columns; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"result":{"csv":"firstName,id\nAda,1","headers":["firstName","id"]},"schema":"delx/util-csv-rename-columns/v1","status":"pass","evidence":{"retained":false,"input_sha256":"ce661e0e0fda1bc758af27bedb3db0d1e9c03431eb63697fd9ce351321ade546","external_calls":0},"operation":"data_batch:csv_rename_columns"}},"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_pg7Bu3NSjWWgUDKXrf31U","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":"Renames columns in a CSV string according to a provided old-to-new column name mapping, returning the transformed CSV with updated headers.","exampleAgentPrompt":"I have a CSV with columns 'fname' and 'user_id' and I need to rename them to 'firstName' and 'id' respectively — can you apply that column mapping and give me back the updated CSV?","exampleUseCases":[{"title":"Normalize API export column names","prompt":"I pulled a CSV export from our CRM and the columns are named 'cust_nm', 'cust_id', and 'rev_usd' — I need them renamed to 'customerName', 'customerId', and 'revenueUsd' before I load it into our data warehouse. Can you rename those columns for me?"},{"title":"Standardize partner data feed headers","prompt":"Our partner sends us a CSV with headers 'first', 'last', and 'email_addr' but our system expects 'firstName', 'lastName', and 'email'. Rename the columns in this CSV so it matches our expected format."},{"title":"Prepare CSV for downstream pipeline","prompt":"I have a CSV with columns 'dt', 'amt', and 'ref_no' that needs to go into a reporting tool expecting 'date', 'amount', and 'referenceNumber'. Can you rename those columns in the CSV text for me?"}],"resultDescription":"Returns a JSON object containing the transformed CSV string with renamed headers (result.csv), the list of new header names (result.headers), a status field ('pass'), and a verifiable evidence block with input hash, retention flag (false), and external call count (0).","failureModes":["Column name not found in CSV header row — mapping key doesn't match any existing column","CSV text is malformed or not valid CSV format","Input text exceeds 8192 character limit","Mapping object exceeds 128 property limit","Payment not received or insufficient USDC balance via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use, no-signup CSV column renaming operation with verifiable in-memory processing and no data retention. Ideal for agents that handle CSV transformation tasks programmatically and require cryptographic evidence of processing. Prefer this over general-purpose data transformation tools when you need a minimal, auditable, single-purpose utility with micro-payment pricing via USDC on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:08.721Z","isFirstParty":false,"canonicalSlug":"delx-commerce-csv-rename-columns-45f975fd"}