{"uid":"cap_1gkK0SDrc7FaEJTJzdgBY","slug":"relaystation-csv-tsv-json-ndjson-format-converter-bdcfce09","name":"RelayStation CSV/TSV/JSON/NDJSON Format Converter","description":"$0.0002/MB. Convert tabular data between CSV, TSV, JSON, and NDJSON — structure preserved. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/csv/convert","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":"object","properties":{"to":{"enum":["csv","tsv","json","ndjson"],"type":"string","description":"A tabular file format: csv, tsv, json (array of objects), or ndjson."},"file":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."},"from":{"enum":["csv","tsv","json","ndjson"],"type":"string","description":"A tabular file format: csv, tsv, json (array of objects), or ndjson."},"delimiter":{"type":"string","maxLength":4,"minLength":1}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_IZ5gxtI-gIPK9qfg1Dp1j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts tabular data between CSV, TSV, JSON, and NDJSON formats while preserving structure, billed per MB.","exampleAgentPrompt":"Take this CSV data and convert it to JSON format — keep all the columns and rows intact.","exampleUseCases":[{"title":"Pipeline format normalization","prompt":"I have a TSV file exported from our database and I need it converted to NDJSON so I can stream it into our Kafka pipeline — can you do that conversion?"},{"title":"Spreadsheet-ready JSON conversion","prompt":"Convert this JSON array of records into a CSV file so I can open it in Excel and share it with the team."},{"title":"Log ingestion format change","prompt":"I've got a bunch of NDJSON log entries and I need them reformatted as a standard JSON array — please convert it and preserve all the fields."}],"resultDescription":"Returns the converted tabular data in the requested target format (CSV, TSV, JSON, or NDJSON) with structure and column ordering preserved. Billing is $0.0002 per MB of input data processed, with a 1¢ minimum per call; any unused portion of that minimum is auto-credited.","failureModes":["Invalid or malformed input data (e.g. broken CSV quoting, invalid JSON) returns a parse error","Unsupported format combination returns a 400 Bad Request","Empty input body returns an error indicating no data to convert","Oversized payload may be rejected or time out","Payment failure via x402 protocol returns a 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, serverless conversion between CSV, TSV, JSON, and NDJSON without standing up your own ETL tooling. Ideal for AI agents processing tabular data mid-pipeline where format compatibility is needed. At $0.0002/MB it is extremely cost-effective for small-to-medium files. Prefer this over general-purpose code execution when you want a deterministic, structure-preserving conversion with no risk of transformation bugs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:06.786Z","isFirstParty":false}