{"uid":"cap_cZZHJ4kI7IaeKejAKLhKI","slug":"24k-labs-data-format-converter-4e0d8981","name":"24K Labs Data Format Converter","description":"Interconvert tabular data across CSV, TSV, JSON (array of objects), and NDJSON/JSONL. RFC 4180 CSV parsing; great for pipeline and training-data prep.","url":"https://api.24klabs.ai/api/v1/data-format-convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"input":{"type":"string"}}},"responseSchema":{"type":"json","example":{"rows":2,"result":"{\"name\": \"Ann\", \"age\": \"30\"}"}},"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_SEiQlN4InAIu5w2Ud0nK3","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 tabular data between CSV, TSV, JSON (array of objects), and NDJSON/JSONL formats using RFC 4180 compliant parsing.","exampleAgentPrompt":"Convert this CSV data to a JSON array of objects for me — I have a comma-separated file with headers in the first row and need it as structured JSON records I can feed into my pipeline.","exampleUseCases":[{"title":"ML training data preparation","prompt":"I have a JSONL file of labeled records that I need converted to CSV so I can open it in Excel and do some manual review — can you convert the NDJSON to CSV format?"},{"title":"API response to spreadsheet export","prompt":"I got back a JSON array of objects from an API call and need to turn it into a TSV file so I can paste it into Google Sheets — can you do that conversion?"},{"title":"Pipeline format normalization","prompt":"My data pipeline ingests NDJSON but the upstream source is spitting out TSV — can you convert this TSV data to NDJSON/JSONL so each line is one JSON record?"}],"resultDescription":"The converted tabular data in the requested output format (CSV, TSV, JSON array, or NDJSON/JSONL) as a string, with RFC 4180 compliant parsing applied to CSV inputs. The response contains the reformatted data ready for immediate use in downstream pipelines or storage.","failureModes":["Malformed CSV input that violates RFC 4180 quoting rules returns a parse error","Unsupported format combination (e.g. requesting a format not in the supported list) returns a validation error","Non-tabular JSON input (nested objects, scalars) may fail or produce unexpected output","Empty input data may return an empty result or error","Extremely large payloads may exceed request size limits"],"whenToPreferThis":"Choose this endpoint when you need fast, reliable, RFC 4180 compliant interconversion between CSV, TSV, JSON arrays, and NDJSON/JSONL — especially in automated data pipelines, ML training data prep workflows, or when you need a lightweight pay-per-call conversion without standing up your own parser. Prefer this over general-purpose code execution when you want a deterministic, schema-safe conversion with no environment setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:52:29.074Z","isFirstParty":false}