{"uid":"cap_IYKMXCa5d-5T6IW5KOGOt","slug":"csv-to-json-converter-paid-agent-b5ef4a02","name":"CSV to JSON Converter (paid-agent)","description":"Pay-per-call tools settled in USDC over the x402 protocol. Every tool answers 402 with machine-readable payment instructions; pay and retry to get the result.","url":"https://claudemadeagent-production.up.railway.app/tools/csv2json","method":"POST","headers":{},"bodySchema":{"type":"object","required":["csv"],"properties":{"csv":{"type":"string","description":"Raw CSV text to parse (max 2MB)."},"delimiter":{"type":"string","description":"Single-character field delimiter. Default \",\"."},"hasHeader":{"type":"boolean","description":"Treat row 1 as column names. Default true."}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wO8JA8sOQ031MjVk0ZGO8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts raw CSV text into JSON, with configurable delimiter and header options, settled via per-call USDC micropayment over x402.","exampleAgentPrompt":"Convert this CSV text to JSON for me — it uses a semicolon as the delimiter and the first row is column headers: 'name;age;city\\nAlice;30;New York\\nBob;25;London'","exampleUseCases":[{"title":"Pipeline ETL data normalization","prompt":"I've got a raw CSV export from our database with comma-separated fields and a header row — can you convert it to JSON so I can feed it into our ETL pipeline? Here's the data: 'id,product,price\\n1,Widget,9.99\\n2,Gadget,14.99'"},{"title":"Pipe-delimited log file parsing","prompt":"Parse this pipe-delimited log dump into JSON for me, treating the first row as headers: 'timestamp|level|message\\n2024-01-01T00:00:00|INFO|Server started\\n2024-01-01T00:01:00|ERROR|Connection failed'"},{"title":"Headerless sensor data ingestion","prompt":"Convert this CSV to JSON — there's no header row, just raw comma-separated sensor readings: '23.5,60.1,1012\\n24.0,59.8,1013\\n22.9,61.3,1011'"}],"resultDescription":"A JSON object containing the parsed representation of the input CSV data, with rows mapped to objects keyed by column header names (or positional indices if no header), suitable for downstream programmatic consumption.","failureModes":["CSV exceeds 2MB limit — request rejected","Malformed CSV with inconsistent column counts — parsing error or partial result","Delimiter specified is more than one character — validation error","hasHeader set to true but CSV is empty — empty result or error","Network or payment failure during x402 handshake — 402 response requiring retry after payment"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call CSV-to-JSON conversion without provisioning a dedicated parsing library or service. It's ideal for agents handling ad-hoc or infrequent CSV data that arrives as raw text strings (up to 2MB), especially when you need configurable delimiter or header treatment. Prefer alternatives if you need to process files larger than 2MB, require streaming, or need advanced CSV features like quoted multi-line fields with complex escaping.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-19T18:46:40.445Z","isFirstParty":false}