Tools API Blog
Sign in Create account

JSON to CSV

JSON to CSV is an API that converts an array of JSON objects into a CSV, with columns taken from the first object's keys. It quotes only where needed (if a value contains a comma or a quote), not every field.

How it works

You send data (an array of objects, all the same shape) and get back the CSV text, ready to download or save.

All you need

  • Your API key. Create it in your dashboard with "+ Create key".
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream…).

How to use it in n8n

  • Method: POST · URL: https://api.cofferdock.com/json-to-csv
  • Send Headers: x-api-key = your key, Content-Type = application/json
  • Send Body (JSON): { "data": [{"name":"Ana","age":30},{"name":"Luis","age":25}] }

Options

OptionDefaultWhat it does
data-Required. Array of objects, all with the same keys.
headertrueInclude the column-name row.
delimiter,A single character.

What you get back

csv, the ready-to-use text. With output=csv, the raw CSV as the response body (Content-Type: text/csv), no JSON wrapper.