{"uid":"cap_GKsL5tAbVXNQfFcCj62bH","slug":"csv-to-json-converter-d787aa61","name":"CSV to JSON Converter","description":"Small pay-per-call tools for AI agents. x402, USDC on Base.","url":"https://tools.orchardshop.xyz/t/csv-to-json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"string","description":"POST / with raw CSV text as the body"},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["text"],"type":"string"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"age":{"type":"string"},"name":{"type":"string"}}}},"rows":{"type":"integer"},"columns":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":{"type":"json","example":{"data":[{"age":"36","name":"Ada"},{"age":"41","name":"Alan"}],"rows":2,"columns":["name","age"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5zUx0Q6Oao9qZWyxiNcB0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts raw CSV data (with headers) into a structured JSON array of row objects, along with column names and row count","exampleAgentPrompt":"Can you convert this CSV data to JSON for me? The first row is headers: 'name,age,city\\nAlice,30,\"New York\"\\nBob,25,Chicago'","exampleUseCases":[{"title":"Spreadsheet export to API payload","prompt":"I exported a CSV from Google Sheets with columns name, email, and signup_date — can you turn it into a JSON array so I can feed it into my onboarding API?"},{"title":"ETL pipeline CSV ingestion","prompt":"I've got raw CSV sensor readings with quoted fields that sometimes have commas inside them — can you parse this into a JSON array with the column names and row count so I can load it into my database?"},{"title":"Data migration from CSV to JSON","prompt":"We're migrating our old customer records stored as a CSV file into a new JSON-based system — can you convert this CSV, including escaped quotes and multi-line fields, into a proper JSON array of objects?"}],"resultDescription":"A JSON object containing: a 'rows' array where each element is a key-value object mapping column names to cell values, a 'columns' array listing all header names, and a 'rowCount' integer indicating how many data rows were parsed.","failureModes":["Malformed CSV with unclosed quotes may produce incorrect parsing or an error response","Missing or empty first row (headers) may result in empty column names or an error","Sending non-CSV binary or non-text content as the body may return a parsing error","Very large CSV payloads may time out or be rejected due to request size limits","Network errors or service unavailability return non-200 HTTP status codes"],"whenToPreferThis":"Choose this endpoint when you need a simple, low-cost, one-shot CSV-to-JSON conversion without setting up a local parser — especially useful for handling edge cases like quoted fields containing commas, embedded newlines, and escaped quotes that would trip up naive string-splitting approaches. Ideal for agents automating data pipelines, ETL steps, or one-off transformations where spinning up a full data-processing library is overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:36:45.992Z","isFirstParty":false,"canonicalSlug":"csv-to-json-converter-d787aa61"}