CSV to JSON

v1Stable
2points per call

Convert CSV files to JSON format with schema inference

Parse CSV files and convert them to JSON with automatic type detection, header recognition, and schema validation.

Interactive ExplorerGet API Token

Pricing

2 points

per request

Rate Limit

60

requests per minute

Category

Data Transformation

API Type

Navigation

API Endpoint

Use this endpoint to make requests to the API

POST https://apphighway.com/api/v1/csv-to-json

Request Parameters

Input parameters accepted by this API

ParameterTypeRequiredDescriptionExample
filefileYesCSV file to convert (multipart/form-data)data.csv
delimiterstringNoCSV delimiter character
Default: ,
,
has_headerbooleanNoWhether the first row contains column headers
Default: true
true
infer_schemabooleanNoAutomatically detect data types for each column
Default: true
true

Response Fields

Fields returned in the API response

ParameterTypeDescriptionExample
statusstringConversion statussuccess
dataarrayArray of JSON objects representing CSV rows[object Object],[object Object]
schemaobjectDetected column types and metadata[object Object]
rowCountnumberTotal number of rows processed2
pointsUsednumberPoints consumed2

Response Schema

JSON schema structure of the API response

{
  "status": "success",
  "data": [
    {
      "name": "Alice",
      "age": 25
    },
    {
      "name": "Bob",
      "age": 30
    }
  ],
  "schema": {
    "name": "string",
    "age": "number"
  },
  "rowCount": 2,
  "pointsUsed": 2
}

Request Format

All requests must include authentication headers and JSON payload

Required Headers

Authorization:Bearer YOUR_API_TOKEN
Content-Type:application/json

Example Request

{
  "data": "example input",
  "options": {
    "format": "json"
  }
}

Example Response

{
  "status": "success",
  "data": {
    "result": "processed output"
  },
  "pointsUsed": 2,
  "remainingPoints": 97
}

Points Deduction

How points are charged for this API

Pre-Processing Deduction

Points are deducted BEFORE processing your request to ensure fair billing

Insufficient Balance

Requests are rejected immediately if you don't have enough points

Rate Limiting

API request rate limits and throttling policies

Request Limit

This API allows up to 60 requests per minute per API token

Rate Limit Exceeded

If you exceed the rate limit, you'll receive a 429 Too Many Requests error. Implement exponential backoff in your client.

Rate Limit Headers

All responses include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers for monitoring your usage

CSV to JSON API V1 - AppHighway