API Documentation

Bank Statement Converter API

Integrate powerful bank statement conversion directly into your application. Process PDFs and extract transaction data with our RESTful API.

API Features

AI-Powered Extraction

Advanced OCR and machine learning extract transaction data with 99%+ accuracy.

Secure & Encrypted

Bank-level security with 256-bit SSL encryption and automatic file deletion.

Fast Processing

Process statements in seconds with our optimized infrastructure.

Quick Start

Authentication

All API requests require authentication using Bearer tokens. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Base URL

https://api.bankstatementconverter.com/v1

Code Examples

Upload Bank Statement

JavaScript
const formData = new FormData();
formData.append('file', fileInput.files[0]);

const response = await fetch('https://api.bankstatementconverter.com/v1/files/upload', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  body: formData
});

const result = await response.json();
console.log(result.transactions);

Get Transactions

Python
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_KEY'
}

response = requests.get(
    'https://api.bankstatementconverter.com/v1/files/123/transactions',
    headers=headers
)

transactions = response.json()
print(transactions)

Export to Excel

cURL
curl -X GET \
  'https://api.bankstatementconverter.com/v1/export/123/excel' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  --output statement.xlsx

API Endpoints

MethodEndpointDescription
POST/v1/files/uploadUpload and process a bank statement PDF
GET/v1/files/:id/transactionsGet extracted transactions from a file
GET/v1/export/:id/excelExport transactions to Excel format
GET/v1/export/:id/csvExport transactions to CSV format
GET/v1/filesList all your uploaded files
DELETE/v1/files/:idDelete a file and its transactions

Response Format

Successful Upload Response

{
  "file": {
    "id": 123,
    "status": "completed",
    "created_at": "2024-11-09T12:00:00Z"
  },
  "transactions": [
    {
      "date": "2024-11-01",
      "description": "Grocery Store Purchase",
      "amount": -45.50,
      "category": "Groceries"
    },
    {
      "date": "2024-11-02",
      "description": "Salary Deposit",
      "amount": 3500.00,
      "category": "Salary"
    }
  ]
}

Ready to Get Started?

Sign up today and get your API key. Start with 100 free conversions per month.

Get Your API Key