To CSV

/api/v1/ai/ToCSV – Convert HTML to a CSV File

Description: Convert an HTML document into a CSV file.

Method: POST

Parameters:

  • html: (string) – The HTML document to convert.

  • headers: (string, optional) – Custom headers for the CSV file.

  • responseFormat: (string) – The format of the response, typically csv.

Request Example:

curl -X POST https://production.cloudbrowser.ai/api/v1/ai/ToCSV \
-H "Content-Type: application/json" \
-d '{
  "html": "<table>...</table>",
  "headers": "Name,Email,Phone",
  "responseFormat": "csv"
}'

Last updated