Developers

Bank statement extraction API

Send a bank statement. Receive structured transactions.

POST /v1/statements

{
  "id": "stmt_8f2ka1",
  "status": "complete",
  "bank": "Example Bank",
  "currency": "USD",
  "page_count": 1,
  "statement_period": { "from": "2026-01-01", "to": "2026-01-31" },
  "balance_validated": true,
  "confidence": 0.99,
  "warnings": [],
  "transaction_count": 1,
  "transactions": [
    {
      "date": "2026-01-02",
      "description": "AMAZON MARKETPLACE",
      "debit": 42.19,
      "credit": null,
      "balance": 4821.43,
      "currency": "USD",
      "confidence": 0.99
    }
  ]
}
Laptop showing source code in a dark room with blue lighting
Photo: Pexels

API documentation

Authentication

Authenticate every request with a bearer API key created in the dashboard. Keys are shown once at creation and stored only as a hash — treat them like passwords and rotate immediately if exposed.

Authorization: Bearer sk_live_...

Upload statement

POST /v1/statements accepts a multipart upload with a PDF in a field named file. The extraction is returned synchronously in the response. The API reads PDFs that contain a text layer (what your bank's website produces); scans and photos are supported in the web converter, not the API. Request bodies are limited to about 4 MB. The file is processed in memory and not stored.

curl -X POST https://api.statementconvert.example.com/v1/statements \
  -H "Authorization: Bearer sk_live_..." \
  -F "file=@statement.pdf"

Results are not stored

The response to POST /v1/statements is the only copy: detected bank, statement period, page count, a balance-validation flag, warnings and the normalized transaction array with per-row confidence. Because statements are not retained, GET /v1/statements/:id returns 404 not_stored. Save the result on your side. Webhooks are not available yet.

Errors

Errors use conventional HTTP status codes with a machine-readable code and a human next action. Common codes: unsupported_file, file_too_large, password_protected, no_transactions, usage_limit_reached. Extraction failures return 422; oversized requests return 413.

{
  "error": {
    "code": "password_protected",
    "message": "The uploaded PDF is password-protected.",
    "next_action": "Remove the password and re-upload the file."
  }
}

Usage limits

API page usage counts toward the same monthly limit as browser uploads — see pricing for volumes per plan. Exceeding your monthly pages returns 402 with usage_limit_reached.

MCP server

AI assistants and agents can connect to the built-in MCP server to inspect the product and run a sample conversion — useful for agent workflows that need to understand the output schema before integrating the REST API.

Transport: Streamable HTTP (JSON responses)
URL: https://<your-domain>/api/mcp

Tools: convert_sample_statement, list_supported_banks,
       get_output_formats, get_pricing, list_guides

The MCP tools are unauthenticated and read-only, and the conversion tool runs on synthetic data only — real documents always go through the authenticated REST API above. Setup instructions are on the MCP server page.