{"uid":"cap_ZkwH4h3v0Q0qg7ATc0288","slug":"strale-csv-cleaner-d5b97316","name":"Strale CSV Cleaner","description":"Clean messy CSV: fix inconsistent delimiters, mixed encodings, BOM, trailing commas, quoted fields. Returns clean CSV with issues report.","url":"https://api.strale.io/x402/v2/csv-clean","method":"GET","headers":{},"bodySchema":{"type":"object","required":["csv"],"properties":{"csv":{"type":"string","description":"Messy CSV string to clean"}}},"responseSchema":{"csv":{"type":"string"},"row_count":{"type":"integer"},"column_count":{"type":"integer"},"issues_fixed":{"type":"array"},"detected_delimiter":{"type":"string"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0216","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yE9DUMGNCwZiQ53ORwBXy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Cleans and normalizes a messy CSV string, fixing formatting inconsistencies, quoting issues, and structural problems.","exampleAgentPrompt":"Can you clean up this messy CSV for me? It has inconsistent quoting and some broken rows: 'name,age,city\n\"Alice\",30,\"New York\nBob,\"25,Chicago\nCarol,28,\"Los Angeles\"'","exampleUseCases":[{"title":"Fix broken export before database import","prompt":"I exported data from our CRM and the CSV is all messed up — wrong quoting, some rows split across lines. Can you clean it up so I can import it into PostgreSQL? Here's the raw CSV: 'id,name,email\n1,\"John Smith\",john@example.com\n2,Jane \"Doe\",jane@example.com\n3,Bob,bob@example'"},{"title":"Normalize spreadsheet data for analysis","prompt":"I have a CSV from a third-party vendor that has inconsistent formatting — mixed quoting styles and weird whitespace. Please clean it up so I can run my analysis on it: 'product,price,qty\n\"Widget A\", 12.99 ,100\nWidget B,\"9.99\",\"200\nGadget C, 5.50, 50'"},{"title":"Repair CSV before sending to client","prompt":"Before I send this data file to the client, can you clean up the CSV? Some rows have unescaped quotes and the delimiters look off: 'date,description,amount\n2024-01-15,\"Office \"supplies\",45.00\n2024-01-16,Coffee,12.50\n2024-01-17,\"Team lunch,230.00'"}],"resultDescription":"Returns a cleaned, normalized CSV string with consistent quoting, proper escaping, and fixed structural issues. Each call also returns a cryptographic audit record with chain hashing for traceability and trust verification.","failureModes":["Missing or empty csv query parameter — returns validation error","Input is not recognizable as CSV (e.g. binary data, pure JSON) — may return error or unexpected output","Extremely large CSV strings may exceed URL length limits for GET requests","Network timeout if the service is under load","402 Payment Required if USDC micropayment is not properly configured"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use CSV cleaning call with a built-in cryptographic audit trail — especially useful in automated pipelines where traceability and trust matter. Prefer it over local parsing libraries when you need a hosted, accountable transformation step, or when operating in an x402 micropayment-enabled agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:52:50.655Z","isFirstParty":false}