One endpoint. Send CSV data and plain-English instructions. Get structured analysis back.
Upload a CSV file with natural language instructions. CrunchAPI generates analysis code, executes it in a sandbox, self-heals on errors (up to 3 retries), and returns structured results with a human-readable summary.
| Field | Type | Description |
|---|---|---|
| csv required | file | CSV file to analyze (max 10MB) |
| instructions required | string | Natural language description of the analysis to perform |
| Field | Type | Description |
|---|---|---|
| summary | string | Natural language summary of the analysis findings |
| results | object|array | Structured analysis data |
| code_executed | string | The analysis code that was generated and executed |
| retries | number | Number of self-healing retries (0 = first attempt succeeded) |
| metadata | object | Request metadata (rows_analyzed, columns, duration_seconds) |
Upload a CSV and describe what you want to know. No API key needed for the playground.
| Status | Meaning | When |
|---|---|---|
| 200 | Success | Analysis completed |
| 400 | Bad Request | Missing CSV, bad format, or missing instructions |
| 500 | Analysis Failed | Code generation/execution failed after all retries |