Dataset
Mortgage datasets of loan origination files for AI training
A mortgage dataset is a set of complete loan origination files: the application, the income, asset and credit documents behind it, the appraisal and title work, the underwriter's condition list with the document that cleared each condition, and the approve, suspend or deny decision. SourceX sources these files to a buyer's spec from established lenders, mortgage brokers and fulfillment outsourcers, including withdrawn and denied applications where the business kept them. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Origination files from application to decision, with each condition and the document that cleared it
- Typical systems
- Encompass, Calyx Point, MeridianLink Mortgage, Blend, Desktop Underwriter, Loan Product Advisor
- Typical history
- Varies by partner; funded loans are usually kept longer than withdrawn or denied applications
- Modality
- PDF and scanned documents, application data as XML or JSON, condition and status records
- Delivery formats
- Agreed per order; PDF or TIFF documents with a JSONL index, loan data as MISMO XML or JSON
- Preparation
- Borrower names, Social Security numbers, account and loan numbers and property addresses removed or replaced
- Licensing
- Permitted use agreed per license; credit reports and other vendor reports excluded unless their terms allow
- Availability
- Sourced to your spec from lenders, brokers and fulfillment outsourcers; not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| loan_file_id | string | Pseudonymous ID that replaces the lender's loan number on every document, condition and status event. |
| loan_purpose | object | Purchase, rate-and-term refinance, cash-out refinance or home equity, with occupancy and property type. |
| loan_program | object | Conventional, FHA, VA, USDA or non-agency mortgage, or another consumer loan type, with lien position and channel. |
| application_data | object | The borrower's own statements from the loan application: income by type, employment, assets, liabilities and declarations. |
| milestones | array | Dated status events such as application, conditional approval, suspended, clear to close and funded. |
| doc_index | array | Every document with its type (pay stub, W-2, tax return, bank statement, appraisal), received date, page range and scan flag. |
| aus_runs | array | Each automated underwriting submission with system, run date, recommendation and the findings messages returned. |
| conditions | array | Each underwriting condition as written, its prior-to milestone, where it came from and its full status history. |
| conditions[].cleared_by | object | Document IDs accepted for the condition, reviewer role and comment, a waiver reason, or null if it was never cleared. |
| verified_figures | object | Qualifying income, assets, debt-to-income and loan-to-value as the underwriter calculated them, beside the stated figures, with source document IDs. |
| collateral | object | Appraised value against contract price, appraisal form type, any reconsideration of value and a generalized location. |
| credit_decision | object | Approve, approve with conditions, suspend, counteroffer or deny, with date, underwriter role and the reasons given on any adverse action notice. |
| final_disposition | enum | Originated, approved but not accepted, denied, withdrawn by the applicant or closed for incompleteness. |
| monitoring_fields | enum | How demographic and other protected-class fields were handled: removed, or held apart under restricted access. |
Field names from the table above; values are masked placeholders.
Example record
{
"loan_file_id": "lf_8d21c4",
"loan_purpose": {"purpose": "purchase", "occupancy": "primary_residence"},
"loan_program": {"type": "conventional", "channel": "retail", "lien": "first"},
"application_data": {
"employment": "self_employed",
"stated_monthly_income": 11200,
"contract_price": 412000,
"loan_amount": 370800
},
"milestones": [
{"t": "2024-03-04", "status": "application"},
{"t": "2024-03-21", "status": "conditional_approval"},
{"t": "2024-04-19", "status": "suspended"},
{"t": "2024-05-10", "status": "denied"}
],
"aus_runs": [
{"run": 1, "t": "2024-03-06", "system": "DU", "recommendation": "Approve/Eligible"},
{"run": 3, "t": "2024-04-18", "system": "DU", "recommendation": "Refer with Caution"}
],
"conditions": [
{
"id": "c02",
"prior_to": "approval",
"source": "underwriter",
"text": "Provide year-to-date profit and loss statement and three months of business bank statements.",
"status_history": [
{"t": "2024-04-02", "status": "received"},
{
"t": "2024-04-05",
"status": "rejected",
"comment": "P&L unsigned. Deposits do not support stated revenue."
}
],
"cleared_by": null
},
{
"id": "c05",
"prior_to": "docs",
"source": "aus_finding",
"text": "Source the large deposit on the checking statement ending 02/29.",
"status_history": [{"t": "2024-03-28", "status": "cleared"}],
"cleared_by": {
"doc_ids": ["d14", "d15"],
"doc_types": ["gift_letter", "donor_bank_statement"],
"comment": "Gift from parent. Transfer matches donor statement."
}
}
],
"verified_figures": {
"qualifying_monthly_income": 7480,
"income_basis": "two-year average of Schedule C net income, docs d07 and d08",
"dti_on_stated_income": 0.34,
"dti_on_verified_income": 0.51
},
"collateral": {"appraised_value": 398000, "form": "1004", "ltv_on_lower_of_price_or_value": 0.93},
"credit_decision": {
"result": "denied",
"t": "2024-05-10",
"adverse_action_reasons": ["Debt-to-income ratio", "Unverifiable information"]
},
"final_disposition": "application_denied",
"monitoring_fields": "removed"
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Write the conditions a file needs
Files replayed to the day they reached underwriting, paired with the conditions then written, train a model to say what evidence is missing.
Judge whether a document clears a condition
Accepted and rejected clearing attempts, each with the reviewer's comment, are labeled examples of sufficient and insufficient evidence.
Extract and cross-check borrower documents
Pay stubs, W-2s, tax returns and bank statements come with the figures an underwriter derived from them, which gives extraction a checked answer.
Calculate qualifying income
Self-employed and commission income files show the path from tax return lines to the monthly figure used to qualify.
Evaluate pre-underwriting agents on unseen files
Compare an agent's condition list and stated-versus-documented flags with what the lender's underwriter raised on the same file.
Use-case guides: Document AI, enterprise search and RAG, Finance and accounting agents, Private evaluation sets
What makes this data valuable
Condition-to-document links
Each cleared condition points to document IDs in the delivery, and the link is marked recorded or inferred.
Rejected clearing attempts
Documents that were submitted and not accepted, with the reason, are kept instead of overwritten.
Every end state
Funded, approved but not accepted, denied, withdrawn and incomplete files are present and kept apart.
Stated beside verified
Application figures and underwriter-calculated figures sit side by side with their sources.
All AUS runs
Each automated underwriting run is kept, not only the last one before closing.
Document boundaries
Stacked uploads are split and typed, so a page range maps to one document.
Document stack
Mortgage dataset
The condition list is the spine of the file
A mortgage approval is rarely a single act. The underwriter first issues a conditional approval, and the conditions are its substance: each one names a piece of evidence the file still lacks and the milestone it must be met by. Encompass, for example, tracks whether a condition is due prior to approval, docs, funding or closing. The final decision flag says the file passed. The condition list says what it took.
The training example is the pair. A condition to source a large deposit, matched to the gift letter and donor bank statement the underwriter accepted, shows what sufficient evidence looks like. The failed attempts teach more: a profit and loss statement returned because it was unsigned or a bank statement missing a page. Conditions also come from two places. Some repeat the messages returned by an automated underwriting run in Desktop Underwriter or Loan Product Advisor, and others come from the underwriter's own reading of the file. Ask for the source to be kept, because the second kind is the judgment.
Three things weaken the spine in real exports. The link is often missing. Encompass lets a condition be tied to the documents that satisfy it, but a team can also clear it with a comment and leave the document in a general folder, so the pairing has to be inferred from document type and dates and should carry a confidence flag. Borrowers often upload one long PDF holding a dozen documents, and a condition can only point at a page range once that stack has been split. Status names are set by each lender, so cleared and waived may not mean the same thing in two sources. Ask for each lender's status definitions.
Funded loans alone hide where the documents failed
In a set of funded loans every stated income was eventually supported and every appraisal came in at a value the deal could live with. A model trained on them never sees a tax return that contradicts the application, or an appraisal below the contract price. Those cases sit in files that ended another way. Home Mortgage Disclosure Act reporting gives the vocabulary: an application is recorded as originated, approved but not accepted, denied, withdrawn by the applicant or closed for incompleteness, and a denial carries reasons such as debt-to-income ratio, collateral or unverifiable information. The public data has those codes and none of the documents behind them.
The end states are not interchangeable. Suspended is an internal status, not an outcome: the underwriter cannot decide until something arrives. Many suspended files later close as withdrawn or incomplete, and the last open condition is the best evidence of why. A withdrawal the week after a low appraisal is a different event from one in the first days, when the borrower may have chosen another lender.
Two points are yours to check. Non-funded files are usually thinner and often kept for less time, so ask each lender what it retains for each end state. A denied application may have no appraisal because none was ordered. Decision histories also carry fair lending weight. A purchase or refinance application for a primary residence asks for ethnicity, race, sex, marital status and age for government monitoring, and a model trained on outcomes can learn proxies for them after the fields are gone. Decide with counsel whether those fields are removed or held apart for bias testing only.
What to check before licensing
- Count the sample by end state (funded, approved but not accepted, denied, withdrawn, incomplete) and check how much of the file survives for each.
- On a sample of cleared conditions, open the linked document and ask whether the link was recorded in the loan system or inferred afterward.
- Ask how credit reports, appraisals, title work and employment verifications were handled. Credit reports are consumer reports, the Fair Credit Reporting Act limits the purposes they may be obtained for, and vendor terms often restrict reuse.
- Have counsel confirm that the lender's privacy notices and its consumer financial privacy obligations allow this use, and how de-identification bears on that.
- Review de-identification on scanned pages: Social Security numbers on tax returns and W-2s, account numbers on bank statements, loan numbers in footers, signatures, and the photos and maps inside appraisals.
- Ask how government monitoring information and other protected-class fields such as age and marital status were treated, and have fair lending counsel review your intended use.
- Ask which channel each file came from. A broker's file stops where the lender's underwriting starts, and a fulfillment outsourcer may hold only the stages it processed.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Are denied, withdrawn and suspended applications included?
They can be, where the supplying lender kept them and agrees to release them. Lenders tend to retain funded loans in full and keep other applications for shorter periods or with fewer documents. State in your request which end states you need, whether suspended files should be traced to their final outcome, and the smallest count of non-funded files you would accept.
How is this different from public mortgage data?
Public mortgage data is one coded row per application or loan, and an origination file is the evidence behind that row. Home Mortgage Disclosure Act data reports action taken, denial reasons and loan characteristics. Neither it nor agency loan-level performance data contains the pay stubs, tax returns, appraisal, condition list or underwriter comments that a document or underwriting model has to read.
Are credit reports and appraisals in the files?
Expect them to be listed more often than delivered. Both are bought from third parties under terms that can restrict onward use, so whether they can be included is settled in rights review for each source. Ask for excluded reports to stay in the document index by type and date, with the figures the underwriter took from them, such as a score band or appraised value.
What formats do loan files arrive in?
Usually PDF documents plus structured loan data. Application data is commonly exported as MISMO XML, the format behind the current Uniform Residential Loan Application; Desktop Underwriter takes submissions based on MISMO version 3.4. Documents are native or scanned PDFs, typed with each lender's own document names. Ask for a mapping from those names to one shared taxonomy.
Can I train a model that makes lending decisions on this data?
That depends on the law that applies to your use, which you and your counsel must determine. In the US the Equal Credit Opportunity Act and Regulation B govern credit decisions and require specific reasons when an application is denied. Historical approvals and denials can carry patterns those rules prohibit. Nothing on this page says a dataset is fit for making credit decisions.
How does this differ from commercial underwriting packets or servicing records?
Origination files cover consumer loans from application to funding or another end state. Commercial underwriting packets are business credit and insurance submissions with financial statements and broker correspondence. Servicing records start after closing: payments, escrow, delinquency and loss mitigation. Where one partner holds origination and servicing data for the same loans, ask whether they can be joined under one pseudonymous ID.
Related datasets
- Underwriting application packets and decisions
Submission packets as received, with underwriter notes, information requests and decisions
- Loan servicing and collections records
Account-level servicing histories with contact notes, hardship reviews, workouts and outcomes
- Commercial credit memos and approvals
Commercial loan approval memos with spreads, cash-flow and covenant tests, ratings, approvals and later reviews
- Real estate appraisal reports
Completed appraisal reports with workfile material, adjustment grids and review or revision records
- Scanned forms and handwritten documents
Scanned handwritten forms, notes and annotated documents paired with the values or transcription keyed from them in production
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 25 November 2026.