Data Conversion · REST API

JSON to CSV & CSV to JSON API

Convert structured JSON records into CSV and parse CSV text into JSON arrays through two dedicated REST endpoints.

Free tier available. Both endpoints require a JWT Bearer Token.

Conversion capabilities

Flexible delimiters

Choose semicolon, comma, pipe or tab delimiters for both directions.

CSV formatting controls

Configure quote modes and quote characters to match your data exchange format.

Type-aware parsing

CSV to JSON can infer data types, trim fields and preserve numeric-looking values with leading zeros as strings.

Convert JSON to CSV

Send a JSON array of flat objects. The first object determines the CSV headers; missing fields become empty cells.

Endpoint

POST /api/v1/convert/data/json-to-csv

Input: application/json · Output: text/csv

Short example

Input

[
  {"username":"alice","age":28,"premium":true},
  {"username":"bob","age":31,"premium":false}
]
						

Output

username;age;premium
alice;28;true
bob;31;false
						

Formatting options

Optional JSON to CSV query parameters
Parameter Default Description
delimiter SEMICOLON COMMA, SEMICOLON, PIPE or TAB.
quoteMode NONE ALL, ALL_NON_NULL, MINIMAL, NON_NUMERIC or NONE.
quoteChar — DOUBLE_QUOTE, SINGLE_QUOTE or BACKTICK; ignored with quoteMode NONE.
JSON to CSV in Swagger

Convert CSV to JSON

Send raw CSV text with column headers in its first row. Empty fields become null; type inference can identify numbers, booleans and dates.

Endpoint

POST /api/v1/convert/data/csv-to-json

Input: text/plain · Output: application/json

Short example

Input

name;age;active
Alice;28;true
Bob;;false
						

Output

[
  {"name":"Alice","age":28,"active":true},
  {"name":"Bob","age":null,"active":false}
]
						

Formatting options

Optional CSV to JSON query parameters
Parameter Default Description
delimiter SEMICOLON COMMA, SEMICOLON, PIPE or TAB.
quoteMode NONE ALL, ALL_NON_NULL, MINIMAL, NON_NUMERIC or NONE.
quoteChar — DOUBLE_QUOTE, SINGLE_QUOTE or BACKTICK; ignored with quoteMode NONE.
trimFields true Trim leading and trailing whitespace from fields.
inferTypes true Infer supported values such as booleans, numbers and dates.
CSV to JSON in Swagger

When to use these APIs

Export API data

Transform JSON records into CSV for reports and spreadsheet workflows.

Import tabular datasets

Convert header-based CSV into structured JSON for backend processing.

Explore more DevHub APIs

Browse the API catalog or consult interactive documentation for request and response details.

loader