Convert TSV to Parquet using an API

Use our API to convert your Tab Separated Values data to Apache Parquet

Convert to
POST https://dataconverter.io/api/v1/convert/tsv-to-parquet

After signing up and verifying your email, you will be able to create an API Token in your account settings.

Headers
  • Authorization (required) Bearer <<YOUR_API_TOKEN_HERE>>
Request Body — (multipart/form-data)
  • file (required) string <binary>
  • uploadSettings

    object
    {
      "fieldSeparator" : "\t",
      "allowMultiLineText" : true,
      "allowQuoteInField" : true,
      "fieldNamesInFirstRow" : true,
      "startingQuote" : "\"",
      "endingQuote" : "\"",
      "lineSeparators" : "\\n,\\r\\n,\\r",
      "trimFields" : true,
      "skipEmptyRows" : false,
      "charset" : "UTF-8"
    }
  • downloadSettings

    object
    {
      "defaultBigNumberPrecision" : 25,
      "defaultBigDecimalScale" : 5,
      "roundingMode" : "HALF_UP",
      "compressionCodecName" : "UNCOMPRESSED",
      "defaultAdjustedToUTC" : true
    }
Request Sample

curl -X POST "https://dataconverter.io/api/v1/convert/tsv-to-parquet" \
-H "Authorization: Bearer YOUR_TOKEN_HERE" \
-F "file=@data.tsv;type=text/tab-separated-values" \
-F "uploadSettings={\"fieldSeparator\":\"\\t\",\"allowMultiLineText\":true,\"allowQuoteInField\":true,\"fieldNamesInFirstRow\":true,\"startingQuote\":\"\\\"\",\"endingQuote\":\"\\\"\",\"lineSeparators\":\"\\\\n,\\\\r\\\\n,\\\\r\",\"trimFields\":true,\"skipEmptyRows\":false,\"charset\":\"UTF-8\"};type=application/json" \
-F "downloadSettings={\"defaultBigNumberPrecision\":25,\"defaultBigDecimalScale\":5,\"roundingMode\":\"HALF_UP\",\"compressionCodecName\":\"UNCOMPRESSED\",\"defaultAdjustedToUTC\":true};type=application/json" \
--output converted.parquet
          
Show All APIs