{"uid":"cap_8IkH8-WJwV_-mXAt_pmiQ","slug":"agent-data-toolkit-json-to-csv-converter-7a528754","name":"Agent Data Toolkit – JSON to CSV Converter","description":"Convert a list of JSON records into CSV with automatic header detection.","url":"https://agent-data-toolkit.onrender.com/csv?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["method"],"properties":{"body":{"type":"object","properties":{"records":{"type":"array","description":"array of objects (required, min 1)"},"delimiter":{"type":"string","description":"string, defaults to ','"}}}}},"output":{"type":"object","properties":{"example":{"type":"object","required":["ok","csv"],"properties":{"ok":{"type":"boolean"},"csv":{"type":"string"},"rows":{"type":"integer"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NbMsppsaWk4DkToBo2k21","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a list of JSON records into a CSV file with automatic header detection from field names.","exampleAgentPrompt":"Can you convert this list of JSON records into a CSV file? Here's the data: [{\"name\":\"Alice\",\"age\":30,\"city\":\"NYC\"},{\"name\":\"Bob\",\"age\":25,\"city\":\"LA\"}] — just detect the headers automatically and give me the CSV output.","exampleUseCases":null,"resultDescription":"Returns a CSV-formatted text string with automatically detected column headers derived from the JSON field names, followed by one row per input record with values populated accordingly.","failureModes":["Input is not a valid JSON array — returns error indicating malformed input","Records have deeply nested objects that cannot be flattened to CSV columns","Empty array input — returns only headers or empty response","Mixed schema records with inconsistent keys — some cells may be blank or missing","Payment not processed — 402 response requiring x402 payment"],"whenToPreferThis":"Use this endpoint when you have a flat or near-flat array of JSON objects and need quick CSV output with automatic header inference, without setting up a local conversion pipeline. Ideal for agents exporting API data to spreadsheets or data pipelines. If records have complex nested structures, consider pre-flattening first.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:03:04.853Z","isFirstParty":false,"canonicalSlug":"agent-data-toolkit-json-to-csv-converter-7a528754"}