REST API
Parse any financial document with 5 lines of code
Send a PDF, get structured JSON. Bank statements, invoices, receipts, pay stubs. Sandbox keys included for free testing.
import requests
response = requests.post(
"https://api.parsedocs.ai/v1/parse/bank_statement",
headers={"X-API-Key": "dk_live_your_key_here"},
files={"file": open("statement.pdf", "rb")}
)
# Poll for results
job = response.json()
import time
while True:
result = requests.get(
f"https://api.parsedocs.ai/v1/extractions/{job['id']}",
headers={"X-API-Key": "dk_live_your_key_here"}
).json()
if result["status"] == "completed":
break
time.sleep(2)
print(f"Bank: {result['data']['bank_name']}")
print(f"Transactions: {len(result['data']['transactions'])}")4
document types
14
export formats
Free
first document
What the API gives you
4 document types
Bank statements, invoices, receipts, pay stubs. One API, consistent JSON schema per type.
Async processing
Submit a document, get a job ID, poll for results. Or pass a webhook URL for push notification.
Sandbox keys
dk_test_ keys return mock data instantly. Build and test without spending a cent.
Confidence scores
Every extraction includes a 0-1 score. Route low-confidence results to human review automatically.
14 export formats
JSON, CSV, Excel, QuickBooks QBO, QuickBooks CSV, Xero, FreshBooks, Wave, Zoho Books, Sage, Expensify, journal entries, and more.
OpenAPI spec
Full Swagger documentation. Generate client SDKs in any language from our spec.
Endpoints
Full OpenAPI documentation available.
| POST | /v1/parse/{document_type} |
| GET | /v1/extractions/{id} |
| GET | /v1/extractions/{id}/download |
| GET | /v1/schemas/{document_type} |
| POST | /v1/auth/signup |
| POST | /v1/auth/api-keys |
| GET | /v1/usage |
| POST | /v1/corrections |
Quickstart
02
Send a document
POST a PDF to /v1/parse/bank_statement
03
Get structured data
Poll the extraction endpoint. Transactions, line items, balances — all as clean JSON.
API Pricing
Pay per document. Sandbox keys are free and unlimited.
Per API call
Any document type
$1.49
Sandbox
Unlimited dk_test_ keys, mock data
Free
Multi-page: pages 1-3 included. Pages 4-10: +$0.50/page. Pages 11+: +$0.25/page. No minimum commitments.