{"uid":"cap_OqTWtTpPnGXxWwewpgC9o","slug":"delx-csv-escape-80abb636","name":"Delx CSV Escape","description":"CSV-escape a single field. Call when you build CSV rows from agent fields with commas/quotes. Returns escaped field and quoted flag for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/csv-escape","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"text":"\"hello, \"\"world\"\"\"","quoted":true,"schema":"delx/util-csv-escape/v1"}},"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_rRBlPkkfDhpBwcXti57ve","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":"CSV-escapes a single text field, wrapping it in quotes and escaping embedded quotes as needed for safe CSV row construction.","exampleAgentPrompt":"Can you CSV-escape this field value for me — it's got commas and quotes in it: 'Smith, John \"Johnny\" Jr.'","exampleUseCases":[{"title":"Agent report CSV row builder","prompt":"I'm generating a CSV report from agent output and one of the fields is 'Revenue: $1,200 (\"estimated\")' — can you escape that so it's safe to drop into a CSV row?"},{"title":"Sanitizing user input for CSV export","prompt":"A user typed 'O'Brien, Mary' as their name and I need to put it in a CSV file — can you escape it properly so the commas and quotes don't break the format?"},{"title":"Preparing structured data for spreadsheet ingestion","prompt":"I have a product description field that contains commas and double quotes and I need to write it into a CSV for Google Sheets — please CSV-escape the text 'Large, \"premium\" widget — best seller' for me."}],"resultDescription":"Returns the escaped CSV field value with any embedded double-quotes doubled up and the whole field wrapped in quotes if necessary, plus a boolean flag indicating whether the field was quoted.","failureModes":["Empty or missing 'text' field may return an error or trivially empty result","Extremely long strings may hit payload size limits","Non-string input types may cause a validation error","Network timeout on payment processing via x402 may prevent the call from completing"],"whenToPreferThis":"Use this endpoint when you need a lightweight, local, no-retention utility to safely escape individual CSV field values during agent-driven CSV row construction — especially when you cannot use a full CSV library, need to pay-per-call with no API key setup, or require a guaranteed stateless operation with no data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:56:42.283Z","isFirstParty":false}