---
title: Convert Raw CSV to JSON API
slug: raw-csv-to-json
url: https://apyhub.com/dosvak/service/raw-csv-to-json
provider: Dosvak LLC
categories: [Developer Tools, File Conversion]
tags: [csv, json-conversion, data-transform, parsing, spreadsheet]
auth: api_key
---

# Convert Raw CSV to JSON API

Convert a CSV string into a JSON array of objects keyed by the header row. Get parsed rows in data and a total count for imports and data pipelines.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Converts a CSV string into a JSON array of objects, using the first row as the header… | 10 |

## About

## What it does
CSV to JSON converts a CSV string into a JSON array of objects keyed by the header row. Send the CSV content in `body.csv`, and you get back parsed objects in `data` plus a `count` of how many rows were converted.

Use `body.delimiter` when your file uses something other than a comma. The default delimiter is `,`, so common CSV exports work without extra configuration. This is useful when you need to normalize spreadsheet exports, import tabular data into a service, or turn CSV payloads into a format your app can process with standard JSON tooling.

The response is intentionally simple: `data` contains the converted rows as objects, and `count` tells you how many records were produced. If your CSV header is `name,age`, a row like `Alice,30` becomes an object keyed by those column names. Keep the input as a CSV string and let the converter handle the row-to-object mapping for you.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/raw-csv-to-json
