Quickstart

Turn a bank statement PDF into transactions in three steps.

1. Get a key

Sign in with your email, create an integration and accept the API terms, then create a key. A key is shown once: store it as a secret, never in client-side code.

2. Send a PDF

shell
curl -X POST https://parse.mooola.co.za/v1/parse \
  -H "Authorization: Bearer $MOOOLA_API_KEY" \
  -H "Content-Type: application/pdf" \
  --data-binary @statement.pdf

Or as a form upload, from any HTTP client:

typescript
const form = new FormData()
form.set('file', pdfBlob, 'statement.pdf')

const response = await fetch('https://parse.mooola.co.za/v1/parse?currency=ZAR', {
  method: 'POST',
  headers: { Authorization: `Bearer ${process.env.MOOOLA_API_KEY}` },
  body: form,
})
const result = await response.json()

3. Check the status

A 200 answer carries status: verified when every transaction was checked against the statement, or needs_review when the statement was read but something could not be confirmed (its warnings say what). Anything the API cannot stand behind is refused with a public error code instead.

Amounts are integers in minor units (cents): 250000 is 2,500.00. Add ?format=csv for CSV instead of JSON.