We’re excited to launch our latest product to simplify your business processes. Know More →
OCR RPACPC OCR SuiteDocument Verification

Extract Bank Statement Analyzer details through a single API.

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.

Live extraction Replay
1 You upload
bank_passbook.jpgJPG · 1.2 MB
Reading document
2 You get back
✓
SUCCESSPassbook read · fields extracted
612 ms
DocumentBank Passbook
Account holderRahul Sharma
Bank nameState Bank of India
Account number123456789012
IFSC codeSBIN0001234
BranchNagpur Main Branch
Account typeSavings
Customer IDCUST123456
Date of opening15/05/2020
Address123 MG Road, Nagpur, Maharashtra, India
Response time
<10s

Uptime SLA
99.9%+

Rate limit
500 req / sec

Auth
Authorization token

API overview

Simplify Bank Statement Analyzer OCR API.

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.

Key information available

Access essential Bank Statement Analyzer OCR API details.

The API response may include the following information, depending on the response received:

01
Account Holder Information

Extract personal and account holder details from banking documents.

account_holder_name
account_holder_address
account_holder_type
dob
02
Bank and Account Details

Identify bank information, account details, and account status.

bank_name
branch_name
ifsc_code
account_number
account_type
account_status
account_open_date
03
Financial Analysis

Analyse account balances, cash flow, income patterns, recurring transactions, and financial risk indicators.

opening_balance
closing_balance
total_monthly_income
total_inflow
total_outflow
net_cash_flow
recurring_credits
recurring_debits
overdraft_days
risk_level
internal_credit_score
loan_eligibility
04
Transactions and Processing Metadata

Retrieve transaction details and request-processing information for further analysis and tracking.

date
narration
debit
credit
balance
category
counter_party
status
message
no_of_pages
total_transactions
requestid
request_time
response_time
How it works

Simple API-based verification process.

Step 01

Upload the Bank Statement

Submit the bank statement PDF using multipart form-data with the front field.

Step 02

Retrieve the File URL

Read the url field from the file upload response.

Step 03

Process the Statement

Send the retrieved file URL to the Bank Statement Analyzer OCR API as a JSON payload.

Step 04

Receive Structured Results

Retrieve extracted account details, transaction records, account summaries, and financial analysis in structured JSON format.

API Request

Step 1 Submit Bank Statement Analyzer OCR API details.

Request parameters
Parameter Type Required Description
file String Yes URL of the uploaded bank statement document.
The request values shown are illustrative dummy data.
Sample request REQUEST
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
}
API response

Step 2Receive structured Bank Statement Analyzer OCR API information.

Key response fields
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.
200 · Sample responseRESPONSE
{
  "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.

Use cases

Bank Statement Analyzer OCR API across business workflows.

Personal Finance Analysis

Summarize income, spending, and account balances.

Loan & Credit Assessment

Support financial review workflows using extracted statement data.

Recurring Payment Detection

Identify repeated expenses such as rent, utilities, and subscriptions.

Identify repeated expenses such as rent, utilities, and subscriptions.

Review money entering and leaving an account over a statement period.

Document Digitization

Convert bank statement documents into structured data for downstream systems.

FAQ

Frequently asked questions

Common questions about the Bank Statement Analyzer OCR API — what it returns, how fast it is, and how to integrate

Still have a question? Talk to an expert
What file format does the API accept?
The provided integration uploads a PDF bank statement using the application/pdf content type. Confirm supported formats and file-size limits with the API provider.
Why are there two API requests?
The first request uploads the document and returns a file URL. The second submits that URL to the Bank Statement Analyzer endpoint for extraction and analysis.
What information can be extracted?
The response can include bank and account details, statement dates, balances, transactions, income sources, recurring expenses, overdraft indicators, and fees and charges.
Can the API identify recurring expenses?
The response includes a recurring_expenses array for expenses identified by the analyzer. Results depend on the transactions and patterns available in the statement.
Does a successful response guarantee that all extracted values are correct?
No. A successful status indicates processing completed, not that every extracted field is accurate. Validate important financial information against the original statement before making financial or lending decisions.
Can the API process statements with multiple pages?
The response schema includes page_number and total_pages. Actual multi-page support and extraction behavior should be confirmed against the API's documented limits.
What happens if the document upload fails?
Check the HTTP status and upload response before reading the url field. If no URL is returned, do not submit the analysis request; log the error and retry only when appropriate.
Blog

Vehicle Verification API for Loan Processing: How Can Lenders Verify Vehicle Details Accurately?

Learn how a Vehicle Verification API for Loan Processing helps lenders verify vehicle details, reduce risks, and speed up loan approvals.

Read More
Vehicle Verification API for Loan Processing: How Can Lenders Verify Vehicle Details Accurately?

India's verification infrastructure is already here.

Empower your applications with India's Enterprise Verification Intelligence Platform for faster, more reliable verification.