{"uid":"cap_B2L_Ch9RobZxTcbiZ6AE4","slug":"parse-csv-into-json-rows-fd8316a8","name":"Parse CSV into JSON Rows","description":"Parse CSV into JSON rows — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/csv-to-json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"csv":{"type":"string","maxLength":49152},"delimiter":{"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"csv-to-json","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.002,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"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_hOuLo7vBGB1jFcGUl6GXV","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":"Accepts a CSV string (with optional custom delimiter) and returns the parsed data as an array of JSON row objects.","exampleAgentPrompt":"Parse this CSV into JSON rows for me — the data uses a semicolon as the delimiter: 'name;age;city\\nAlice;30;NYC\\nBob;25;LA'","exampleUseCases":[{"title":"Ingesting exported spreadsheet data","prompt":"I just exported a CSV from our CRM with comma separators — can you parse this into JSON rows so I can process each record? Here's the CSV: 'id,name,email\\n1,Jane,jane@example.com\\n2,Tom,tom@example.com'"},{"title":"Handling TSV from analytics tool","prompt":"Our analytics dashboard exports tab-separated files. Can you convert this TSV into JSON objects, using tab as the delimiter? Data: 'product\\trevenue\\tunits\\nWidgetA\\t1200\\t40\\nWidgetB\\t850\\t30'"},{"title":"Normalizing pipe-delimited vendor feed","prompt":"We receive a vendor data feed that uses pipe characters as delimiters. Parse this into JSON rows for me: 'sku|price|stock\\nABC123|9.99|100\\nXYZ789|14.99|50'"}],"resultDescription":"Returns a JSON object with ok: true, a type field ('csv-to-json'), an array of parsed JSON row objects (each row as a key-value object), a generated_at ISO8601 timestamp, and a receipt containing the transaction hash, USD amount charged, and a receipt ID.","failureModes":["Malformed CSV with inconsistent column counts may produce incomplete or misaligned rows","CSV string exceeding 49,152 character limit will be rejected","Invalid or ambiguous delimiter may cause parsing errors","Payment failure (x402 protocol) will block the call before parsing","Missing or empty csv parameter returns an error response"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call microservice to parse a CSV string into JSON rows without running your own parser infrastructure. Ideal for agents handling one-off or infrequent CSV-to-JSON conversions, especially when custom delimiters (semicolons, tabs, pipes) are needed. Best suited for smaller payloads under 49KB.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:34.487Z","isFirstParty":false,"canonicalSlug":"parse-csv-into-json-rows-fd8316a8"}