API Docs
  1. Bank
API Docs
  • Bank
    • Root
      GET
    • Extract Bank Statement data
      POST
    • Validate PDF password
      POST
    • Get extraction results
      POST
  • Invoice
    • Root
      GET
    • Extract Invoice data
      POST
    • Re-extract with custom schema
      POST
    • Validate PDF password
      POST
    • Get extraction results
      POST
  • Medical
    • Root
      GET
    • Extract Medical data
      POST
    • Re-extract with custom schema
      POST
    • Get extraction results
      POST
    • Validate PDF password
      POST
  • Miscellaneous
    • Root
      GET
    • Extract Miscellaneous Document data
      POST
    • Re-extract with custom schema
      POST
    • Get extraction results
      POST
    • Validate PDF password
      POST
  • API Root
    GET
  • Generate Api Key Endpoint
    POST
  • Get Api Key Endpoint
    GET
  • IndexPage
    GET
  • User Documents
    GET
  • Schemas
    • MiscDocsAPI Response
    • MiscDocsAPI StorageLinks
    • BankExtractionResponse
    • BankExtractionResult
    • BankStorageLinks
    • InvoiceExtractBody
    • MedicalExtractResultsBody
    • MiscDocsExtract
    • ExtractBankPDFBody
    • BankExtractionResultsBody
    • InvoiceGetExtractionResultsBody
    • MedicalGetExtractionResults
    • MiscGetExtractionResultsBody
    • InvoiceReExtractwithSchema
    • MedDocsReExtractwithSchema
    • MiscDocsReExtractwithSchema
    • BankDocsValidatePassword
    • InvoiceValidatePassword
    • MedicalDocsValidatePassword
    • MiscDocsValidatePassword
    • CreditInfo
    • ExtractionResult
    • HTTPValidationError
    • InvoiceExtractionResponse
    • MedicalExtractionResponse
    • MedicalExtractionResult
    • MiscExtractionResponse
    • MiscExtractionResult
    • PasswordValidationResponse
    • ResultsFetchResponse
    • StorageLinks
    • ValidationError
    • BankResultsFetch
    • MedicalResultsFetch
    • InvoiceResultsFetch
    • MedicalAPI StorageLinks
    • InvoiceAPI StorageLinks
  1. Bank

Extract Bank Statement data

POST
https://docextract.in/bank/extract
Last modified:2026-01-06 12:05:03
Extracts metadata (bank info, account holder) and transactions from bank statements using our DocxNinja AI Pipeline.

Request

Header Params

Body Params multipart/form-dataRequired

Responses

🟢200
application/json
Successful Response
Body

🟠422
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://docextract.in/bank/extract' \
--header 'Authorization: Api-Key sk_123456789-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.mnopqrstuvwxyz012345' \
--form 'files=@"/Users/dilip.rajkumar/Downloads/Docxninja-TestDocs/Bank Statements/sample_bank_statement.pdf"' \
--form 'passwords=""'
Response Response Example
200 - Example 1
{
    "status": "success",
    "user_id": "user_123",
    "tier": "premium",
    "file": "string",
    "bank_info": {
        "property1": "string",
        "property2": "string"
    },
    "account_holder": {
        "property1": "string",
        "property2": "string"
    },
    "transactions": [
        {
            "property1": "string",
            "property2": "string"
        }
    ],
    "results": [
        {
            "file": "statement.pdf",
            "bank_info": {
                "property1": "string",
                "property2": "string"
            },
            "account_holder": {
                "property1": "string",
                "property2": "string"
            },
            "transactions": [
                {
                    "property1": "string",
                    "property2": "string"
                }
            ],
            "storage": {
                "pdf_url": "string",
                "metadata_url": "string",
                "tables_url": "string",
                "complete_url": "string"
            }
        }
    ],
    "storage": {
        "pdf_url": "string",
        "metadata_url": "string",
        "tables_url": "string",
        "complete_url": "string"
    },
    "message": "Bank Statement stored in Google Cloud Storage"
}
Modified at 2026-01-06 12:05:03
Previous
Root
Next
Validate PDF password
Built with