How It Works Pricing FAQ
Log In Get Started
← Back to Help API

How to Use the API

The API lets you integrate bank statement conversion into your own applications. Upload PDFs and get structured transaction data back as JSON, CSV, or Excel.

Step 1: Get Your API Key

API access is included with all paid plans. To get your API key:

  1. Log in to your account
  2. Go to Settings
  3. Scroll down to the API Access section
  4. Copy your API key
API key section in Settings showing where to find your key

Your API key starts with uk_ followed by a long string of characters. Keep this key secure - anyone with your key can make API requests as your account.

Step 2: Upload a Statement

To upload a bank statement PDF, make a POST request to /api/v1/extract with your file attached as form data.

Include your API key in the Authorization header:

Authorization: Bearer uk_your_api_key_here

Example using curl:

curl -X POST https://usstatementconverter.com/api/v1/extract \
  -H "Authorization: Bearer uk_your_api_key_here" \
  -F "file=@statement.pdf"

The response includes a file_id that you'll use to check status and download results:

{
  "success": true,
  "file_id": "doc_abc123...",
  "status": "processing",
  "page_count": 5
}
API extract response showing file_id and processing status

Step 3: Check Processing Status

Processing typically takes a few seconds, but larger statements may take longer. Poll the status endpoint until processing completes:

curl https://usstatementconverter.com/api/v1/status?file_id=doc_abc123 \
  -H "Authorization: Bearer uk_your_api_key_here"

The status will be one of:

  • processing - Still being processed
  • completed - Ready to download
  • failed - Processing failed (check the error message)

Step 4: Download Results

Once status is completed, download your results in your preferred format:

curl https://usstatementconverter.com/api/v1/download?file_id=doc_abc123&format=json \
  -H "Authorization: Bearer uk_your_api_key_here"

Available formats:

  • json - Structured data, best for programmatic access
  • csv - Simple tabular format
  • xlsx - Excel spreadsheet

Using Postman

We provide a ready-to-use Postman collection with all endpoints pre-configured. Download it from the API documentation page.

Postman collection with API endpoints

After importing the collection:

  1. Set the api_key variable to your API key
  2. Run "Upload Statement" - select a PDF file
  3. The file_id is automatically saved for subsequent requests
  4. Run "Check Status" until status is "completed"
  5. Run "Download as JSON" to get your transaction data

Checking Your Quota

API requests count against your plan's page quota. To check your remaining quota:

curl https://usstatementconverter.com/api/v1/user \
  -H "Authorization: Bearer uk_your_api_key_here"

This returns your account information including pages used and remaining this billing period.

Need More Help?

Check the full API documentation for detailed endpoint references and code examples. If you have questions, contact us at support@usstatementconverter.com.