PDF Statement to CSV Converter

API Documentation

Integrate our powerful PDF to CSV conversion capabilities directly into your applications.

Getting Started

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header of your requests:

Authorization: Bearer YOUR_API_KEY

API Endpoints

POST/api/convert

Convert PDF files to CSV format

Parameters

  • file (File) - Required

    The PDF file to convert

  • options (Object) - Optional

    Conversion options

Response

{
  "success": {
    "status": 200,
    "body": {
      "id": "string",
      "url": "string",
      "pageCount": "number",
      "tables": "array"
    }
  },
  "error": {
    "status": 400,
    "body": {
      "error": "string",
      "message": "string"
    }
  }
}
GET/api/documents

List all converted documents

Parameters

  • page (number) - Optional

    Page number for pagination

  • limit (number) - Optional

    Number of items per page

Response

{
  "success": {
    "status": 200,
    "body": {
      "documents": "array",
      "total": "number",
      "page": "number"
    }
  }
}

Code Examples

curl -X POST https://api.convertpdfcsv.com/convert \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@document.pdf" \
  -F "options={'detectHeaders':true}"