{"uid":"cap_bCsJLUXF0pyUPpK46WqNr","slug":"agentshelf-csv-to-json-converter-a9139872","name":"AgentShelf CSV to JSON Converter","description":"Call when an agent needs a CSV table converted to a JSON array of objects. No network. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/csv-to-json first.","url":"https://agentshelf.syntexa.ch/v1/csv-to-json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","examples":["name,role\nAda,eng\n"],"maxLength":100000,"minLength":1,"description":"CSV text with a header row. Rows become JSON objects."},"delimiter":{"type":"string","maxLength":1,"minLength":1,"description":"Field separator, one character. Omit it to use a comma."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZuEM1nYA8uXr7P8oXSQ6j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a CSV string into a JSON array of objects, with optional delimiter configuration, at a fixed cost of $0.002 USDC per call.","exampleAgentPrompt":"Convert this CSV text into a JSON array of objects — the columns are separated by commas: 'name,age,city\\nAlice,30,New York\\nBob,25,London'","exampleUseCases":[{"title":"ETL pipeline data normalization","prompt":"I just exported a CSV from our database with semicolons as delimiters — can you convert it to a JSON array of objects so I can feed it into the next pipeline stage? Here's the data: 'id;product;price\\n1;Widget A;9.99\\n2;Widget B;14.99'"},{"title":"Spreadsheet data into API payload","prompt":"Take this comma-separated table I copied from Excel and turn it into a JSON array so I can POST it to our REST API: 'email,role,active\\njane@co.com,admin,true\\njohn@co.com,viewer,false'"},{"title":"Tab-separated log file parsing","prompt":"I have a TSV log file snippet with tab delimiters — convert it to JSON objects for me: 'timestamp\\tevent\\tuser\\n2024-01-01T10:00:00\\tlogin\\talice\\n2024-01-01T10:05:00\\tlogout\\talice'"}],"resultDescription":"A JSON array of objects where each element corresponds to a CSV row, with keys derived from the header row and values from each subsequent row. The response is structured data suitable for direct programmatic use.","failureModes":["Empty or missing 'csv' field returns a validation error","CSV string exceeds 100,000 character limit causing rejection","Malformed CSV with inconsistent column counts may produce unexpected output","Invalid or multi-character delimiter value causes schema validation failure","Payment of exactly $0.002 USDC not provided triggers x402 payment required response"],"whenToPreferThis":"Prefer this endpoint when an agent needs a reliable, low-latency, server-side CSV-to-JSON conversion without executing local code. Especially useful when the CSV delimiter is non-standard (e.g. semicolon or tab). Use the free sandbox endpoint POST /v1/sandbox/csv-to-json first if available; fall back to this paid endpoint when the sandbox is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:47:32.678Z","isFirstParty":false,"canonicalSlug":"agentshelf-csv-to-json-converter-a9139872"}