Extract structured financial information from bank statements using AI-powered document processing.
Analyze PDF bank statements to retrieve account details, statement periods, opening and closing balances, transaction histories, income sources, recurring expenses, overdraft indicators, and fees and charges through a single API integration.
The Bank Statement Analyzer OCR API extracts and organizes financial information from uploaded bank statement documents. It converts statement data into structured JSON, making it easier to analyze account activity, track income and expenses, review balances, and identify recurring transactions.
The API supports a two-step workflow: upload the statement document to the upload service, then submit the returned file URL to the Bank Statement Analyzer endpoint.
The API response may include the following information, depending on the response received:
Extract personal and account holder details from banking documents.
Identify bank information, account details, and account status.
Analyse account balances, cash flow, income patterns, recurring transactions, and financial risk indicators.
Retrieve transaction details and request-processing information for further analysis and tracking.
Submit the bank statement PDF using multipart form-data with the front field.
Read the url field from the file upload response.
Send the retrieved file URL to the Bank Statement Analyzer OCR API as a JSON payload.
Retrieve extracted account details, transaction records, account summaries, and financial analysis in structured JSON format.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | String | Yes | URL of the uploaded bank statement document. |
headers = {
"Authorization": "prod-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
with open("Account_stmt.pdf", "rb") as file:
files = {
"front": ("Account_stmt.pdf", file, "application/pdf")
}
upload_response = requests.post(
s3_url,
headers=headers,
files=files
)
file_url = upload_response.json().get("url")
payload = {
"file": file_url
}
| Field | Description |
|---|---|
| country | Country associated with the response. |
| billable | Indicates whether the request is billable, as returned by the API. |
| output | Object containing the extracted bank statement information and transaction details. |
| output.id_name | Extracted account holder name. |
| output.id_address | Extracted account holder address. |
| output.id_bank_name | Extracted bank name. |
| output.id_branch_name | Extracted bank branch name. |
| output.id_ifsc_code | Extracted IFSC code of the bank branch. |
| output.id_account_number | Extracted bank account number. |
| output.id_account_type | Extracted type of bank account. |
| output.id_statement_period | Period covered by the bank statement. |
| output.id_opening_balance | Account balance at the beginning of the statement period. |
| output.id_closing_balance | Account balance at the end of the statement period. |
| output.id_transaction_date | Date of the transaction. |
| output.id_description | Description or purpose of the transaction. |
| output.id_reference_number | Unique transaction reference number. |
| output.id_debit | Amount debited from the account. |
| output.id_credit | Amount credited to the account. |
| output.id_balance | Account balance after the transaction. |
{
"status": "Success",
"country": "India",
"billable": "Yes",
"message": "Bank statement extraction completed successfully.",
"output": {
"id_name": "Rahul Sharma",
"id_address": "123 MG Road, Nagpur, Maharashtra, India",
"id_customer_id": "CUST123456",
"id_type": "Savings Account",
"id_bank_name": "State Bank of India",
"id_branch_name": "Nagpur Main Branch",
"id_ifsc_code": "SBIN0001234",
"id_account_number": "123456789012",
"id_account_type": "Savings",
"id_date_of_opening": "2020-05-15",
"id_statement_period": "2026-09-01 to 2026-09-30",
"id_opening_balance": "25000.00",
"id_closing_balance": "28350.00",
"id_currency": "INR",
"transactions": [
{
"id_transaction_date": "2026-09-05",
"id_value_date": "2026-09-05",
"id_description": "Salary Credit",
"id_reference_number": "NEFT123456789",
"id_debit": "0.00",
"id_credit": "40000.00",
"id_balance": "65000.00",
"id_transaction_type": "Credit"
},
{
"id_transaction_date": "2026-09-10",
"id_value_date": "2026-09-10",
"id_description": "Online Shopping",
"id_reference_number": "UPI987654321",
"id_debit": "2500.00",
"id_credit": "0.00",
"id_balance": "62500.00",
"id_transaction_type": "Debit"
},
{
"id_transaction_date": "2026-09-18",
"id_value_date": "2026-09-18",
"id_description": "Electricity Bill Payment",
"id_reference_number": "UPI456789123",
"id_debit": "1150.00",
"id_credit": "0.00",
"id_balance": "61350.00",
"id_transaction_type": "Debit"
}
]
}
}
Illustrative response using dummy data. The API may return additional fields such as request ID, sequence ID and timestamps. Field availability and values may vary.
Summarize income, spending, and account balances.
Support financial review workflows using extracted statement data.
Identify repeated expenses such as rent, utilities, and subscriptions.
Review money entering and leaving an account over a statement period.
Convert bank statement documents into structured data for downstream systems.
Common questions about the Bank Statement Analyzer OCR API — what it returns, how fast it is, and how to integrate
Learn how a Vehicle Verification API for Loan Processing helps lenders verify vehicle details, reduce risks, and speed up loan approvals.
Read More
Empower your applications with India's Enterprise Verification Intelligence Platform for faster, more reliable verification.