Developer Documentation

Simple, Powerful API

Extract credit card statements programmatically with just a few lines of code. 99% accuracy, 100+ banks supported, multiple export formats.

Fast Processing

2-5 second response time

Secure

PCI DSS compliant

Multi-Format

JSON, CSV, Excel exports

Multi-Card

Business statements supported

Quick Start

1

Get Your API Key

Purchase credits or a subscription to receive your Account Code (API key).

Get API Key
2

Make Your First Request

curl -X POST https://api.fiscura.ai/api/public/credit-extraction/extract \
  -H "X-API-Key: cce_your_api_key_here" \
  -F "file=@statement.pdf" \
  -F "format=json"
3

Process the Response

Receive structured data with transactions, summaries, and multi-card support:

{
  "bank": "BMO",
  "metadata": {
    "is_multi_card": true,
    "cards": [
      {
        "last_four": "8692",
        "cardholder_name": "JOHN DOE"
      },
      {
        "last_four": "8700",
        "cardholder_name": "JANE DOE"
      }
    ]
  },
  "transactions": [
    {
      "transaction_date": "2024-01-15",
      "post_date": "2024-01-16",
      "description": "AMAZON.COM",
      "amount": 42.99,
      "transaction_type": "DEBIT",
      "category": "PURCHASE",
      "card_last_four": "8692",
      "card_association_confidence": 0.95
    }
    // ... more transactions
  ],
  "summary": {
    "total_transactions": 47,
    "total_debits": 2341.56,
    "total_credits": 150.00,
    "net_balance_change": 2191.56
  },
  "summary_by_card": {
    "8692": {
      "total_transactions": 25,
      "total_debits": 1200.50,
      "total_credits": 75.00
    },
    "8700": {
      "total_transactions": 22,
      "total_debits": 1141.06,
      "total_credits": 75.00
    }
  }
}

API Endpoints

Extract Statement

POST /api/public/credit-extraction/extract

Headers

X-API-Key: cce_your_api_key_here (required)

Body Parameters

filePDF or image file of credit card statement (required)
formatOutput format: json, csv, excel (default: json)
bankBank name for better accuracy (optional, auto-detected)

Response Codes

200 - Success
402 - No credits remaining
403 - Invalid API key
429 - Rate limit exceeded
500 - Processing error

Check Credits

GET /api/public/credit-extraction/check-limits

Headers

X-API-Key: cce_your_api_key_here (required)

Response

{
  "credits_remaining": 45,
  "subscription_active": false,
  "rate_limit_per_minute": 60,
  "remaining_this_minute": 58
}

List Supported Banks

GET /api/public/credit-extraction/supported-banks

Response

{
  "canadian_banks": [
    {"code": "rbc", "name": "RBC Royal Bank"},
    {"code": "td", "name": "TD Canada Trust"},
    {"code": "bmo", "name": "BMO Bank of Montreal"},
    // ... more banks
  ],
  "us_banks": [
    {"code": "chase", "name": "Chase"},
    {"code": "amex", "name": "American Express"},
    // ... more banks
  ],
  "total_supported": "100+ banks worldwide",
  "auto_detect": true
}

Rate Limits & Quotas

API Rate Limits

Requests per minute60
Daily limit (credits)1,000
Daily limit (subscription)No limit
Max file size50 MB

Processing Details

Average response time2-5 seconds
Accuracy rate99%+
Supported formatsPDF, JPG, PNG
Multi-card supportYes

Official SDKs Coming Soon

We're working on official SDKs to make integration even easier.

Python SDK
Node.js SDK
Ruby SDK
PHP SDK

Ready to Start Extracting?

Get your API key and start extracting statements in minutes.