Chart2CSV

Extract data from chart images

Endpoint

POST /v1/chart2csv/extract

Request Body

{
  "image_url": "https://example.com/chart.png",
  // OR
  "image_base64": "data:image/png;base64,...",
  
  "output_format": "csv", // "csv" | "json" | "xlsx"
  "options": {
    "detect_axis_labels": true,
    "include_confidence": false
  }
}

Response

{
  "success": true,
  "data": {
    "columns": ["Quarter", "Revenue"],
    "rows": [
      ["Q1", 12400],
      ["Q2", 18200],
      ["Q3", 24800]
    ]
  },
  "chart_type": "bar",
  "credits_used": 1
}

Supported Chart Types

Bar charts
Line charts
Pie charts
Area charts
Scatter plots
Histograms

Pricing

1 credit = $0.02 per chart extraction