Developer API
Send a PDF statement, get structured transactions back. Included in the Business plan with 5,000 pages per month.
Authentication
Create a key on your account page and send it in the Authorization header.
Authorization: Bearer ex_your_keyConvert a statement
curl -X POST "https://extractivio.com/api/v1/convert" \
-H "Authorization: Bearer ex_your_key" \
-F "file=@statement.pdf"You can also send the raw PDF as the request body with Content-Type: application/pdf.
| Query parameter | Values | Meaning |
|---|---|---|
format | json (default), csv, xero, qbo, ofx, qfx, qif | Response format. Anything but json returns the file itself. |
date_order | dmy, mdy | How to read ambiguous dates such as 03/04. Detected automatically when the statement makes it clear. |
bank | a bank slug, for example chase | Applies that bank's parsing rules when we have them. |
store | true | Keeps the result so it appears in the conversions list. Off by default: nothing is stored. |
Response
{
"id": null,
"filename": "statement.pdf",
"pages": 3,
"currency": "USD",
"balance_check": { "checkable": 41, "reconciled": 41 },
"warnings": [],
"transactions": [
{ "date": "2026-03-01", "description": "CARD GREENFIELD MARKET", "amount": -42.18, "balance": 2845.30 }
]
}amount is negative for money out and positive for money in. balance_check.reconciled counts the rows where the previous balance plus the amount equals the printed balance. Possible warnings: year-inferred, unsigned-amounts, card-convention.
Other endpoints
GET /api/v1/usage | Pages used and included this month. |
GET /api/v1/conversions | Stored results, newest first: email imports and calls made with store=true. Parameters: limit, since, summary=true. |
Errors
Errors are JSON: { "error": { "code": "...", "message": "..." } }
| Status | Code | Meaning |
|---|---|---|
| 400 | missing_file, not_pdf, bad_format | The request is malformed. |
| 401 | unauthorized | Missing or invalid key. |
| 403 | plan_required | The key's account is not on Business. |
| 413 | too_large | The PDF is over 15 MB. |
| 422 | scanned_pdf, unreadable_pdf | No text layer, or the file is encrypted or damaged. |
| 429 | rate_limited, quota_exceeded | More than 60 requests a minute, or the monthly page quota is used up. |
Limits and data handling
- Text-based PDFs only. Scanned statements are not supported by the API yet.
- Usage is counted in pages, including pages of statements where nothing was found.
- Files are processed in memory and discarded. Results are stored only when you ask with
store=true. - Response headers
x-pages,x-pages-usedandx-pages-includedreport usage on every call.