cURL
curl --request POST \ --url https://public-api.cambio-ai.com/extract_tables \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "file_content": "<string>", "file_type": "pdf" }'
{ "json": {}, "pageCount": 123 }
This API endpoint extracts tables from the uploaded file and returns the tables in HTML format.
Your API key.
The base64 encoded content of the file to be parsed.
The type of the file. Supported values are 'pdf' and 'docx'.
pdf
docx
Tables extracted successfully
The extracted tables in HTML format.
The number of pages processed.