Identify API endpoints to programmatically convert your data to TOON format.
The primary endpoint to convert various data formats into TOON.
The API accepts a JSON body with the following structure:
{
"content": "string", // The content to convert (JSON, CSV, YAML, etc.)
"format": "string" // Optional: "json" | "csv" | "yaml" | "xml" | "toml"
}format, the response may take longer due to auto-detection.curl -X POST https://json2toon.co/api/v1/toon \
-H "Content-Type: application/json" \
-d '{
"content": "{\"name\": \"John\", \"age\": 30}",
"format": "json"
}'name: Bob age: 25
The API is currently rate-limited to ensure fair usage. Please contact us if you need higher limits.