{"uid":"cap_vbzhSYugySjbiqZppzIL3","slug":"json-rows-to-csv-converter-6f49267f","name":"JSON Rows to CSV Converter","description":"Render JSON rows as CSV — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/json-to-csv?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"rows":{},"columns":{}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"json-to-csv","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_URAMidAD664E9XiwTPO_x","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 an array of JSON row objects into a formatted CSV string, using a specified column list.","exampleAgentPrompt":"Can you convert these JSON rows into a CSV? Here are the rows: [{\"name\":\"Alice\",\"age\":30},{\"name\":\"Bob\",\"age\":25}] and I want the columns in this order: name, age.","exampleUseCases":[{"title":"Export API data for spreadsheet","prompt":"I have a JSON array from our sales API — rows like [{\"product\":\"Widget\",\"units\":100,\"revenue\":500}] — can you render that as a CSV with columns: product, units, revenue? I want to paste it into Excel."},{"title":"Data pipeline ETL step","prompt":"As part of my ETL pipeline, take these JSON records and convert them to CSV with the columns id, timestamp, event_type, user_id so I can load it into our data warehouse."},{"title":"Report generation from JSON logs","prompt":"I've got a list of JSON log entries from our server and I need to turn them into a CSV with columns: request_id, status_code, latency_ms, endpoint — can you do that conversion for me?"}],"resultDescription":"Returns a JSON envelope with ok: true, the type identifier 'json-to-csv', the generated CSV content (implied by the type), a payment receipt containing the transaction hash, USD amount, and receipt ID, plus a generated_at ISO8601 timestamp confirming when the conversion was produced.","failureModes":["Missing or malformed 'rows' parameter returns an error response","Column list mismatch with row keys may produce empty or incomplete columns","Payment failure or insufficient funds results in HTTP 402 and no conversion","Oversized row arrays may time out or be rejected","Non-array rows input causes a schema validation error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call JSON-to-CSV conversion without standing up your own transformation logic — particularly useful in agentic workflows where you want structured tabular output from JSON data without managing server infrastructure. It is ideal when you already have JSON row arrays and a known column order and need clean CSV output fast.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:43.788Z","isFirstParty":false,"canonicalSlug":"json-rows-to-csv-converter-6f49267f"}