dev

Convert a JSON array of objects to CSV.

Convert a JSON array of objects to CSV. POST { data, delimiter? }. Column headers are the union of keys across all rows; values are CSV-escaped (quotes, commas, newlines), nested objects are JSON-stringified, null→empty. Returns the CSV string + column list.

post/api/dev/json-to-csv

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/dev/json-to-csv
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Request body

delimiterstring

Delimiter.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.