Getting started

LendTrace API

The LendTrace API is a REST-ish interface for borrower-document extraction, decisioning, and credit-memo generation. All requests use TLS and return JSON.

Base URL
https://api.lendtrace.io/v1
Status
All systems operational

Authentication

All requests must include a Bearer token. Get a key from the dashboard, then send it as an Authorization header.

Quickstart

Send a borrower document and get structured fields back in under two seconds.

cURLPython
curl https://api.lendtrace.io/v1/extract \
-H "Authorization: Bearer $LT_KEY" \
-F "file=@gcash_jan.jpg" \
-F "format=mobile_banking"
Response200 OK
{
  "account_holder": "Maria Santos",
  "available_balance": 38420.50,
  "currency": "PHP",
  "monthly_inflow": 52310.00,
  "tampering": { "score": 0.04, "verdict": "none" },
  "cited": { "available_balance": "page_1:line_3" }
}

API reference

POST/v1/extract

Extract structured fields from a borrower document. Returns cited fields, confidence scores, and tampering signals.

POST/v1/decisions

Submit a complete file and receive a draft credit decision with a cited memo.

GET/v1/memos/:id

Retrieve a generated credit memo by ID.

POST/v1/webhooks

Subscribe to async events: extraction-complete, decision-ready, file-incomplete.

Ready to build?
Get an API key in two minutes.