{"uid":"cap_5q4uGOouTaP3PcWFDfnTU","slug":"csv-to-json-converter-b551cc0d","name":"CSV to JSON Converter","description":"Parse CSV/TSV (RFC 4180) into a JSON array of row objects (or arrays).","url":"https://api.24klabs.ai/api/csv-to-json","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string"}}},"responseSchema":{"type":"json","example":{"rows":[{"age":"30","name":"Alice"}]}},"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_9vUgXHSSvf36u0eOYxqpz","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":"Parses a CSV or TSV (RFC 4180) string into a JSON array of row objects or arrays.","exampleAgentPrompt":"Can you convert this CSV data into a JSON array of objects, treating the first row as headers? Here's the CSV: 'name,age,city\\nAlice,30,NYC\\nBob,25,LA'","exampleUseCases":[{"title":"Data pipeline ingestion from CSV export","prompt":"I exported user data from our CRM as a CSV with columns name, email, and signup_date — can you parse it into a JSON array of objects so I can feed it into our API?"},{"title":"TSV log file processing","prompt":"I have a tab-separated log file from our server with fields timestamp, status, and duration — convert it into a JSON array of row objects so I can analyze it programmatically."},{"title":"Spreadsheet-to-API data bridging","prompt":"Here's a CSV I downloaded from Google Sheets with product SKUs and prices — turn it into JSON row objects so I can import it into our inventory system."}],"resultDescription":"A JSON array where each element represents a row from the input CSV/TSV — either as an object with header-derived keys (if headers are present) or as a plain array of string values per row. Follows RFC 4180 parsing rules including quoted fields and embedded commas.","failureModes":["Malformed CSV (unclosed quotes, inconsistent column counts) may produce parsing errors or partial output","Non-RFC-4180 edge cases (e.g. multi-line unquoted fields) may not parse correctly","Empty input returns empty array or error","Encoding issues with non-UTF-8 CSV content may corrupt field values"],"whenToPreferThis":"Choose this endpoint when you need a quick, reliable, paid-per-call CSV/TSV-to-JSON conversion without standing up your own parser. Ideal for agents that receive CSV payloads from external systems or user uploads and need structured JSON for downstream processing. Prefer this over general-purpose code execution when you want a deterministic, schema-safe parse with no runtime dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:03.372Z","isFirstParty":false}