Quick Start

Get up and running with File & Format Conversion Toolkit API in under a minute.

Quick Start

Get started with the File & Format Conversion Toolkit API in minutes.

1. Get Your API Key

Sign up and subscribe at RapidAPI to get your API key.

2. Make Your First Request

curl

curl -X POST "https://convert.toolkitapi.io/v1/convert/json-to-csv" \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"json": [{"name":"Alice","age":30},{"name":"Bob","age":25}]}'

Python

import httpx

response = httpx.post(
    "https://convert.toolkitapi.io/v1/convert/json-to-csv",
    headers={"X-API-Key": "YOUR_KEY"},
    json={"json": [{"name": "Alice", "age": 30}, {"name": "Bob", "age": 25}]},
)
print(response.json())

JavaScript

const response = await fetch(
  "https://convert.toolkitapi.io/v1/convert/json-to-csv",
  {
    method: "POST",
    headers: {
      "X-API-Key": "YOUR_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      json: [{ name: "Alice", age: 30 }, { name: "Bob", age: 25 }],
    }),
  }
);
const data = await response.json();
console.log(data);

3. Explore the Response

{
  "csv": "name,age\nAlice,30\nBob,25\n",
  "rows": 2,
  "columns": 2
}

4. Next Steps