CSV to JSON Converter
Convert CSV text to a JSON array of objects
Parameters
| name | in | type | required | description |
|---|---|---|---|---|
csv |
body | string | required | CSV Content |
has_headers |
body | boolean | optional | First Row is Headers |
delimiter |
body | string | optional |
Auto-detected if not specified
one of
,;\t| default ,
|
Request
Send your key in the X-API-Key header. More languages and patterns live on the
code examples page.
curl -s -X POST "https://apixies.io/api/v1/csv-to-json" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"csv":"name,email,age\nAlice,alice@example.com,30\nBob,bob@example.com,25"}'
Response
The result sits under data in the standard envelope. See the
response format guide for errors and status codes.
returns
- data.records
- Array of row objects keyed by column name.
- data.columns
- Column names from the header row.
- data.rows
- Number of records parsed.
{
"status": "success",
"http_code": 200,
"code": "SUCCESS",
"message": "CSV converted to JSON successfully",
"data": {
"rows": 2,
"columns": [
"name",
"email",
"age"
],
"records": [
{
"name": "Alice",
"email": "alice@example.com",
"age": "30"
},
{
"name": "Bob",
"email": "bob@example.com",
"age": "25"
}
]
}
}
Authentication and limits
This endpoint needs an API key. Use the sandbox ("try it" above) to test it without registering. See the authentication guide for details.
Standard rate limits apply to this endpoint.
related endpoints
More documentation
Get a free API key
A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.