{"uid":"cap_lZuoDoV_hRqjJjnILUliX","slug":"forgemesh-json-to-csv-converter-64b71441","name":"ForgeMesh JSON to CSV Converter","description":"Turns structured JSON arrays into spreadsheet-ready CSV, up to 10,000 rows, headers unified across objects, nested fields JSON-encoded inline, quotes escaped correctly. Useful for report generation, data exports, and any pipeline bridging an API response to a file a human opens in Excel or Sheets.","url":"https://x402.forgemesh.io/convert-json-to-spreadsheet","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"json":{"description":"array of objects (or a JSON string of one)"}}},"responseSchema":{"type":"json","example":{"csv":"name,value\na,1\nb,2","rows":2,"columns":["name","value"]}},"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_iRo7VCzK16j6WYFG5a-JT","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 a structured JSON array into a spreadsheet-ready CSV file, unifying headers across objects and encoding nested fields inline, up to 10,000 rows.","exampleAgentPrompt":"Can you convert this JSON array into a CSV file I can open in Excel? The data has nested fields and some objects are missing keys — I need headers unified across all objects and nested values encoded inline.","exampleUseCases":null,"resultDescription":"A CSV-formatted text output with a unified header row (merging keys across all objects in the input array) and up to 10,000 data rows. Nested objects/arrays are JSON-encoded inline within their cells, and all quotes are correctly escaped for spreadsheet compatibility.","failureModes":["Input JSON is not an array or parseable JSON string — returns an error","Input exceeds 10,000 rows — truncated or rejected","Malformed JSON input — parse error returned","Empty array input — returns only a header row or empty response","Deeply nested or circular structures may not serialize cleanly"],"whenToPreferThis":"Choose this endpoint when you have a JSON array from an API response and need to produce a human-readable CSV for Excel, Google Sheets, or similar tools — especially when objects have inconsistent keys or nested fields that need to be flattened inline. Prefer this over manual serialization when correctness of quoting and header unification matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:03:00.354Z","isFirstParty":false}